{"id":784,"url":"https://patchwork.libcamera.org/api/patches/784/?format=json","web_url":"https://patchwork.libcamera.org/patch/784/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20190322104350.31091-2-kieran.bingham@ideasonboard.com>","date":"2019-03-22T10:43:47","name":"[libcamera-devel,1/4] meson: Re-order the optional components","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"215cbd30955c12fa23f45c3a5b9e99dcec1535a8","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/?format=json","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/784/mbox/","series":[{"id":216,"url":"https://patchwork.libcamera.org/api/series/216/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=216","date":"2019-03-22T10:43:46","name":"Cleanup and non-GNU C library support","version":1,"mbox":"https://patchwork.libcamera.org/series/216/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/784/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/784/checks/","tags":{},"headers":{"Return-Path":"<kieran.bingham@ideasonboard.com>","Received":["from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 860F5610D5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 22 Mar 2019 11:43:56 +0100 (CET)","from localhost.localdomain\n\t(cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 0676B54A;\n\tFri, 22 Mar 2019 11:43:54 +0100 (CET)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1553251435;\n\tbh=syqXwei+lrff0N6Mxm3TGoCtgaImKiLq839Z3BFJtNc=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=IVD2rk1LGC6PA5F/X48fL7p0nVyMrBum1ScCGGqvnHNY+rhBvAXjC/XXLlAV/vXoY\n\t+ylyPG9wNuG+P1GAyf50v6QNQO4M6jSdO5p6HAUkNpEBO3COf6TEluzjGDOawJa4PB\n\tICCHYbjFmMsOcb7zj7kHbUgP31+we7kTFPP+MKbs=","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","To":"LibCamera Devel <libcamera-devel@lists.libcamera.org>","Date":"Fri, 22 Mar 2019 10:43:47 +0000","Message-Id":"<20190322104350.31091-2-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.19.1","In-Reply-To":"<20190322104350.31091-1-kieran.bingham@ideasonboard.com>","References":"<20190322104350.31091-1-kieran.bingham@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 1/4] meson: Re-order the optional\n\tcomponents","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":"Fri, 22 Mar 2019 10:43:56 -0000"},"content":"Re-order the optional components to make them alphabetical, and fix up\nthe indentation to use two spaces as required by meson. A comment is\nadded to highlight that these optional components are enabled by\ndefault.\n\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n meson.build | 11 +++++++----\n 1 file changed, 7 insertions(+), 4 deletions(-)","diff":"diff --git a/meson.build b/meson.build\nindex 43d4a57602bb..e001cd267c78 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -29,12 +29,15 @@ subdir('include')\n subdir('src')\n subdir('utils')\n \n-if get_option('tests')\n-\tsubdir('test')\n-endif\n+# The documentation and test components are optional and can be desabled\n+# through configuration values. They are enabled by default.\n \n if get_option('documentation')\n-\tsubdir('Documentation')\n+  subdir('Documentation')\n+endif\n+\n+if get_option('tests')\n+  subdir('test')\n endif\n \n pkg_mod = import('pkgconfig')\n","prefixes":["libcamera-devel","1/4"]}