public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ibus] autotool: Fix #628161 and update ibus-541492-xkb.patch
@ 2026-05-31 2:04 Takao Fujiwara
0 siblings, 0 replies; only message in thread
From: Takao Fujiwara @ 2026-05-31 2:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ibus
Branch : autotool
Commit : 9b3b7484f18e3680f6249599edd4da951148854a
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date : 2010-08-30T11:15:09+09:00
Stats : +20/-15 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ibus/c/9b3b7484f18e3680f6249599edd4da951148854a?branch=autotool
Log:
Fix #628161 and update ibus-541492-xkb.patch
---
diff --git a/ibus-541492-xkb.patch b/ibus-541492-xkb.patch
index 2189fff..7c5c8c6 100644
--- a/ibus-541492-xkb.patch
+++ b/ibus-541492-xkb.patch
@@ -1,6 +1,6 @@
-From a3819467deea74b82c55a4cfc8cecd6285f54e00 Mon Sep 17 00:00:00 2001
+From 509ffdfc4b27f977f255f348c84743b4be40f25f Mon Sep 17 00:00:00 2001
From: fujiwarat <takao.fujiwara1@gmail.com>
-Date: Mon, 23 Aug 2010 11:31:55 +0900
+Date: Mon, 30 Aug 2010 10:58:41 +0900
Subject: [PATCH] Add XKB layouts
---
@@ -11,7 +11,7 @@ Subject: [PATCH] Add XKB layouts
ibus/__init__.py | 2 +
ibus/bus.py | 3 +
ibus/interface/iibus.py | 3 +
- ibus/xkblayout.py.in | 86 ++++++
+ ibus/xkblayout.py.in | 91 ++++++
ibus/xkbxml.py.in | 337 +++++++++++++++++++++
setup/main.py | 228 ++++++++++++++-
setup/setup.ui | 300 +++++++++++++++++++-
@@ -28,7 +28,7 @@ Subject: [PATCH] Add XKB layouts
xkb/xkblib.h | 36 +++
xkb/xkbxml.c | 695 ++++++++++++++++++++++++++++++++++++++++++++
xkb/xkbxml.h | 188 ++++++++++++
- 24 files changed, 2941 insertions(+), 7 deletions(-)
+ 24 files changed, 2946 insertions(+), 7 deletions(-)
create mode 100644 ibus/xkblayout.py.in
create mode 100644 ibus/xkbxml.py.in
create mode 100644 xkb/Makefile.am
@@ -264,10 +264,10 @@ index e63caa3..8b7b6f7 100644
diff --git a/ibus/xkblayout.py.in b/ibus/xkblayout.py.in
new file mode 100644
-index 0000000..b5f1a06
+index 0000000..75f925c
--- /dev/null
+++ b/ibus/xkblayout.py.in
-@@ -0,0 +1,87 @@
+@@ -0,0 +1,91 @@
+# vim:set et sts=4 sw=4:
+#
+# ibus - The Input Bus
@@ -304,9 +304,11 @@ index 0000000..b5f1a06
+ self.__config = config
+ self.__command = command
+ self.__default_layout = self.get_layout()
-+ self.__xkb_latin_layouts = list(self.__config.get_value("general",
-+ "xkb_latin_layouts",
-+ []))
++ self.__xkb_latin_layouts = []
++ if config != None:
++ self.__xkb_latin_layouts = list(self.__config.get_value("general",
++ "xkb_latin_layouts",
++ []))
+
+
+ def get_layout(self):
@@ -324,10 +326,6 @@ index 0000000..b5f1a06
+ def set_layout(self, layout="default"):
+ if self.__command == None:
+ return
-+ args = []
-+ args.append(self.__command)
-+ args.append(os.path.basename(self.__command))
-+ args.append("--set")
+ layout = str(layout)
+ if layout == "default":
+ layout = self.__default_layout
@@ -339,6 +337,12 @@ index 0000000..b5f1a06
+ break
+ if need_us_layout:
+ layout = layout + ",us"
++ if layout == self.get_layout():
++ return
++ args = []
++ args.append(self.__command)
++ args.append(os.path.basename(self.__command))
++ args.append("--set")
+ args.append(layout)
+ pid = os.spawnl(os.P_NOWAIT, *args)
+ os.waitpid(pid, 0)
diff --git a/ibus.spec b/ibus.spec
index ba0acad..ec07bfd 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -11,7 +11,7 @@
Name: ibus
Version: 1.3.7
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Intelligent Input Bus for Linux OS
License: LGPLv2+
Group: System Environment/Libraries
@@ -269,8 +269,9 @@ fi
%{_datadir}/gtk-doc/html/*
%changelog
-* Thu Aug 26 2010 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.7-2
+* Mon Aug 30 2010 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.7-3
- Fix #627107 and update ibus-541492-xkb.patch
+- Fix #628161 and update ibus-541492-xkb.patch
* Mon Aug 23 2010 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.7-1
- Update to 1.3.7
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-31 2:04 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:04 [rpms/ibus] autotool: Fix #628161 and update ibus-541492-xkb.patch Takao Fujiwara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox