Show a patch.

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

{
    "id": 97,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/97/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/97/",
    "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": "<20181229032855.26249-3-niklas.soderlund@ragnatech.se>",
    "date": "2018-12-29T03:28:45",
    "name": "[libcamera-devel,v2,02/12] libcamera: add dependency on libudev",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0d3897bbd1d8a3738bbdf5fa6c3fee4811ce6306",
    "submitter": {
        "id": 5,
        "url": "https://patchwork.libcamera.org/api/1.1/people/5/?format=api",
        "name": "Niklas Söderlund",
        "email": "niklas.soderlund@ragnatech.se"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/97/mbox/",
    "series": [
        {
            "id": 41,
            "url": "https://patchwork.libcamera.org/api/1.1/series/41/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=41",
            "date": "2018-12-29T03:28:43",
            "name": "Add basic camera enumeration",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/41/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/97/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/97/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<niklas.soderlund@ragnatech.se>",
        "Received": [
            "from bin-mail-out-05.binero.net (bin-mail-out-05.binero.net\n\t[195.74.38.228])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3125660B32\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 29 Dec 2018 04:29:53 +0100 (CET)",
            "from bismarck.berto.se (unknown [89.233.230.99])\n\tby bin-vsp-out-03.atm.binero.net (Halon) with ESMTPA\n\tid f9bd5251-0b19-11e9-911a-0050569116f7;\n\tSat, 29 Dec 2018 04:29:40 +0100 (CET)"
        ],
        "X-Halon-ID": "f9bd5251-0b19-11e9-911a-0050569116f7",
        "Authorized-sender": "niklas@soderlund.pp.se",
        "From": "=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Sat, 29 Dec 2018 04:28:45 +0100",
        "Message-Id": "<20181229032855.26249-3-niklas.soderlund@ragnatech.se>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20181229032855.26249-1-niklas.soderlund@ragnatech.se>",
        "References": "<20181229032855.26249-1-niklas.soderlund@ragnatech.se>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v2 02/12] libcamera: add dependency on\n\tlibudev",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.23",
        "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": "Sat, 29 Dec 2018 03:29:53 -0000"
    },
    "content": "The device enumeration will depend on libudev, add the dependency to the\nbuild system. This should be turned into a optional dependency once a\ndevice enumerator not using udev is supported.\n\nSigned-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/libcamera/meson.build | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build\nindex 46591069aa5f8beb..52b556a8ed4050cb 100644\n--- a/src/libcamera/meson.build\n+++ b/src/libcamera/meson.build\n@@ -16,7 +16,10 @@ includes = [\n     libcamera_internal_includes,\n ]\n \n+libudev = dependency('libudev')\n+\n libcamera = shared_library('camera',\n                            libcamera_sources,\n                            install : true,\n-                           include_directories : includes)\n+                           include_directories : includes,\n+                           dependencies : libudev)\n",
    "prefixes": [
        "libcamera-devel",
        "v2",
        "02/12"
    ]
}