Patch Detail
Show a patch.
GET /api/patches/15786/?format=api
{ "id": 15786, "url": "https://patchwork.libcamera.org/api/patches/15786/?format=api", "web_url": "https://patchwork.libcamera.org/patch/15786/", "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": "<20220505104104.70841-4-tomi.valkeinen@ideasonboard.com>", "date": "2022-05-05T10:40:54", "name": "[libcamera-devel,v7,03/13] meson: add 'check: true' for run_command() calls", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "cdb69f9272df6fd08df3f4abe357abac571b8b75", "submitter": { "id": 109, "url": "https://patchwork.libcamera.org/api/people/109/?format=api", "name": "Tomi Valkeinen", "email": "tomi.valkeinen@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/15786/mbox/", "series": [ { "id": 3093, "url": "https://patchwork.libcamera.org/api/series/3093/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3093", "date": "2022-05-05T10:40:51", "name": "Python bindings", "version": 7, "mbox": "https://patchwork.libcamera.org/series/3093/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/15786/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/15786/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 34335C326C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 5 May 2022 10:41:33 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id BCF6F65649;\n\tThu, 5 May 2022 12:41:29 +0200 (CEST)", "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CC2F36563F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 5 May 2022 12:41:26 +0200 (CEST)", "from deskari.lan (91-156-85-209.elisa-laajakaista.fi\n\t[91.156.85.209])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 4121AA46;\n\tThu, 5 May 2022 12:41:26 +0200 (CEST)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1651747289;\n\tbh=XdDdQDQXDl9lQ0P90pPKtd1P2JY7LUYPJegdEbDP2cI=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=eV7cKraRrqZ1Al8/xR47yRh/s0FpkqushYQuGMFCfNXvNfCUVFRUOTB2cOvn7MLWz\n\twqT9A/yvPmf4lOBdFU3N0/4mIm5ml1DOERfZLQW6L3hnj2rLKBxDFUEpZcNXs7OXty\n\t8mdVcfKEOvFvMUlNsiH7X8fEDCexRBio0DTVH8Iy9cOf3drRtMG16vb4jYX92vLKng\n\tVmXKrig6uz1ilqT12WVicf7hl53M6kr/onAENWoZxyGD6gLhbX+2c3ewmTFwCZrrga\n\tiQSxC64TW/glIGwo3N4whCwh0Tk2su4ypDelp+3v3+hOq6FYjWJi5Z2+Rn93gQgmm9\n\txnc4t5q2hvPdg==", "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1651747286;\n\tbh=XdDdQDQXDl9lQ0P90pPKtd1P2JY7LUYPJegdEbDP2cI=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=QpUwNYRigGBjDqafVbzncJ42YS0kFXKDqEho9RO7rV80qBsaN7gESvlMIp6cWPLQ/\n\t0OQks8KfAuWWMXNCNbq16jIWDa/PbVytygJToZX4E4A5c3shMWzTbZqILw/9n5ucMd\n\t5/PYLJZjcA0+EWc0omlxx0DAXzvaDg4s5kY6Q498=" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"QpUwNYRi\"; dkim-atps=neutral", "To": "libcamera-devel@lists.libcamera.org,\n\tDavid Plowman <david.plowman@raspberrypi.com>,\n\tKieran Bingham <kieran.bingham@ideasonboard.com>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>,\n\tJacopo Mondi <jacopo@jmondi.org>", "Date": "Thu, 5 May 2022 13:40:54 +0300", "Message-Id": "<20220505104104.70841-4-tomi.valkeinen@ideasonboard.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20220505104104.70841-1-tomi.valkeinen@ideasonboard.com>", "References": "<20220505104104.70841-1-tomi.valkeinen@ideasonboard.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v7 03/13] meson: add 'check: true' for\n\trun_command() calls", "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>", "From": "Tomi Valkeinen via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>", "Reply-To": "Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Add 'check: true' to all run_command() calls as suggested in\nhttps://github.com/mesonbuild/meson/issues/9300 to get rid of meson\nwarning \"You should add the boolean check kwarg to the run_command\ncall.\"\n\nThis makes meson fail if the executed command fails, which makes sense.\n\nSigned-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>\n---\n meson.build | 8 +++++---\n 1 file changed, 5 insertions(+), 3 deletions(-)", "diff": "diff --git a/meson.build b/meson.build\nindex 10ad8c5c..0124e7d3 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -18,7 +18,8 @@ project('libcamera', 'c', 'cpp',\n # libcamera_git_version.\n libcamera_git_version = run_command('utils/gen-version.sh',\n meson.project_build_root(),\n- meson.project_source_root()).stdout().strip()\n+ meson.project_source_root(),\n+ check: true).stdout().strip()\n if libcamera_git_version == ''\n libcamera_git_version = meson.project_version()\n endif\n@@ -148,7 +149,7 @@ subdir('test')\n \n if not meson.is_cross_build()\n kernel_version_req = '>= 5.0.0'\n- kernel_version = run_command('uname', '-r').stdout().strip()\n+ kernel_version = run_command('uname', '-r', check: true).stdout().strip()\n if not kernel_version.version_compare(kernel_version_req)\n warning('The current running kernel version @0@ is too old to run libcamera.'\n .format(kernel_version))\n@@ -160,7 +161,8 @@ endif\n # Create a symlink from the build root to the source root. This is used when\n # running libcamera from the build directory to locate resources in the source\n # directory (such as IPA configuration files).\n-run_command('ln', '-fsT', meson.project_source_root(), meson.project_build_root() / 'source')\n+run_command('ln', '-fsT', meson.project_source_root(), meson.project_build_root() / 'source',\n+ check: true)\n \n configure_file(output : 'config.h', configuration : config_h)\n \n", "prefixes": [ "libcamera-devel", "v7", "03/13" ] }