From 62037f0487c54000f9c56ce9098122531eb541cc Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 30 Apr 2018 14:20:24 +0200 Subject: [PATCH 1/3] update to 1.9.19 - Sync phrases cache from/to external storage (thanks to heiher). - Update translations from zanata (cs new) --- .gitignore | 1 + ibus-table.spec | 7 ++++++- sources | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 62b1938..57b8590 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,4 @@ ibus-table-1.3.0.20100621.tar.gz /ibus-table-1.9.16.tar.gz /ibus-table-1.9.17.tar.gz /ibus-table-1.9.18.tar.gz +/ibus-table-1.9.19.tar.gz diff --git a/ibus-table.spec b/ibus-table.spec index b59668e..cfa19f7 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -1,5 +1,5 @@ Name: ibus-table -Version: 1.9.18 +Version: 1.9.19 Release: 1%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ @@ -67,6 +67,11 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdat %{_datadir}/pkgconfig/%{name}.pc %changelog +* Mon Apr 30 2018 Mike FABIAN - 1.9.19-1 +- update to 1.9.19 +- Sync phrases cache from/to external storage (thanks to heiher). +- Update translations from zanata (cs new) + * Wed Aug 02 2017 Mike FABIAN - 1.9.18-1 - update to 1.9.18 - validate ibus-table.appdata.xml in %%check diff --git a/sources b/sources index 2069eed..3a9af70 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-table-1.9.18.tar.gz) = 3f28269be1987023402eb6075b8e68b3bbba3c572a94551d072281677fde5fa14f8f4186455f8f9156b252934580c7a3837555d0edb46c76f13c8b109e26aca2 +SHA512 (ibus-table-1.9.19.tar.gz) = 2bbc9b3332b7ff813314d524894ab15a8e273fed0f86c14cd73329c3dc273ed9af278804a49015ad2ff344051b94509d90449bb783b568efde77f3108ef12f74 From ecef299c047af30cbca726999e675ffbd9f89f46 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 3 May 2018 10:06:32 +0200 Subject: [PATCH 2/3] update to 1.9.20 - Draw InputMode text instead of icon into panel on non-Gnome desktops. Resolves: https://github.com/mike-fabian/ibus-table/issues/6 (Thanks to Takao Fujiwara) - Make it work with Python2 again --- .gitignore | 1 + ibus-table.spec | 9 ++++++++- sources | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 57b8590..6684cc8 100644 --- a/.gitignore +++ b/.gitignore @@ -51,3 +51,4 @@ ibus-table-1.3.0.20100621.tar.gz /ibus-table-1.9.17.tar.gz /ibus-table-1.9.18.tar.gz /ibus-table-1.9.19.tar.gz +/ibus-table-1.9.20.tar.gz diff --git a/ibus-table.spec b/ibus-table.spec index cfa19f7..c418922 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -1,5 +1,5 @@ Name: ibus-table -Version: 1.9.19 +Version: 1.9.20 Release: 1%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ @@ -67,6 +67,13 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdat %{_datadir}/pkgconfig/%{name}.pc %changelog +* Thu May 03 2018 Mike FABIAN - 1.9.20-1 +- update to 1.9.20 +- Draw InputMode text instead of icon into panel on non-Gnome desktops. + Resolves: https://github.com/mike-fabian/ibus-table/issues/6 + (Thanks to Takao Fujiwara) +- Make it work with Python2 again + * Mon Apr 30 2018 Mike FABIAN - 1.9.19-1 - update to 1.9.19 - Sync phrases cache from/to external storage (thanks to heiher). diff --git a/sources b/sources index 3a9af70..7c6a109 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-table-1.9.19.tar.gz) = 2bbc9b3332b7ff813314d524894ab15a8e273fed0f86c14cd73329c3dc273ed9af278804a49015ad2ff344051b94509d90449bb783b568efde77f3108ef12f74 +SHA512 (ibus-table-1.9.20.tar.gz) = 535008344a423a0c3afacf11206912cbc7b27b7a2724cc0f2dc944d0654a02f0b7d6eda397e95542a41b03fa675820531b12e2b0d8f2091ac6083d707a8ac285 From 96cdb41f017d7b894063ba2276737533212f8ad0 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 29 Aug 2018 09:49:43 +0200 Subject: [PATCH 3/3] update to 1.9.21 - Migrate IBusConfig to GSettings. Resolves: https://github.com/mike-fabian/ibus-table/issues/4 - Add a test suite - Add missing tags to ibus-table-createdb.sgml. Resolves: https://github.com/mike-fabian/ibus-table/issues/3 --- .gitignore | 1 + ibus-table.spec | 44 +++++++++++++++++++++++++++++++++++++++++++- sources | 2 +- 3 files changed, 45 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 6684cc8..374abf1 100644 --- a/.gitignore +++ b/.gitignore @@ -52,3 +52,4 @@ ibus-table-1.3.0.20100621.tar.gz /ibus-table-1.9.18.tar.gz /ibus-table-1.9.19.tar.gz /ibus-table-1.9.20.tar.gz +/ibus-table-1.9.21.tar.gz diff --git a/ibus-table.spec b/ibus-table.spec index c418922..7136c8f 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -1,5 +1,5 @@ Name: ibus-table -Version: 1.9.20 +Version: 1.9.21 Release: 1%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ @@ -11,6 +11,12 @@ Requires: python3 >= 3.3 BuildRequires: ibus-devel > 1.3.0 BuildRequires: python3-devel BuildRequires: libappstream-glib +BuildRequires: ibus-table-chinese-wubi-jidian +BuildRequires: ibus-table-chinese-cangjie +BuildRequires: ibus-table-chinese-stroke5 +BuildRequires: ibus-table-code +BuildRequires: ibus-table-latin +BuildRequires: ibus-table-translit Obsoletes: ibus-table-additional < 1.2.0.20100111-5 @@ -45,6 +51,33 @@ export PYTHON=%{__python3} %check appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml +desktop-file-validate \ + $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-table.desktop +pushd engine +# run doctests + python3 table.py + python3 it_util.py +popd +mkdir -p /tmp/glib-2.0/schemas/ +cp org.freedesktop.ibus.engine.table.gschema.xml \ + /tmp/glib-2.0/schemas/org.freedesktop.ibus.engine.table.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 /org/freedesktop/ibus/engine/table/wubi-jidian/chinesemode 1 +dconf write /org/freedesktop/ibus/engine/table/wubi-jidian/spacekeybehavior false +dconf dump / +ibus-daemon -drx +make check || cat ./tests/test-suite.log + +%post +[ -x %{_bindir}/ibus ] && \ + %{_bindir}/ibus write-cache --system &>/dev/null || : + +%postun +[ -x %{_bindir}/ibus ] && \ + %{_bindir}/ibus write-cache --system &>/dev/null || : %clean %__rm -rf $RPM_BUILD_ROOT @@ -57,6 +90,7 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdat %{_datadir}/metainfo/*.appdata.xml %{_datadir}/ibus/component/table.xml %{_datadir}/applications/ibus-setup-table.desktop +%{_datadir}/glib-2.0/schemas/org.freedesktop.ibus.engine.table.gschema.xml %{_bindir}/%{name}-createdb %{_libexecdir}/ibus-engine-table %{_libexecdir}/ibus-setup-table @@ -67,6 +101,14 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdat %{_datadir}/pkgconfig/%{name}.pc %changelog +* Wed Aug 29 2018 Mike FABIAN - 1.9.21-1 +- update to 1.9.21 +- Migrate IBusConfig to GSettings. + Resolves: https://github.com/mike-fabian/ibus-table/issues/4 +- Add a test suite +- Add missing tags to ibus-table-createdb.sgml. + Resolves: https://github.com/mike-fabian/ibus-table/issues/3 + * Thu May 03 2018 Mike FABIAN - 1.9.20-1 - update to 1.9.20 - Draw InputMode text instead of icon into panel on non-Gnome desktops. diff --git a/sources b/sources index 7c6a109..778f5e7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-table-1.9.20.tar.gz) = 535008344a423a0c3afacf11206912cbc7b27b7a2724cc0f2dc944d0654a02f0b7d6eda397e95542a41b03fa675820531b12e2b0d8f2091ac6083d707a8ac285 +SHA512 (ibus-table-1.9.21.tar.gz) = 354f7e8ece5c23b84251bd0d5ff06d7a368678ade25e340341ef9f85571b440c455d56660c743be97ff6776ff041c4da35079ce090955c5f87b8f3b587e35866