public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ibus] autotool: Updated ibus-HEAD.patch for upstream #1744.
@ 2026-05-31  2:06 Takao Fujiwara
  0 siblings, 0 replies; only message in thread
From: Takao Fujiwara @ 2026-05-31  2:06 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : c019d134fa2ec8eb564a518f3a89662e6b8a8ccd
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date   : 2014-10-28T15:50:24+09:00
Stats  : +46/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/c019d134fa2ec8eb564a518f3a89662e6b8a8ccd?branch=autotool

Log:
Updated ibus-HEAD.patch for upstream #1744.

---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index e849d59..fd3094b 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -56,3 +56,45 @@ index b7e1ff8..d9924a1 100644
 -- 
 1.8.5.3
 
+From bb818e438599f080a0cffb0b7573d9a646cf3b1a Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1@gmail.com>
+Date: Tue, 28 Oct 2014 11:28:46 +0900
+Subject: [PATCH] Fix not to SEGV ibus-ui-gtk3 with wrong 'preload-engines'
+ value.
+
+Fedora internal patch could save engines from the result of
+'setxkbmap -query' but they do not exist in simple.xml likes
+'xkb:cn::chi' while now the current implementation converts
+those engines to 'xkb:us::eng'.
+
+BUG=https://code.google.com/p/ibus/issues/detail?id=1744
+TEST=ui/gtk3
+
+Review URL: https://codereview.appspot.com/158640043
+---
+ ui/gtk3/panel.vala | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/ui/gtk3/panel.vala b/ui/gtk3/panel.vala
+index 76cea23..7b99fdf 100644
+--- a/ui/gtk3/panel.vala
++++ b/ui/gtk3/panel.vala
+@@ -790,6 +790,15 @@ class Panel : IBus.PanelService {
+ 
+         var engines = m_bus.get_engines_by_names(names);
+ 
++        /* Fedora internal patch could save engines not in simple.xml
++         * likes 'xkb:cn::chi'.
++         */
++        if (engines.length == 0) {
++            names =  {"xkb:us::eng"};
++            m_settings_general.set_strv("preload-engines", names);
++            engines = m_bus.get_engines_by_names(names);
++	}
++
+         if (m_engines.length == 0) {
+             m_engines = engines;
+             switch_engine(0, true);
+-- 
+1.8.5.3
+

diff --git a/ibus.spec b/ibus.spec
index e0f44f8..e4068fa 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -28,7 +28,7 @@
 
 Name:           ibus
 Version:        1.5.9
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Intelligent Input Bus for Linux OS
 License:        LGPLv2+
 Group:          System Environment/Libraries
@@ -408,6 +408,9 @@ fi
 %{_datadir}/gtk-doc/html/*
 
 %changelog
+* Tue Oct 28 2014 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.9-4
+- Updated ibus-HEAD.patch for upstream #1744.
+
 * Fri Oct 24 2014 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.9-3
 - Added ibus-xx-increase-timeout.patch
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-31  2:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31  2:06 [rpms/ibus] autotool: Updated ibus-HEAD.patch for upstream #1744 Takao Fujiwara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox