Change default for zh_TW to ibus-libzhuyin

Resolves: #1405946
This commit is contained in:
Rui Matos 2017-01-19 17:48:35 +01:00
parent e78fb54617
commit 70bab8b37f
2 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,28 @@
From a42a5d0806b8a70112d0daabd26bd20b281eb472 Mon Sep 17 00:00:00 2001
From: Peng Wu <alexepico@gmail.com>
Date: Mon, 19 Dec 2016 17:09:19 +0800
Subject: [PATCH] default-input-sources: Change default for zh_TW to
ibus-libzhuyin
https://bugzilla.redhat.com/show_bug.cgi?id=1405946
https://bugzilla.gnome.org/show_bug.cgi?id=772674
---
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 b743657..bbb83e3 100644
--- a/libgnome-desktop/default-input-sources.h
+++ b/libgnome-desktop/default-input-sources.h
@@ -53,6 +53,6 @@ static DefaultInputSource default_input_sources[] =
{ "ur_IN", "ibus", "m17n:ur:phonetic" },
{ "zh_CN", "ibus", "libpinyin" },
{ "zh_HK", "ibus", "cangjie" },
- { "zh_TW", "ibus", "chewing" },
+ { "zh_TW", "ibus", "libzhuyin" },
{ NULL, NULL, NULL }
};
--
2.9.3

View File

@ -7,13 +7,14 @@
Name: gnome-desktop3 Name: gnome-desktop3
Version: 3.22.2 Version: 3.22.2
Release: 1%{?dist} Release: 2%{?dist}
Summary: Shared code among gnome-panel, gnome-session, nautilus, etc Summary: Shared code among gnome-panel, gnome-session, nautilus, etc
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
URL: http://www.gnome.org URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/gnome-desktop/3.22/gnome-desktop-%{version}.tar.xz Source0: http://download.gnome.org/sources/gnome-desktop/3.22/gnome-desktop-%{version}.tar.xz
Patch0: 0001-default-input-sources-Switch-ja_JP-default-to-ibus-k.patch Patch0: 0001-default-input-sources-Switch-ja_JP-default-to-ibus-k.patch
Patch1: 0001-default-input-sources-Change-default-for-zh_TW-to-ib.patch
BuildRequires: gnome-common BuildRequires: gnome-common
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= %{gdk_pixbuf2_version} BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= %{gdk_pixbuf2_version}
@ -70,6 +71,7 @@ the functionality of the installed %{name} package.
%prep %prep
%setup -q -n gnome-desktop-%{version} %setup -q -n gnome-desktop-%{version}
%patch0 -p1 %patch0 -p1
%patch1 -p1
%build %build
%configure --enable-installed-tests %configure --enable-installed-tests
@ -110,6 +112,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%{_datadir}/installed-tests %{_datadir}/installed-tests
%changelog %changelog
* Thu Jan 19 2017 Rui Matos <rmatos@redhat.com> - 3.22.2-2
- Change default for zh_TW to ibus-libzhuyin
Resolves: #1405946
* Tue Nov 15 2016 Kalev Lember <klember@redhat.com> - 3.22.2-1 * Tue Nov 15 2016 Kalev Lember <klember@redhat.com> - 3.22.2-1
- Update to 3.22.2 - Update to 3.22.2