Hello community,

here is the log from the commit of package gnome-shell for openSUSE:Factory 
checked in at 2016-08-17 12:00:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-shell (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-shell.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-shell"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-shell/gnome-shell.changes  2016-07-12 
23:50:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gnome-shell.new/gnome-shell.changes     
2016-08-17 12:00:21.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Aug 11 09:11:37 UTC 2016 - [email protected]
+
+- Add gnome-shell-disable-ibus-when-not-installed.patch: Disable
+  ibus when it not installed, especially out of CJK areas 
+  (bsc#987360).
+
+-------------------------------------------------------------------

New:
----
  gnome-shell-disable-ibus-when-not-installed.patch

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

Other differences:
------------------
++++++ gnome-shell.spec ++++++
--- /var/tmp/diff_new_pack.61IRXi/_old  2016-08-17 12:00:22.000000000 +0200
+++ /var/tmp/diff_new_pack.61IRXi/_new  2016-08-17 12:00:22.000000000 +0200
@@ -28,6 +28,8 @@
 Patch1:         gnome-shell-private-connection.patch
 # PATCH-FIX-UPSTREAM gnome-shell-background-free-MetaBackground.patch 
bgo#766353 [email protected] -- Free MetaBackground explicitly when its 
MetaBackgroundActor is destroyed
 Patch2:         gnome-shell-background-free-MetaBackground.patch
+# PATCH-FIX-OPENSUSE gnome-shell-disable-ibus-when-not-installed.patch 
bsc#987360 [email protected] -- disable ibus start when outof Chinese, Japanese, 
Korean area.
+Patch3:         gnome-shell-disable-ibus-when-not-installed.patch
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  gcc-c++
 BuildRequires:  intltool
@@ -149,6 +151,7 @@
 %setup -q
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 %if !0%{?is_opensuse}
 translation-update-upstream
 %endif

++++++ gnome-shell-disable-ibus-when-not-installed.patch ++++++
diff -Nura gnome-shell-3.20.3/js/misc/ibusManager.js 
gnome-shell-3.20.3_new/js/misc/ibusManager.js
--- gnome-shell-3.20.3/js/misc/ibusManager.js   2015-11-05 13:55:13.000000000 
+0000
+++ gnome-shell-3.20.3_new/js/misc/ibusManager.js       2016-08-10 
08:58:04.686046644 +0000
@@ -44,6 +44,10 @@
     _PRELOAD_ENGINES_DELAY_TIME: 30, // sec
 
     _init: function() {
+        let daemon = Gio.File.new_for_path('/usr/bin/ibus-daemon');
+        if (!daemon.query_exists(null))
+            return;
+
         if (!IBus)
             return;
 

Reply via email to