ibus: upgrade 1.5.26 -> 1.5.34
A message that is not in the archive (sent off-list or not yet received): [email protected]
This update requires a patch for libx11 in oe-core
Quoted 533 lines · Markus Volk via lists.openembedded.org
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 <[email protected] <mailto:[email protected]>>--- .../recipes-support/ibus/ibus-native.bb | 1 + meta-gnome/recipes-support/ibus/ibus.bb | 5 + meta-gnome/recipes-support/ibus/ibus.inc | 14 +- ...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, 26 insertions(+), 320 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.patchmeta-gnome/recipes-support/ibus/ibus-native.bb +1
-0@@ -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 }meta-gnome/recipes-support/ibus/ibus.bb +1
-0@@ -17,10 +17,15 @@ PACKAGECONFIG ??= " \ dconf vala \ ${@bb.utils.contains <mailto:${@bb.utils.contains>_any('DISTRO_FEATURES', [ 'wayland', 'x11' ], 'gtk3 gtk4', '', d)} \ ${@bb.utils.filter <mailto:${@bb.utils.filter>('DISTRO_FEATURES', 'systemd wayland x11', d)} \ + ${@bb.utils.contains <mailto:${@bb.utils.contains>('DISTRO_FEATURES', 'x11', 'libnotify', '', d)} \ " REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains<mailto:${@bb.utils.contains>('PACKAGECONFIG', 'gtk4', 'opengl', '', d)}"
meta-gnome/recipes-support/ibus/ibus.bb +4
-0+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
meta-gnome/recipes-support/ibus/ibus.inc +0
-0@@ -5,24 +5,22 @@ LIC_FILES_CHKSUM ="file://COPYING;md5=fbc093901857fcd118f065f900982c24"
inherit autotools-brokensep pkgconfig gobject-introspection gettext
gtk-doc valameta-gnome/recipes-support/ibus/ibus.inc +2
-2-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 \file://0001-Do-not-try-to-start-dbus-we-do-not-have-dbus-lauch.patch <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://0001-makefile-don-t-gzip-the-man-pages.patch/> \
-
file://0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch <file://0002-util-imdkit-fix-incompatible-pointer-types-in-transp.patch/> \
- file://0001-src-Fix-declaration-errors-with-GCC-15.patch
<file://0001-src-fix-declaration-errors-with-gcc-15.patch/> \
"meta-gnome/recipes-support/ibus/ibus.inc +1
-1-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"meta-gnome/recipes-support/ibus/ibus.inc +0
-0@@ -43,3 +41,7 @@ do_configure:prepend() { # Remove vapigen.m4 bundled with sources so that the one shippedby vala is used instead.
rm -f ${S}/m4/vapigen.m4}
meta-gnome/recipes-support/ibus/ibus.inc +3
-0+ +do_compile:prepend() { + cp ${STAGING_DATADIR_NATIVE}/X11/locale/en_US.UTF-8/Compose${B}/src/Compose
meta-gnome/recipes-support/ibus/ibus.inc +1
-0+}meta-gnome/recipes-support/ibus/ibus/0001-Do-not-try-to-start-dbus-we-do-not-have-dbus-lauch.patch +0
-1---
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.patchmeta-gnome/recipes-support/ibus/ibus/0001-Do-not-try-to-start-dbus-we-do-not-have-dbus-lauch.patch +0
-0@@ -10,23 +10,30 @@ Upstream-Status: Inappropriate [OE specific] Signed-off-by: Andreas M�ller <[email protected]<mailto:[email protected]>>
---
-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.shb/data/dconf/make-dconf-override-db.shmeta-gnome/recipes-support/ibus/ibus/0001-Do-not-try-to-start-dbus-we-do-not-have-dbus-lauch.patch +9
-3+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 $TMPDIRmeta-gnome/recipes-support/ibus/ibus/0001-makefile-don-t-gzip-the-man-pages.patch deleted +0
-1---
a/meta-gnome/recipes-support/ibus/ibus/0001-makefile-don-t-gzip-the-man-pages.patch+++/dev/nullmeta-gnome/recipes-support/ibus/ibus/0001-makefile-don-t-gzip-the-man-pages.patch deleted +0
-1@@ -1,164 +0,0 @@ -From 5307c3b310fabeaa52fafe743c5efaca73ccce46 Mon Sep 17 00:00:002001
-From: Emil Velikov <[email protected]
<mailto:[email protected]>>meta-gnome/recipes-support/ibus/ibus/0001-makefile-don-t-gzip-the-man-pages.patch deleted +0
-4-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 thatas
-needed. In addition this resolves the final reproducibility issue withmeta-gnome/recipes-support/ibus/ibus/0001-makefile-don-t-gzip-the-man-pages.patch deleted +0
-5-ibus. - -BUG=<https://github.com/ibus/ibus/pull/2514> - -Upstream-Status: Backport[<https://github.com/ibus/ibus/commit/1a25975d9f55f18eab609e4d147dd32689e367f3>]
meta-gnome/recipes-support/ibus/ibus/0001-makefile-don-t-gzip-the-man-pages.patch deleted +0
-3-Note: This commit is included in version >= 1.5.29 and can be dropped -after upgrading. -Signed-off-by: Yoann Congal <[email protected]<mailto:[email protected]>>
----- 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(-)
meta-gnome/recipes-support/ibus/ibus/0001-makefile-don-t-gzip-the-man-pages.patch deleted +0
-63- -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' $< > [email protected] && \ - mv [email protected] $@ --%.1.gz: %.1 -- $(AM_V_GEN) gzip -c $< > [email protected] && mv [email protected] $@ - - -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' $< > [email protected] && \ - mv [email protected] $@ --%.5.gz: %.5 -- $(AM_V_GEN) gzip -c $< > [email protected] && mv [email protected] $@ - - 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
meta-gnome/recipes-support/ibus/ibus/0001-makefile-don-t-gzip-the-man-pages.patch deleted +0
-80- $(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' $< > [email protected] && \ - mv [email protected] $@ --%.1.gz: %.1 -- $(AM_V_GEN) gzip -c $< > [email protected] && mv [email protected] $@ - - 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' $< > [email protected] && \ - mv [email protected] $@ --%.1.gz: %.1 -- $(AM_V_GEN) gzip -c $< > [email protected] && mv [email protected] $@ - - 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' $< > [email protected] && \ - mv [email protected] $@ --%.7.gz: %.7 -- $(AM_V_GEN) gzip -c $< > [email protected] && mv [email protected] $@ - - 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) - - endifmeta-gnome/recipes-support/ibus/ibus/0001-src-Fix-declaration-errors-with-GCC-15.patch deleted +0
-1---
a/meta-gnome/recipes-support/ibus/ibus/0001-src-Fix-declaration-errors-with-GCC-15.patch+++/dev/nullmeta-gnome/recipes-support/ibus/ibus/0001-src-Fix-declaration-errors-with-GCC-15.patch deleted +0
-1@@ -1,36 +0,0 @@ -From 0f5407f8a3846477fcaa73505437e805467901e1 Mon Sep 17 00:00:002001
-From: fujiwarat <[email protected]
<mailto:[email protected]>>meta-gnome/recipes-support/ibus/ibus/0001-src-Fix-declaration-errors-with-GCC-15.patch deleted +0
-7-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 <[email protected] <mailto:[email protected]>>
----
-src/ibusenginesimple.c| 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)meta-gnome/recipes-support/ibus/ibus/0001-src-Fix-declaration-errors-with-GCC-15.patch deleted +0
-15- -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,
meta-gnome/recipes-support/ibus/ibus/0001-src-Fix-declaration-errors-with-GCC-15.patch deleted +0
-8- 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;meta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch deleted +0
-1---
a/meta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch+++/dev/nullmeta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch deleted +0
-1@@ -1,109 +0,0 @@ -From b0a554d7c9d4d52bd34a85fe66a85adf9542a2ec Mon Sep 17 00:00:002001
-From: fujiwarat <[email protected]
<mailto:[email protected]>>meta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch deleted +0
-8-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 <[email protected] <mailto:[email protected]>>
----- util/IMdkit/Xi18n.h | 18 ++++++++++-------- - util/IMdkit/i18nMethod.c | 3 ++- - util/IMdkit/i18nOffsetCache.c | 10 ++++++----- 3 files changed, 18 insertions(+), 13 deletions(-)
meta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch deleted +0
-9- -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 <[email protected]<mailto:[email protected]>>
-- 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.
- #defineI18N_SET1
- #defineI18N_GET2meta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch deleted +0
-45- --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}
- };meta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch deleted +0
-3- - static Bool GetInputStyles (Xi18n i18n_core, XIMStyles **p_style) -diff --git a/util/IMdkit/i18nOffsetCache.c
b/util/IMdkit/i18nOffsetCache.cmeta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch deleted +0
-6-index e2fe8c6b..cab974c7 100644 ---- a/util/IMdkit/i18nOffsetCache.c -+++ b/util/IMdkit/i18nOffsetCache.c -@@ -1,6 +1,6 @@ - /* - * Copyright (C) 2014 Peng Huang <[email protected]<mailto:[email protected]>>
-- * Copyright (C) 2014 Red Hat, Inc.
-+ * Copyright (C) 2014-2025 Red Hat, Inc.meta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch deleted +0
-4- * - * 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,meta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch deleted +0
-6- } - - 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 {meta-gnome/recipes-support/ibus/ibus/0002-util-IMdkit-Fix-incompatible-pointer-types-in-Transp.patch deleted +0
-4- offset_cache->data = data; - --offset_cache->size; - } --2.55.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#130289): <https://lists.openembedded.org/g/openembedded-devel/message/130289>
Mute This Topic: <https://lists.openembedded.org/mt/121422699/3618223>
Group Owner: [email protected] <mailto:[email protected]>
Unsubscribe: <https://lists.openembedded.org/g/openembedded-devel/unsub> [[email protected] <mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-