Revive <hotkeys> in hangul.xml.

This commit is contained in:
Daiki Ueno 2012-03-06 12:12:18 +09:00
parent 5f78936545
commit 13978e6bf9
2 changed files with 24 additions and 5 deletions

View File

@ -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>

View File

@ -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@redhat.com> - 1.4.0-5
- Revive ibus-hangul-add-hangul-hotkey.patch.
* Mon Mar 5 2012 Daiki Ueno <dueno@redhat.com> - 1.4.0-4
- Package the latest git master.
- Fix bug 799776 - [abrt] ibus-hangul-1.4.0-3.fc17