Stephan Kulow 2014-09-03 06:30:08 +00:00 committed by Git OBS Bridge
commit 8a79482d18
3 changed files with 28 additions and 5 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Aug 26 08:15:16 UTC 2014 - fcrozat@suse.com
- Do not only requires typelib-1_0-Gtk-3_0 when building with
python3.
-------------------------------------------------------------------
Fri Aug 22 12:49:54 UTC 2014 - fcrozat@suse.com
- Update ibus xim script to properly detect GNOME 3.12+ and to use
ibus default configuration on first startup of GNOME (bnc#862589
internal), with help from Takashi Iwai.
-------------------------------------------------------------------
Mon Aug 11 15:03:41 CEST 2014 - fcrozat@suse.com

View File

@ -98,12 +98,10 @@ Requires: dbus-1-python
Requires: dconf
Requires: iso-codes
Requires: libibus-1_0-5 = %{version}
%if %{with_python3}
# ibus-setup will require typelib(Gdk) typelib(GdkX11), typelib(Gtk)
# which are provided by two packages in openSUSE, so we limit their
# ibus-setup will require typelib(Gdk) typelib(GdkX11), typelib(Gtk)
# which are provided by two packages in openSUSE, so we limit their
# versions to 3.0 only.
Requires: typelib-1_0-Gtk-3_0
%endif
Recommends: %{name}-lang
#Fix cursor following problem in KDE4 for libreoffice.

View File

@ -31,7 +31,19 @@ __END
# GNOME 3 Settings Daemon keyboard plugin manages all ibus settings itself,
# so don't do manual setup&startup of ibus otherwise it would conflict with
# G-S-D. see bnc#873016.
*gnome-session*)
*gnome*)
SOURCES=$(gsettings get org.freedesktop.ibus.general preload-engines)
if [ "$SOURCES" == '@as []' ]; then
echo "initial GNOME startup, ibus default configuration applied"
ibus-daemon -d
timer=5
while [ "$SOURCES" == '@as []' ] && [ ${timer} -gt 0 ]; do
sleep 1
timer=$[${timer}-1]
SOURCES=$(gsettings get org.freedesktop.ibus.general preload-engines)
done
ibus exit
fi
# make sure G-S-D keyboard plugin is active
echo "ibus will be managed by GNOME."
gsettings set org.gnome.settings-daemon.plugins.keyboard active true