update to 1.5.9
- Make it possible to use a database in different locations than the default - Clear candidate list as well when clearing the lookup table - Add missing CLDR xml files to tar ball - Add unit tests
This commit is contained in:
parent
a0a513a1cf
commit
183ecd708a
1
.gitignore
vendored
1
.gitignore
vendored
@ -65,3 +65,4 @@
|
|||||||
/ibus-typing-booster-1.5.6.tar.gz
|
/ibus-typing-booster-1.5.6.tar.gz
|
||||||
/ibus-typing-booster-1.5.7.tar.gz
|
/ibus-typing-booster-1.5.7.tar.gz
|
||||||
/ibus-typing-booster-1.5.8.tar.gz
|
/ibus-typing-booster-1.5.8.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.9.tar.gz
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Name: ibus-typing-booster
|
Name: ibus-typing-booster
|
||||||
Version: 1.5.8
|
Version: 1.5.9
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A typing booster engine for the IBus platform
|
Summary: A typing booster engine for the IBus platform
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -15,6 +15,16 @@ Requires: python3-enchant
|
|||||||
Recommends: gdouros-symbola-fonts
|
Recommends: gdouros-symbola-fonts
|
||||||
BuildRequires: ibus-devel
|
BuildRequires: ibus-devel
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
# for the unit tests
|
||||||
|
BuildRequires: m17n-lib
|
||||||
|
BuildRequires: m17n-db-extras
|
||||||
|
BuildRequires: python3-enchant
|
||||||
|
BuildRequires: hunspell-cs
|
||||||
|
BuildRequires: hunspell-de
|
||||||
|
BuildRequires: hunspell-en
|
||||||
|
BuildRequires: hunspell-es
|
||||||
|
BuildRequires: hunspell-it
|
||||||
|
BuildRequires: hunspell-ko
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -37,8 +47,33 @@ gzip --force --best $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/*.{xml,txt,json}
|
|||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
export LC_ALL=en_US.UTF-8
|
||||||
desktop-file-validate \
|
desktop-file-validate \
|
||||||
$RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-typing-booster.desktop
|
$RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-typing-booster.desktop
|
||||||
|
pushd engine
|
||||||
|
# run doctests
|
||||||
|
python3 hunspell_suggest.py
|
||||||
|
python3 m17n_translit.py
|
||||||
|
python3 itb_emoji.py
|
||||||
|
python3 itb_util.py
|
||||||
|
popd
|
||||||
|
eval $(dbus-launch --sh-syntax)
|
||||||
|
dconf dump /
|
||||||
|
dconf write /desktop/ibus/engine/typing-booster/typing-booster-de-de/offtherecord false
|
||||||
|
dconf write /desktop/ibus/engine/typing-booster/typing-booster-de-de/usedigitsasselectkeys true
|
||||||
|
dconf write /desktop/ibus/engine/typing-booster/typing-booster-de-de/tabenable false
|
||||||
|
dconf write /desktop/ibus/engine/typing-booster/typing-booster-de-de/inputmethod "'NoIme'"
|
||||||
|
dconf write /desktop/ibus/engine/typing-booster/typing-booster-de-de/adddirectinput false
|
||||||
|
dconf write /desktop/ibus/engine/typing-booster/typing-booster-de-de/rememberlastusedpreeditime true
|
||||||
|
dconf write /desktop/ibus/engine/typing-booster/typing-booster-de-de/mincharcomplete 1
|
||||||
|
dconf write /desktop/ibus/engine/typing-booster/typing-booster-de-de/dictionary "'en_US'"
|
||||||
|
dconf write /desktop/ibus/engine/typing-booster/typing-booster-de-de/emojipredictions true
|
||||||
|
dconf write /desktop/ibus/engine/typing-booster/typing-booster-de-de/autocommitcharacters "''"
|
||||||
|
dconf write /desktop/ibus/engine/typing-booster/typing-booster-de-de/pagesize 6
|
||||||
|
dconf write /desktop/ibus/engine/typing-booster/typing-booster-de-de/shownumberofcandidates true
|
||||||
|
dconf dump /
|
||||||
|
ibus-daemon -drx
|
||||||
|
make check || cat ./tests/test-suite.log
|
||||||
|
|
||||||
%post
|
%post
|
||||||
[ -x %{_bindir}/ibus ] && \
|
[ -x %{_bindir}/ibus ] && \
|
||||||
@ -59,6 +94,13 @@ desktop-file-validate \
|
|||||||
%{_datadir}/applications/ibus-setup-typing-booster.desktop
|
%{_datadir}/applications/ibus-setup-typing-booster.desktop
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 24 2016 Mike FABIAN <mfabian@redhat.com> - 1.5.9-1
|
||||||
|
- update to 1.5.9
|
||||||
|
- Make it possible to use a database in different locations than the default
|
||||||
|
- Clear candidate list as well when clearing the lookup table
|
||||||
|
- Add missing CLDR xml files to tar ball
|
||||||
|
- Add unit tests
|
||||||
|
|
||||||
* Mon Oct 10 2016 Mike FABIAN <mfabian@redhat.com> - 1.5.8-1
|
* Mon Oct 10 2016 Mike FABIAN <mfabian@redhat.com> - 1.5.8-1
|
||||||
- update to 1.5.8
|
- update to 1.5.8
|
||||||
- Pull translations from Zanata (uk and fr updated)
|
- Pull translations from Zanata (uk and fr updated)
|
||||||
|
Loading…
Reference in New Issue
Block a user