From patchwork Tue Aug 24 14:15:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 13455 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id C348CBD87C for ; Tue, 24 Aug 2021 14:16:10 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id A1612688A6; Tue, 24 Aug 2021 16:16:09 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="HtLiyLcO"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 74FDD68892 for ; Tue, 24 Aug 2021 16:16:07 +0200 (CEST) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 20BBA3F0 for ; Tue, 24 Aug 2021 16:16:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1629814567; bh=MQtvhzhIg+tZaPQd513uM9pQiLHPTQ7g3zu3yssHrAs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HtLiyLcO0peYeAHL+uyrO9HWaTSxb7Oguf5HvNydHVYaE0RUA8UHjmOt7kXGYHX+9 cER0U8wynFQwA4H6Z+hN9bqE6Nepo+dVAKhELKwFuEz1j1eDoHNvdq8viApUsyRGDo 1jorHib1JIE8GDrY9vqDczi/sI1U6o1kZWU77w4s= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Tue, 24 Aug 2021 17:15:43 +0300 Message-Id: <20210824141546.10543-2-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210824141546.10543-1-laurent.pinchart@ideasonboard.com> References: <20210824141546.10543-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v1 1/4] package: gentoo: Update Python versions X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The Gentoo Python3 supported versions are now 3.6 to 3.10. Update the package accordingly. Signed-off-by: Laurent Pinchart --- package/gentoo/media-libs/libcamera/libcamera-9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild index b336932ef321..49bd180dff29 100644 --- a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild +++ b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild @@ -2,7 +2,7 @@ # Copyright 2019 Google Inc. EAPI=6 -PYTHON_COMPAT=( python3_{5,6,7} ) +PYTHON_COMPAT=( python3_{7..10} ) inherit git-r3 meson python-any-r1 From patchwork Tue Aug 24 14:15:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 13456 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id A4DEEC3241 for ; Tue, 24 Aug 2021 14:16:11 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8ADAF688A5; Tue, 24 Aug 2021 16:16:10 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="wF/ic9QL"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id D1B3968892 for ; Tue, 24 Aug 2021 16:16:07 +0200 (CEST) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 7A02A2A5 for ; Tue, 24 Aug 2021 16:16:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1629814567; bh=WWp71e9HVHmZ85wuxxg8O1xU53M6CW0fl7CJHvp5R4k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wF/ic9QLjn7epsCm9kMNYNuTJG4G4DbNgIBfc940TvMllkD0YLQ/1IQ/elRkXnLDo fbncFRZpvEEYa2El8MFKsYketRT9yJodjyQ+G3iMWf61aYAstnyARp+nq2WWy9Jjof 5vp3ys6EO/jruzSb6RWCq7kjCPMqIareYSutx4aE= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Tue, 24 Aug 2021 17:15:44 +0300 Message-Id: <20210824141546.10543-3-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210824141546.10543-1-laurent.pinchart@ideasonboard.com> References: <20210824141546.10543-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v1 2/4] package: gentoo: Add dependencies on openssl and gnutls X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The libcamera build system requires openssl to sign IPA modules, and gnutls is required at runtime to verify signatures. Add dependencies to both. Signed-off-by: Laurent Pinchart --- package/gentoo/media-libs/libcamera/libcamera-9999.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild index 49bd180dff29..00bb0a501149 100644 --- a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild +++ b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild @@ -16,9 +16,14 @@ SLOT="0" KEYWORDS="*" IUSE="udev" -RDEPEND="udev? ( virtual/libudev )" +RDEPEND=" + >=net-libs/gnutls-3.3:= + udev? ( virtual/libudev ) +" + DEPEND=" ${RDEPEND} + dev-libs/openssl $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') " From patchwork Tue Aug 24 14:15:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 13457 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 8C53CBD87C for ; Tue, 24 Aug 2021 14:16:12 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 587A06890C; Tue, 24 Aug 2021 16:16:12 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="VW2cEkos"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3299468892 for ; Tue, 24 Aug 2021 16:16:08 +0200 (CEST) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id CBFF93F0 for ; Tue, 24 Aug 2021 16:16:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1629814567; bh=KlhEYFiLI7/xvu4yqxWpczMrjzcPMU5MUwClJxWbPz0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VW2cEkosVcLYEpXkaAkk8d8cxVCWvATHX2DLwfWJpx1Z+w1Appx7mBGZUK6gaA4l4 5PdQbcRWt2D5vsMp08SRKCqeOX+hqybQIIrVobbONVCyJO7eFX8Ocb6EiF2/vfQfct FEGNUVHZAgWVKwEN8+O/PQ4YWqnWOlMnZkMAJGpg= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Tue, 24 Aug 2021 17:15:45 +0300 Message-Id: <20210824141546.10543-4-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210824141546.10543-1-laurent.pinchart@ideasonboard.com> References: <20210824141546.10543-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v1 3/4] package: gentoo: Add USE flags to build documentation and tests X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Add two new use flags, doc and test, to select building of documentation and tests instead of unconditionally disabling them. Signed-off-by: Laurent Pinchart --- package/gentoo/media-libs/libcamera/libcamera-9999.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild index 00bb0a501149..e627a09d50c7 100644 --- a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild +++ b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild @@ -14,7 +14,7 @@ EGIT_BRANCH="master" LICENSE="LGPL-2.1+" SLOT="0" KEYWORDS="*" -IUSE="udev" +IUSE="doc test udev" RDEPEND=" >=net-libs/gnutls-3.3:= @@ -29,8 +29,8 @@ DEPEND=" src_configure() { local emesonargs=( - -Ddocumentation=false - -Dtests=false + $(meson_feature doc documentation) + $(meson_use test) ) meson_src_configure } From patchwork Tue Aug 24 14:15:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 13458 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 01914C3242 for ; Tue, 24 Aug 2021 14:16:12 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id BB3EA68915; Tue, 24 Aug 2021 16:16:12 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="jkqKylvk"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 79E6268892 for ; Tue, 24 Aug 2021 16:16:08 +0200 (CEST) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 260E42A5 for ; Tue, 24 Aug 2021 16:16:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1629814568; bh=Zpftkvc5IaWtRLrT44ArI7d1KWfEe3GopT14VtXE9Jw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jkqKylvkE/uaqh0G4vHDTFPpbKqxqkxOrghWAqPD3zhIYZEM1+WWvoPRHaxP9kNQZ DApQ5Gym1GBoHTZknvZ18jqvuG+wzNTPTQO2h97dVOU7OJ25WM31zXn4e6VtnlIFxR nWGc2J0i8JTcPDgmKrmYFZcD9lis+vxqlfDG3cMo= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Tue, 24 Aug 2021 17:15:46 +0300 Message-Id: <20210824141546.10543-5-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210824141546.10543-1-laurent.pinchart@ideasonboard.com> References: <20210824141546.10543-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v1 4/4] package: gentoo: Select build type through debug USE flag X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Make the build type selectable between debug and plain through the debug USE flag. Signed-off-by: Laurent Pinchart --- package/gentoo/media-libs/libcamera/libcamera-9999.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild index e627a09d50c7..ca216c0ae909 100644 --- a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild +++ b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild @@ -14,7 +14,7 @@ EGIT_BRANCH="master" LICENSE="LGPL-2.1+" SLOT="0" KEYWORDS="*" -IUSE="doc test udev" +IUSE="debug doc test udev" RDEPEND=" >=net-libs/gnutls-3.3:= @@ -31,6 +31,7 @@ src_configure() { local emesonargs=( $(meson_feature doc documentation) $(meson_use test) + --buildtype $(usex debug debug plain) ) meson_src_configure }