diff --git a/meta-gnome/recipes-gnome/gnome-flashback/files/ibus.patch b/meta-gnome/recipes-gnome/gnome-flashback/files/ibus.patch new file mode 100644 index 0000000000..cd7f052ea5 --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-flashback/files/ibus.patch @@ -0,0 +1,27 @@ +From 1bb758374500e247ffab150205d05b72bf21b561 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= +Date: Thu, 23 Jan 2025 14:22:33 +0200 +Subject: [PATCH] input-sources: use correct function to get attribute type + +Upstream-Status: Backport +Signed-off-by: Ross Burton +--- + gnome-flashback/libinput-sources/gf-candidate-popup.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gnome-flashback/libinput-sources/gf-candidate-popup.c b/gnome-flashback/libinput-sources/gf-candidate-popup.c +index a8bf5825..2c31e71a 100644 +--- a/gnome-flashback/libinput-sources/gf-candidate-popup.c ++++ b/gnome-flashback/libinput-sources/gf-candidate-popup.c +@@ -121,7 +121,7 @@ update_preedit_text_cb (IBusPanelService *service, + guint start; + guint end; + +- if (ibus_attribute_get_type (attribute) != IBUS_ATTR_TYPE_BACKGROUND) ++ if (ibus_attribute_get_attr_type (attribute) != IBUS_ATTR_TYPE_BACKGROUND) + continue; + + start = ibus_attribute_get_start_index (attribute); +-- +GitLab + diff --git a/meta-gnome/recipes-gnome/gnome-flashback/gnome-flashback_3.46.0.bb b/meta-gnome/recipes-gnome/gnome-flashback/gnome-flashback_3.46.0.bb index cf1122714f..f297394d00 100644 --- a/meta-gnome/recipes-gnome/gnome-flashback/gnome-flashback_3.46.0.bb +++ b/meta-gnome/recipes-gnome/gnome-flashback/gnome-flashback_3.46.0.bb @@ -19,6 +19,8 @@ DEPENDS += " \ gnome-panel \ " +SRC_URI += "file://ibus.patch" + SRC_URI[archive.sha256sum] = "7a8d5c03310e4dfadd18a65e00a37741032afeea5418dd6804a975c4b0980045" do_install:append() {