Hello community,

here is the log from the commit of package mate-tweak for openSUSE:Factory 
checked in at 2016-01-12 16:14:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mate-tweak (Old)
 and      /work/SRC/openSUSE:Factory/.mate-tweak.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mate-tweak"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mate-tweak/mate-tweak.changes    2015-12-16 
17:44:54.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.mate-tweak.new/mate-tweak.changes       
2016-01-12 16:14:03.000000000 +0100
@@ -1,0 +2,7 @@
+Mon Jan 11 15:30:48 UTC 2016 - sor.ale...@meowr.ru
+
+- Add missing python3-gobject and mate-panel dependencies.
+- Add mate-tweak-no-dock-lacking-warnings.patch: do not show Python
+  warnings if no dock is present.
+
+-------------------------------------------------------------------
@@ -4 +11 @@
-- Update to 3.5.3.
+- Update to 3.5.3 (boo#959025).

New:
----
  mate-tweak-no-dock-lacking-warnings.patch

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

Other differences:
------------------
++++++ mate-tweak.spec ++++++
--- /var/tmp/diff_new_pack.rkO7mf/_old  2016-01-12 16:14:04.000000000 +0100
+++ /var/tmp/diff_new_pack.rkO7mf/_new  2016-01-12 16:14:04.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mate-tweak
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,8 @@
 Source:         
https://bitbucket.org/ubuntu-mate/%{name}/get/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE mate-tweak-use-matemenu.patch sor.ale...@meowr.ru -- 
Layouts are patched to use mate-menu instead of mintMenu or gnome-main-menu.
 Patch0:         %{name}-use-matemenu.patch
+# PATCH-FIX-UPSTREAM mate-tweak-no-dock-lacking-warnings.patch 
sor.ale...@meowr.ru -- Do not show Python warnings if no dock is present.
+Patch1:         %{name}-no-dock-lacking-warnings.patch
 BuildRequires:  fdupes
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  intltool
@@ -37,7 +39,9 @@
 BuildRequires:  update-desktop-files
 Requires:       Mesa-demo-x
 Requires:       dconf
+Requires:       mate-panel
 Requires:       python3-configobj
+Requires:       python3-gobject
 # For privilege granting.
 Requires:       xdg-utils
 Recommends:     %{name}-lang
@@ -45,7 +49,7 @@
 
 %description
 Configures some aspects of the MATE desktop not exposed via the
-MATE Control Center applets.
+MATE Control Centre applets.
 
 Settings that can be handled via MATE Tweak:
  * Show/hide standard desktop icons.
@@ -58,6 +62,7 @@
 %prep
 %setup -q -n ubuntu-mate-%{name}-%{_rev}
 %patch0 -p1
+%patch1 -p1
 # Make the world a bit simpler.
 sed -i "s/'pkexec', '/'xdg-su', '-c /g" %{name}
 sed -i '/polkit/d' setup.py

++++++ mate-tweak-no-dock-lacking-warnings.patch ++++++
--- a/mate-tweak
+++ b/mate-tweak
@@ -276,7 +276,8 @@ class MateTweak:
         subprocess.Popen([self.dock], stdout=DEVNULL, stderr=DEVNULL)
 
     def kill_dock(self):
-        subprocess.call(['killall', self.dock], stdout=DEVNULL, stderr=DEVNULL)
+        if self.dock is not None:
+            subprocess.call(['killall', self.dock], stdout=DEVNULL, 
stderr=DEVNULL)
 
     def enable_dock(self):
         config_dir = GLib.get_user_config_dir()
@@ -302,7 +303,7 @@ class MateTweak:
 
     def disable_dock(self):
         config_dir = GLib.get_user_config_dir()
-        if os.path.exists(os.path.join(config_dir, 'autostart/') + self.dock + 
'.desktop'):
+        if self.dock is not None and os.path.exists(os.path.join(config_dir, 
'autostart/') + self.dock + '.desktop'):
             os.remove(os.path.join(config_dir, 'autostart/') + self.dock + 
'.desktop')
         self.kill_dock()
         self.dock_enabled = False

Reply via email to