From patchwork Thu Oct 1 16:40:02 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 99838 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 2ABF0CA5FD6 for ; Thu, 1 Oct 2026 16:40:22 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.15798.1790872815451372696 for ; Thu, 01 Oct 2026 09:40:15 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=QG26SyUy; 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 5EE34497 for ; Thu, 1 Oct 2026 09:40: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 6CC7D3F85F for ; Thu, 1 Oct 2026 09:40:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1790872814; bh=ZlXAb4lgjZh2QVnrM3xEgDhDNTBCZ2EfUmYAjZYfxR4=; h=From:To:Subject:Date:From; b=QG26SyUyWIWdZS9zdgpcPZgvslEfwkbgm0PXz9AJpw1SRQi2LgADhoTb44yLLndLR 4wdOGEttbXUao/WtP5e1YhnU5fnVDlxOjAoOUv63fGId+Glm1rLFLDQTudlfWWGEP2 7ddF//xYNjR/ZwaXHph47f6C4AGEJk/IclWPTeko= From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 1/2] ibus: no need for -native recipe Date: Thu, 1 Oct 2026 17:40:02 +0100 Message-ID: <20261001164003.2854547-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 aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 01 Oct 2026 16:40:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/130598 We were building ibus-native for the unicode-parser tool that is needed at build time. However, ibus can correctly build that (and other tools) in cross-compiled environments since 1.5.29[1], so there's no need to have a native recipe anymore. [1] ibus 18f0d9f5 ("configure: Fix cross compiling") Signed-off-by: Ross Burton --- .../recipes-support/ibus/ibus-native.bb | 35 ------------------- meta-gnome/recipes-support/ibus/ibus.bb | 6 ---- 2 files changed, 41 deletions(-) delete mode 100644 meta-gnome/recipes-support/ibus/ibus-native.bb diff --git a/meta-gnome/recipes-support/ibus/ibus-native.bb b/meta-gnome/recipes-support/ibus/ibus-native.bb deleted file mode 100644 index 7ba9b57617..0000000000 --- a/meta-gnome/recipes-support/ibus/ibus-native.bb +++ /dev/null @@ -1,35 +0,0 @@ -require ${BPN}.inc - -inherit native - -DEPENDS += " \ - glib-2.0-native \ - dbus-native \ - iso-codes \ -" - -PACKAGECONFIG = "" - -# for allarch iso-codes -EXTRA_NATIVE_PKGCONFIG_PATH = ":${RECIPE_SYSROOT}${datadir_native}/pkgconfig" -# for allarch unicode-ucd - just to make configure happy -EXTRA_OECONF += "--with-ucd-dir=${RECIPE_SYSROOT}${datadir_native}/unicode/ucd" - -do_compile() { - cd src - # seems by moving to src we break dependency tracking so build what's - # necessary step by step - oe_runmake ibusenumtypes.h - oe_runmake ibusmarshalers.h - oe_runmake ibusresources.h - oe_runmake ibusenumtypes.c - oe_runmake unicode-parser -} - -do_install() { - install -d ${D}/${libdir} - install -m 755 ${S}/src/.libs/libibus-*.so* ${D}/${libdir} - - install -d ${D}/${bindir} - install -m 755 ${S}/src/.libs/unicode-parser ${D}/${bindir} -} diff --git a/meta-gnome/recipes-support/ibus/ibus.bb b/meta-gnome/recipes-support/ibus/ibus.bb index 08a7804ea9..99056a83d4 100644 --- a/meta-gnome/recipes-support/ibus/ibus.bb +++ b/meta-gnome/recipes-support/ibus/ibus.bb @@ -1,7 +1,6 @@ require ${BPN}.inc DEPENDS += " \ - ${BPN}-native \ glib-2.0-native \ glib-2.0 \ dbus \ @@ -26,11 +25,6 @@ do_compile:prepend() { export GIR_EXTRA_LIBS_PATH="${B}/src/.libs" } -do_configure:prepend() { - # run native unicode-parser - sed -i 's:$(builddir)/unicode-parser:unicode-parser:g' ${S}/src/Makefile.am -} - FILES:${PN} += " \ ${datadir}/dbus-1 \ ${datadir}/GConf \ From patchwork Thu Oct 1 16:40:03 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 99839 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 55AFECA5FD4 for ; Thu, 1 Oct 2026 16:40:22 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.15799.1790872815935713712 for ; Thu, 01 Oct 2026 09:40: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=WslPL32G; 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 0EE521476 for ; Thu, 1 Oct 2026 09:40: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 1BFBD3F85F for ; Thu, 1 Oct 2026 09:40:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1790872815; bh=PPhMD727yYZUU9NAkWIvTEVNg88YL7/lqWVGW7CWuoc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WslPL32G+rFpQmpbguILPy5R4wQhqs0p5E+6oglWslOIXPP/sy9SZKKzLD0CjUfSt hI9AoiLaiVajuaOZ1zTt/Urk/C5UYn6C9dQDfym3VZ27dvm6Lg6ef2cUSoJWlAcT0W H24b4H8fNPwk6P2T8QAydkulRzK0Y904uiq3XUo4= From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 2/2] ibus: merge bb/inc Date: Thu, 1 Oct 2026 17:40:03 +0100 Message-ID: <20261001164003.2854547-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261001164003.2854547-1-ross.burton@arm.com> References: <20261001164003.2854547-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 aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 01 Oct 2026 16:40:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/130599 Now that ibus-native doesn't exist, there's no need to have split .bb and .inc files. Signed-off-by: Ross Burton --- meta-gnome/recipes-support/ibus/ibus.bb | 41 ------------------- .../ibus/{ibus.inc => ibus_1.5.34.bb} | 41 +++++++++++++++---- 2 files changed, 32 insertions(+), 50 deletions(-) delete mode 100644 meta-gnome/recipes-support/ibus/ibus.bb rename meta-gnome/recipes-support/ibus/{ibus.inc => ibus_1.5.34.bb} (61%) diff --git a/meta-gnome/recipes-support/ibus/ibus.bb b/meta-gnome/recipes-support/ibus/ibus.bb deleted file mode 100644 index 99056a83d4..0000000000 --- a/meta-gnome/recipes-support/ibus/ibus.bb +++ /dev/null @@ -1,41 +0,0 @@ -require ${BPN}.inc - -DEPENDS += " \ - glib-2.0-native \ - glib-2.0 \ - dbus \ - iso-codes \ -" - -inherit gtk-icon-cache bash-completion features_check - -# for unicode-ucd -EXTRA_OECONF += "--with-ucd-dir=${STAGING_DATADIR}/unicode/ucd" - -PACKAGECONFIG ??= " \ - dconf vala \ - ${@bb.utils.contains_any('DISTRO_FEATURES', [ 'wayland', 'x11' ], 'gtk3 gtk4', '', d)} \ - ${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libnotify', '', d)} \ -" - -REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'gtk4', 'opengl', '', d)}" - -do_compile:prepend() { - export GIR_EXTRA_LIBS_PATH="${B}/src/.libs" -} - -FILES:${PN} += " \ - ${datadir}/dbus-1 \ - ${datadir}/GConf \ - ${datadir}/glib-2.0 \ - ${libdir}/gtk-2.0 \ - ${libdir}/gtk-3.0 \ - ${libdir}/gtk-4.0 \ - ${systemd_user_unitdir} \ -" - -FILES:${PN}-dev += " \ - ${datadir}/gettext \ -" -RDEPENDS:${PN} += "python3-core" diff --git a/meta-gnome/recipes-support/ibus/ibus.inc b/meta-gnome/recipes-support/ibus/ibus_1.5.34.bb similarity index 61% rename from meta-gnome/recipes-support/ibus/ibus.inc rename to meta-gnome/recipes-support/ibus/ibus_1.5.34.bb index d53c5e63d5..b4d24ed702 100644 --- a/meta-gnome/recipes-support/ibus/ibus.inc +++ b/meta-gnome/recipes-support/ibus/ibus_1.5.34.bb @@ -3,11 +3,7 @@ HOMEPAGE = "https://github.com/ibus/ibus/wiki" LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" -inherit autotools-brokensep pkgconfig gobject-introspection gettext gtk-doc vala - -PV = "1.5.34" - -DEPENDS = "unicode-ucd libx11-native" +DEPENDS = "unicode-ucd libx11-native glib-2.0-native glib-2.0 dbus iso-codes" SRC_URI = " \ git://github.com/ibus/ibus.git;branch=main;protocol=https;tag=${PV} \ @@ -17,6 +13,16 @@ SRC_URI = " \ " SRCREV = "1f7af28437afd62a6d145bfc81035e698a37411d" +# brokensep needed as vapi fails to build correctly +inherit autotools-brokensep gettext features_check pkgconfig +inherit bash-completion gobject-introspection gtk-doc gtk-icon-cache vala + +PACKAGECONFIG ??= " \ + ${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11', d)} \ + ${@bb.utils.contains_any('DISTRO_FEATURES', [ 'wayland', 'x11' ], 'gtk3 gtk4', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libnotify', '', d)} \ + dconf vala \ +" PACKAGECONFIG[appindicator] = "--enable-appindicator,--disable-appindicator,qtbase" PACKAGECONFIG[dconf] = "--enable-dconf,--disable-dconf,dconf" PACKAGECONFIG[gtk2] = "--enable-gtk2,--disable-gtk2,gtk+" @@ -32,18 +38,35 @@ EXTRA_OECONF = " \ --disable-tests \ --disable-emoji-dict \ --disable-python2 \ -" -EXTRA_OECONF:append:class-target = "\ --with-python=${bindir}/python3 \ + --with-ucd-dir=${STAGING_DATADIR}/unicode/ucd \ " do_configure:prepend() { - touch ${S}/ChangeLog - touch ${S}/ABOUT-NLS + touch ${S}/ChangeLog ${S}/ABOUT-NLS # Remove vapigen.m4 bundled with sources so that the one shipped by vala is used instead. rm -f ${S}/m4/vapigen.m4 } do_compile:prepend() { + export GIR_EXTRA_LIBS_PATH="${B}/src/.libs" cp ${STAGING_DATADIR_NATIVE}/X11/locale/en_US.UTF-8/Compose ${B}/src/Compose } + +FILES:${PN} += " \ + ${datadir}/dbus-1 \ + ${datadir}/GConf \ + ${datadir}/glib-2.0 \ + ${libdir}/gtk-2.0 \ + ${libdir}/gtk-3.0 \ + ${libdir}/gtk-4.0 \ + ${systemd_user_unitdir} \ +" + +FILES:${PN}-dev += " \ + ${datadir}/gettext \ +" + +RDEPENDS:${PN} += "python3-core" + +REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'gtk4', 'opengl', '', d)}"