[Fedora-i18n-bugs] [ibus-hangul/f16] Revive <hotkeys> in hangul.xml.

Daiki Ueno ueno at fedoraproject.org
Tue Mar 6 03:13:33 UTC 2012


commit d25e6f5354c21135ee8a93215e8f46108ca33878
Author: Daiki Ueno <ueno at unixuser.org>
Date:   Tue Mar 6 12:12:18 2012 +0900

    Revive <hotkeys> in hangul.xml.

 ibus-hangul-add-hangul-hotkey.patch |   12 ++++++++++++
 ibus-hangul.spec                    |   17 ++++++++++++-----
 2 files changed, 24 insertions(+), 5 deletions(-)
---
diff --git a/ibus-hangul-add-hangul-hotkey.patch b/ibus-hangul-add-hangul-hotkey.patch
new file mode 100644
index 0000000..57934d4
--- /dev/null
+++ b/ibus-hangul-add-hangul-hotkey.patch
@@ -0,0 +1,12 @@
+Index: ibus-hangul-1.4.0/src/hangul.xml.in.in
+===================================================================
+--- ibus-hangul-1.4.0.orig/src/hangul.xml.in.in
++++ ibus-hangul-1.4.0/src/hangul.xml.in.in
+@@ -22,6 +22,7 @@
+ 			<description>Korean Input Method</description>
+ 			<rank>99</rank>
+ 			<symbol>&#xD55C;</symbol>
++			<hotkeys>Control+space,Hangul</hotkeys>
+ 		</engine>
+ 	</engines>
+ 
diff --git a/ibus-hangul.spec b/ibus-hangul.spec
index edd7c3c..8af5672 100644
--- a/ibus-hangul.spec
+++ b/ibus-hangul.spec
@@ -6,13 +6,9 @@
 %define have_bridge_hotkey 0
 %endif
 
-%if %have_bridge_hotkey
-%global _with_hotkeys --with-hotkeys
-%endif
-
 Name:       ibus-hangul
 Version:    1.4.0
-Release:    4%{?dist}
+Release:    5%{?dist}
 Summary:    The Hangul engine for IBus input platform
 License:    GPLv2+
 Group:      System Environment/Libraries
@@ -22,6 +18,9 @@ Source0:    http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
 Source1:    ibus-setup-hangul.png
 Source2:    ibus-setup-hangul.svg
 Patch0:     ibus-hangul-HEAD.patch
+%if %have_bridge_hotkey
+Patch1:	    ibus-hangul-add-hangul-hotkey.patch
+%endif
 
 BuildRequires:  gettext-devel
 BuildRequires:  intltool
@@ -48,6 +47,11 @@ cp %SOURCE1 %SOURCE2 setup
 sed -i 's!^[-+][-+][-+] .*\.svg$!#\0!' %PATCH0
 %patch0 -p1 -b .HEAD
 
+%if %have_bridge_hotkey
+%patch1 -p1 -b .add-hangul-hotkey
+%endif
+
+
 %build
 autoreconf
 %configure --disable-static %{?_with_hotkeys}
@@ -85,6 +89,9 @@ fi
 %{_datadir}/icons/hicolor/*/apps/*
 
 %changelog
+* Tue Mar  6 2012 Daiki Ueno <dueno at redhat.com> - 1.4.0-5
+- Revive ibus-hangul-add-hangul-hotkey.patch.
+
 * Mon Mar  5 2012 Daiki Ueno <dueno at redhat.com> - 1.4.0-4
 - Package the latest git master.
 - Fix bug 799776 - [abrt] ibus-hangul-1.4.0-3.fc17


More information about the i18n-bugs mailing list