Show a patch.

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

{
    "id": 3701,
    "url": "https://patchwork.libcamera.org/api/patches/3701/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/3701/",
    "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": "<20200507144852.178299-1-nicolas@ndufresne.ca>",
    "date": "2020-05-07T14:48:52",
    "name": "[libcamera-devel] pkgconfig: Fix include directory path",
    "commit_ref": "56ff904915ed264c3b9625a38cbdddb77411c431",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "a8b057a4d918857aa01fe302eeb43fad17d6eeda",
    "submitter": {
        "id": 30,
        "url": "https://patchwork.libcamera.org/api/people/30/?format=api",
        "name": "Nicolas Dufresne",
        "email": "nicolas@ndufresne.ca"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/3701/mbox/",
    "series": [
        {
            "id": 884,
            "url": "https://patchwork.libcamera.org/api/series/884/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=884",
            "date": "2020-05-07T14:48:52",
            "name": "[libcamera-devel] pkgconfig: Fix include directory path",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/884/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/3701/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/3701/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<nicolas@ndufresne.ca>",
        "Received": [
            "from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id EFA9B603EA\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  7 May 2020 16:52:30 +0200 (CEST)",
            "from nicolas-tpx395.localdomain (unknown\n\t[IPv6:2002:c0de:c115:0:66fc:8b:2a38:8313])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits))\n\t(No client certificate requested) (Authenticated sender: nicolas)\n\tby bhuna.collabora.co.uk (Postfix) with ESMTPSA id D0DDC2A027E;\n\tThu,  7 May 2020 15:52:29 +0100 (BST)"
        ],
        "From": "Nicolas Dufresne <nicolas@ndufresne.ca>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Nicolas Dufresne <nicolas.dufresne@collabora.com>",
        "Date": "Thu,  7 May 2020 10:48:52 -0400",
        "Message-Id": "<20200507144852.178299-1-nicolas@ndufresne.ca>",
        "X-Mailer": "git-send-email 2.26.2",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH] pkgconfig: Fix include directory 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>",
        "X-List-Received-Date": "Thu, 07 May 2020 14:52:31 -0000"
    },
    "content": "From: Nicolas Dufresne <nicolas.dufresne@collabora.com>\n\nShould be $includedir/libcamera, as we install into a subdirectory name\n'libcamera'. This is fixed by passing the 'subdirs' argument to the pkgconfig\ngenerator.\n\nSigned-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>\n---\n meson.build | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/meson.build b/meson.build\nindex 6c571a1..59829e1 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -116,4 +116,5 @@ pkg_mod.generate(libraries : libcamera,\n                  version : '1.0',\n                  name : 'libcamera',\n                  filebase : 'camera',\n-                 description : 'Complex Camera Support Library')\n+                 description : 'Complex Camera Support Library',\n+                 subdirs : 'libcamera')\n",
    "prefixes": [
        "libcamera-devel"
    ]
}