Add patch to default to ibus-kkc for Japanese

This commit is contained in:
Rui Matos 2013-05-14 13:29:55 +02:00
parent 64572cfc44
commit 4258905fe9
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 5d478332677df7e428f82d4de0fe9ae4368d9554 Mon Sep 17 00:00:00 2001
From: Rui Matos <tiagomatos@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

View File

@ -7,9 +7,10 @@
Summary: Shared code among gnome-panel, gnome-session, nautilus, etc Summary: Shared code among gnome-panel, gnome-session, nautilus, etc
Name: gnome-desktop3 Name: gnome-desktop3
Version: 3.9.91 Version: 3.9.91
Release: 1%{?dist} Release: 2%{?dist}
URL: http://www.gnome.org URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/gnome-desktop/3.9/gnome-desktop-%{version}.tar.xz 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+ License: GPLv2+ and LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
@ -64,6 +65,7 @@ libgnomedesktop.
%prep %prep
%setup -q -n gnome-desktop-%{version} %setup -q -n gnome-desktop-%{version}
%patch0 -p1
%build %build
%configure --with-pnp-ids-path="/usr/share/hwdata/pnp.ids" %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/ %doc %{_datadir}/gtk-doc/html/gnome-desktop3/
%changelog %changelog
* Mon Sep 9 2013 Rui Matos <rmatos@redhat.com> - 3.9.91-2
- Add patch to default to ibus-kkc for Japanese
* Tue Sep 03 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.91-1 * Tue Sep 03 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.91-1
- Update to 3.9.91 - Update to 3.9.91