Dominique Leuenberger 2019-10-21 10:29:33 +00:00 committed by Git OBS Bridge
commit c2b76ad073
5 changed files with 95 additions and 24 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9bbbfc3739fbc6dd96d27d297c14c5eff98e6b7ff54c0f92ef679861d8c9fe61
size 7358877

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ad200705d189d32db6255852761b4d7fabe62f20c937c7537e9d1d5d5aa5ea20
size 7364094

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
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
- 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
(m17n-db-1.8.0-inscript2-mni-sat.patch)
-------------------------------------------------------------------
Tue Oct 01 22:05:20 UTC 2019 - maiku.fabian@gmail.com

View File

@ -15,7 +15,7 @@
#
Name: ibus-typing-booster
Version: 2.6.7
Version: 2.7.0
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
@ -109,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/
@ -130,14 +119,13 @@ 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
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

View File

@ -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 <pnemade@redhat.com>
-(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 <pnemade@redhat.com>
-(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 <pnemade@redhat.com>
-(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 <pnemade@redhat.com>
-(input-method sat inscript2)
+(input-method sat inscript2-olck)
(description "Santali Ol Chicky input method for enhanced inscript layout.