From d06e14524517f2747f2475c020f8cf05e639a26277fe3f85e654ab3833542067 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 15 Oct 2019 12:32:44 +0000 Subject: [PATCH 1/2] Accepting request 738615 from home:mike-fabian Update to 2.6.8 OBS-URL: https://build.opensuse.org/request/show/738615 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-typing-booster?expand=0&rev=76 --- ibus-typing-booster-2.6.7.tar.gz | 3 -- ibus-typing-booster-2.6.8.tar.gz | 3 ++ ibus-typing-booster.changes | 11 +++++ ibus-typing-booster.spec | 18 ++++---- m17n-db-1.8.0-inscript2-mni-sat.patch | 60 +++++++++++++++++++++++++++ 5 files changed, 84 insertions(+), 11 deletions(-) delete mode 100644 ibus-typing-booster-2.6.7.tar.gz create mode 100644 ibus-typing-booster-2.6.8.tar.gz create mode 100644 m17n-db-1.8.0-inscript2-mni-sat.patch diff --git a/ibus-typing-booster-2.6.7.tar.gz b/ibus-typing-booster-2.6.7.tar.gz deleted file mode 100644 index 9ec1575..0000000 --- a/ibus-typing-booster-2.6.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9bbbfc3739fbc6dd96d27d297c14c5eff98e6b7ff54c0f92ef679861d8c9fe61 -size 7358877 diff --git a/ibus-typing-booster-2.6.8.tar.gz b/ibus-typing-booster-2.6.8.tar.gz new file mode 100644 index 0000000..9c4513d --- /dev/null +++ b/ibus-typing-booster-2.6.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:952fe3c00ae5b0469f10719352329eec9f2cd647cad13bbaa3c05931affc59fd +size 7358088 diff --git a/ibus-typing-booster.changes b/ibus-typing-booster.changes index c907488..5adf62b 100644 --- a/ibus-typing-booster.changes +++ b/ibus-typing-booster.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Oct 11 10:55:48 UTC 2019 - maiku.fabian@gmail.com + +- Update to 2.6.8 +- Quote the tables for the key and mouse bindings in the README.md as code +- Do not hardcode the list of useful m17n input methods +- Use LOGGER.exeption() in exception handlers +- Use python logging module with log file rotation instead of writing to stdout/stderr +- Fix set_preedit_underline() with parameter update_gsettings=True +- Fix mni-inscript2-{beng,mtei}.mim and sat-inscript2-{deva,olck}.mim + ------------------------------------------------------------------- Tue Oct 01 22:05:20 UTC 2019 - maiku.fabian@gmail.com diff --git a/ibus-typing-booster.spec b/ibus-typing-booster.spec index c32636b..9e6a014 100644 --- a/ibus-typing-booster.spec +++ b/ibus-typing-booster.spec @@ -15,7 +15,7 @@ # Name: ibus-typing-booster -Version: 2.6.7 +Version: 2.6.8 Release: 0 Summary: An input completion utility License: GPL-3.0+ @@ -23,6 +23,7 @@ Group: System/X11/Utilities URL: https://mike-fabian.github.io/ibus-typing-booster/ Source0: https://github.com/mike-fabian/ibus-typing-booster/releases/download/%{version}/%{name}-%{version}.tar.gz Source1: https://releases.pagure.org/inscript2/inscript2-20160423.tar.gz +Patch0: m17n-db-1.8.0-inscript2-mni-sat.patch BuildRequires: ibus-devel BuildRequires: python3 BuildRequires: python3-devel @@ -85,6 +86,7 @@ input method to speedup typing. %setup -q ##extract inscript2 maps tar xzf %{SOURCE1} +%patch0 -p0 %build export PYTHON=%{_bindir}/python3 @@ -130,14 +132,14 @@ desktop-file-validate \ %{buildroot}%{_datadir}/applications/ibus-setup-typing-booster.desktop desktop-file-validate \ $RPM_BUILD_ROOT%{_datadir}/applications/emoji-picker.desktop -time ./engine.sh -#pushd engine +#time ./engine.sh +pushd engine # run doctests - #python3 hunspell_suggest.py -v - #python3 m17n_translit.py -v - #python3 itb_emoji.py -v - #python3 itb_util.py -v -#popd + python3 hunspell_suggest.py -v + python3 m17n_translit.py -v + python3 itb_emoji.py -v + python3 itb_util.py -v +popd mkdir -p /tmp/glib-2.0/schemas/ cp org.freedesktop.ibus.engine.typing-booster.gschema.xml \ /tmp/glib-2.0/schemas/org.freedesktop.ibus.engine.typing-booster.gschema.xml diff --git a/m17n-db-1.8.0-inscript2-mni-sat.patch b/m17n-db-1.8.0-inscript2-mni-sat.patch new file mode 100644 index 0000000..41f22c1 --- /dev/null +++ b/m17n-db-1.8.0-inscript2-mni-sat.patch @@ -0,0 +1,60 @@ +--- inscript2/IM/mni-inscript2-beng.mim 2016-04-23 09:41:08.000000000 +0200 ++++ inscript2/IM/mni-inscript2-beng.mim 2019-10-10 11:58:18.068555240 +0200 +@@ -18,7 +18,7 @@ + ;; + ;; Author: Parag Nemade + +-(input-method mni inscript2) ++(input-method mni inscript2-beng) + + (description "Manipuri input method for enhanced inscript layout. + +--- inscript2/IM/mni-inscript2-mtei.mim 2016-04-23 09:41:10.000000000 +0200 ++++ inscript2/IM/mni-inscript2-mtei.mim 2019-10-10 11:58:18.069555230 +0200 +@@ -18,7 +18,7 @@ + ;; + ;; Author: Parag Nemade + +-(input-method mni inscript2) ++(input-method mni inscript2-mtei) + + (description "Manipuri Meetei Mayek input method for enhanced inscript layout. + +@@ -87,13 +87,13 @@ + ((G-U) "ꯡ") + ("Y" "ꯚ") + ("]" "꯬") +- ("a" "ꯣ " ++ ("a" "ꯣ") + ("b" "ꯋ") + ("c" "ꯃ") + ((G-c) "ꯝ") + ("d" "꯭") + ("e" "ꯥ") +- ("f" "ꯤ) ++ ("f" "ꯤ") + ("g" "ꯨ") + ("h" "ꯄ") + ((G-h) "ꯞ") +--- inscript2/IM/sat-inscript2-deva.mim 2016-04-23 09:41:51.000000000 +0200 ++++ inscript2/IM/sat-inscript2-deva.mim 2019-10-10 11:58:46.793249433 +0200 +@@ -18,7 +18,7 @@ + ;; + ;; Author: Parag Nemade + +-(input-method sat inscript2) ++(input-method sat inscript2-deva) + + (description "Santali input method for enhanced inscript layout. + +--- inscript2/IM/sat-inscript2-olck.mim 2016-04-23 09:41:49.000000000 +0200 ++++ inscript2/IM/sat-inscript2-olck.mim 2019-10-10 11:58:46.793249433 +0200 +@@ -18,7 +18,7 @@ + ;; + ;; Author: Parag Nemade + +-(input-method sat inscript2) ++(input-method sat inscript2-olck) + + (description "Santali Ol Chicky input method for enhanced inscript layout. + From 0bcf5a45eb85d7b2d05d54d02a4e04a78d8249e78511214cb9d3ece7666d6653 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Sat, 19 Oct 2019 08:05:43 +0000 Subject: [PATCH 2/2] Accepting request 741206 from home:mike-fabian Update to 2.7.0; Now with compose support OBS-URL: https://build.opensuse.org/request/show/741206 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-typing-booster?expand=0&rev=77 --- ibus-typing-booster-2.6.8.tar.gz | 3 --- ibus-typing-booster-2.7.0.tar.gz | 3 +++ ibus-typing-booster.changes | 12 ++++++++++++ ibus-typing-booster.spec | 16 +--------------- 4 files changed, 16 insertions(+), 18 deletions(-) delete mode 100644 ibus-typing-booster-2.6.8.tar.gz create mode 100644 ibus-typing-booster-2.7.0.tar.gz diff --git a/ibus-typing-booster-2.6.8.tar.gz b/ibus-typing-booster-2.6.8.tar.gz deleted file mode 100644 index 9c4513d..0000000 --- a/ibus-typing-booster-2.6.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:952fe3c00ae5b0469f10719352329eec9f2cd647cad13bbaa3c05931affc59fd -size 7358088 diff --git a/ibus-typing-booster-2.7.0.tar.gz b/ibus-typing-booster-2.7.0.tar.gz new file mode 100644 index 0000000..1192106 --- /dev/null +++ b/ibus-typing-booster-2.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad200705d189d32db6255852761b4d7fabe62f20c937c7537e9d1d5d5aa5ea20 +size 7364094 diff --git a/ibus-typing-booster.changes b/ibus-typing-booster.changes index 5adf62b..3951e77 100644 --- a/ibus-typing-booster.changes +++ b/ibus-typing-booster.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Oct 18 12:49:48 UTC 2019 - maiku.fabian@gmail.com + +- Update to 2.7.0 +- Add support for compose sequences + Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/47 + Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/36 +- Test cases for compose support +- When using doctest: log to stderr and set logging level to DEBUG +- Properly close file handles when loading hunspell dictionaries + ------------------------------------------------------------------- Fri Oct 11 10:55:48 UTC 2019 - maiku.fabian@gmail.com @@ -8,6 +19,7 @@ Fri Oct 11 10:55:48 UTC 2019 - maiku.fabian@gmail.com - Use python logging module with log file rotation instead of writing to stdout/stderr - Fix set_preedit_underline() with parameter update_gsettings=True - Fix mni-inscript2-{beng,mtei}.mim and sat-inscript2-{deva,olck}.mim + (m17n-db-1.8.0-inscript2-mni-sat.patch) ------------------------------------------------------------------- Tue Oct 01 22:05:20 UTC 2019 - maiku.fabian@gmail.com diff --git a/ibus-typing-booster.spec b/ibus-typing-booster.spec index 9e6a014..a9fe610 100644 --- a/ibus-typing-booster.spec +++ b/ibus-typing-booster.spec @@ -15,7 +15,7 @@ # Name: ibus-typing-booster -Version: 2.6.8 +Version: 2.7.0 Release: 0 Summary: An input completion utility License: GPL-3.0+ @@ -111,19 +111,6 @@ cp -p inscript2/icons/* %{buildroot}%{_datadir}/m17n/icons %find_lang %{name} -cat << 'EOF' >> engine.sh -#!/bin/sh -# run doctests -pushd engine -for i in hunspell_suggest.py m17n_translit.py itb_emoji.py itb_util.py; do - python3 ${i} -v & -done -popd -wait -echo "engine tests passed"; -EOF -chmod +x engine.sh - %check export LC_ALL=en_US.UTF-8 export M17NDIR=%{buildroot}%{_datadir}/m17n/ @@ -132,7 +119,6 @@ desktop-file-validate \ %{buildroot}%{_datadir}/applications/ibus-setup-typing-booster.desktop desktop-file-validate \ $RPM_BUILD_ROOT%{_datadir}/applications/emoji-picker.desktop -#time ./engine.sh pushd engine # run doctests python3 hunspell_suggest.py -v