* [meta-oe][PATCHv2] ibus: upgrade 1.5.26 -> 1.5.34
@ 2026-09-25 9:23 Markus Volk
2026-09-25 20:33 ` [oe] " Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: Markus Volk @ 2026-09-25 9:23 UTC (permalink / raw)
To: openembedded-devel
Drop the three backports, which are part of the release, and rebase the
dbus-launch patch onto the reworked make-dconf-override-db.sh.
libnotify is now checked unconditionally unless disabled, so add a
libnotify PACKAGECONFIG, enabled with x11 since only the X11 panel
uses it. ibus-native needs the generated ibusresources.h. The internal
compose table is generated at build time and reads ./Compose before
the X11 locale dir, so copy it from libx11-native instead of touching
the host's. The wayland GIR needs libibus from the build tree on the
qemu library path.
Tested by building ibus and ibus-native for x86-64.
AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
.../recipes-support/ibus/ibus-native.bb | 1 +
meta-gnome/recipes-support/ibus/ibus.bb | 5 +
meta-gnome/recipes-support/ibus/ibus.inc | 16 +-
...start-dbus-we-do-not-have-dbus-lauch.patch | 17 +-
...01-makefile-don-t-gzip-the-man-pages.patch | 164 ------------------
...c-Fix-declaration-errors-with-GCC-15.patch | 36 ----
...incompatible-pointer-types-in-Transp.patch | 109 ------------
7 files changed, 27 insertions(+), 321 deletions(-)
delete mode 100644 meta-gnome/recipes-support/ibus/ibus/0001-makefile-don-t-gzip-the-man-pages.patch
delete mode 100644 meta-gnome/recipes-support/ibus/ibus/0001-src-Fix-declaration-errors-with-GCC-15.patch
delete mode 100644 meta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch
diff --git a/meta-gnome/recipes-support/ibus/ibus-native.bb b/meta-gnome/recipes-support/ibus/ibus-native.bb
index ca65114c4d..7ba9b57617 100644
--- a/meta-gnome/recipes-support/ibus/ibus-native.bb
+++ b/meta-gnome/recipes-support/ibus/ibus-native.bb
@@ -21,6 +21,7 @@ do_compile() {
# necessary step by step
oe_runmake ibusenumtypes.h
oe_runmake ibusmarshalers.h
+ oe_runmake ibusresources.h
oe_runmake ibusenumtypes.c
oe_runmake unicode-parser
}
diff --git a/meta-gnome/recipes-support/ibus/ibus.bb b/meta-gnome/recipes-support/ibus/ibus.bb
index 479498d82f..08a7804ea9 100644
--- a/meta-gnome/recipes-support/ibus/ibus.bb
+++ b/meta-gnome/recipes-support/ibus/ibus.bb
@@ -17,10 +17,15 @@ 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"
+}
+
do_configure:prepend() {
# run native unicode-parser
sed -i 's:$(builddir)/unicode-parser:unicode-parser:g' ${S}/src/Makefile.am
diff --git a/meta-gnome/recipes-support/ibus/ibus.inc b/meta-gnome/recipes-support/ibus/ibus.inc
index 1344cb1981..d9d8b70861 100644
--- a/meta-gnome/recipes-support/ibus/ibus.inc
+++ b/meta-gnome/recipes-support/ibus/ibus.inc
@@ -5,24 +5,22 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
inherit autotools-brokensep pkgconfig gobject-introspection gettext gtk-doc vala
-PV = "1.5.26"
+PV = "1.5.34"
-DEPENDS = "unicode-ucd"
+DEPENDS = "unicode-ucd libx11-native"
SRC_URI = " \
- git://github.com/ibus/ibus.git;branch=main;protocol=https \
+ git://github.com/ibus/ibus.git;branch=main;protocol=https;tag=${PV} \
file://0001-Do-not-try-to-start-dbus-we-do-not-have-dbus-lauch.patch \
- file://0001-makefile-don-t-gzip-the-man-pages.patch \
- file://0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch \
- file://0001-src-Fix-declaration-errors-with-GCC-15.patch \
"
-SRCREV = "6a70ab0338206bd1c7d01a4e1874ea0ee5b3a9d3"
+SRCREV = "1f7af28437afd62a6d145bfc81035e698a37411d"
PACKAGECONFIG[appindicator] = "--enable-appindicator,--disable-appindicator,qtbase"
PACKAGECONFIG[dconf] = "--enable-dconf,--disable-dconf,dconf"
PACKAGECONFIG[gtk2] = "--enable-gtk2,--disable-gtk2,gtk+"
PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3,gtk+3"
PACKAGECONFIG[gtk4] = "--enable-gtk4,--disable-gtk4,gtk4"
+PACKAGECONFIG[libnotify] = "--enable-libnotify,--disable-libnotify,libnotify"
PACKAGECONFIG[systemd] = "--enable-systemd-services,--disable-systemd-services,systemd"
PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland"
PACKAGECONFIG[vala] = "--enable-vala,--disable-vala"
@@ -43,3 +41,7 @@ do_configure:prepend() {
# 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() {
+ cp ${STAGING_DATADIR_NATIVE}/X11/locale/en_US.UTF-8/Compose ${B}/src/Compose
+}
diff --git a/meta-gnome/recipes-support/ibus/ibus/0001-Do-not-try-to-start-dbus-we-do-not-have-dbus-lauch.patch b/meta-gnome/recipes-support/ibus/ibus/0001-Do-not-try-to-start-dbus-we-do-not-have-dbus-lauch.patch
index aec9e7abec..64ad6b0857 100644
--- a/meta-gnome/recipes-support/ibus/ibus/0001-Do-not-try-to-start-dbus-we-do-not-have-dbus-lauch.patch
+++ b/meta-gnome/recipes-support/ibus/ibus/0001-Do-not-try-to-start-dbus-we-do-not-have-dbus-lauch.patch
@@ -10,23 +10,30 @@ Upstream-Status: Inappropriate [OE specific]
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
- data/dconf/make-dconf-override-db.sh | 6 ------
- 1 file changed, 6 deletions(-)
+ data/dconf/make-dconf-override-db.sh | 11 -----------
+ 1 file changed, 11 deletions(-)
+diff --git a/data/dconf/make-dconf-override-db.sh b/data/dconf/make-dconf-override-db.sh
+index 32cb153..375baa4 100755
--- a/data/dconf/make-dconf-override-db.sh
+++ b/data/dconf/make-dconf-override-db.sh
-@@ -12,10 +12,6 @@ export XDG_CACHE_HOME="$TMPDIR/cache"
+@@ -12,15 +12,6 @@ export XDG_CACHE_HOME="$TMPDIR/cache"
export GSETTINGS_SCHEMA_DIR="$TMPDIR/schemas"
mkdir -p $XDG_CONFIG_HOME $XDG_CACHE_HOME $GSETTINGS_SCHEMA_DIR
-eval `dbus-launch --sh-syntax`
-
--trap 'rm -rf $TMPDIR; kill $DBUS_SESSION_BUS_PID' ERR
+-trap cleanup EXIT
+-
+-cleanup() {
+- test $? -eq 0 && exit
+- rm -rf $TMPDIR; kill $DBUS_SESSION_BUS_PID
+-}
-
# in case that schema is not installed on the system
glib-compile-schemas --targetdir "$GSETTINGS_SCHEMA_DIR" "$PWD"
-@@ -52,5 +48,3 @@ if [ -d $TMPDIR/cache/gvfs ] ; then
+@@ -57,5 +48,3 @@ if [ -d $TMPDIR/cache/gvfs ] ; then
umount $TMPDIR/cache/gvfs
fi
rm -rf $TMPDIR
diff --git a/meta-gnome/recipes-support/ibus/ibus/0001-makefile-don-t-gzip-the-man-pages.patch b/meta-gnome/recipes-support/ibus/ibus/0001-makefile-don-t-gzip-the-man-pages.patch
deleted file mode 100644
index 105e34873a..0000000000
--- a/meta-gnome/recipes-support/ibus/ibus/0001-makefile-don-t-gzip-the-man-pages.patch
+++ /dev/null
@@ -1,164 +0,0 @@
-From 5307c3b310fabeaa52fafe743c5efaca73ccce46 Mon Sep 17 00:00:00 2001
-From: Emil Velikov <emil.l.velikov@gmail.com>
-Date: Sun, 11 Jun 2023 16:16:35 +0900
-Subject: [PATCH] makefile: don't gzip the man pages
-
-Drop the gzip step from the manpages - distributions already do that as
-needed. In addition this resolves the final reproducibility issue with
-ibus.
-
-BUG=https://github.com/ibus/ibus/pull/2514
-
-Upstream-Status: Backport [https://github.com/ibus/ibus/commit/1a25975d9f55f18eab609e4d147dd32689e367f3]
-Note: This commit is included in version >= 1.5.29 and can be dropped
-after upgrading.
-Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
----
- bus/Makefile.am | 6 +-----
- data/dconf/Makefile.am | 6 +-----
- setup/Makefile.am | 6 +-----
- tools/Makefile.am | 6 +-----
- ui/gtk3/Makefile.am | 6 +-----
- 5 files changed, 5 insertions(+), 25 deletions(-)
-
-diff --git a/bus/Makefile.am b/bus/Makefile.am
-index e173ee25..d0445d02 100644
---- a/bus/Makefile.am
-+++ b/bus/Makefile.am
-@@ -169,7 +169,6 @@ EXTRA_DIST = \
-
- CLEANFILES = \
- $(man_one_DATA) \
-- $(man_one_files) \
- $(NULL)
-
- $(libibus):
-@@ -181,14 +180,11 @@ test: ibus-daemon
- $(builddir)/ibus-daemon -v
-
- man_one_in_files = ibus-daemon.1.in
--man_one_files = $(man_one_in_files:.1.in=.1)
--man_one_DATA =$(man_one_files:.1=.1.gz)
-+man_one_DATA = $(man_one_in_files:.1.in=.1)
- man_onedir = $(mandir)/man1
- %.1: %.1.in
- $(AM_V_GEN) sed \
- -e 's|@VERSION[@]|$(VERSION)|g' $< > $@.tmp && \
- mv $@.tmp $@
--%.1.gz: %.1
-- $(AM_V_GEN) gzip -c $< > $@.tmp && mv $@.tmp $@
-
- -include $(top_srcdir)/git.mk
-diff --git a/data/dconf/Makefile.am b/data/dconf/Makefile.am
-index 5360f033..2352f770 100644
---- a/data/dconf/Makefile.am
-+++ b/data/dconf/Makefile.am
-@@ -38,15 +38,12 @@ dconfdb_DATA = 00-upstream-settings
- { rc=$$?; $(RM) -rf $@; exit $$rc; }
-
- man_5_in_files = 00-upstream-settings.5.in ibus.5.in
--man_5_files = $(man_5_in_files:.5.in=.5)
--man_5_DATA =$(man_5_files:.5=.5.gz)
-+man_5_DATA = $(man_5_in_files:.5.in=.5)
- man_5dir = $(mandir)/man5
- %.5: %.5.in
- $(AM_V_GEN) sed \
- -e 's|@VERSION[@]|$(VERSION)|g' $< > $@.tmp && \
- mv $@.tmp $@
--%.5.gz: %.5
-- $(AM_V_GEN) gzip -c $< > $@.tmp && mv $@.tmp $@
-
- install-data-hook:
- if test -z "$(DESTDIR)"; then \
-@@ -63,7 +60,6 @@ EXTRA_DIST = \
-
- CLEANFILES = \
- $(man_5_DATA) \
-- $(man_5_files) \
- $(NULL)
-
- MAINTAINERCLEANFILES = \
-diff --git a/setup/Makefile.am b/setup/Makefile.am
-index 34c8f136..b34aa8fc 100644
---- a/setup/Makefile.am
-+++ b/setup/Makefile.am
-@@ -56,20 +56,16 @@ org.freedesktop.IBus.Setup.desktop: ibus-setup.desktop
- $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
-
- man_one_in_files = ibus-setup.1.in
--man_one_files = $(man_one_in_files:.1.in=.1)
--man_one_DATA =$(man_one_files:.1=.1.gz)
-+man_one_DATA = $(man_one_in_files:.1.in=.1)
- man_onedir = $(mandir)/man1
- %.1: %.1.in
- $(AM_V_GEN) sed \
- -e 's|@VERSION[@]|$(VERSION)|g' $< > $@.tmp && \
- mv $@.tmp $@
--%.1.gz: %.1
-- $(AM_V_GEN) gzip -c $< > $@.tmp && mv $@.tmp $@
-
- CLEANFILES = \
- $(desktop_DATA) \
- $(man_one_DATA) \
-- $(man_one_files) \
- *.pyc \
- ibus-setup \
- $(NULL)
-diff --git a/tools/Makefile.am b/tools/Makefile.am
-index 5c18d3d6..1c716136 100644
---- a/tools/Makefile.am
-+++ b/tools/Makefile.am
-@@ -79,15 +79,12 @@ bash_completion_DATA= \
- bash_completiondir=@datadir@/bash-completion/completions
-
- man_one_in_files = ibus.1.in
--man_one_files = $(man_one_in_files:.1.in=.1)
--man_one_DATA =$(man_one_files:.1=.1.gz)
-+man_one_DATA = $(man_one_in_files:.1.in=.1)
- man_onedir = $(mandir)/man1
- %.1: %.1.in
- $(AM_V_GEN) sed \
- -e 's|@VERSION[@]|$(VERSION)|g' $< > $@.tmp && \
- mv $@.tmp $@
--%.1.gz: %.1
-- $(AM_V_GEN) gzip -c $< > $@.tmp && mv $@.tmp $@
-
- EXTRA_DIST = \
- $(man_one_in_files) \
-@@ -96,7 +93,6 @@ EXTRA_DIST = \
-
- CLEANFILES = \
- $(man_one_DATA) \
-- $(man_one_files) \
- $(NULL)
-
- if ENABLE_EMOJI_DICT
-diff --git a/ui/gtk3/Makefile.am b/ui/gtk3/Makefile.am
-index ab379328..aff035da 100644
---- a/ui/gtk3/Makefile.am
-+++ b/ui/gtk3/Makefile.am
-@@ -242,15 +242,12 @@ panelbinding.o: $(srcdir)/panelbinding.c
-
- MAINTAINERCLEANFILES += extension.c panelbinding.c
-
--man_seven_files = $(man_seven_in_files:.7.in=.7)
--man_seven_DATA =$(man_seven_files:.7=.7.gz)
-+man_seven_DATA = $(man_seven_in_files:.7.in=.7)
- man_sevendir = $(mandir)/man7
- %.7: %.7.in
- $(AM_V_GEN) sed \
- -e 's|@VERSION[@]|$(VERSION)|g' $< > $@.tmp && \
- mv $@.tmp $@
--%.7.gz: %.7
-- $(AM_V_GEN) gzip -c $< > $@.tmp && mv $@.tmp $@
-
- desktop_in_files = \
- ibus-ui-emojier.desktop.in \
-@@ -278,7 +275,6 @@ CLEANFILES += \
- $(desktop_DATA) \
- $(desktop_notrans_files) \
- $(man_seven_DATA) \
-- $(man_seven_files) \
- $(NULL)
-
- endif
diff --git a/meta-gnome/recipes-support/ibus/ibus/0001-src-Fix-declaration-errors-with-GCC-15.patch b/meta-gnome/recipes-support/ibus/ibus/0001-src-Fix-declaration-errors-with-GCC-15.patch
deleted file mode 100644
index 150ff631ba..0000000000
--- a/meta-gnome/recipes-support/ibus/ibus/0001-src-Fix-declaration-errors-with-GCC-15.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 0f5407f8a3846477fcaa73505437e805467901e1 Mon Sep 17 00:00:00 2001
-From: fujiwarat <takao.fujiwara1@gmail.com>
-Date: Fri, 24 Jan 2025 09:40:31 +0900
-Subject: [PATCH] src: Fix declaration errors with GCC 15
-
-
-BUG=rhbz#2340629
-
-Upstream-Status: Backport [https://github.com/ibus/ibus/commit/aac5446e8c98db934912b9b15a1ef92c3b7e4c8c]
-Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
----
- src/ibusenginesimple.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/ibusenginesimple.c b/src/ibusenginesimple.c
-index c57a3ea5..60e7fb34 100644
---- a/src/ibusenginesimple.c
-+++ b/src/ibusenginesimple.c
-@@ -477,7 +477,7 @@ check_hex (IBusEngineSimple *simple,
- }
-
- static IBusEngineDict *
--load_emoji_dict ()
-+load_emoji_dict (void)
- {
- IBusEngineDict *emoji_dict;
- GList *keys;
-@@ -520,7 +520,7 @@ check_emoji_table (IBusEngineSimple *simple,
- g_object_ref_sink (priv->lookup_table);
- }
- if (emoji_dict == NULL)
-- emoji_dict = priv->emoji_dict = load_emoji_dict (simple);
-+ emoji_dict = priv->emoji_dict = load_emoji_dict ();
-
- if (emoji_dict == NULL || emoji_dict->dict == NULL)
- return FALSE;
diff --git a/meta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch b/meta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch
deleted file mode 100644
index 229a9d34aa..0000000000
--- a/meta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch
+++ /dev/null
@@ -1,109 +0,0 @@
-From b0a554d7c9d4d52bd34a85fe66a85adf9542a2ec Mon Sep 17 00:00:00 2001
-From: fujiwarat <takao.fujiwara1@gmail.com>
-Date: Fri, 24 Jan 2025 10:01:11 +0900
-Subject: [PATCH] util/IMdkit: Fix incompatible-pointer-types in
- TransportSW.checkAddr
-
-
-BUG=rhbz#2340629
-
-Upstream-Status: Backport [https://github.com/ibus/ibus/commit/d039b95b1af14fd34167a4ca038938cef2ea41ca]
-Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
----
- util/IMdkit/Xi18n.h | 18 ++++++++++--------
- util/IMdkit/i18nMethod.c | 3 ++-
- util/IMdkit/i18nOffsetCache.c | 10 ++++++----
- 3 files changed, 18 insertions(+), 13 deletions(-)
-
-diff --git a/util/IMdkit/Xi18n.h b/util/IMdkit/Xi18n.h
-index 79dd9619..09097bb6 100644
---- a/util/IMdkit/Xi18n.h
-+++ b/util/IMdkit/Xi18n.h
-@@ -3,7 +3,7 @@
- Copyright (C) 1994-1995 Sun Microsystems, Inc.
- Copyright (C) 1993-1994 Hewlett-Packard Company
- Copyright (C) 2014 Peng Huang <shawn.p.huang@gmail.com>
-- Copyright (C) 2014 Red Hat, Inc.
-+ Copyright (C) 2014-2025 Red Hat, Inc.
-
- Permission to use, copy, modify, distribute, and sell this software
- and its documentation for any purpose is hereby granted without fee,
-@@ -71,13 +71,6 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- #define I18N_SET 1
- #define I18N_GET 2
-
--typedef struct
--{
-- char *transportname;
-- int namelen;
-- Bool (*checkAddr) ();
--} TransportSW;
--
- typedef struct _XIMPending
- {
- unsigned char *p;
-@@ -172,6 +165,15 @@ typedef struct _Xi18nClient
-
- typedef struct _Xi18nCore *Xi18n;
-
-+typedef struct _TransportSW TransportSW;
-+
-+struct _TransportSW
-+{
-+ char *transportname;
-+ int namelen;
-+ Bool (*checkAddr) (Xi18n, TransportSW *, char *);
-+};
-+
- /*
- * Callback Struct for XIM Protocol
- */
-diff --git a/util/IMdkit/i18nMethod.c b/util/IMdkit/i18nMethod.c
-index 9c44e7fe..7f343d87 100644
---- a/util/IMdkit/i18nMethod.c
-+++ b/util/IMdkit/i18nMethod.c
-@@ -2,6 +2,7 @@
-
- Copyright 1994, 1995 by Sun Microsystems, Inc.
- Copyright 1993, 1994 by Hewlett-Packard Company
-+ Copyright (C) 2014-2025 Red Hat, Inc.
-
- Permission to use, copy, modify, distribute, and sell this software
- and its documentation for any purpose is hereby granted without fee,
-@@ -89,7 +90,7 @@ TransportSW _TransR[] =
- #ifdef DNETCONN
- {"decnet", 6, _Xi18nCheckTransAddress},
- #endif
-- {(char *) NULL, 0, (Bool (*) ()) NULL}
-+ {(char *) NULL, 0, (Bool (*) (Xi18n, TransportSW *, char *))NULL}
- };
-
- static Bool GetInputStyles (Xi18n i18n_core, XIMStyles **p_style)
-diff --git a/util/IMdkit/i18nOffsetCache.c b/util/IMdkit/i18nOffsetCache.c
-index e2fe8c6b..cab974c7 100644
---- a/util/IMdkit/i18nOffsetCache.c
-+++ b/util/IMdkit/i18nOffsetCache.c
-@@ -1,6 +1,6 @@
- /*
- * Copyright (C) 2014 Peng Huang <shawn.p.huang@gmail.com>
-- * Copyright (C) 2014 Red Hat, Inc.
-+ * Copyright (C) 2014-2025 Red Hat, Inc.
- *
- * Permission to use, copy, modify, distribute, and sell this
- * software and its documentation for any purpose is hereby granted
-@@ -83,10 +83,12 @@ void _Xi18nSetPropertyOffset (Xi18nOffsetCache *offset_cache, Atom key,
- }
-
- if (++offset_cache->size > offset_cache->capacity) {
-- offset_cache->capacity *= OFFSET_CACHE_GROWTH_FACTOR;
-- offset_cache->data = (Xi18nAtomOffsetPair *) realloc (data,
-+ Xi18nAtomOffsetPair *pair = (Xi18nAtomOffsetPair *) realloc (data,
- offset_cache->capacity * sizeof (Xi18nAtomOffsetPair));
-- if (offset_cache->data == NULL) {
-+ offset_cache->capacity *= OFFSET_CACHE_GROWTH_FACTOR;
-+ if (pair) {
-+ offset_cache->data = pair;
-+ } else {
- offset_cache->data = data;
- --offset_cache->size;
- }
--
2.55.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [oe] [meta-oe][PATCHv2] ibus: upgrade 1.5.26 -> 1.5.34
2026-09-25 9:23 [meta-oe][PATCHv2] ibus: upgrade 1.5.26 -> 1.5.34 Markus Volk
@ 2026-09-25 20:33 ` Khem Raj
2026-09-26 6:33 ` Markus Volk
0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2026-09-25 20:33 UTC (permalink / raw)
To: f_l_k; +Cc: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 20361 bytes --]
I am seeing
DEBUG: Executing shell function do_compile
cp: cannot stat
'/home/ubuntu/yoe/build/tmp/work/x86_64-linux/ibus-native/1.5.34/recipe-sysroot-native/usr/share/X11/locale/en_US.UTF-8/Compose':
No such file or directory
WARNING: exit code 1 from a shell command.
On Fri, Sep 25, 2026 at 2:23 AM Markus Volk via lists.openembedded.org
<f_l_k=t-online.de@lists.openembedded.org> wrote:
> Drop the three backports, which are part of the release, and rebase the
> dbus-launch patch onto the reworked make-dconf-override-db.sh.
>
> libnotify is now checked unconditionally unless disabled, so add a
> libnotify PACKAGECONFIG, enabled with x11 since only the X11 panel
> uses it. ibus-native needs the generated ibusresources.h. The internal
> compose table is generated at build time and reads ./Compose before
> the X11 locale dir, so copy it from libx11-native instead of touching
> the host's. The wayland GIR needs libibus from the build tree on the
> qemu library path.
>
> Tested by building ibus and ibus-native for x86-64.
>
> AI-Generated: Uses Claude Code (Claude Opus 5.5)
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
> .../recipes-support/ibus/ibus-native.bb | 1 +
> meta-gnome/recipes-support/ibus/ibus.bb | 5 +
> meta-gnome/recipes-support/ibus/ibus.inc | 16 +-
> ...start-dbus-we-do-not-have-dbus-lauch.patch | 17 +-
> ...01-makefile-don-t-gzip-the-man-pages.patch | 164 ------------------
> ...c-Fix-declaration-errors-with-GCC-15.patch | 36 ----
> ...incompatible-pointer-types-in-Transp.patch | 109 ------------
> 7 files changed, 27 insertions(+), 321 deletions(-)
> delete mode 100644
> meta-gnome/recipes-support/ibus/ibus/0001-makefile-don-t-gzip-the-man-pages.patch
> delete mode 100644
> meta-gnome/recipes-support/ibus/ibus/0001-src-Fix-declaration-errors-with-GCC-15.patch
> delete mode 100644
> meta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch
>
> diff --git a/meta-gnome/recipes-support/ibus/ibus-native.bb
> b/meta-gnome/recipes-support/ibus/ibus-native.bb
> index ca65114c4d..7ba9b57617 100644
> --- a/meta-gnome/recipes-support/ibus/ibus-native.bb
> +++ b/meta-gnome/recipes-support/ibus/ibus-native.bb
> @@ -21,6 +21,7 @@ do_compile() {
> # necessary step by step
> oe_runmake ibusenumtypes.h
> oe_runmake ibusmarshalers.h
> + oe_runmake ibusresources.h
> oe_runmake ibusenumtypes.c
> oe_runmake unicode-parser
> }
> diff --git a/meta-gnome/recipes-support/ibus/ibus.bb
> b/meta-gnome/recipes-support/ibus/ibus.bb
> index 479498d82f..08a7804ea9 100644
> --- a/meta-gnome/recipes-support/ibus/ibus.bb
> +++ b/meta-gnome/recipes-support/ibus/ibus.bb
> @@ -17,10 +17,15 @@ 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"
> +}
> +
> do_configure:prepend() {
> # run native unicode-parser
> sed -i 's:$(builddir)/unicode-parser:unicode-parser:g'
> ${S}/src/Makefile.am
> diff --git a/meta-gnome/recipes-support/ibus/ibus.inc
> b/meta-gnome/recipes-support/ibus/ibus.inc
> index 1344cb1981..d9d8b70861 100644
> --- a/meta-gnome/recipes-support/ibus/ibus.inc
> +++ b/meta-gnome/recipes-support/ibus/ibus.inc
> @@ -5,24 +5,22 @@ LIC_FILES_CHKSUM =
> "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
>
> inherit autotools-brokensep pkgconfig gobject-introspection gettext
> gtk-doc vala
>
> -PV = "1.5.26"
> +PV = "1.5.34"
>
> -DEPENDS = "unicode-ucd"
> +DEPENDS = "unicode-ucd libx11-native"
>
> SRC_URI = " \
> - git://github.com/ibus/ibus.git;branch=main;protocol=https \
> + git://github.com/ibus/ibus.git;branch=main;protocol=https;tag=${PV}
> <http://github.com/ibus/ibus.git;branch=main;protocol=https;tag=$%7BPV%7D>
> \
> file://0001-Do-not-try-to-start-dbus-we-do-not-have-dbus-lauch.patch \
> - file://0001-makefile-don-t-gzip-the-man-pages.patch \
> -
> file://0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch \
> - file://0001-src-Fix-declaration-errors-with-GCC-15.patch \
> "
> -SRCREV = "6a70ab0338206bd1c7d01a4e1874ea0ee5b3a9d3"
> +SRCREV = "1f7af28437afd62a6d145bfc81035e698a37411d"
>
> PACKAGECONFIG[appindicator] =
> "--enable-appindicator,--disable-appindicator,qtbase"
> PACKAGECONFIG[dconf] = "--enable-dconf,--disable-dconf,dconf"
> PACKAGECONFIG[gtk2] = "--enable-gtk2,--disable-gtk2,gtk+"
> PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3,gtk+3"
> PACKAGECONFIG[gtk4] = "--enable-gtk4,--disable-gtk4,gtk4"
> +PACKAGECONFIG[libnotify] =
> "--enable-libnotify,--disable-libnotify,libnotify"
> PACKAGECONFIG[systemd] =
> "--enable-systemd-services,--disable-systemd-services,systemd"
> PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland"
> PACKAGECONFIG[vala] = "--enable-vala,--disable-vala"
> @@ -43,3 +41,7 @@ do_configure:prepend() {
> # 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() {
> + cp ${STAGING_DATADIR_NATIVE}/X11/locale/en_US.UTF-8/Compose
> ${B}/src/Compose
> +}
> diff --git
> a/meta-gnome/recipes-support/ibus/ibus/0001-Do-not-try-to-start-dbus-we-do-not-have-dbus-lauch.patch
> b/meta-gnome/recipes-support/ibus/ibus/0001-Do-not-try-to-start-dbus-we-do-not-have-dbus-lauch.patch
> index aec9e7abec..64ad6b0857 100644
> ---
> a/meta-gnome/recipes-support/ibus/ibus/0001-Do-not-try-to-start-dbus-we-do-not-have-dbus-lauch.patch
> +++
> b/meta-gnome/recipes-support/ibus/ibus/0001-Do-not-try-to-start-dbus-we-do-not-have-dbus-lauch.patch
> @@ -10,23 +10,30 @@ Upstream-Status: Inappropriate [OE specific]
>
> Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
> ---
> - data/dconf/make-dconf-override-db.sh | 6 ------
> - 1 file changed, 6 deletions(-)
> + data/dconf/make-dconf-override-db.sh | 11 -----------
> + 1 file changed, 11 deletions(-)
>
> +diff --git a/data/dconf/make-dconf-override-db.sh
> b/data/dconf/make-dconf-override-db.sh
> +index 32cb153..375baa4 100755
> --- a/data/dconf/make-dconf-override-db.sh
> +++ b/data/dconf/make-dconf-override-db.sh
> -@@ -12,10 +12,6 @@ export XDG_CACHE_HOME="$TMPDIR/cache"
> +@@ -12,15 +12,6 @@ export XDG_CACHE_HOME="$TMPDIR/cache"
> export GSETTINGS_SCHEMA_DIR="$TMPDIR/schemas"
> mkdir -p $XDG_CONFIG_HOME $XDG_CACHE_HOME $GSETTINGS_SCHEMA_DIR
>
> -eval `dbus-launch --sh-syntax`
> -
> --trap 'rm -rf $TMPDIR; kill $DBUS_SESSION_BUS_PID' ERR
> +-trap cleanup EXIT
> +-
> +-cleanup() {
> +- test $? -eq 0 && exit
> +- rm -rf $TMPDIR; kill $DBUS_SESSION_BUS_PID
> +-}
> -
> # in case that schema is not installed on the system
> glib-compile-schemas --targetdir "$GSETTINGS_SCHEMA_DIR" "$PWD"
>
> -@@ -52,5 +48,3 @@ if [ -d $TMPDIR/cache/gvfs ] ; then
> +@@ -57,5 +48,3 @@ if [ -d $TMPDIR/cache/gvfs ] ; then
> umount $TMPDIR/cache/gvfs
> fi
> rm -rf $TMPDIR
> diff --git
> a/meta-gnome/recipes-support/ibus/ibus/0001-makefile-don-t-gzip-the-man-pages.patch
> b/meta-gnome/recipes-support/ibus/ibus/0001-makefile-don-t-gzip-the-man-pages.patch
> deleted file mode 100644
> index 105e34873a..0000000000
> ---
> a/meta-gnome/recipes-support/ibus/ibus/0001-makefile-don-t-gzip-the-man-pages.patch
> +++ /dev/null
> @@ -1,164 +0,0 @@
> -From 5307c3b310fabeaa52fafe743c5efaca73ccce46 Mon Sep 17 00:00:00 2001
> -From: Emil Velikov <emil.l.velikov@gmail.com>
> -Date: Sun, 11 Jun 2023 16:16:35 +0900
> -Subject: [PATCH] makefile: don't gzip the man pages
> -
> -Drop the gzip step from the manpages - distributions already do that as
> -needed. In addition this resolves the final reproducibility issue with
> -ibus.
> -
> -BUG=https://github.com/ibus/ibus/pull/2514
> -
> -Upstream-Status: Backport [
> https://github.com/ibus/ibus/commit/1a25975d9f55f18eab609e4d147dd32689e367f3
> ]
> -Note: This commit is included in version >= 1.5.29 and can be dropped
> -after upgrading.
> -Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
> ----
> - bus/Makefile.am | 6 +-----
> - data/dconf/Makefile.am | 6 +-----
> - setup/Makefile.am | 6 +-----
> - tools/Makefile.am | 6 +-----
> - ui/gtk3/Makefile.am | 6 +-----
> - 5 files changed, 5 insertions(+), 25 deletions(-)
> -
> -diff --git a/bus/Makefile.am b/bus/Makefile.am
> -index e173ee25..d0445d02 100644
> ---- a/bus/Makefile.am
> -+++ b/bus/Makefile.am
> -@@ -169,7 +169,6 @@ EXTRA_DIST = \
> -
> - CLEANFILES = \
> - $(man_one_DATA) \
> -- $(man_one_files) \
> - $(NULL)
> -
> - $(libibus):
> -@@ -181,14 +180,11 @@ test: ibus-daemon
> - $(builddir)/ibus-daemon -v
> -
> - man_one_in_files = ibus-daemon.1.in
> --man_one_files = $(man_one_in_files:.1.in=.1)
> --man_one_DATA =$(man_one_files:.1=.1.gz)
> -+man_one_DATA = $(man_one_in_files:.1.in=.1)
> - man_onedir = $(mandir)/man1
> - %.1: %.1.in
> - $(AM_V_GEN) sed \
> - -e 's|@VERSION[@]|$(VERSION)|g' $< > $@.tmp && \
> - mv $@.tmp $@
> --%.1.gz: %.1
> -- $(AM_V_GEN) gzip -c $< > $@.tmp && mv $@.tmp $@
> -
> - -include $(top_srcdir)/git.mk
> -diff --git a/data/dconf/Makefile.am b/data/dconf/Makefile.am
> -index 5360f033..2352f770 100644
> ---- a/data/dconf/Makefile.am
> -+++ b/data/dconf/Makefile.am
> -@@ -38,15 +38,12 @@ dconfdb_DATA = 00-upstream-settings
> - { rc=$$?; $(RM) -rf $@; exit $$rc; }
> -
> - man_5_in_files = 00-upstream-settings.5.in ibus.5.in
> --man_5_files = $(man_5_in_files:.5.in=.5)
> --man_5_DATA =$(man_5_files:.5=.5.gz)
> -+man_5_DATA = $(man_5_in_files:.5.in=.5)
> - man_5dir = $(mandir)/man5
> - %.5: %.5.in
> - $(AM_V_GEN) sed \
> - -e 's|@VERSION[@]|$(VERSION)|g' $< > $@.tmp && \
> - mv $@.tmp $@
> --%.5.gz: %.5
> -- $(AM_V_GEN) gzip -c $< > $@.tmp && mv $@.tmp $@
> -
> - install-data-hook:
> - if test -z "$(DESTDIR)"; then \
> -@@ -63,7 +60,6 @@ EXTRA_DIST = \
> -
> - CLEANFILES = \
> - $(man_5_DATA) \
> -- $(man_5_files) \
> - $(NULL)
> -
> - MAINTAINERCLEANFILES = \
> -diff --git a/setup/Makefile.am b/setup/Makefile.am
> -index 34c8f136..b34aa8fc 100644
> ---- a/setup/Makefile.am
> -+++ b/setup/Makefile.am
> -@@ -56,20 +56,16 @@ org.freedesktop.IBus.Setup.desktop: ibus-setup.desktop
> - $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po
> -o $@
> -
> - man_one_in_files = ibus-setup.1.in
> --man_one_files = $(man_one_in_files:.1.in=.1)
> --man_one_DATA =$(man_one_files:.1=.1.gz)
> -+man_one_DATA = $(man_one_in_files:.1.in=.1)
> - man_onedir = $(mandir)/man1
> - %.1: %.1.in
> - $(AM_V_GEN) sed \
> - -e 's|@VERSION[@]|$(VERSION)|g' $< > $@.tmp && \
> - mv $@.tmp $@
> --%.1.gz: %.1
> -- $(AM_V_GEN) gzip -c $< > $@.tmp && mv $@.tmp $@
> -
> - CLEANFILES = \
> - $(desktop_DATA) \
> - $(man_one_DATA) \
> -- $(man_one_files) \
> - *.pyc \
> - ibus-setup \
> - $(NULL)
> -diff --git a/tools/Makefile.am b/tools/Makefile.am
> -index 5c18d3d6..1c716136 100644
> ---- a/tools/Makefile.am
> -+++ b/tools/Makefile.am
> -@@ -79,15 +79,12 @@ bash_completion_DATA= \
> - bash_completiondir=@datadir@/bash-completion/completions
> -
> - man_one_in_files = ibus.1.in
> --man_one_files = $(man_one_in_files:.1.in=.1)
> --man_one_DATA =$(man_one_files:.1=.1.gz)
> -+man_one_DATA = $(man_one_in_files:.1.in=.1)
> - man_onedir = $(mandir)/man1
> - %.1: %.1.in
> - $(AM_V_GEN) sed \
> - -e 's|@VERSION[@]|$(VERSION)|g' $< > $@.tmp && \
> - mv $@.tmp $@
> --%.1.gz: %.1
> -- $(AM_V_GEN) gzip -c $< > $@.tmp && mv $@.tmp $@
> -
> - EXTRA_DIST = \
> - $(man_one_in_files) \
> -@@ -96,7 +93,6 @@ EXTRA_DIST = \
> -
> - CLEANFILES = \
> - $(man_one_DATA) \
> -- $(man_one_files) \
> - $(NULL)
> -
> - if ENABLE_EMOJI_DICT
> -diff --git a/ui/gtk3/Makefile.am b/ui/gtk3/Makefile.am
> -index ab379328..aff035da 100644
> ---- a/ui/gtk3/Makefile.am
> -+++ b/ui/gtk3/Makefile.am
> -@@ -242,15 +242,12 @@ panelbinding.o: $(srcdir)/panelbinding.c
> -
> - MAINTAINERCLEANFILES += extension.c panelbinding.c
> -
> --man_seven_files = $(man_seven_in_files:.7.in=.7)
> --man_seven_DATA =$(man_seven_files:.7=.7.gz)
> -+man_seven_DATA = $(man_seven_in_files:.7.in=.7)
> - man_sevendir = $(mandir)/man7
> - %.7: %.7.in
> - $(AM_V_GEN) sed \
> - -e 's|@VERSION[@]|$(VERSION)|g' $< > $@.tmp && \
> - mv $@.tmp $@
> --%.7.gz: %.7
> -- $(AM_V_GEN) gzip -c $< > $@.tmp && mv $@.tmp $@
> -
> - desktop_in_files = \
> - ibus-ui-emojier.desktop.in \
> -@@ -278,7 +275,6 @@ CLEANFILES += \
> - $(desktop_DATA) \
> - $(desktop_notrans_files) \
> - $(man_seven_DATA) \
> -- $(man_seven_files) \
> - $(NULL)
> -
> - endif
> diff --git
> a/meta-gnome/recipes-support/ibus/ibus/0001-src-Fix-declaration-errors-with-GCC-15.patch
> b/meta-gnome/recipes-support/ibus/ibus/0001-src-Fix-declaration-errors-with-GCC-15.patch
> deleted file mode 100644
> index 150ff631ba..0000000000
> ---
> a/meta-gnome/recipes-support/ibus/ibus/0001-src-Fix-declaration-errors-with-GCC-15.patch
> +++ /dev/null
> @@ -1,36 +0,0 @@
> -From 0f5407f8a3846477fcaa73505437e805467901e1 Mon Sep 17 00:00:00 2001
> -From: fujiwarat <takao.fujiwara1@gmail.com>
> -Date: Fri, 24 Jan 2025 09:40:31 +0900
> -Subject: [PATCH] src: Fix declaration errors with GCC 15
> -
> -
> -BUG=rhbz#2340629
> -
> -Upstream-Status: Backport [
> https://github.com/ibus/ibus/commit/aac5446e8c98db934912b9b15a1ef92c3b7e4c8c
> ]
> -Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
> ----
> - src/ibusenginesimple.c | 4 ++--
> - 1 file changed, 2 insertions(+), 2 deletions(-)
> -
> -diff --git a/src/ibusenginesimple.c b/src/ibusenginesimple.c
> -index c57a3ea5..60e7fb34 100644
> ---- a/src/ibusenginesimple.c
> -+++ b/src/ibusenginesimple.c
> -@@ -477,7 +477,7 @@ check_hex (IBusEngineSimple *simple,
> - }
> -
> - static IBusEngineDict *
> --load_emoji_dict ()
> -+load_emoji_dict (void)
> - {
> - IBusEngineDict *emoji_dict;
> - GList *keys;
> -@@ -520,7 +520,7 @@ check_emoji_table (IBusEngineSimple *simple,
> - g_object_ref_sink (priv->lookup_table);
> - }
> - if (emoji_dict == NULL)
> -- emoji_dict = priv->emoji_dict = load_emoji_dict (simple);
> -+ emoji_dict = priv->emoji_dict = load_emoji_dict ();
> -
> - if (emoji_dict == NULL || emoji_dict->dict == NULL)
> - return FALSE;
> diff --git
> a/meta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch
> b/meta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch
> deleted file mode 100644
> index 229a9d34aa..0000000000
> ---
> a/meta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch
> +++ /dev/null
> @@ -1,109 +0,0 @@
> -From b0a554d7c9d4d52bd34a85fe66a85adf9542a2ec Mon Sep 17 00:00:00 2001
> -From: fujiwarat <takao.fujiwara1@gmail.com>
> -Date: Fri, 24 Jan 2025 10:01:11 +0900
> -Subject: [PATCH] util/IMdkit: Fix incompatible-pointer-types in
> - TransportSW.checkAddr
> -
> -
> -BUG=rhbz#2340629
> -
> -Upstream-Status: Backport [
> https://github.com/ibus/ibus/commit/d039b95b1af14fd34167a4ca038938cef2ea41ca
> ]
> -Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
> ----
> - util/IMdkit/Xi18n.h | 18 ++++++++++--------
> - util/IMdkit/i18nMethod.c | 3 ++-
> - util/IMdkit/i18nOffsetCache.c | 10 ++++++----
> - 3 files changed, 18 insertions(+), 13 deletions(-)
> -
> -diff --git a/util/IMdkit/Xi18n.h b/util/IMdkit/Xi18n.h
> -index 79dd9619..09097bb6 100644
> ---- a/util/IMdkit/Xi18n.h
> -+++ b/util/IMdkit/Xi18n.h
> -@@ -3,7 +3,7 @@
> - Copyright (C) 1994-1995 Sun Microsystems, Inc.
> - Copyright (C) 1993-1994 Hewlett-Packard Company
> - Copyright (C) 2014 Peng Huang <shawn.p.huang@gmail.com>
> -- Copyright (C) 2014 Red Hat, Inc.
> -+ Copyright (C) 2014-2025 Red Hat, Inc.
> -
> - Permission to use, copy, modify, distribute, and sell this software
> - and its documentation for any purpose is hereby granted without fee,
> -@@ -71,13 +71,6 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
> SOFTWARE.
> - #define I18N_SET 1
> - #define I18N_GET 2
> -
> --typedef struct
> --{
> -- char *transportname;
> -- int namelen;
> -- Bool (*checkAddr) ();
> --} TransportSW;
> --
> - typedef struct _XIMPending
> - {
> - unsigned char *p;
> -@@ -172,6 +165,15 @@ typedef struct _Xi18nClient
> -
> - typedef struct _Xi18nCore *Xi18n;
> -
> -+typedef struct _TransportSW TransportSW;
> -+
> -+struct _TransportSW
> -+{
> -+ char *transportname;
> -+ int namelen;
> -+ Bool (*checkAddr) (Xi18n, TransportSW *, char *);
> -+};
> -+
> - /*
> - * Callback Struct for XIM Protocol
> - */
> -diff --git a/util/IMdkit/i18nMethod.c b/util/IMdkit/i18nMethod.c
> -index 9c44e7fe..7f343d87 100644
> ---- a/util/IMdkit/i18nMethod.c
> -+++ b/util/IMdkit/i18nMethod.c
> -@@ -2,6 +2,7 @@
> -
> - Copyright 1994, 1995 by Sun Microsystems, Inc.
> - Copyright 1993, 1994 by Hewlett-Packard Company
> -+ Copyright (C) 2014-2025 Red Hat, Inc.
> -
> - Permission to use, copy, modify, distribute, and sell this software
> - and its documentation for any purpose is hereby granted without fee,
> -@@ -89,7 +90,7 @@ TransportSW _TransR[] =
> - #ifdef DNETCONN
> - {"decnet", 6, _Xi18nCheckTransAddress},
> - #endif
> -- {(char *) NULL, 0, (Bool (*) ()) NULL}
> -+ {(char *) NULL, 0, (Bool (*) (Xi18n, TransportSW *, char *))NULL}
> - };
> -
> - static Bool GetInputStyles (Xi18n i18n_core, XIMStyles **p_style)
> -diff --git a/util/IMdkit/i18nOffsetCache.c b/util/IMdkit/i18nOffsetCache.c
> -index e2fe8c6b..cab974c7 100644
> ---- a/util/IMdkit/i18nOffsetCache.c
> -+++ b/util/IMdkit/i18nOffsetCache.c
> -@@ -1,6 +1,6 @@
> - /*
> - * Copyright (C) 2014 Peng Huang <shawn.p.huang@gmail.com>
> -- * Copyright (C) 2014 Red Hat, Inc.
> -+ * Copyright (C) 2014-2025 Red Hat, Inc.
> - *
> - * Permission to use, copy, modify, distribute, and sell this
> - * software and its documentation for any purpose is hereby granted
> -@@ -83,10 +83,12 @@ void _Xi18nSetPropertyOffset (Xi18nOffsetCache
> *offset_cache, Atom key,
> - }
> -
> - if (++offset_cache->size > offset_cache->capacity) {
> -- offset_cache->capacity *= OFFSET_CACHE_GROWTH_FACTOR;
> -- offset_cache->data = (Xi18nAtomOffsetPair *) realloc (data,
> -+ Xi18nAtomOffsetPair *pair = (Xi18nAtomOffsetPair *) realloc
> (data,
> - offset_cache->capacity * sizeof (Xi18nAtomOffsetPair));
> -- if (offset_cache->data == NULL) {
> -+ offset_cache->capacity *= OFFSET_CACHE_GROWTH_FACTOR;
> -+ if (pair) {
> -+ offset_cache->data = pair;
> -+ } else {
> - offset_cache->data = data;
> - --offset_cache->size;
> - }
> --
> 2.55.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#130293):
> https://lists.openembedded.org/g/openembedded-devel/message/130293
> Mute This Topic: https://lists.openembedded.org/mt/121423657/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
[-- Attachment #2: Type: text/html, Size: 26624 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [oe] [meta-oe][PATCHv2] ibus: upgrade 1.5.26 -> 1.5.34
2026-09-25 20:33 ` [oe] " Khem Raj
@ 2026-09-26 6:33 ` Markus Volk
2026-10-06 9:07 ` Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: Markus Volk @ 2026-09-26 6:33 UTC (permalink / raw)
To: Khem Raj; +Cc: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 885 bytes --]
On Fri, Sep 25 2026 at 13:33:11 -07:00:00, Khem Raj
<raj.khem@gmail.com> wrote:
> t stat
> '/home/ubuntu/yoe/build/tmp/work/x86_64-linux/ibus-native/1.5.34/recipe-sysroot-
Yes. I sent out a message with this update. A change to oe-core would
be needed.
I already sent it to the oe-core mailinglist:
diff --git a/meta/recipes-graphics/xorg-lib/libx11_1.8.13.bb
b/meta/recipes-graphics/xorg-lib/libx11_1.8.13.bb
index c06832e35e..db176efede 100644
--- a/meta/recipes-graphics/xorg-lib/libx11_1.8.13.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11_1.8.13.bb
@@ -39,4 +39,6 @@ FILES:${PN} += "${datadir}/X11/XKeysymDB
${datadir}/X11/XErrorDB ${datadir}/X11/
FILES:${PN}-xcb += "${libdir}/libX11-xcb.so.*"
FILES:${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"
+SYSROOT_DIRS_IGNORE:remove:class-native = "${datadir}/X11/locale"
+
BBCLASSEXTEND = "native nativesdk"
[-- Attachment #2: Type: text/html, Size: 1177 bytes --]
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [oe] [meta-oe][PATCHv2] ibus: upgrade 1.5.26 -> 1.5.34
2026-09-26 6:33 ` Markus Volk
@ 2026-10-06 9:07 ` Khem Raj
0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2026-10-06 9:07 UTC (permalink / raw)
To: Markus Volk; +Cc: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1193 bytes --]
This breaks further on machines which have gcc 13 or older e.g. ubuntu
24.04 where compiler does not support -std=gnu23, can you investigate a bit
more into it?
On Sat, Sep 26, 2026 at 8:34 AM Markus Volk <f_l_k@t-online.de> wrote:
> On Fri, Sep 25 2026 at 13:33:11 -07:00:00, Khem Raj <raj.khem@gmail.com>
> wrote:
>
> t stat
> '/home/ubuntu/yoe/build/tmp/work/x86_64-linux/ibus-native/1.5.34/recipe-sysroot-
>
>
> Yes. I sent out a message with this update. A change to oe-core would be
> needed.
> I already sent it to the oe-core mailinglist:
>
> diff --git a/meta/recipes-graphics/xorg-lib/libx11_1.8.13.bb
> b/meta/recipes-graphics/xorg-lib/libx11_1.8.13.bb
> index c06832e35e..db176efede 100644
> --- a/meta/recipes-graphics/xorg-lib/libx11_1.8.13.bb
> +++ b/meta/recipes-graphics/xorg-lib/libx11_1.8.13.bb
> @@ -39,4 +39,6 @@ FILES:${PN} += "${datadir}/X11/XKeysymDB
> ${datadir}/X11/XErrorDB ${datadir}/X11/
> FILES:${PN}-xcb += "${libdir}/libX11-xcb.so.*"
> FILES:${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"
>
> +SYSROOT_DIRS_IGNORE:remove:class-native = "${datadir}/X11/locale"
> +
> BBCLASSEXTEND = "native nativesdk"
>
>
>
[-- Attachment #2: Type: text/html, Size: 2039 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-10-06 9:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-25 9:23 [meta-oe][PATCHv2] ibus: upgrade 1.5.26 -> 1.5.34 Markus Volk
2026-09-25 20:33 ` [oe] " Khem Raj
2026-09-26 6:33 ` Markus Volk
2026-10-06 9:07 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.