From 51379d8ca5ae7142cc71e650e883be1b78f67978 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Sun, 16 May 2021 18:19:19 +0200 Subject: [PATCH] Correct misplaced non-alphabetic symbol in wubi-jidian table (Resolves: https://github.com/definite/ibus-table-chinese/pull/16) --- ...etic-symbol-pull-request-16-definite.patch | 39 +++++++++++++++++++ ibus-table-chinese.spec | 8 +++- 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 correct-misplaced-no-alphabetic-symbol-pull-request-16-definite.patch diff --git a/correct-misplaced-no-alphabetic-symbol-pull-request-16-definite.patch b/correct-misplaced-no-alphabetic-symbol-pull-request-16-definite.patch new file mode 100644 index 0000000..47aaa45 --- /dev/null +++ b/correct-misplaced-no-alphabetic-symbol-pull-request-16-definite.patch @@ -0,0 +1,39 @@ +From 0d84df003c3176716528fca59c2d7473f50c6715 Mon Sep 17 00:00:00 2001 +From: champignoom <66909116+champignoom@users.noreply.github.com> +Date: Fri, 27 Nov 2020 06:01:02 +0100 +Subject: [PATCH] =?UTF-8?q?Problem:=20the=20prime=20symbol=20"=E2=80=B2"?= + =?UTF-8?q?=20with=20code=20"wv"=20is=20mistakenly=20counted=20as=20a=20ch?= + =?UTF-8?q?inese=20character=20and=20is=20ranked=20higher=20than=20"?= + =?UTF-8?q?=E5=88=86".=20(#16)?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Solution: move it to the symbol section with code "zzts" +--- + tables/wubi-jidian/wubi-jidian86.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tables/wubi-jidian/wubi-jidian86.txt b/tables/wubi-jidian/wubi-jidian86.txt +index 91f9544..fa308c1 100644 +--- a/tables/wubi-jidian/wubi-jidian86.txt ++++ b/tables/wubi-jidian/wubi-jidian86.txt +@@ -687,7 +687,6 @@ wr 伯 18442264 + ws 休 13470954 + wt 作 246213288 + wu 们 521225102 +-wv ′ 0 + wv 分 170080569 + ww 从 197123506 + wx 化 80964878 +@@ -136772,6 +136771,7 @@ zzsx ⊙ 544 + zzsx ⊥ 543 + zzsx ⊿ 542 + zzts ℃ 541 ++zzts ′ 540 + zzts ° 540 + zzts ‰ 539 + zzts ♂ 538 +-- +2.31.1 + diff --git a/ibus-table-chinese.spec b/ibus-table-chinese.spec index a4a102a..2d457c0 100644 --- a/ibus-table-chinese.spec +++ b/ibus-table-chinese.spec @@ -4,7 +4,7 @@ %global createdb ibus-table-createdb Name: ibus-table-chinese Version: 1.8.3 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Chinese input tables for IBus Summary(zh_CN): 中文码表输入法 Summary(zh_TW): 中文碼表輸入法 @@ -12,6 +12,7 @@ License: GPLv3+ URL: https://github.com/definite/ibus-table-chinese Source0: https://github.com/definite/ibus-table-chinese/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: no-cmake-fedora.patch +Patch1: correct-misplaced-no-alphabetic-symbol-pull-request-16-definite.patch BuildRequires: cmake >= 2.6.2 BuildRequires: ibus-table-devel >= 1.10.0 @@ -307,6 +308,7 @@ Cantonese input method based on yale romanization %prep %setup -q -n %{name}-%{version} %patch0 -p1 -b .no-cmake-fedora +%patch1 -p1 -b .correct-misplaced-no-alphabetic-symbol-pull-request-16-definite %{__sed} -i 's/\r//' tables/wubi-haifeng/COPYING %build @@ -574,6 +576,10 @@ rm -fr %{buildroot}%{_docdir}/* %verify(not size md5 mtime) %{ibus_tables_dir}/cantonyale.db %changelog +* Sun May 16 2021 Mike FABIAN - 1.8.3-8 +- Correct misplaced non-alphabetic symbol in wubi-jidian table +- Resolves: https://github.com/definite/ibus-table-chinese/pull/16 + * Tue Jan 26 2021 Fedora Release Engineering - 1.8.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild