Patch Detail
Show a patch.
GET /api/1.1/patches/4078/?format=api
{ "id": 4078, "url": "https://patchwork.libcamera.org/api/1.1/patches/4078/?format=api", "web_url": "https://patchwork.libcamera.org/patch/4078/", "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": "<20200619004443.3253953-1-niklas.soderlund@ragnatech.se>", "date": "2020-06-19T00:44:43", "name": "[libcamera-devel,v2] meson: options: Add an option to control compilation of qcam", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "65c3882cc8ffec698fd51d2b7b5a5302aa5623c6", "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/4078/mbox/", "series": [ { "id": 1015, "url": "https://patchwork.libcamera.org/api/1.1/series/1015/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1015", "date": "2020-06-19T00:44:43", "name": "[libcamera-devel,v2] meson: options: Add an option to control compilation of qcam", "version": 2, "mbox": "https://patchwork.libcamera.org/series/1015/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/4078/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/4078/checks/", "tags": {}, "headers": { "Return-Path": "<niklas.soderlund@ragnatech.se>", "Received": [ "from vsp-unauthed02.binero.net (vsp-unauthed02.binero.net\n\t[195.74.38.227])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 1A34D603BF\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 19 Jun 2020 02:44:51 +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 122d6ac1-b1c6-11ea-8fb8-005056917f90;\n\tFri, 19 Jun 2020 02:44:49 +0200 (CEST)" ], "X-Halon-ID": "122d6ac1-b1c6-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": "Fri, 19 Jun 2020 02:44:43 +0200", "Message-Id": "<20200619004443.3253953-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 v2] meson: options: Add an option to\n\tcontrol compilation 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": "Fri, 19 Jun 2020 00:44:51 -0000" }, "content": "Add an 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* Changes since v1\n- Sort options alphabetical in meson_options.txt\n- Use feature instead of boolean and attach it to the qt5_dep\n---\n meson_options.txt | 5 +++++\n src/qcam/meson.build | 2 +-\n 2 files changed, 6 insertions(+), 1 deletion(-)", "diff": "diff --git a/meson_options.txt b/meson_options.txt\nindex badace151bb62bc9..44c40c1d96f8ec69 100644\n--- a/meson_options.txt\n+++ b/meson_options.txt\n@@ -19,6 +19,11 @@ option('pipelines',\n choices : ['ipu3', 'raspberrypi', 'rkisp1', 'simple', 'uvcvideo', 'vimc'],\n description : 'Select which pipeline handlers to include')\n \n+option('qcam',\n+ type : 'feature',\n+ value : 'enabled',\n+ description : 'Compile the qcam test application')\n+\n option('test',\n type : 'boolean',\n description: 'Compile and include the tests')\ndiff --git a/src/qcam/meson.build b/src/qcam/meson.build\nindex 045db52acf26d71b..6ea886a32236d40f 100644\n--- a/src/qcam/meson.build\n+++ b/src/qcam/meson.build\n@@ -22,7 +22,7 @@ qt5 = import('qt5')\n qt5_dep = dependency('qt5',\n method : 'pkg-config',\n modules : ['Core', 'Gui', 'Widgets'],\n- required : false)\n+ required : get_option('qcam'))\n \n if qt5_dep.found()\n qcam_deps = [\n", "prefixes": [ "libcamera-devel", "v2" ] }