Show a patch.

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

{
    "id": 12133,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/12133/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/12133/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/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": "<20210429122258.68814-1-umang.jain@ideasonboard.com>",
    "date": "2021-04-29T12:22:58",
    "name": "[libcamera-devel,v2] src: android: Rectify internal header's #include path",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "b5227f96cf1547aa4c53fef5f68dab5030f6889d",
    "submitter": {
        "id": 86,
        "url": "https://patchwork.libcamera.org/api/1.1/people/86/?format=api",
        "name": "Umang Jain",
        "email": "umang.jain@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/12133/mbox/",
    "series": [
        {
            "id": 1986,
            "url": "https://patchwork.libcamera.org/api/1.1/series/1986/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1986",
            "date": "2021-04-29T12:22:58",
            "name": "[libcamera-devel,v2] src: android: Rectify internal header's #include path",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/1986/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/12133/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/12133/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 EC51BBDE44\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 29 Apr 2021 12:23:08 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4E5DB68909;\n\tThu, 29 Apr 2021 14:23:08 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 519D260511\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 29 Apr 2021 14:23:07 +0200 (CEST)",
            "from perceval.ideasonboard.com (unknown [103.251.226.128])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id B1866BC0;\n\tThu, 29 Apr 2021 14:23:05 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"pFtYwiSE\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1619698986;\n\tbh=PRg/uRstx0GjWBeiJUv7xzuVyvC4f7RXh+4xrxNO8WQ=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=pFtYwiSEJZEG5Dz8ju8WEV13luOOatFOuf5a6Ij5VjLdPqtfzeSvLYgRUk8+dXpww\n\tpeCVLKK3RYe4HK6WwEMgVTOx/qdVxQrHvF6wHtiWScVd5TXUvFbXxjdoCujm2SNi06\n\tRi0pZa1PrNWeeaiGl2bcGTywID+31eEcZ+H3/kk0=",
        "From": "Umang Jain <umang.jain@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Thu, 29 Apr 2021 17:52:58 +0530",
        "Message-Id": "<20210429122258.68814-1-umang.jain@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.26.2",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH v2] src: android: Rectify internal\n\theader's #include path",
        "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>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "libcamera internal headers are not installed system-wide. Hence, any\ninclusion of internal headers should be follow the #include directive\nform:\n\t#include \"libcamera/internal/header.h\"\n\nThis was not the case for a few of the class in android HAL. Fix them\n\nSigned-off-by: Umang Jain <umang.jain@ideasonboard.com>\n---\nChanges in v2:\n- Also include other classes namely, generic_camera_buffer,\n  post_processor as spotted by Niklas.\n---\n src/android/camera_stream.h              | 2 +-\n src/android/mm/generic_camera_buffer.cpp | 2 +-\n src/android/post_processor.h             | 2 +-\n 3 files changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/src/android/camera_stream.h b/src/android/camera_stream.h\nindex f68fdd3a..34016722 100644\n--- a/src/android/camera_stream.h\n+++ b/src/android/camera_stream.h\n@@ -19,7 +19,7 @@\n #include <libcamera/geometry.h>\n #include <libcamera/pixel_format.h>\n \n-#include <libcamera/internal/buffer.h>\n+#include \"libcamera/internal/buffer.h\"\n \n class CameraDevice;\n class CameraMetadata;\ndiff --git a/src/android/mm/generic_camera_buffer.cpp b/src/android/mm/generic_camera_buffer.cpp\nindex 929e078a..334498c1 100644\n--- a/src/android/mm/generic_camera_buffer.cpp\n+++ b/src/android/mm/generic_camera_buffer.cpp\n@@ -7,7 +7,7 @@\n \n #include \"../camera_buffer.h\"\n \n-#include <libcamera/internal/buffer.h>\n+#include \"libcamera/internal/buffer.h\"\n #include \"libcamera/internal/log.h\"\n \n using namespace libcamera;\ndiff --git a/src/android/post_processor.h b/src/android/post_processor.h\nindex 4944078b..547fda37 100644\n--- a/src/android/post_processor.h\n+++ b/src/android/post_processor.h\n@@ -10,7 +10,7 @@\n #include <libcamera/buffer.h>\n #include <libcamera/stream.h>\n \n-#include <libcamera/internal/buffer.h>\n+#include \"libcamera/internal/buffer.h\"\n \n #include \"camera_buffer.h\"\n \n",
    "prefixes": [
        "libcamera-devel",
        "v2"
    ]
}