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
This commit is contained in:
Mike FABIAN 2019-10-11 10:53:24 +02:00
parent 4d19b59761
commit 6b58144984
3 changed files with 17 additions and 22 deletions

1
.gitignore vendored
View File

@ -123,3 +123,4 @@
/ibus-typing-booster-2.6.5.tar.gz
/ibus-typing-booster-2.6.6.tar.gz
/ibus-typing-booster-2.6.7.tar.gz
/ibus-typing-booster-2.6.8.tar.gz

View File

@ -3,7 +3,7 @@
%global _python_bytecompile_extra 1
Name: ibus-typing-booster
Version: 2.6.7
Version: 2.6.8
Release: 1%{?dist}
Summary: A completion input method
License: GPLv3+, ASL 2.0
@ -110,19 +110,6 @@ make install DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true INSTALL="install -p" pkg
%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=C.UTF-8
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
@ -130,14 +117,13 @@ desktop-file-validate \
$RPM_BUILD_ROOT%{_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
#python3 m17n_translit.py
#python3 itb_emoji.py
#python3 itb_util.py
#popd
python3 hunspell_suggest.py
python3 m17n_translit.py
python3 itb_emoji.py
python3 itb_util.py
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
@ -201,6 +187,14 @@ popd
%changelog
* Fri Oct 11 2019 Mike FABIAN <mfabian@redhat.com> - 2.6.8-1
- 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
* Tue Oct 01 2019 Mike FABIAN <mfabian@redhat.com> - 2.6.7-1
- Update to 2.6.7
- If the first candidate is exactly the same as the typed string

View File

@ -1 +1 @@
SHA512 (ibus-typing-booster-2.6.7.tar.gz) = 680e44f50dabf90f5511b899ba39cb3d5609bd280e6d653736a1833e244f76a6d3de4bcc604051cc7024f2a48b239a71f79ea3db4ec77e991c6b1bd8e77bac25
SHA512 (ibus-typing-booster-2.6.8.tar.gz) = 2e0d56b72018ab34a013c719090079b18131b46b26cac251da4276b9f62bbe3be6e01165722ea2dedf61aed286c07a7933cce5db522be69f542b1970c175bb07