From patchwork Wed Jul 1 16:13: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: 91519 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 0A2C1C43458 for ; Wed, 1 Jul 2026 16:13:17 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.48989.1782922396385850795 for ; Wed, 01 Jul 2026 09:13:16 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=sOZJbqcg; 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 9265F165C for ; Wed, 1 Jul 2026 09:13:11 -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 8E7CA3F673 for ; Wed, 1 Jul 2026 09:13:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1782922395; bh=ZTS7CEsKe/IF846VG/DwHkyRNgCXbqOwROvK3evMvFo=; h=From:To:Subject:Date:From; b=sOZJbqcg7721DlZbHNRLPDAptG3J0DJ5RB1PbBcVMJsJkAFgW2L4YV/9ayMbJzpwY OWC5nDXSGSbCieuYXj97IjATdixTAPlD/r7eU439s3sUeJWqMLfP5foCxSefQHkYY7 0uPEQXM3/9HznpnHl2JGiqEKJdms5GCG++L4Cbic= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 1/5] classes/meson: set python install locations in the cross file Date: Wed, 1 Jul 2026 17:13:09 +0100 Message-ID: <20260701161313.981064-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 ; Wed, 01 Jul 2026 16:13:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239991 Instead of needing recipes to inherit python3targetconfig so that Python when asked will report the correct target directory to install into, we can pass the right directory via meson's cross file. This means recipes that currently inherit python3targetconfig to get this path no longer need to. Signed-off-by: Ross Burton --- meta/classes-recipe/meson.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes-recipe/meson.bbclass b/meta/classes-recipe/meson.bbclass index 9bed293603c..f20fa61b3cc 100644 --- a/meta/classes-recipe/meson.bbclass +++ b/meta/classes-recipe/meson.bbclass @@ -94,6 +94,8 @@ c_args = ${@meson_array('CFLAGS', d)} c_link_args = ${@meson_array('LDFLAGS', d)} cpp_args = ${@meson_array('CXXFLAGS', d)} cpp_link_args = ${@meson_array('LDFLAGS', d)} +python.platlibdir = '${PYTHON_SITEPACKAGES_DIR}' +python.purelibdir = '${PYTHON_SITEPACKAGES_DIR}' [properties] needs_exe_wrapper = true From patchwork Wed Jul 1 16:13: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: 91521 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 4BC68C44501 for ; Wed, 1 Jul 2026 16:13:27 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.49046.1782922397130755519 for ; Wed, 01 Jul 2026 09:13:17 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=WfcT0enz; 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 4BA71165C for ; Wed, 1 Jul 2026 09:13:12 -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 477123F673 for ; Wed, 1 Jul 2026 09:13:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1782922396; bh=3L6bzOURRirn1o7jJxvsusnSsyQA2890iHJdaKxlGsE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WfcT0enzY87JJSXi4lB3Xemj17IOURgZs0Gcb/uQJL66ckHX80nZBcB+q0fyMt2fA y5H8f01DTlFadp74PfO0l3ARvosmTJZSg7dUsrueGV4qPVnCfD/99ifus0ZMM3nrrz LYNDo2TDVngGhN+bPA6xiXHR7wwzAkbOZMBWaR9U= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 2/5] blueprint-compiler: inherit python3-dir not python3targetconfig Date: Wed, 1 Jul 2026 17:13:10 +0100 Message-ID: <20260701161313.981064-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260701161313.981064-1-ross.burton@arm.com> References: <20260701161313.981064-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 ; Wed, 01 Jul 2026 16:13:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239992 Now that meson.bbclass tells meson where to install Python files this recipe just needs to know the value of PYTHON_SITEPACKAGES_DIR for FILES, so just inherit python3-dir to remove a dependency on the target python recipe. 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 Wed Jul 1 16:13:11 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 91520 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 07656C43458 for ; Wed, 1 Jul 2026 16:13:27 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.49047.1782922397850888976 for ; Wed, 01 Jul 2026 09:13:17 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=Uc/t3fve; 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 05E5F165C for ; Wed, 1 Jul 2026 09:13:13 -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 01A913F673 for ; Wed, 1 Jul 2026 09:13:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1782922397; bh=xYcmzf+U+zrtnHWrpbPPfQUyv+B2KsyWBeLJ3/ZLUsI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Uc/t3fvepd/O0HBRVPd3Phkdg+idbqU+ZtmBPHNAPSr8ViieYCU3Wdse4wchN5Ev7 meUBGv3Zw87ZbQQOOx9/1HeyoJm+U9Ebl37Xwox7puzj1emUXdYuxaInG/SOCTxxcu 1tlgDKxTh8y+1WIaVojP9NFLymWNxOd+W/5s/lQU= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 3/5] python3-pycairo: inherit python3-dir not python3targetconfig Date: Wed, 1 Jul 2026 17:13:11 +0100 Message-ID: <20260701161313.981064-3-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260701161313.981064-1-ross.burton@arm.com> References: <20260701161313.981064-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 ; Wed, 01 Jul 2026 16:13:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239993 Now that meson.bbclass tells meson where to install Python files this recipe just needs to know the value of PYTHON_SITEPACKAGES_DIR for FILES, so just inherit python3-dir to remove a dependency on the target python recipe. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-pycairo_1.29.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-pycairo_1.29.0.bb b/meta/recipes-devtools/python/python3-pycairo_1.29.0.bb index 20c2c332cdb..9b78e4f3d3f 100644 --- a/meta/recipes-devtools/python/python3-pycairo_1.29.0.bb +++ b/meta/recipes-devtools/python/python3-pycairo_1.29.0.bb @@ -17,7 +17,7 @@ SRC_URI[sha256sum] = "f3f7fde97325cae80224c09f12564ef58d0d0f655da0e3b040f5807bd5 S = "${UNPACKDIR}/pycairo-${PV}" -inherit meson pkgconfig python3targetconfig github-releases +inherit meson pkgconfig python3-dir github-releases CFLAGS += "-fPIC" From patchwork Wed Jul 1 16:13:12 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 91522 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 364ACC43602 for ; Wed, 1 Jul 2026 16:13:27 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.49050.1782922398701208108 for ; Wed, 01 Jul 2026 09:13:18 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=tIBhvm8t; 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 B337216A3 for ; Wed, 1 Jul 2026 09:13:13 -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 AFBEF3F673 for ; Wed, 1 Jul 2026 09:13:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1782922398; bh=707KA2XUJ7tjTWDiUqv2AhGY6ZSuo8E4H20Q+FjZWU8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tIBhvm8tTJpdx1M66M3aqw9nWkWsw7BuuVVRi4og1oRY75qxP9yW0kNeqHN7kbSUU Voao/lFEHp2uYOKGuzkZfuyNOqh/Kn1tpT3701b9N3x++QTJ5vzNiKTWABMt1BzJcP UXODIf52xh709siM3T8IsecqVjj8U9TiaBVPvvpU= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 4/5] at-spi2-core: inherit python3-dir not python3targetconfig Date: Wed, 1 Jul 2026 17:13:12 +0100 Message-ID: <20260701161313.981064-4-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260701161313.981064-1-ross.burton@arm.com> References: <20260701161313.981064-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 ; Wed, 01 Jul 2026 16:13:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239994 Now that meson.bbclass tells meson where to install Python files this recipe just needs to know the value of PYTHON_SITEPACKAGES_DIR for FILES, so just inherit python3-dir to remove a dependency on the target python recipe. Signed-off-by: Ross Burton --- meta/recipes-support/atk/at-spi2-core_2.60.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/atk/at-spi2-core_2.60.4.bb b/meta/recipes-support/atk/at-spi2-core_2.60.4.bb index 5068cb82fe7..9472e06b1de 100644 --- a/meta/recipes-support/atk/at-spi2-core_2.60.4.bb +++ b/meta/recipes-support/atk/at-spi2-core_2.60.4.bb @@ -23,7 +23,7 @@ DEPENDS = " \ PROVIDES += "atk at-spi2-atk" RPROVIDES:${PN} += "atk at-spi2-atk" -inherit gnomebase gi-docgen gettext systemd upstream-version-is-even gobject-introspection python3targetconfig +inherit gnomebase gi-docgen gettext systemd upstream-version-is-even gobject-introspection python3-dir EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \ -Ddbus_daemon=${bindir}/dbus-daemon" From patchwork Wed Jul 1 16:13:13 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 91523 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 27C60C44500 for ; Wed, 1 Jul 2026 16:13:27 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.49051.1782922399253680085 for ; Wed, 01 Jul 2026 09:13:19 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=Ha8/Vj/k; 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 65B56165C for ; Wed, 1 Jul 2026 09:13:14 -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 688F93F673 for ; Wed, 1 Jul 2026 09:13:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1782922398; bh=ypRgHZ/emcxg+YVRoW+MbIpxvhmdJeAcgXASN9jCf8s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Ha8/Vj/kV6DAk/8kSM53Dt1qN2ndsrygI04wHCMbD6CDdv8eL/FTdpN3lChQulOj9 tvzSv7KQF0sbaqTaTQvOc5+zMxsbKc/NxIJVntZn1DO5eX3KFjYVLrNCxOrl2N5JoP VubYisyzPOvxXTF9ZEjZFbDwtUdZ3sca9XuFJJ+M= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 5/5] kea: fix python module packaging Date: Wed, 1 Jul 2026 17:13:13 +0100 Message-ID: <20260701161313.981064-5-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260701161313.981064-1-ross.burton@arm.com> References: <20260701161313.981064-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 ; Wed, 01 Jul 2026 16:13:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239995 This was previously installing into the wrong target directory because it was using the python3-native's directory layout. Now that meson.bbclass is telling meson where to put files, we need to inherit python3-dir and package the correct files. Signed-off-by: Ross Burton --- meta/recipes-connectivity/kea/kea_3.0.3.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/kea/kea_3.0.3.bb b/meta/recipes-connectivity/kea/kea_3.0.3.bb index f5ca2b16eec..1c3dae15958 100644 --- a/meta/recipes-connectivity/kea/kea_3.0.3.bb +++ b/meta/recipes-connectivity/kea/kea_3.0.3.bb @@ -25,7 +25,7 @@ SRC_URI = "http://ftp.isc.org/isc/kea/${PV}/${BP}.tar.xz \ " SRC_URI[sha256sum] = "09702ddb078b637e85de9236cbedd3fb9d7af7c6e797026c538b45748ad4d631" -inherit meson pkgconfig systemd update-rc.d upstream-version-is-even +inherit meson pkgconfig systemd update-rc.d upstream-version-is-even python3-dir # install-umask can be removed when upgrading to 3.1.19 onwards # https://gitlab.isc.org/isc-projects/kea/-/commit/d9f332a6f36f8056a54b0698d4672a67aea812ba @@ -101,7 +101,7 @@ CONFFILES:${PN} = "${sysconfdir}/kea/kea-ctrl-agent.conf \ " PACKAGES =+ "${PN}-python" -FILES:${PN}-python = "${nonarch_libdir}/python*/site-packages/*" +FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" RDEPENDS:${PN}-python = "python3" FILES:${PN}-staticdev += "${libdir}/kea/hooks/*.a ${libdir}/hooks/*.a"