diff --git a/ibus-typing-booster-2.1.0.tar.gz b/ibus-typing-booster-2.1.0.tar.gz deleted file mode 100644 index a77c3b7..0000000 --- a/ibus-typing-booster-2.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9da55c1a43d7dff3b83e523d96ece2c76ad98c017c4440e664e65b60d67e0a68 -size 6054311 diff --git a/ibus-typing-booster-2.1.1.tar.gz b/ibus-typing-booster-2.1.1.tar.gz new file mode 100644 index 0000000..68507e0 --- /dev/null +++ b/ibus-typing-booster-2.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:488a25ada95585f728289226209dc8d2fbd95af6a19888f4a0d5afbf0e1498df +size 6185976 diff --git a/ibus-typing-booster.changes b/ibus-typing-booster.changes index 03bc0b5..4a81c51 100644 --- a/ibus-typing-booster.changes +++ b/ibus-typing-booster.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Sep 05 15:33:32 UTC 2018 - maiku.fabian@gmail.com + +- Add appstream-glib and glib2 to BuildRequires (to run the tests + in the check section of the spec file) +- validate the appdata.xml and desktop files in the check section + of the spec file. + +------------------------------------------------------------------- +Wed Sep 05 13:23:19 UTC 2018 - maiku.fabian@gmail.com + +- Update to 2.1.1 +- Update translations from zanata (es updated, 100% complete now) + ------------------------------------------------------------------- Tue Jul 24 14:22:59 UTC 2018 - maiku.fabian@gmail.com diff --git a/ibus-typing-booster.spec b/ibus-typing-booster.spec index 7ad0b8a..03c1ecb 100644 --- a/ibus-typing-booster.spec +++ b/ibus-typing-booster.spec @@ -15,7 +15,7 @@ # Name: ibus-typing-booster -Version: 2.1.0 +Version: 2.1.1 Release: 0 Summary: An input completion utility License: GPL-3.0+ @@ -35,6 +35,8 @@ BuildRequires: update-desktop-files BuildRequires: m17n-lib BuildRequires: m17n-db BuildRequires: python3-pyenchant +BuildRequires: appstream-glib +BuildRequires: glib2 %if 0%{?sle_version} >= 120200 BuildRequires: python3-pyxdg %endif @@ -102,8 +104,11 @@ cp -p inscript2/icons/* %{buildroot}%{_datadir}/m17n/icons %check export LC_ALL=en_US.UTF-8 export M17NDIR=%{buildroot}%{_datadir}/m17n/ +appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml desktop-file-validate \ %{buildroot}%{_datadir}/applications/ibus-setup-typing-booster.desktop +desktop-file-validate \ + $RPM_BUILD_ROOT%{_datadir}/applications/emoji-picker.desktop pushd engine # run doctests python3 hunspell_suggest.py @@ -111,20 +116,25 @@ pushd engine 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 +glib-compile-schemas /tmp/glib-2.0/schemas #&>/dev/null || : +export XDG_DATA_DIRS=/tmp eval $(dbus-launch --sh-syntax) dconf dump / -dconf write /desktop/ibus/engine/typing-booster/offtherecord false -dconf write /desktop/ibus/engine/typing-booster/usedigitsasselectkeys true -dconf write /desktop/ibus/engine/typing-booster/tabenable false -dconf write /desktop/ibus/engine/typing-booster/inputmethod "'NoIme'" -dconf write /desktop/ibus/engine/typing-booster/rememberlastusedpreeditime true -dconf write /desktop/ibus/engine/typing-booster/mincharcomplete 1 -dconf write /desktop/ibus/engine/typing-booster/dictionary "'en_US'" -dconf write /desktop/ibus/engine/typing-booster/emojipredictions true -dconf write /desktop/ibus/engine/typing-booster/autocommitcharacters "''" -dconf write /desktop/ibus/engine/typing-booster/pagesize 6 -dconf write /desktop/ibus/engine/typing-booster/shownumberofcandidates true -dconf write /desktop/ibus/engine/typing-booster/showstatusinfoinaux true +dconf write /org/freedesktop/ibus/engine/typing-booster/offtherecord false +dconf write /org/freedesktop/ibus/engine/typing-booster/usedigitsasselectkeys true +dconf write /org/freedesktop/ibus/engine/typing-booster/tabenable false +dconf write /org/freedesktop/ibus/engine/typing-booster/inputmethod "'NoIme'" +dconf write /org/freedesktop/ibus/engine/typing-booster/rememberlastusedpreeditime true +dconf write /org/freedesktop/ibus/engine/typing-booster/mincharcomplete 1 +dconf write /org/freedesktop/ibus/engine/typing-booster/dictionary "'en_US'" +dconf write /org/freedesktop/ibus/engine/typing-booster/emojipredictions true +dconf write /org/freedesktop/ibus/engine/typing-booster/autocommitcharacters "''" +dconf write /org/freedesktop/ibus/engine/typing-booster/pagesize 6 +dconf write /org/freedesktop/ibus/engine/typing-booster/shownumberofcandidates true +dconf write /org/freedesktop/ibus/engine/typing-booster/showstatusinfoinaux true dconf dump / ibus-daemon -drx make check || cat ./tests/test-suite.log