Hello community,

here is the log from the commit of package mate-menu for openSUSE:Factory 
checked in at 2017-03-20 17:11:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mate-menu (Old)
 and      /work/SRC/openSUSE:Factory/.mate-menu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mate-menu"

Mon Mar 20 17:11:52 2017 rev:9 rq:481132 version:17.04.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/mate-menu/mate-menu.changes      2016-05-17 
17:15:11.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mate-menu.new/mate-menu.changes 2017-03-20 
17:11:54.529994656 +0100
@@ -1,0 +2,36 @@
+Sun Mar 19 11:03:41 UTC 2017 - [email protected]
+
+- Update to version 17.04.2 (changes since 16.10.1):
+  * Enforce the /usr prefix: code relies on it.
+  * Build bytecode for scripts in /usr/lib/mate-menu/.
+  * Replace galculator with mate-calc.
+  * Try MenuLibre and fallback to Mozo.
+  * Update translations.
+
+-------------------------------------------------------------------
+Wed Jun  8 12:08:34 UTC 2016 - [email protected]
+
+- Update to version 16.10.1:
+  * Fix application popup menu.
+  * Don't make huge separators in search suggestions.
+  * Use a displayable icon for applet selector.
+  * Make mate-menu aware of $XDG_CONFIG_HOME.
+  * Have a system colour for the border.
+  * Have more fallbacks for Terminal.
+  * Add GNOME Software as a Package Manager option.
+  * Sort available themes in Menu preferences->Theme.
+  * Refresh the applications on icon-theme-changed.
+- Remove 0001-xterm-no-symlink-dep.patch: fixed upstream.
+- Rebase and rename 0002-yast2-software.patch to
+  mate-menu-yast2-software.patch.
+
+-------------------------------------------------------------------
+Wed Jun  8 12:08:34 UTC 2016 - [email protected]
+
+- Update to version 16.10.0:
+  * Port to Gtk3.
+  * Don't crash if there's no PM to show.
+  * Drop a broken "add to startup" feature.
+- Rebase 0001-xterm-no-symlink-dep.patch, 0002-yast2-software.patch.
+
+-------------------------------------------------------------------

Old:
----
  0001-xterm-no-symlink-dep.patch
  0002-yast2-software.patch
  mate-menu-5.7.1.tar.gz

New:
----
  mate-menu-yast2-software.patch
  mate-menu_17.04.2.orig.tar.gz

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

Other differences:
------------------
++++++ mate-menu.spec ++++++
--- /var/tmp/diff_new_pack.FfHArJ/_old  2017-03-20 17:11:55.205899219 +0100
+++ /var/tmp/diff_new_pack.FfHArJ/_new  2017-03-20 17:11:55.209898654 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mate-menu
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -17,19 +17,17 @@
 
 
 %define _name   mate_menu
-%define _rev    6b637f9272b2
+%define _rev    f13d0b5158b8
 Name:           mate-menu
-Version:        5.7.1
+Version:        17.04.2
 Release:        0
 Summary:        Advanced MATE menu
 License:        GPL-2.0+
 Group:          System/GUI/Other
 Url:            https://bitbucket.org/ubuntu-mate/mate-menu
-Source:         
https://bitbucket.org/ubuntu-mate/%{name}/get/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# PATCH-FIX-OPENSUSE 0001-xterm-no-symlink-dep.patch [email protected] -- 
Remove dependency on x-terminal-emulator Debian's symlink.
-Patch0:         0001-xterm-no-symlink-dep.patch
-# PATCH-FEATURE-OPENSUSE 0002-yast2-software.patch [email protected] -- Use 
YaST2 and GNOME PackageKit package managers.
-Patch1:         0002-yast2-software.patch
+Source:         
https://launchpad.net/ubuntu/+archive/primary/+files/%{name}_%{version}.orig.tar.gz
+# PATCH-FEATURE-OPENSUSE mate-menu-yast2-software.patch [email protected] -- 
Use YaST2 and GNOME PackageKit package managers.
+Patch0:         %{name}-yast2-software.patch
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  intltool
 BuildRequires:  python >= 2.7
@@ -67,18 +65,15 @@
 %prep
 %setup -q -n ubuntu-mate-%{name}-%{_rev}
 %patch0 -p1
-%patch1 -p1
 sed -i 's/su-to-root/xdg-su/g' %{_name}/execute.py
 
 %build
-# Nothing to build.
+python2 setup.py build
 
 %install
 python2 setup.py install \
-  --root=%{buildroot}    \
-  --prefix=%{_prefix}
+  --root=%{buildroot} --prefix=%{_prefix}
 
-%py_compile %{buildroot}%{_libexecdir}/%{name}/
 %py_compile %{buildroot}%{_datadir}/%{name}/plugins/
 %find_lang %{name}
 

++++++ mate-menu-yast2-software.patch ++++++
--- a/mate_menu/plugins/system_management.py
+++ b/mate_menu/plugins/system_management.py
@@ -149,18 +149,16 @@ class pluginclass( object ):
                     return True
 
         if ( self.showPackageManager == True ):
-            if pathExists("synaptic-pkexec"):
+            if pathExists("/sbin/yast2") or \
+               pathExists("/usr/share/applications/YaST2/sw_single.desktop"):
                 Button2 = easyButton("synaptic", self.iconsize, [_("Package 
Manager")], -1, -1 )
-                Button2.connect( "clicked", self.ButtonClicked, 
"synaptic-pkexec" )
+                Button2.connect( "clicked", self.ButtonClicked, "xdg-su -c 
'/sbin/yast2 sw_single'" )
             elif pathExists("gnome-software"):
                 Button2 = easyButton("org.gnome.Software", self.iconsize, 
[_("Package Manager")], -1, -1 )
                 Button2.connect( "clicked", self.ButtonClicked, 
"gnome-software" )
-            elif pathExists("software-center"):
-                Button2 = easyButton("softwarecenter", self.iconsize, 
[_("Package Manager")], -1, -1 )
-                Button2.connect( "clicked", self.ButtonClicked, 
"software-center" )
-            elif pathExists("ubuntu-mate-welcome"):
+            elif pathExists("gpk-application"):
                 Button2 = easyButton("system-software-install", self.iconsize, 
[_("Package Manager")], -1, -1 )
-                Button2.connect("clicked", self.ButtonClicked, 
"ubuntu-mate-welcome --software-only")
+                Button2.connect("clicked", self.ButtonClicked, 
"gpk-application")
             try:
                 Button2.show()
                 self.systemBtnHolder.pack_start( Button2, False, False, 0 )

Reply via email to