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 @@ + Korean Input Method + 99 + ++ Control+space,Hangul + + + 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 - 1.4.0-5 +- Revive ibus-hangul-add-hangul-hotkey.patch. + * Mon Mar 5 2012 Daiki Ueno - 1.4.0-4 - Package the latest git master. - Fix bug 799776 - [abrt] ibus-hangul-1.4.0-3.fc17