From 4258905fe904c432018773e6327ebb631a2c6b08 Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Tue, 14 May 2013 13:29:55 +0200 Subject: [PATCH] Add patch to default to ibus-kkc for Japanese --- ...urces-Switch-ja_JP-default-to-ibus-k.patch | 26 +++++++++++++++++++ gnome-desktop3.spec | 7 ++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 0001-default-input-sources-Switch-ja_JP-default-to-ibus-k.patch diff --git a/0001-default-input-sources-Switch-ja_JP-default-to-ibus-k.patch b/0001-default-input-sources-Switch-ja_JP-default-to-ibus-k.patch new file mode 100644 index 0000000..c6bfcf8 --- /dev/null +++ b/0001-default-input-sources-Switch-ja_JP-default-to-ibus-k.patch @@ -0,0 +1,26 @@ +From 5d478332677df7e428f82d4de0fe9ae4368d9554 Mon Sep 17 00:00:00 2001 +From: Rui Matos +Date: Tue, 14 May 2013 13:24:09 +0200 +Subject: [PATCH] default-input-sources: Switch ja_JP default to ibus-kkc + +This should be the default ibus engine for Japanese in F19. +--- + libgnome-desktop/default-input-sources.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libgnome-desktop/default-input-sources.h b/libgnome-desktop/default-input-sources.h +index c38e339..bb0b8b8 100644 +--- a/libgnome-desktop/default-input-sources.h ++++ b/libgnome-desktop/default-input-sources.h +@@ -30,7 +30,7 @@ static DefaultInputSource default_input_sources[] = + { "he_IL", "xkb", "il" }, + { "hi_IN", "ibus", "m17n:hi:inscript" }, + { "it_IT", "xkb", "it" }, +- { "ja_JP", "ibus", "anthy" }, ++ { "ja_JP", "ibus", "kkc" }, + { "kn_IN", "ibus", "m17n:kn:kgp" }, + { "ko_KR", "ibus", "hangul" }, + { "mai_IN", "ibus", "m17n:mai:inscript" }, +-- +1.8.1.4 + diff --git a/gnome-desktop3.spec b/gnome-desktop3.spec index 57d908d..5ec5de5 100644 --- a/gnome-desktop3.spec +++ b/gnome-desktop3.spec @@ -7,9 +7,10 @@ Summary: Shared code among gnome-panel, gnome-session, nautilus, etc Name: gnome-desktop3 Version: 3.9.91 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://www.gnome.org Source0: http://download.gnome.org/sources/gnome-desktop/3.9/gnome-desktop-%{version}.tar.xz +Patch0: 0001-default-input-sources-Switch-ja_JP-default-to-ibus-k.patch License: GPLv2+ and LGPLv2+ Group: System Environment/Libraries @@ -64,6 +65,7 @@ libgnomedesktop. %prep %setup -q -n gnome-desktop-%{version} +%patch0 -p1 %build %configure --with-pnp-ids-path="/usr/share/hwdata/pnp.ids" @@ -100,6 +102,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a %doc %{_datadir}/gtk-doc/html/gnome-desktop3/ %changelog +* Mon Sep 9 2013 Rui Matos - 3.9.91-2 +- Add patch to default to ibus-kkc for Japanese + * Tue Sep 03 2013 Kalev Lember - 3.9.91-1 - Update to 3.9.91