From aeffe6e8d6affe8cf3cfc4fdcfee629321cc4f21 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 1 Feb 2022 10:59:06 +0100 Subject: [PATCH] Add patch for https://fedoraproject.org/wiki/Changes/Ibus_table_cangjie_default_for_zh_hk --- gnome-desktop3.spec | 7 ++++++- make-table-cangjie5-default-for-zh-hk.patch | 12 ++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 make-table-cangjie5-default-for-zh-hk.patch diff --git a/gnome-desktop3.spec b/gnome-desktop3.spec index aab148e..b1f02f4 100644 --- a/gnome-desktop3.spec +++ b/gnome-desktop3.spec @@ -9,7 +9,7 @@ Name: gnome-desktop3 Version: 42~alpha.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library with common API for various GNOME modules License: GPLv2+ and LGPLv2+ @@ -32,6 +32,8 @@ Source5: evince-defaults.list # https://fedoraproject.org/wiki/Changes/Enhanced_Inscript_as_default_Indic_IM Patch0: make-inscript2-default-for-indic-languages.patch +# https://fedoraproject.org/wiki/Changes/Ibus_table_cangjie_default_for_zh_hk +Patch1: make-table-cangjie5-default-for-zh-hk.patch BuildRequires: gcc BuildRequires: gettext @@ -172,6 +174,9 @@ cat %SOURCE5 >> $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list %{_datadir}/installed-tests %changelog +* Tue Feb 01 2022 Mike FABIAN - 42~alpha-1-3 +- Add patch for https://fedoraproject.org/wiki/Changes/Ibus_table_cangjie_default_for_zh_hk + * Thu Jan 20 2022 Fedora Release Engineering - 42~alpha.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/make-table-cangjie5-default-for-zh-hk.patch b/make-table-cangjie5-default-for-zh-hk.patch new file mode 100644 index 0000000..7e0d148 --- /dev/null +++ b/make-table-cangjie5-default-for-zh-hk.patch @@ -0,0 +1,12 @@ +diff -ru gnome-desktop-42.alpha.1.orig/libgnome-desktop/default-input-sources.h gnome-desktop-42.alpha.1/libgnome-desktop/default-input-sources.h +--- gnome-desktop-42.alpha.1.orig/libgnome-desktop/default-input-sources.h 2022-02-01 10:52:57.637239201 +0100 ++++ gnome-desktop-42.alpha.1/libgnome-desktop/default-input-sources.h 2022-02-01 10:54:16.276374221 +0100 +@@ -54,7 +54,7 @@ + { "te_IN", "ibus", "m17n:te:inscript2" }, + { "ur_IN", "ibus", "m17n:ur:phonetic" }, + { "zh_CN", "ibus", "libpinyin" }, +- { "zh_HK", "ibus", "cangjie" }, ++ { "zh_HK", "ibus", "table:cangjie5" }, + { "zh_TW", "ibus", "libzhuyin" }, + { NULL, NULL, NULL } + };