Show a patch.

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

{
    "id": 4060,
    "url": "https://patchwork.libcamera.org/api/patches/4060/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/4060/",
    "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": "<20200616152724.1292857-1-niklas.soderlund@ragnatech.se>",
    "date": "2020-06-16T15:27:24",
    "name": "[libcamera-devel] meson: options: Add a option to control compilation of qcam",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "92753969422706954c9e34aa7b0a31a7ded4461b",
    "submitter": {
        "id": 5,
        "url": "https://patchwork.libcamera.org/api/people/5/?format=api",
        "name": "Niklas Söderlund",
        "email": "niklas.soderlund@ragnatech.se"
    },
    "delegate": {
        "id": 16,
        "url": "https://patchwork.libcamera.org/api/users/16/?format=api",
        "username": "neg",
        "first_name": "Niklas",
        "last_name": "Söderlund",
        "email": "niklas.soderlund@ragnatech.se"
    },
    "mbox": "https://patchwork.libcamera.org/patch/4060/mbox/",
    "series": [
        {
            "id": 1007,
            "url": "https://patchwork.libcamera.org/api/series/1007/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1007",
            "date": "2020-06-16T15:27:24",
            "name": "[libcamera-devel] meson: options: Add a option to control compilation of qcam",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/1007/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/4060/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/4060/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 E9FEA603C4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 16 Jun 2020 17:27:35 +0200 (CEST)",
            "from bismarck.berto.se (p4fca2eca.dip0.t-ipconnect.de\n\t[79.202.46.202]) by bin-vsp-out-02.atm.binero.net (Halon) with ESMTPA\n\tid e53ac722-afe5-11ea-8fb8-005056917f90;\n\tTue, 16 Jun 2020 17:27:34 +0200 (CEST)"
        ],
        "X-Halon-ID": "e53ac722-afe5-11ea-8fb8-005056917f90",
        "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": "Tue, 16 Jun 2020 17:27:24 +0200",
        "Message-Id": "<20200616152724.1292857-1-niklas.soderlund@ragnatech.se>",
        "X-Mailer": "git-send-email 2.27.0",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH] meson: options: Add a option to control\n\tcompilation of qcam",
        "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": "Tue, 16 Jun 2020 15:27:36 -0000"
    },
    "content": "Add a option to control compilation of the qcam test application. The\ndefault behavior is to compile qcam, no change in behavior without user\nintervention.\n\nSigned-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\n---\n meson_options.txt | 5 +++++\n src/meson.build   | 5 ++++-\n 2 files changed, 9 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/meson_options.txt b/meson_options.txt\nindex badace151bb62bc9..9a4edf2a5fde8bcb 100644\n--- a/meson_options.txt\n+++ b/meson_options.txt\n@@ -27,3 +27,8 @@ option('v4l2',\n         type : 'boolean',\n         value : false,\n         description : 'Compile the V4L2 compatibility layer')\n+\n+option('qcam',\n+        type : 'boolean',\n+        value : true,\n+        description : 'Compile the qcam test application')\ndiff --git a/src/meson.build b/src/meson.build\nindex d69b4c1ea9788f83..3a816fb610a68905 100644\n--- a/src/meson.build\n+++ b/src/meson.build\n@@ -19,7 +19,10 @@ endif\n subdir('libcamera')\n subdir('ipa')\n subdir('cam')\n-subdir('qcam')\n+\n+if get_option('qcam')\n+    subdir('qcam')\n+endif\n \n if get_option('v4l2')\n     subdir('v4l2')\n",
    "prefixes": [
        "libcamera-devel"
    ]
}