Takashi Iwai
ced48654c0
Update ibus.spec file, copy auto-start files to SOURCE directory to enable modifications before compile. Add ibus-disable-engines-preload-in-GNOME.patch, Disable load preload-engines actions in SLE, which is unnecessary for mono IMF in SLE and may cause CJK user login failed (bsc#1036729). OBS-URL: https://build.opensuse.org/request/show/501092 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=164
22 lines
937 B
Diff
22 lines
937 B
Diff
diff -Nura ibus-1.5.16/xim.d-ibus-121 ibus-1.5.16_new/xim.d-ibus-121
|
|
--- ibus-1.5.16/xim.d-ibus-121 2017-06-05 14:38:10.728021247 +0800
|
|
+++ ibus-1.5.16_new/xim.d-ibus-121 2017-06-05 14:40:44.380353362 +0800
|
|
@@ -13,17 +13,6 @@
|
|
# G-S-D. see bnc#873016.
|
|
*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
|