From patchwork Fri Jun 26 15:13:23 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 91062 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15373C43458 for ; Fri, 26 Jun 2026 15:13:38 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37265.1782486815206785302 for ; Fri, 26 Jun 2026 08:13:35 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=CMSwWP6o; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 138B41E7D for ; Fri, 26 Jun 2026 08:13:30 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 2F7F53F632 for ; Fri, 26 Jun 2026 08:13:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1782486814; bh=54OjgINFxm0DyQNvPZcyius3JP+OLuM8Chhsp+536gI=; h=From:To:Subject:Date:From; b=CMSwWP6ok6UDdWuQqmEBE5KtTKDo1QA6MJfSRQqpt+25dTic6raRV4qL/5vJFqxbd N+C4/NrEO/1xrw8amla3B/xcp3bCxaGMmDmDifHfRFNACnDqlOrt0Xq2Xlkm7xi8AZ pysjtLHeaKVCry/iii8PMHq4UTgsLEPnD0zyDVOA= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 1/3] blueprint-compiler: inherit python3-dir not python3targetconfig Date: Fri, 26 Jun 2026 16:13:23 +0100 Message-ID: <20260626151325.1735368-1-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 26 Jun 2026 15:13:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239647 This recipe just needs to know the value of PYTHON_SITEPACKAGES_DIR, which is defined by python3-dir. Inheriting that directly instead of python3targetconfig means we don't depend on python3 to build this tool. Signed-off-by: Ross Burton --- .../blueprint-compiler/blueprint-compiler_0.20.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.20.4.bb b/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.20.4.bb index bf357872c39..5bd3a5439cf 100644 --- a/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.20.4.bb +++ b/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.20.4.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3000208d539ec061b899bce1d9ce9404" SRC_URI = "git://gitlab.gnome.org/GNOME/blueprint-compiler;protocol=https;branch=blueprint-0-20;tag=v${PV}" SRCREV = "31b62c24a72c1670d2d93dcdf2d130f1ae12778e" -inherit meson pkgconfig python3targetconfig +inherit meson pkgconfig python3-dir PACKAGES += "${PN}-python" From patchwork Fri Jun 26 15:13:24 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 91061 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1AFD2C43211 for ; Fri, 26 Jun 2026 15:13:38 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37266.1782486815872141220 for ; Fri, 26 Jun 2026 08:13:36 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=hvrKhGhw; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C14CC1F37 for ; Fri, 26 Jun 2026 08:13:30 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E2F7E3F632 for ; Fri, 26 Jun 2026 08:13:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1782486815; bh=9RXjM4d9WIjoL6xqQUv8HqHt0/Ua9d6bzsurq33p8Nw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hvrKhGhww6WYQ1CTRx71db/4vENkilAj8KBR2R+h29OlFlCPb+tYBWd1yTq5g5U1J nDMoBLPexTxlWz42l2DJxV6NN5se6KnVkYALNlxT2tk5p+rJC5ziCyltDJ/ZJyOxHr a5WRGVTkEa060oSWfGboqVT7QJnnsYdUEygr4HFU= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 2/3] shared-mime-info: remove python3native dependency Date: Fri, 26 Jun 2026 16:13:24 +0100 Message-ID: <20260626151325.1735368-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260626151325.1735368-1-ross.burton@arm.com> References: <20260626151325.1735368-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 26 Jun 2026 15:13:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239648 This was added in the shared-mime-info 1.15 upgrade[1] with no rationale, I suspect it was for itstool-native which is no longer used[2]. At least, none of the dependencies would need python3-native over the host python3. [1] oe-core 09ef7f8e4b9 ("shared-mime-info: upgrade 1.10 -> 1.15") [2] oe-core 8ca8687b336 ("shared-mime-info: drop itstool-native from DEPENDS") Signed-off-by: Ross Burton --- meta/recipes-support/shared-mime-info/shared-mime-info_2.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info_2.4.bb b/meta/recipes-support/shared-mime-info/shared-mime-info_2.4.bb index f307aca35dd..f27061d5d1a 100644 --- a/meta/recipes-support/shared-mime-info/shared-mime-info_2.4.bb +++ b/meta/recipes-support/shared-mime-info/shared-mime-info_2.4.bb @@ -13,7 +13,7 @@ SRC_URI = "git://gitlab.freedesktop.org/xdg/shared-mime-info.git;protocol=https; file://0002-Handle-build-with-older-versions-of-GCC.patch" SRCREV = "9a6d6b8e963935f145f3a1ef446552de6996dada" -inherit meson pkgconfig gettext python3native mime +inherit meson pkgconfig gettext mime EXTRA_OEMESON = " \ -Dupdate-mimedb=true \ From patchwork Fri Jun 26 15:13:25 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 91063 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F1E8C43602 for ; Fri, 26 Jun 2026 15:13:38 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37267.1782486816575940079 for ; Fri, 26 Jun 2026 08:13:36 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=b2KiWR8a; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 814371E7D for ; Fri, 26 Jun 2026 08:13:31 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 9F2203F99C for ; Fri, 26 Jun 2026 08:13:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1782486816; bh=F7kKOK8HpXrHkrcAhm8HlZH0O90JGPDR9GEK9O+QEcs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=b2KiWR8aE3/J00XcZDJ5C9B1P+4iHt6GgqfeaU6+Gnv2Z+GEQtPFPOpqkGpH3lSIf 37GRXYHJpyD3rW01STDJpVrCJWkHUcnhAk+VezFTErBTucMN6IfU600gzcFp/4S1zt wdaTAhRDFeCD3Ex4cH7LIwp9IMyasHnaASNH5Bgs= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 3/3] classes/gtk-doc: inherit python3native only if gtk-doc is enabled Date: Fri, 26 Jun 2026 16:13:25 +0100 Message-ID: <20260626151325.1735368-3-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260626151325.1735368-1-ross.burton@arm.com> References: <20260626151325.1735368-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 26 Jun 2026 15:13:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239649 Use inherit_defer to only inherit python3native (thus, a dependency on python3-native) when gtk-doc is actually enabled. This is useful in native builds where gtk-doc is disabled and so will no longer depend on python3-native. Signed-off-by: Ross Burton --- meta/classes-recipe/gtk-doc.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/classes-recipe/gtk-doc.bbclass b/meta/classes-recipe/gtk-doc.bbclass index 9d3911966bb..33f6617e1bd 100644 --- a/meta/classes-recipe/gtk-doc.bbclass +++ b/meta/classes-recipe/gtk-doc.bbclass @@ -35,9 +35,11 @@ DEPENDS:append = " gtk-doc-native" export STAGING_DIR_HOST -inherit python3native pkgconfig qemu +inherit pkgconfig qemu DEPENDS:append = "${@' qemu-native' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}" +inherit_defer ${@bb.utils.contains('GTKDOC_ENABLED', 'True', 'python3native', '', d)} + do_compile:prepend:class-target () { if [ ${GTKDOC_ENABLED} = True ]; then # Write out a qemu wrapper that will be given to gtkdoc-scangobj so that it