{"id":15210,"url":"https://patchwork.libcamera.org/api/1.1/patches/15210/?format=json","web_url":"https://patchwork.libcamera.org/patch/15210/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/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":"<20211222102349.219005-1-kieran.bingham@ideasonboard.com>","date":"2021-12-22T10:23:49","name":"[libcamera-devel,v4] meson: reduce required version to 0.53","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"e1001fce9a29d8188c3cd45b3b18cbf35e3a1bd2","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/1.1/people/4/?format=json","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/15210/mbox/","series":[{"id":2861,"url":"https://patchwork.libcamera.org/api/1.1/series/2861/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2861","date":"2021-12-22T10:23:49","name":"[libcamera-devel,v4] meson: reduce required version to 0.53","version":4,"mbox":"https://patchwork.libcamera.org/series/2861/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/15210/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/15210/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 BFE94BF415\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 22 Dec 2021 10:23:55 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 0294E608E9;\n\tWed, 22 Dec 2021 11:23:55 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id F2DD06021F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 22 Dec 2021 11:23:53 +0100 (CET)","from Monstersaurus.local\n\t(cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 695A8894;\n\tWed, 22 Dec 2021 11:23:53 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"uHdoM3mO\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1640168633;\n\tbh=VuIC/p6b3/kykUyuPp8zftnLpf9acH8HgEgtkbRYhEo=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=uHdoM3mOJbNLFKAh7auDKkcT4iHEeof0Wi1fW9oI6fhCnvNvKQsSdx/8p7OyaL1b6\n\tbHsA2ubLshSAxVltZCCqxRDyKQOI46FLwjRD8Kr7BWsDcy5qQBeMtPja1RwItF7z3T\n\t36t3VwXWAA4GjM+vljLyotSSvynuhSYrruS+MjPM=","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","To":"libcamera devel <libcamera-devel@lists.libcamera.org>","Date":"Wed, 22 Dec 2021 10:23:49 +0000","Message-Id":"<20211222102349.219005-1-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.30.2","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v4] meson: reduce required version to 0.53","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: Christian Rauch <Rauch.Christian@gmx.de>\n\nBuilding the libcamera Android layer currently makes use of features\nfrom meson 0.55. The core libcamera framework in the default configuration\nwithout android enabled uses the 'summary' feature available in 0.53, and\nis the lowest supportable meson version if the Android HAL is excluded.\n\nUbuntu 20.04 LTS currently provides meson 0.53 and represents an\nacceptable minimum version to support. Platforms utilising the Android\ncomponent will have full control over their build environment and can\nensure that they provide a more recent version of meson.\n\nReduce the supported meson version for the project to 0.53 to facilitate\nbuilding on more distributions without having to manually update the\nmeson package.\n\nMeson will output a warning that features not available in 0.53 are used\nif the Android HAL is enabled. This is considered as an acceptable\nmiddleground to improve the experience on the latest Ubuntu LTS, until\n22.04 LTS is released and provides a newer meson version.\n\nSigned-off-by: Christian Rauch <Rauch.Christian@gmx.de>\n[Kieran: Add comment about the android meson requirements]\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n\n---\nv4:\n - Took in Laurent's comments\n - Updated README.rst requirements\n\n README.rst  | 4 +++-\n meson.build | 6 +++++-\n 2 files changed, 8 insertions(+), 2 deletions(-)","diff":"diff --git a/README.rst b/README.rst\nindex c48b4dbab85a..4575d8ee7f4e 100644\n--- a/README.rst\n+++ b/README.rst\n@@ -47,7 +47,9 @@ A C++ toolchain: [required]\n \tEither {g++, clang}\n \n Meson Build system: [required]\n-        meson (>= 0.55) ninja-build pkg-config\n+        meson (>= 0.53) ninja-build pkg-config\n+\n+        meson (>= 0.55) is required for building Android (-Dandroid=enabled)\n \n         If your distribution doesn't provide a recent enough version of meson,\n         you can install or upgrade it using pip3.\ndiff --git a/meson.build b/meson.build\nindex a20cc29e3749..9684d562828d 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -1,7 +1,11 @@\n # SPDX-License-Identifier: CC0-1.0\n \n project('libcamera', 'c', 'cpp',\n-    meson_version : '>= 0.55',\n+    # Use of the Android component requires meson 0.55, but Ubuntu 20.04 LTS\n+    # ships meson 0.53. Improve the Ubuntu experience at the expense of\n+    # Android as the former is a much more common use case than the latter at\n+    # this point. This should be fixed after Ubuntu releases 22.04 LTS.\n+    meson_version : '>= 0.53',\n     version : '0.0.0',\n     default_options : [\n         'werror=true',\n","prefixes":["libcamera-devel","v4"]}