Hello community,

here is the log from the commit of package mate-tweak for openSUSE:Factory 
checked in at 2015-08-28 08:27:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-08-14 
14:46:42.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mate-tweak.new/mate-tweak.changes       
2015-08-28 08:27:54.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Aug 27 14:52:43 UTC 2015 - sor.ale...@meowr.ru
+
+- Update to 3.5.2:
+  * Fix Mutter support.
+  * Fix panel backup.
+
+-------------------------------------------------------------------

Old:
----
  mate-tweak-3.5.1.tar.gz

New:
----
  mate-tweak-3.5.2.tar.gz

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

Other differences:
------------------
++++++ mate-tweak.spec ++++++
--- /var/tmp/diff_new_pack.zJEH3K/_old  2015-08-28 08:27:54.000000000 +0200
+++ /var/tmp/diff_new_pack.zJEH3K/_new  2015-08-28 08:27:54.000000000 +0200
@@ -17,9 +17,9 @@
 
 
 %define _name   mate_tweak
-%define _rev    fafdfa89884e
+%define _rev    78307aaa6fc1
 Name:           mate-tweak
-Version:        3.5.1
+Version:        3.5.2
 Release:        0
 Summary:        MATE desktop tweak tool
 License:        GPL-2.0+

++++++ mate-tweak-3.5.1.tar.gz -> mate-tweak-3.5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ubuntu-mate-mate-tweak-fafdfa89884e/mate-tweak 
new/ubuntu-mate-mate-tweak-78307aaa6fc1/mate-tweak
--- old/ubuntu-mate-mate-tweak-fafdfa89884e/mate-tweak  2015-08-13 
13:28:49.000000000 +0200
+++ new/ubuntu-mate-mate-tweak-78307aaa6fc1/mate-tweak  2015-08-26 
00:46:54.000000000 +0200
@@ -32,7 +32,7 @@
 from configobj import ConfigObj
 from gi.repository import Gdk, GdkPixbuf, Gio, GObject, Gtk, Notify
 
-__VERSION__="3.5.1"
+__VERSION__="3.5.2"
 
 # i18n
 gettext.install("mate-tweak", "/usr/share/locale")
@@ -412,8 +412,10 @@
         if self.find_on_path('mutter') and self.find_on_path('glxinfo'):
             process = subprocess.Popen(['glxinfo'], stdout=subprocess.PIPE)
             out, err = process.communicate()
-            software_rasterizer = out.count("Software Rasterizer")
-            texture_from_pixmap = out.count("texture_from_pixmap")
+            decoded = out.decode('utf-8')
+
+            software_rasterizer = decoded.count("Software Rasterizer")
+            texture_from_pixmap = decoded.count("texture_from_pixmap")
             if software_rasterizer == 0 and texture_from_pixmap > 2:
                 return True
         return False
@@ -499,6 +501,10 @@
         if os.path.exists('usr/lib/linuxmint/mintMenu/mintMenu.py'):
             mint_menu_available = True
 
+        mageia_cc_available = False
+        if os.path.exists('/usr/share/applications/mageia-drakconf.desktop'):
+            mageia_cc_available = True
+
         gnome_menu_available = False
         if os.path.exists('/usr/lib/gnome-main-menu/main-menu'):
             gnome_menu_available = True
@@ -525,29 +531,35 @@
             current_layout = layout.replace('.layout', 
'').replace('/usr/share/mate-panel/layouts/', '');
             panels.append([_('Custom: ') + current_layout, current_layout])
 
+        if dock:
+            if self.panel_layout_exists('eleven'):
+                panels.append([_("Cupertino"), "eleven"])
+
+        if self.panel_layout_exists('fedora'):
+            panels.append([_("Fedora"), "fedora"])
+
         if self.panel_layout_exists('default'):
             panels.append([_("GNOME2"), "default"])
 
-        if self.panel_layout_exists('ubuntu-mate'):
-            panels.append([_("Ubuntu MATE"), "ubuntu-mate"])
+        if self.panel_layout_exists('linuxmint') and mint_menu_available:
+            panels.append([_("Linux Mint"), "linuxmint"])
 
-        if self.panel_layout_exists('redmond'):
-            panels.append([_("Redmond"), "redmond"])
+        if self.panel_layout_exists('mageia') and mageia_cc_available:
+            panels.append([_("Mageia"), "mageia"])
 
         if self.maximus_available():
             if self.panel_layout_exists('netbook'):
                 panels.append([_("Netbook"), "netbook"])
 
-        if dock:
-            if self.panel_layout_exists('eleven'):
-                panels.append([_("Cupertino"), "eleven"])
-
-        if self.panel_layout_exists('linuxmint') and mint_menu_available:
-            panels.append([_("Linux Mint"), "linuxmint"])
-
         if self.panel_layout_exists('opensuse') and gnome_menu_available:
             panels.append([_("openSUSE"), "opensuse"])
 
+        if self.panel_layout_exists('redmond'):
+            panels.append([_("Redmond"), "redmond"])
+
+        if self.panel_layout_exists('ubuntu-mate'):
+            panels.append([_("Ubuntu MATE"), "ubuntu-mate"])
+
         self.builder.get_object("combobox_panels").set_model(panels)
 
     def save_panels(self, widget):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ubuntu-mate-mate-tweak-fafdfa89884e/util/mate-panel-backup 
new/ubuntu-mate-mate-tweak-78307aaa6fc1/util/mate-panel-backup
--- old/ubuntu-mate-mate-tweak-fafdfa89884e/util/mate-panel-backup      
2015-08-13 13:28:49.000000000 +0200
+++ new/ubuntu-mate-mate-tweak-78307aaa6fc1/util/mate-panel-backup      
2015-08-26 00:46:54.000000000 +0200
@@ -28,8 +28,10 @@
 def dconf_dump(dconf_path, dump_filename):
     process = subprocess.Popen(['dconf', 'dump', dconf_path], 
stdout=subprocess.PIPE)
     out, err = process.communicate()
+    decoded = out.decode('utf-8')
+
     with open(os.path.join('/','tmp',dump_filename), 'w') as f:
-        f.writelines(out)
+        f.writelines(decoded)
 
 def panel_dump(filename):
     VALID = {'toplevel': ('expand', 'size', 'orientation'),
@@ -100,11 +102,11 @@
         layout.append("\n")
 
     #print(layout)
-    with open(os.path.join('/','tmp',filename + '-tweak.layout'), 'w') as f:
+    with open(os.path.join('/','tmp', filename + '-tweak.layout'), 'w') as f:
         f.writelines(layout)
 
     # Dump dconf panel
-    dconf_dump('/org/mate/panel/',filename + '-tweak.panel')
+    dconf_dump('/org/mate/panel/', filename + '-tweak.panel')
 
 
 if __name__ == '__main__':


Reply via email to