Yuchen Lin 2020-05-26 15:19:26 +00:00 committed by Git OBS Bridge
commit 1223f96f5d
4 changed files with 45 additions and 9 deletions

View File

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

View File

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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed May 20 17:20:29 UTC 2020 - maiku.fabian@gmail.com
- Update to 2.9.0
- Translation updates from Weblate for de, ja, pl, tr, uk, zh_CN
- Update ibus-typing-booster.pot (Some new translatable strings, tooltips for 2 new buttons)
- Improve matching of keybindings, consider IBus.ModifierType.MODIFIER_MASK
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/94)
- Show the list of dictionaries in the setup tool only if it is more than just ['None']
- If a real dictionary is added in the setup tool, remove dummy dictionary 'None'.
- Add black flag for the special dummy dictionary 'None'
- Add doctests to check that the special dictionary 'None' is handled correctly
- When the list of imes or dictionaries is emptied by the user, set it to 'NoIME' or 'None'
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/98)
- Add "Set to default" buttons for the list of input methods and dictionaries
- Remove the special candidate which is shown when a dictionary is missing
-------------------------------------------------------------------
Sun May 03 18:45:10 UTC 2020 - maiku.fabian@gmail.com

View File

@ -15,7 +15,7 @@
#
Name: ibus-typing-booster
Version: 2.8.3
Version: 2.9.0
Release: 0
Summary: An input completion utility
License: GPL-3.0+
@ -152,11 +152,30 @@ dconf write /org/freedesktop/ibus/engine/typing-booster/keybindings "{'next_inpu
dconf dump /
export DISPLAY=:1
Xvfb $DISPLAY -screen 0 1024x768x16 &
sleep 1
make -C tests run_tests
pushd tests
./run_tests
popd
# A window manager and and ibus-daemon are needed to run the GUI
# test tests/test_gtk.py, for example i3 can be used.
#
# To debug what is going on if there is a problem with the GUI test
# add BuildRequires: x11vnc and start a vnc server:
#
# x11vnc -display $DISPLAY -unixsock /tmp/mysock -bg -nopw -listen localhost -xkb
#
# Then one can view what is going on outside of the chroot with vncviewer:
#
# vncviewer /var/lib/mock/fedora-32-x86_64/root/tmp/mysock
#
# The GUI test will be skipped if XDG_SESSION_TYPE is not x11 or wayland.
#
#ibus-daemon -drx
#touch /tmp/i3config
#i3 -c /tmp/i3config &
#export XDG_SESSION_TYPE=x11
make check && rc=0 || rc=1
cat tests/*.log
if [ $rc != 0 ] ; then
exit $rc
fi
%post
[ -x %{_bindir}/ibus ] && \