{"id":23138,"url":"https://patchwork.libcamera.org/api/patches/23138/?format=json","web_url":"https://patchwork.libcamera.org/patch/23138/","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":"<20250404161237.1298653-1-foss+libcamera@0leil.net>","date":"2025-04-04T16:12:34","name":"[1/2] meson: make the default value of \"documentation\" feature explicit","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"c3ffe3f7dd391530a7e7b57262cfc71a17c0411e","submitter":{"id":120,"url":"https://patchwork.libcamera.org/api/people/120/?format=json","name":"Quentin Schulz","email":"foss+libcamera@0leil.net"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/23138/mbox/","series":[{"id":5114,"url":"https://patchwork.libcamera.org/api/series/5114/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5114","date":"2025-04-04T16:12:34","name":"[1/2] meson: make the default value of \"documentation\" feature explicit","version":1,"mbox":"https://patchwork.libcamera.org/series/5114/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/23138/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/23138/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 30DECC327D\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri,  4 Apr 2025 16:12:58 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 6AC406899E;\n\tFri,  4 Apr 2025 18:12:57 +0200 (CEST)","from smtp-190c.mail.infomaniak.ch (smtp-190c.mail.infomaniak.ch\n\t[IPv6:2001:1600:4:17::190c])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 0E34468991\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  4 Apr 2025 18:12:56 +0200 (CEST)","from smtp-3-0000.mail.infomaniak.ch (unknown\n\t[IPv6:2001:1600:4:17::246b])\n\tby smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id\n\t4ZTkCq5SCTzNGH; Fri,  4 Apr 2025 18:12:55 +0200 (CEST)","from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with\n\tESMTPA id 4ZTkCq0nj7zXGt; Fri,  4 Apr 2025 18:12:54 +0200 (CEST)"],"From":"Quentin Schulz <foss+libcamera@0leil.net>","To":"","Cc":"libcamera-devel@lists.libcamera.org,\n\tQuentin Schulz <quentin.schulz@cherry.de>","Subject":"[PATCH 1/2] meson: make the default value of \"documentation\" feature\n\texplicit","Date":"Fri,  4 Apr 2025 18:12:34 +0200","Message-ID":"<20250404161237.1298653-1-foss+libcamera@0leil.net>","X-Mailer":"git-send-email 2.49.0","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-Infomaniak-Routing":"alpha","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>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"From: Quentin Schulz <quentin.schulz@cherry.de>\n\nThe meson documentation on the feature build options isn't clear if a\nmissing \"value\" is legal and if it is, what its default value is.[1]\n\nTherefore, let's make it explicit by using what is experimentally the\ndefault: auto.\n\n[1] https://mesonbuild.com/Build-options.html#features\n\nSigned-off-by: Quentin Schulz <quentin.schulz@cherry.de>\n---\n meson_options.txt | 1 +\n 1 file changed, 1 insertion(+)","diff":"diff --git a/meson_options.txt b/meson_options.txt\nindex 1877d800..2104469e 100644\n--- a/meson_options.txt\n+++ b/meson_options.txt\n@@ -18,6 +18,7 @@ option('cam',\n \n option('documentation',\n         type : 'feature',\n+        value : 'auto',\n         description : 'Generate the project documentation')\n \n option('doc_werror',\n","prefixes":["1/2"]}