Hello community,

here is the log from the commit of package ibus for openSUSE:Factory checked in 
at 2014-10-11 19:26:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ibus (Old)
 and      /work/SRC/openSUSE:Factory/.ibus.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ibus"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ibus/ibus.changes        2014-09-10 
17:01:17.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ibus.new/ibus.changes   2014-10-11 
19:26:05.000000000 +0200
@@ -1,0 +2,10 @@
+Wed Oct  8 14:01:39 UTC 2014 - ft...@geeko.jp
+
+- Add im-engines-precede-xkb.patch
+  * allow users to use an IM engine without any operation
+- Update the launch script
+  * remove the obsolete part for SKIM (bnc#860486)
+  * do not set OOO_FORCE_DESKTOP=gnome
+    if libreoffice-gnome is not installed (bnc#899045)
+
+-------------------------------------------------------------------

New:
----
  im-engines-precede-xkb.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ibus.spec ++++++
--- /var/tmp/diff_new_pack.b0erks/_old  2014-10-11 19:26:06.000000000 +0200
+++ /var/tmp/diff_new_pack.b0erks/_new  2014-10-11 19:26:06.000000000 +0200
@@ -62,6 +62,9 @@
 Patch6:         ibus-vala-0.18.patch
 # PATCH-FIX-UPSTREAM marguer...@opensuse.org
 Patch7:         ibus-python3-migration.patch
+# PATCH-FIX-UPSTREAM ft...@geeko.jp
+# Select an IM engine at the first login
+Patch8:         im-engines-precede-xkb.patch
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  dbus-1-python-devel >= 0.83.0
 BuildRequires:  dconf-devel >= 0.7.5
@@ -232,6 +235,8 @@
 %patch7 -p1
 %endif
 
+%patch8 -p1
+
 cp -r %{SOURCE2} .
 cp -r %{SOURCE3} .
 

++++++ im-engines-precede-xkb.patch ++++++
commit 389d179c0b15664e23af2f26c17b3b5f316bc4e5
Author: Fuminobu TAKEYAMA <ft...@geeko.jp>
Date:   Tue Oct 7 20:23:42 2014 +0900

    make IM engines precede xkb engines so that users can input
    CJK letters without switching IMs at the first login

diff --git a/ui/gtk3/panel.vala b/ui/gtk3/panel.vala
index 76cea23..1ff56fb 100644
--- a/ui/gtk3/panel.vala
+++ b/ui/gtk3/panel.vala
@@ -411,10 +411,10 @@ class Panel : IBus.PanelService {
                 get_engines_from_locale(engines);
 
         string[] names = {};
-        foreach (unowned IBus.EngineDesc engine in xkb_engines)
-            names += engine.get_name();
         foreach (unowned IBus.EngineDesc engine in im_engines)
             names += engine.get_name();
+        foreach (unowned IBus.EngineDesc engine in xkb_engines)
+            names += engine.get_name();
 
         m_settings_general.set_strv("preload-engines", names);
     }
++++++ xim.d-ibus-121 ++++++
--- /var/tmp/diff_new_pack.b0erks/_old  2014-10-11 19:26:06.000000000 +0200
+++ /var/tmp/diff_new_pack.b0erks/_new  2014-10-11 19:26:06.000000000 +0200
@@ -1,9 +1,5 @@
-OLD_PATH=$PATH
-PATH=/usr/bin:/usr/X11R6/bin:/opt/kde3/bin:$PATH
-
 if ! type -p ibus-daemon > /dev/null 2>&1 ; then
     echo "ibus is not available."
-    PATH=$OLD_PATH
     return 1
 fi
 
@@ -11,22 +7,6 @@
     #when skim installed, Autostart must be "false".
     #here we move $HOME/.kde/share/config/skimrc to skimrc.orig.ibus
     *kde*)
-        if type -p skim > /dev/null 2>&1 \
-          && ! grep -i -q "^[[:space:]]*Autostart.*=.*false" 
$HOME/.kde/share/config/skimrc
-        then
-            if [ -f $HOME/.kde/share/config/skimrc.orig.ibus ] ; then
-               mv -f $HOME/.kde/share/config/skimrc 
$HOME/.kde/share/config/skimrc.orig.ibus
-               chmod 777 $HOME/.kde/share/config/skimrc.orig.ibus
-            fi
-        cat > $HOME/.kde/share/config/skimrc << __END
-[General]
-Autostart=false
-__END
-        chmod 777 $HOME/.kde/share/config/skimrc
-        else
-        # do nothing
-       :
-        fi
     ;;
     # 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
@@ -56,11 +36,16 @@
 esac
 
 # Force OOo to use gtk-immodule
-# Better way to fix cursor following problem (on_the_spot bug) under 
libreoffice-kde4
-export OOO_FORCE_DESKTOP=gnome
-
-# Determine the LC_CTYPE locale category setting
-#tmplang=${LC_ALL-${LC_CTYPE-${LANG-en_US}}}
+# Only libreoffice-gnome supports IM module
+# To fix cursor following problem (on_the_spot), do not use libreoffice-kde4
+if [ -e /usr/lib64/libreoffice/program/libvclplug_gtklo.so ] ||
+   [ -e /usr/lib/libreoffice/program/libvclplug_gtklo.so ] ||
+   [ -e /usr/lib64/libreoffice/program/libvclplug_gtk3lo.so ] ||
+   [ -e /usr/lib/libreoffice/program/libvclplug_gtk3lo.so ]; then
+    export OOO_FORCE_DESKTOP=gnome
+else
+    echo "libreoffice-gnome is not found. For better IBus support, please 
install libreoffice-gnome"
+fi
 
 export LC_CTYPE=$LANG
 export XMODIFIERS="@im=ibus" 
@@ -78,7 +63,5 @@
 
 ibus-daemon --xim -d
 
-PATH=$OLD_PATH
-
 # success:
 return 0

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to