From patchwork Tue Dec 1 18:17:09 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 106852 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.17685.1796149035478102944 for ; Tue, 01 Dec 2026 10:17:16 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=QmrwQkX/; 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 19655497 for ; Tue, 1 Dec 2026 10:17:12 -0800 (PST) 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 866993F86F for ; Tue, 1 Dec 2026 10:17:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1796149034; bh=UrkGzeNzvR6FGndyZGrsmR19mviB+AHDt2FxiYQSd0Y=; h=From:To:Subject:Date:From; b=QmrwQkX/lJgCpCzBPlNMqjR3tujHQfBS8hUzpyMYwTGPAK1IqX8H1rwPnR41tVR+u qw++QdfDOr+x3rh7dOyDeT/tNNqef0QM8MudU1+S1JnZl2v6IACYPmIcDk/qC4Vs6W ptzBeHluB0f60PZ1V7v/0QF3HpaF8HmUmu8+mvoc= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 1/2] blueprint-compiler: don't split the packaging Date: Tue, 1 Dec 2026 18:17:09 +0000 Message-ID: <20261201181710.3598526-1-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-ARM-No-Footer: NoDisclaimer List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Tue, 01 Dec 2026 18:17:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251769 There's no point splitting the Python library code into a separate package as the binary in /usr/bin is an entrypoint that calls directly into it. Just package everything into ${PN}. Signed-off-by: Ross Burton --- .../blueprint-compiler/blueprint-compiler_0.22.2.bb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.22.2.bb b/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.22.2.bb index a9e271f6ad1..82c1e61623f 100644 --- a/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.22.2.bb +++ b/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.22.2.bb @@ -20,9 +20,6 @@ do_install:append () { sed -i -e '1s|^#!.*|#!${USRBINPATH}/env python3|' ${D}${bindir}/blueprint-compiler } -PACKAGES += "${PN}-python" - -FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" -RDEPENDS:${PN}-python = "python3-pygobject" +RDEPENDS:${PN} = "python3-pygobject" BBCLASSEXTEND = "native" From patchwork Tue Dec 1 18:17:10 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 106853 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.18044.1796149036252773759 for ; Tue, 01 Dec 2026 10:17:16 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=abqLI2Jo; 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 AE9041477 for ; Tue, 1 Dec 2026 10:17:12 -0800 (PST) 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 337373F86F for ; Tue, 1 Dec 2026 10:17:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1796149035; bh=0SyZPAk5FLxNyQQthHRZCu3qZHQQvbvmzdghTMltiOI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=abqLI2JotIFd1zPU5C4yVTuVKw0hCK0bNOKOpytRrmHf8hmaQetCbTadMMTkbxQgu F6htINmVNv3fd9xi4GJIToqPXLVeX+5xHgC6xXmzmgEjHuFkQEDKPSM+IkalPHGkQg PU5CD8mx+NCTYuajS6x+dH8vm+gsiDF2TlN3ZAy0= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 2/2] blueprint-compiler: build using mesonpy Date: Tue, 1 Dec 2026 18:17:10 +0000 Message-ID: <20261201181710.3598526-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261201181710.3598526-1-ross.burton@arm.com> References: <20261201181710.3598526-1-ross.burton@arm.com> MIME-Version: 1.0 X-ARM-No-Footer: NoDisclaimer List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Tue, 01 Dec 2026 18:17:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251770 This way mesonpy builds a wheel which we install with the conventional pep517 classes, which will fix the interpreter on the entry point for us. Signed-off-by: Ross Burton --- .../blueprint-compiler/blueprint-compiler_0.22.2.bb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.22.2.bb b/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.22.2.bb index 82c1e61623f..4fd655f335d 100644 --- a/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.22.2.bb +++ b/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.22.2.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-22;tag=v${PV}" SRCREV = "ed35ac74de0c1bb1f5e852410b97edd1f08904c9" -inherit meson pkgconfig python3-dir gobject-introspection-data +inherit python_mesonpy pkgconfig gobject-introspection-data # The compiler needs python3-pygobject on target, which is skipped without # GI data (which also depends on qemu-usermode), so skip along with it. @@ -15,11 +15,6 @@ python() { raise bb.parse.SkipRecipe("GI not available") } -do_install:append () { - # Meson encodes the full path of the build python in the shebang - sed -i -e '1s|^#!.*|#!${USRBINPATH}/env python3|' ${D}${bindir}/blueprint-compiler -} - RDEPENDS:${PN} = "python3-pygobject" BBCLASSEXTEND = "native"