Show a patch.

GET /api/patches/12727/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 12727,
    "url": "https://patchwork.libcamera.org/api/patches/12727/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/12727/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20210628151612.4474-1-andrey.konovalov@linaro.org>",
    "date": "2021-06-28T15:16:12",
    "name": "[libcamera-devel,v5.1,6/9] qcam: viewfinder_gl: use SPDX-License-Identifier in bayer_8.* shaders",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "118765c61c015191ab828383a142f74cb260be53",
    "submitter": {
        "id": 25,
        "url": "https://patchwork.libcamera.org/api/people/25/?format=api",
        "name": "Andrey Konovalov",
        "email": "andrey.konovalov@linaro.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/12727/mbox/",
    "series": [
        {
            "id": 2185,
            "url": "https://patchwork.libcamera.org/api/series/2185/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2185",
            "date": "2021-06-28T15:16:12",
            "name": null,
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/2185/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/12727/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/12727/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>",
        "X-Original-To": "parsemail@patchwork.libcamera.org",
        "Delivered-To": "parsemail@patchwork.libcamera.org",
        "Received": [
            "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id D4AD7C3220\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 28 Jun 2021 15:16:30 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 51968684D4;\n\tMon, 28 Jun 2021 17:16:30 +0200 (CEST)",
            "from mail-lj1-x234.google.com (mail-lj1-x234.google.com\n\t[IPv6:2a00:1450:4864:20::234])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id EC9036028C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 28 Jun 2021 17:16:28 +0200 (CEST)",
            "by mail-lj1-x234.google.com with SMTP id h6so10004362ljl.8\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 28 Jun 2021 08:16:28 -0700 (PDT)",
            "from localhost.localdomain ([85.249.44.185])\n\tby smtp.googlemail.com with ESMTPSA id\n\tn6sm1341092lfi.2.2021.06.28.08.16.27\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 28 Jun 2021 08:16:27 -0700 (PDT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"a/tY09CI\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=NazBYd4EZjbvJn94yLP6xj6bDUhx63PQcbFb/CYa/80=;\n\tb=a/tY09CI9JTyZKh8TTVwP537sciUdZRoJ/GMtM4oJuitWqJvRnFA/iZRqmO7kPHzgs\n\ttaYAJv29tUM3jYVTydsd2EHXiVQirA3240qgjUagPuN0TJb9T04a0fW1/Y6GWXyIuG5g\n\tOfYmFzXzJw2Ge+tJa6TlJ8nX/gkbFKflc1TxdCuZv+98LMv45u0Et3F3DOOVO41x/Iai\n\tP6uf0S5MtFoAG1sR+98evEnVJxV5VRaPw1VBSt1Wyvu8abawq0phDy0dl3skNDHCh8H/\n\tgkKvpdVmmxz3TQEtVyF6H1LBDAcp085WYaRptX6w+zIxOAAh6rvazEi5lNVLq3V5azch\n\tUHAw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=NazBYd4EZjbvJn94yLP6xj6bDUhx63PQcbFb/CYa/80=;\n\tb=FeYgLdZff1Bmt7/BxmFGHf3+dYRHHnQKXKRTEgt+rbzSsusYP57vVXxzut9Bm0EMQJ\n\t/TQpyca4472oAeCIiF48eAwZ6+W8BorwYz2CpJgWM0Fm+DKGiFj+E88l0ugtosVGKJNK\n\tDTbwAMSIrggRCSD00PO2Cl7PcpAX9fnNhMaFM5O+HtHkqSQ5Ij1N/Vuwp8y8OuzSpJJs\n\t0Um4+izNyuzvhGbgWrg6l2Xt/qo715dUn3mC+Kk0/PEq3kEXizGKGN5IjMt5OBh8hl1C\n\tnKVlt++KbyJ5d3gJYwxHm5dABfupbHoYyeza+x99qfnilV2SJ3onIo7peY0/1/84ta8D\n\tYcEw==",
        "X-Gm-Message-State": "AOAM532h0mkIDmYwLiNEw54bi/tDF9LOGZWZihgdh7ZQO2hhQr5ZXR6h\n\tV15EMjSfWVPFeFBtUKrWEl1eFu030q0JMg==",
        "X-Google-Smtp-Source": "ABdhPJz/9odXPOQLAkX20pB235aYVhAyUaSFTYLVzHzyP9Sum/GUU45IoWu8xrcaFGariLPP0HqmTA==",
        "X-Received": "by 2002:a2e:b179:: with SMTP id\n\ta25mr20482450ljm.151.1624893388300; \n\tMon, 28 Jun 2021 08:16:28 -0700 (PDT)",
        "From": "Andrey Konovalov <andrey.konovalov@linaro.org>",
        "To": "libcamera-devel@lists.libcamera.org, laurent.pinchart@ideasonboard.com, \n\tpaul.elder@ideasonboard.com",
        "Date": "Mon, 28 Jun 2021 18:16:12 +0300",
        "Message-Id": "<20210628151612.4474-1-andrey.konovalov@linaro.org>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v5.1 6/9] qcam: viewfinder_gl: use\n\tSPDX-License-Identifier in bayer_8.* shaders",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "Cc": "morgan@casual-effects.com",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "bayer_8.* vertex and fragment shaders carry the copy of the 2-Clause\nBSD License. Replace it with the SPDX-License-Identifier.\n\nSigned-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>\n---\n src/qcam/assets/shader/bayer_8.frag | 25 +------------------------\n src/qcam/assets/shader/bayer_8.vert | 25 +------------------------\n 2 files changed, 2 insertions(+), 48 deletions(-)",
    "diff": "diff --git a/src/qcam/assets/shader/bayer_8.frag b/src/qcam/assets/shader/bayer_8.frag\nindex 74a6322f..a7d65e1d 100644\n--- a/src/qcam/assets/shader/bayer_8.frag\n+++ b/src/qcam/assets/shader/bayer_8.frag\n@@ -1,3 +1,4 @@\n+/* SPDX-License-Identifier: BSD-2-Clause */\n /*\n From http://jgt.akpeters.com/papers/McGuire08/\n \n@@ -8,30 +9,6 @@ Morgan McGuire\n This paper appears in issue Volume 13, Number 4.\n ---------------------------------------------------------\n Copyright (c) 2008, Morgan McGuire. All rights reserved.\n-\n-Redistribution and use in source and binary forms, with or without\n-modification, are permitted provided that the following conditions are\n-met:\n-\n-    * Redistributions of source code must retain the above copyright\n-      notice, this list of conditions and the following disclaimer.\n-\n-    * Redistributions in binary form must reproduce the above\n-      copyright notice, this list of conditions and the following\n-      disclaimer in the documentation and/or other materials provided\n-      with the distribution.\n-\n-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n-\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n \n //Pixel Shader\ndiff --git a/src/qcam/assets/shader/bayer_8.vert b/src/qcam/assets/shader/bayer_8.vert\nindex 3354860f..347c15f7 100644\n--- a/src/qcam/assets/shader/bayer_8.vert\n+++ b/src/qcam/assets/shader/bayer_8.vert\n@@ -1,3 +1,4 @@\n+/* SPDX-License-Identifier: BSD-2-Clause */\n /*\n From http://jgt.akpeters.com/papers/McGuire08/\n \n@@ -8,30 +9,6 @@ Morgan McGuire\n This paper appears in issue Volume 13, Number 4.\n ---------------------------------------------------------\n Copyright (c) 2008, Morgan McGuire. All rights reserved.\n-\n-Redistribution and use in source and binary forms, with or without\n-modification, are permitted provided that the following conditions are\n-met:\n-\n-    * Redistributions of source code must retain the above copyright\n-      notice, this list of conditions and the following disclaimer.\n-\n-    * Redistributions in binary form must reproduce the above\n-      copyright notice, this list of conditions and the following\n-      disclaimer in the documentation and/or other materials provided\n-      with the distribution.\n-\n-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n-\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n \n //Vertex Shader\n",
    "prefixes": [
        "libcamera-devel",
        "v5.1",
        "6/9"
    ]
}