[gnome-desktop3/f19] Add patch to default to ibus-kkc for Japanese

rtcm rtcm at fedoraproject.org
Tue May 14 11:40:25 UTC 2013


commit 27964d6ac661695e55a00d2062ffa92df1550cc6
Author: Rui Matos <tiagomatos at gmail.com>
Date:   Tue May 14 13:29:55 2013 +0200

    Add patch to default to ibus-kkc for Japanese

 ...ut-sources-Switch-ja_JP-default-to-ibus-k.patch |   26 ++++++++++++++++++++
 gnome-desktop3.spec                                |    7 ++++-
 2 files changed, 32 insertions(+), 1 deletions(-)
---
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 <tiagomatos at gmail.com>
+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 ff57a3e..0674733 100644
--- a/gnome-desktop3.spec
+++ b/gnome-desktop3.spec
@@ -8,9 +8,10 @@
 Summary: Shared code among gnome-panel, gnome-session, nautilus, etc
 Name: gnome-desktop3
 Version: 3.8.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 URL: http://www.gnome.org
 Source0: http://download.gnome.org/sources/gnome-desktop/3.8/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
@@ -66,6 +67,7 @@ libgnomedesktop.
 
 %prep
 %setup -q -n gnome-desktop-%{version}
+%patch0 -p1
 
 %build
 %configure --with-pnp-ids-path="/usr/share/hwdata/pnp.ids"
@@ -102,6 +104,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
 %doc %{_datadir}/gtk-doc/html/gnome-desktop3/
 
 %changelog
+* Tue May 14 2013 Rui Matos <rmatos at redhat.com> - 3.8.2-2
+- Add patch to default to ibus-kkc for Japanese
+
 * Mon May 13 2013 Matthias Clasen <mclasen at redahat.com> - 3.8.2-1
 - Update to 3.8.2
 


More information about the scm-commits mailing list