{"id":882,"url":"https://patchwork.libcamera.org/api/patches/882/?format=json","web_url":"https://patchwork.libcamera.org/patch/882/","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":"<20190403041058.20921-2-kieran.bingham@ideasonboard.com>","date":"2019-04-03T04:10:55","name":"[libcamera-devel,v3,1/4] meson: Re-order the optional components","commit_ref":"4635df70063980f87c7c74567eea58b2195091d7","pull_url":null,"state":"accepted","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/882/mbox/","series":[{"id":234,"url":"https://patchwork.libcamera.org/api/series/234/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=234","date":"2019-04-03T04:10:54","name":"Cleanup and non-GNU C library support","version":3,"mbox":"https://patchwork.libcamera.org/series/234/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/882/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/882/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 60EC9610B3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  3 Apr 2019 06:11:10 +0200 (CEST)","from Q.imgcgcw.net (unknown [147.50.13.10])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 7DA422F9;\n\tWed,  3 Apr 2019 06:11:08 +0200 (CEST)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1554264670;\n\tbh=8ETF0U87KhfO2nWUkad9p0Pyw1zgWHjqIlSes2E3gt8=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=W907S25yL4+wxXzKblVoWoNK/a4cp0ZpkeUVk+D/kXNajI0UPXb6B8RXQ3IBm+dSL\n\tnX1NMzLF9k0qBwiMscNieD/dEbovVn5vZfjlkNmSku2jyKGF9jARRlWfATtrNtDMcG\n\tQA8Tdmu6fLnZsROjyD+8gbLpPxONRDKMYhXxmqys=","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","To":"LibCamera Devel <libcamera-devel@lists.libcamera.org>","Date":"Wed,  3 Apr 2019 11:10:55 +0700","Message-Id":"<20190403041058.20921-2-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.19.1","In-Reply-To":"<20190403041058.20921-1-kieran.bingham@ideasonboard.com>","References":"<20190403041058.20921-1-kieran.bingham@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v3 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":"Wed, 03 Apr 2019 04:11:10 -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","v3","1/4"]}