Update to 2.27.3
OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-typing-booster?expand=0&rev=305
This commit is contained in:
commit
e2e1741967
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
ibus-typing-booster-2.25.11.tar.gz
Normal file
3
ibus-typing-booster-2.25.11.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4ffe0852ad87e01f29662702d2bc074e016ebc59cbca14f2fcaa6e02f61b2e18
|
||||
size 13239747
|
3
ibus-typing-booster-2.25.13.tar.gz
Normal file
3
ibus-typing-booster-2.25.13.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e807c4f50d155332cf96c24fa12087de1d7728cd17b1dd9dd53b2624347a7cf0
|
||||
size 13254481
|
3
ibus-typing-booster-2.25.14.tar.gz
Normal file
3
ibus-typing-booster-2.25.14.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:65eb7ae7eae1d59e3c4b98b2eaddd1e22b77a994bf00125c7303089148e51f28
|
||||
size 13450399
|
3
ibus-typing-booster-2.25.15.tar.gz
Normal file
3
ibus-typing-booster-2.25.15.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4d421471072bfbef847c56a3006e8ec86830b145d28b4a56d3283294930181fe
|
||||
size 13237545
|
3
ibus-typing-booster-2.25.16.tar.gz
Normal file
3
ibus-typing-booster-2.25.16.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ef34612898e73052935638226cbf8f2f48af7edc793213d6669d5880a1a6128d
|
||||
size 13251543
|
3
ibus-typing-booster-2.25.17.tar.gz
Normal file
3
ibus-typing-booster-2.25.17.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:36e664176ed685833760d6e0f37808f3ff9e18bd466ead1833be80367d51cf2c
|
||||
size 13288032
|
3
ibus-typing-booster-2.25.19.tar.gz
Normal file
3
ibus-typing-booster-2.25.19.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:722587fa45c53a01028f228352264252f720909c9986b4e80199518100491e02
|
||||
size 13308002
|
3
ibus-typing-booster-2.26.0.tar.gz
Normal file
3
ibus-typing-booster-2.26.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c85571f97af6779f2de78cc76b49d565c89da5f0874d578fbfded2e9108b855c
|
||||
size 13329617
|
3
ibus-typing-booster-2.26.11.tar.gz
Normal file
3
ibus-typing-booster-2.26.11.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:93f96772eb441d8a6ca4ead481c44c38f358d529241456c1819a004438f5f770
|
||||
size 13334659
|
3
ibus-typing-booster-2.26.12.tar.gz
Normal file
3
ibus-typing-booster-2.26.12.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fda4b581fab13db465a5bbcf44fc1d8508cfd8ec374cc6a994a042768767695b
|
||||
size 13338557
|
3
ibus-typing-booster-2.26.6.tar.gz
Normal file
3
ibus-typing-booster-2.26.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0bfaae6a97eb06bb4e6d487630c6cfb3fe9c3b01919bc791d545991f237b07ef
|
||||
size 13330280
|
3
ibus-typing-booster-2.27.1.tar.gz
Normal file
3
ibus-typing-booster-2.27.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7cb52aaa1c9ca72ea10ba1cb5b4c4b2524c0098a8ecb4118f4bd57b5ec435c44
|
||||
size 13410885
|
3
ibus-typing-booster-2.27.2.tar.gz
Normal file
3
ibus-typing-booster-2.27.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c0679cb9566813349a7fcfb0d4d4a3c36f65ce5f0fa74cc039dafc194bcf247f
|
||||
size 13416584
|
3
ibus-typing-booster-2.27.3.tar.gz
Normal file
3
ibus-typing-booster-2.27.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0176eb3cb308e1adfc45673c85cd9e78904d9bd56923284f4dbaf091f6fb673a
|
||||
size 13435440
|
2243
ibus-typing-booster.changes
Normal file
2243
ibus-typing-booster.changes
Normal file
File diff suppressed because it is too large
Load Diff
215
ibus-typing-booster.spec
Normal file
215
ibus-typing-booster.spec
Normal file
@ -0,0 +1,215 @@
|
||||
#
|
||||
# spec file for package ibus-typing-booster
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: ibus-typing-booster
|
||||
Version: 2.27.3
|
||||
Release: 0
|
||||
Summary: An input completion utility
|
||||
License: GPL-3.0-or-later
|
||||
Group: System/X11/Utilities
|
||||
URL: https://mike-fabian.github.io/ibus-typing-booster/
|
||||
Source0: https://github.com/mike-fabian/ibus-typing-booster/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: https://releases.pagure.org/inscript2/inscript2-20210820.tar.gz
|
||||
BuildRequires: AppStream
|
||||
BuildRequires: appstream-glib
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: glib2
|
||||
BuildRequires: glibc-locale
|
||||
BuildRequires: gtk3
|
||||
BuildRequires: ibus-devel
|
||||
BuildRequires: m17n-db
|
||||
# for the unit tests
|
||||
BuildRequires: m17n-lib
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-gobject
|
||||
BuildRequires: python3-gobject-Gdk
|
||||
# Because of “from packing import version”:
|
||||
BuildRequires: python3-packaging
|
||||
BuildRequires: python3-pyenchant
|
||||
# To avoid requiring Python >= 3.8
|
||||
BuildRequires: python3-typing_extensions
|
||||
BuildRequires: update-desktop-files
|
||||
Requires: dbus-1-python3
|
||||
# Workaround bug with python3-enchant: https://bugzilla.opensuse.org/show_bug.cgi?id=1141993
|
||||
Requires: enchant-1-backend
|
||||
#
|
||||
Requires: ibus >= 1.5.3
|
||||
Requires: m17n-lib
|
||||
Requires: python3 >= 3.6
|
||||
Requires: python3-distro
|
||||
# Because of “from packing import version”:
|
||||
Requires: python3-packaging
|
||||
Requires: python3-pyenchant
|
||||
Requires: python3-pyxdg
|
||||
Recommends: gdouros-symbola-fonts
|
||||
# Recommend reasonably good fonts which have most of the emoji:
|
||||
Recommends: noto-coloremoji-fonts
|
||||
# For speech recognition:
|
||||
Recommends: python3-PyAudio
|
||||
# To make the setup tool look nicer and the search for dictionaries and imes better:
|
||||
Recommends: python3-langtable
|
||||
# Better regexpressions (optional):
|
||||
Recommends: python3-regex
|
||||
# To play a sound on error:
|
||||
Recommends: python3-simpleaudio
|
||||
%if 0%{?sle_version} >= 120200
|
||||
BuildRequires: python3-pyxdg
|
||||
%endif
|
||||
%if 0%{?suse_version} == 1320
|
||||
BuildRequires: myspell-de
|
||||
BuildRequires: myspell-en
|
||||
BuildRequires: myspell-es
|
||||
BuildRequires: myspell-it_IT
|
||||
%else
|
||||
BuildRequires: myspell-de
|
||||
BuildRequires: myspell-de_DE
|
||||
BuildRequires: myspell-en
|
||||
BuildRequires: myspell-en_US
|
||||
BuildRequires: myspell-es
|
||||
BuildRequires: myspell-es_ES
|
||||
BuildRequires: myspell-fr_FR
|
||||
BuildRequires: myspell-it_IT
|
||||
%endif
|
||||
|
||||
%description
|
||||
Ibus-typing-booster is a context sensitive completion
|
||||
input method to speedup typing.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%if 0%{?suse_version} < 1550
|
||||
##extract inscript2 maps
|
||||
tar xzf %{SOURCE1}
|
||||
%endif
|
||||
|
||||
%build
|
||||
export PYTHON=%{_bindir}/python3
|
||||
%configure --disable-static --libexecdir=%{_ibus_libexecdir}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
export PYTHON=%{_bindir}/python3
|
||||
make install DESTDIR=%{buildroot} NO_INDEX=true
|
||||
gzip -n --force --best %{buildroot}/%{_datadir}/%{name}/data/*.{txt,json} \
|
||||
%{buildroot}/%{_datadir}/%{name}/data/annotations/*.xml \
|
||||
%{buildroot}/%{_datadir}/%{name}/data/annotationsDerived/*.xml
|
||||
|
||||
%if 0%{?suse_version} < 1550
|
||||
#install inscript2 keymaps
|
||||
test -d %{buildroot}%{_datadir}/m17n/icons || mkdir -p %{buildroot}%{_datadir}/m17n/icons
|
||||
cp -p inscript2/IM/* %{buildroot}%{_datadir}/m17n/
|
||||
cp -p inscript2/icons/* %{buildroot}%{_datadir}/m17n/icons
|
||||
%endif
|
||||
|
||||
%suse_update_desktop_file -i -u emoji-picker GTK Utility
|
||||
|
||||
%fdupes %{buildroot}/%{_prefix}
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%check
|
||||
export LC_ALL=en_US.UTF-8
|
||||
export M17NDIR=%{buildroot}%{_datadir}/m17n/
|
||||
%if 0%{?suse_version} > 1520
|
||||
#AS_VALIDATE_NONET=1 appstreamcli validate --pedantic --no-net %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
|
||||
%endif
|
||||
desktop-file-validate \
|
||||
%{buildroot}%{_datadir}/applications/ibus-setup-typing-booster.desktop
|
||||
desktop-file-validate \
|
||||
%{buildroot}%{_datadir}/applications/emoji-picker.desktop
|
||||
pushd engine
|
||||
# run doctests
|
||||
# hunspell_suggest.py test currently doesn't work on SuSE because
|
||||
# the en_US dictionary changed apparently:
|
||||
# python3 hunspell_suggest.py -v
|
||||
if [ -e /usr/share/m17n/si-wijesekara.mim ] ; then
|
||||
python3 m17n_translit.py -v
|
||||
else
|
||||
echo "/usr/share/m17n/si-wijesekara.mim does not exist, m17n-db probably < 1.8.6, skipping doctest of m17n_translit.py"
|
||||
fi
|
||||
python3 itb_emoji.py -v
|
||||
python3 itb_util.py -v
|
||||
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 || :
|
||||
|
||||
eval $(dbus-launch --sh-syntax)
|
||||
dconf dump /
|
||||
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/addspaceoncommit 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 write /org/freedesktop/ibus/engine/typing-booster/inlinecompletion false
|
||||
dconf write /org/freedesktop/ibus/engine/typing-booster/keybindings "{'next_input_method': <['Control+Down', 'Control+KP_Down']>, 'previous_input_method': <['Control+Up', 'Control+KP_Up']>, 'lookup_related': <['Mod5+F12']>, 'enable_lookup': <['Tab', 'ISO_Left_Tab', 'KP_Divide']>, 'select_next_candidate': <['Tab', 'ISO_Left_Tab', 'Down', 'KP_Down']>, 'lookup_table_page_down': <['Page_Down', 'KP_Page_Down', 'KP_Next']>, 'toggle_emoji_prediction': <['Mod5+F6']>, 'lookup_table_page_up': <['Page_Up', 'KP_Page_Up', 'KP_Prior']>, 'toggle_off_the_record': <['Mod5+F9']>, 'cancel': <['Escape']>, 'setup': <['Mod5+F10']>, 'select_previous_candidate': <['Shift+Tab', 'Shift+ISO_Left_Tab', 'Up', 'KP_Up']>}"
|
||||
dconf dump /
|
||||
|
||||
make check && rc=0 || rc=1
|
||||
cat tests/*.log
|
||||
if [ $rc != 0 ] ; then
|
||||
exit $rc
|
||||
fi
|
||||
|
||||
%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
|
||||
%license COPYING
|
||||
%doc AUTHORS README README.html README.md
|
||||
%{_bindir}/emoji-picker
|
||||
%{_datadir}/%{name}
|
||||
%dir %{_datadir}/metainfo
|
||||
%{_datadir}/metainfo/*.appdata.xml
|
||||
%{_datadir}/ibus/component/typing-booster.xml
|
||||
%{_datadir}/icons/hicolor/16x16/apps/ibus-typing-booster.png
|
||||
%{_datadir}/icons/hicolor/22x22/apps/ibus-typing-booster.png
|
||||
%{_datadir}/icons/hicolor/32x32/apps/ibus-typing-booster.png
|
||||
%{_datadir}/icons/hicolor/48x48/apps/ibus-typing-booster.png
|
||||
%{_datadir}/icons/hicolor/64x64/apps/ibus-typing-booster.png
|
||||
%{_datadir}/icons/hicolor/128x128/apps/ibus-typing-booster.png
|
||||
%{_datadir}/icons/hicolor/256x256/apps/ibus-typing-booster.png
|
||||
%{_datadir}/icons/hicolor/scalable/apps/ibus-typing-booster.svg
|
||||
%{_ibus_libexecdir}/ibus-engine-typing-booster
|
||||
%{_ibus_libexecdir}/ibus-setup-typing-booster
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/glib-2.0/schemas/org.freedesktop.ibus.engine.typing-booster.gschema.xml
|
||||
%if 0%{?suse_version} < 1550
|
||||
%dir %{_datadir}/m17n
|
||||
%{_datadir}/m17n/*.mim
|
||||
%dir %{_datadir}/m17n/icons
|
||||
%{_datadir}/m17n/icons/*.png
|
||||
%endif
|
||||
|
||||
%changelog
|
3
inscript2-20210820.tar.gz
Normal file
3
inscript2-20210820.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:655196a4d2d37fa91f2f53aee642b744d5640c768e6a4a0ebd24958c7813b4d3
|
||||
size 37294
|
Loading…
Reference in New Issue
Block a user