Show a patch.

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

{
    "id": 18081,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/18081/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/18081/",
    "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": "<mailman.0.1672700464.775.libcamera-devel@lists.libcamera.org>",
    "date": "2023-01-02T23:00:53",
    "name": "[libcamera-devel,v1] Documentation: specify Doxygen OUTPUT_DIRECTORY explicitly",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "1f05e481ab8b14a50afcc571592760704c379f3f",
    "submitter": {
        "id": 133,
        "url": "https://patchwork.libcamera.org/api/1.1/people/133/?format=api",
        "name": "Pőcze Barnabás",
        "email": "pobrn@protonmail.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/18081/mbox/",
    "series": [
        {
            "id": 3697,
            "url": "https://patchwork.libcamera.org/api/1.1/series/3697/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3697",
            "date": "2023-01-02T23:00:53",
            "name": "[libcamera-devel,v1] Documentation: specify Doxygen OUTPUT_DIRECTORY explicitly",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/3697/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/18081/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/18081/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 F22D7BD78E\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon,  2 Jan 2023 23:01:05 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4B68A61F0E;\n\tTue,  3 Jan 2023 00:01:05 +0100 (CET)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1672700465;\n\tbh=rnvC/0HDLRFRZ7oT+Nvf8TrPqeV0d7sB6J4pssggub0=;\n\th=Date:To:List-Id:List-Post:From:List-Subscribe:List-Unsubscribe:\n\tList-Archive:Reply-To:List-Help:Subject:From;\n\tb=U4fRlSMewVuzHrC6c6MLM5z/ceu53PUVeMqDoMtslhgzNXbWqjlt2E+TFRHHKpDFe\n\tbx7qYaWCopSUvMgKBuJ+SM3NQPzNUOR5DrZO2NIiiimChJWoS97sOvPhY/cP7kLjDu\n\tuy1Ksf5pHWgHEha+9RtVUDs303bne373CIlWBd0P6Xx0l9tyhguyPwbjsS4lODUX7b\n\tdTlEEG2t6jMC8dSkoslfCkSM0uLmtCBob5FHWt3NEq50N0DdJcVqDmcItf6Vm+eeen\n\t9AI7PX3Fs8Cp1VPLrgAgFsu6Bm6fPwgGuAcEX1hJak1TZg8JjOuUP0kttM5esodj28\n\tBM634WOmOFnpQ==",
        "Date": "Mon, 02 Jan 2023 23:00:53 +0000",
        "To": "libcamera-devel@lists.libcamera.org",
        "MIME-Version": "1.0",
        "Message-ID": "<mailman.0.1672700464.775.libcamera-devel@lists.libcamera.org>",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "From": "=?utf-8?q?Barnab=C3=A1s_P=C5=91cze_via_libcamera-devel?=\n\t<libcamera-devel@lists.libcamera.org>",
        "Precedence": "list",
        "X-Mailman-Version": "2.1.29",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "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/>",
        "Reply-To": "=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <pobrn@protonmail.com>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "Subject": "[libcamera-devel] [PATCH v1] Documentation: specify Doxygen\n\tOUTPUT_DIRECTORY explicitly",
        "Content-Type": "message/rfc822",
        "Content-Disposition": "inline",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Currently, doxygen is run by ninja in the top-level build directory,\ntherefore the \"Documentation\" folder is always created there. However,\nwhen libcamera is built as a subproject, it should not touch the\ntop-level build directory because it can cause conflicts and because\nthe documentation won't be created where meson thinks it will be, so\nthe \"doxygen\" target will always be dirty and installation will fail.\n\nSigned-off-by: Barnabás Pőcze <pobrn@protonmail.com>\n---\n Documentation/Doxyfile.in | 2 +-\n Documentation/meson.build | 1 +\n 2 files changed, 2 insertions(+), 1 deletion(-)\n\n--\n2.39.0",
    "diff": "diff --git a/Documentation/Doxyfile.in b/Documentation/Doxyfile.in\nindex e4f0cd42..1447abdb 100644\n--- a/Documentation/Doxyfile.in\n+++ b/Documentation/Doxyfile.in\n@@ -5,7 +5,7 @@ PROJECT_NAME           = \"libcamera\"\n PROJECT_NUMBER         = \"@VERSION@\"\n PROJECT_BRIEF          = \"Supporting cameras in Linux since 2019\"\n\n-OUTPUT_DIRECTORY       = Documentation\n+OUTPUT_DIRECTORY       = \"@OUTPUT_DIR@\"\n\n STRIP_FROM_PATH        = \"@TOP_SRCDIR@\"\n\ndiff --git a/Documentation/meson.build b/Documentation/meson.build\nindex 7695bcb1..18646156 100644\n--- a/Documentation/meson.build\n+++ b/Documentation/meson.build\n@@ -14,6 +14,7 @@ if doxygen.found() and dot.found()\n     cdata.set('VERSION', 'v@0@'.format(libcamera_git_version))\n     cdata.set('TOP_SRCDIR', meson.project_source_root())\n     cdata.set('TOP_BUILDDIR', meson.project_build_root())\n+    cdata.set('OUTPUT_DIR', meson.current_build_dir())\n\n     doxyfile = configure_file(input : 'Doxyfile.in',\n                               output : 'Doxyfile',\n",
    "prefixes": [
        "libcamera-devel",
        "v1"
    ]
}