{"id":827,"url":"https://patchwork.libcamera.org/api/patches/827/?format=json","web_url":"https://patchwork.libcamera.org/patch/827/","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":"<20190401110315.4148-2-kieran.bingham@ideasonboard.com>","date":"2019-04-01T11:03:12","name":"[libcamera-devel,v2,1/4] meson: Re-order the optional components","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"eb6db981ca85dbb584d566019b03f0ea75607ee5","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/827/mbox/","series":[{"id":226,"url":"https://patchwork.libcamera.org/api/series/226/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=226","date":"2019-04-01T11:03:11","name":"Cleanup and non-GNU C library support","version":2,"mbox":"https://patchwork.libcamera.org/series/226/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/827/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/827/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 ADDD6600F9\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  1 Apr 2019 13:03:29 +0200 (CEST)","from Q.imgcgcw.net (unknown [147.50.13.10])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id D9876542;\n\tMon,  1 Apr 2019 13:03:27 +0200 (CEST)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1554116609;\n\tbh=8ETF0U87KhfO2nWUkad9p0Pyw1zgWHjqIlSes2E3gt8=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=o1PyQoKRA5loCJ5zyH4WbcbzeDsHq9JFgj3XSzZNVicf7CKmp8NZcc+6jPfjLpLg9\n\tulEwKS4dfyArDgtLHUWdea5AZN8uHPcnH2pR9jZmqLWFE2/GtTrRAJ4s4cYOTFKua8\n\tMmg3pMZM1eNOPSziixUUHXAG8452WQY2HixOQRkk=","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","To":"LibCamera Devel <libcamera-devel@lists.libcamera.org>","Date":"Mon,  1 Apr 2019 18:03:12 +0700","Message-Id":"<20190401110315.4148-2-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.19.1","In-Reply-To":"<20190401110315.4148-1-kieran.bingham@ideasonboard.com>","References":"<20190401110315.4148-1-kieran.bingham@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v2 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":"Mon, 01 Apr 2019 11:03:29 -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\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\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..6e68c3e36772 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 disabled\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","v2","1/4"]}