Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Mike FABIAN
368bf4585b 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
2018-08-29 10:21:41 +02:00
3 changed files with 45 additions and 2 deletions

1
.gitignore vendored
View file

@ -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

View file

@ -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
@ -44,6 +50,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 || :
%files -f %{name}.lang
@ -53,6 +86,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
@ -63,6 +97,14 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdat
%{_datadir}/pkgconfig/%{name}.pc
%changelog
* Wed Aug 29 2018 Mike FABIAN <mfabian@redhat.com> - 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 <mfabian@redhat.com> - 1.9.20-1
- update to 1.9.20
- Draw InputMode text instead of icon into panel on non-Gnome desktops.

View file

@ -1 +1 @@
SHA512 (ibus-table-1.9.20.tar.gz) = 535008344a423a0c3afacf11206912cbc7b27b7a2724cc0f2dc944d0654a02f0b7d6eda397e95542a41b03fa675820531b12e2b0d8f2091ac6083d707a8ac285
SHA512 (ibus-table-1.9.21.tar.gz) = 354f7e8ece5c23b84251bd0d5ff06d7a368678ade25e340341ef9f85571b440c455d56660c743be97ff6776ff041c4da35079ce090955c5f87b8f3b587e35866