diff --git a/ibus.changes b/ibus.changes index 462d194..9669759 100644 --- a/ibus.changes +++ b/ibus.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 19 14:57:10 UTC 2020 - Fuminobu Takeyama + +- Split ibus-dict-emoji so that KDE Plasma can use IBus's emoji + dictionaries without IBus daemon (boo#1161584) + ------------------------------------------------------------------- Tue Feb 4 22:02:07 UTC 2020 - Bjørn Lie diff --git a/ibus.spec b/ibus.spec index eefe9f7..e92bdff 100644 --- a/ibus.spec +++ b/ibus.spec @@ -87,6 +87,9 @@ BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(vapigen) BuildRequires: pkgconfig(xkbcommon) +%if %{with_emoji} +Requires: %{name}-dict-emoji +%endif Requires: dconf Requires: iso-codes Requires: libibus-1_0-5 = %{version} @@ -136,6 +139,16 @@ Group: System/Libraries %description -n typelib-1_0-IBus-1_0 This package contains the introspection bindings for the IBus library. +%if %{with_emoji} +%package dict-emoji +Summary: Emoji dictionary for IBus +Group: System/I18n/Chinese +BuildArch: noarch + +%description dict-emoji +This package contains data of emoji dictionary for IBus and other applications +%endif + %package gtk Summary: IBus input method support for gtk2 applications Group: System/I18n/Chinese @@ -302,7 +315,13 @@ dconf update %{_bindir}/ibus-autostart %{_bindir}/ibus-daemon %{_bindir}/ibus-setup -%{_datadir}/ibus/ +%dir %{_datadir}/ibus +%{_datadir}/ibus/component +%dir %{_datadir}/ibus/dicts +%{_datadir}/ibus/dicts/unicode-*.dict +%{_datadir}/ibus/engine +%{_datadir}/ibus/keymaps +%{_datadir}/ibus/setup %{_datadir}/applications/org.freedesktop.IBus.Setup.desktop %{_datadir}/GConf/gsettings/ibus.convert %{_datadir}/glib-2.0/schemas/org.freedesktop.ibus.gschema.xml @@ -338,6 +357,13 @@ dconf update %files -n libibus-1_0-5 %{_libdir}/libibus-1.0.so.* +%if %{with_emoji} +%files dict-emoji + +%dir %{_datadir}/ibus/dicts +%{_datadir}/ibus/dicts/emoji-*.dict +%endif + %files -n typelib-1_0-IBus-1_0 %{_libdir}/girepository-1.0/IBus-1.0.typelib