Hello community, here is the log from the commit of package mate-menu for openSUSE:Factory checked in at 2017-06-20 09:39:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mate-menu (Old) and /work/SRC/openSUSE:Factory/.mate-menu.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mate-menu" Tue Jun 20 09:39:59 2017 rev:15 rq:504424 version:17.10.5 Changes: -------- --- /work/SRC/openSUSE:Factory/mate-menu/mate-menu.changes 2017-06-15 11:24:39.456690611 +0200 +++ /work/SRC/openSUSE:Factory/.mate-menu.new/mate-menu.changes 2017-06-20 09:40:00.167389026 +0200 @@ -1,0 +2,6 @@ +Sat Jun 17 23:35:11 UTC 2017 - [email protected] + +- Add mate-menu-17.10.5-desktop-button.patch: Fix desktop button in + Places (commit 7f904dc). + +------------------------------------------------------------------- New: ---- mate-menu-17.10.5-desktop-button.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mate-menu.spec ++++++ --- /var/tmp/diff_new_pack.hFLjQa/_old 2017-06-20 09:40:00.827295984 +0200 +++ /var/tmp/diff_new_pack.hFLjQa/_new 2017-06-20 09:40:00.827295984 +0200 @@ -28,6 +28,8 @@ 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 +# PATCH-FIX-UPSTREAM mate-menu-17.10.5-desktop-button.patch [email protected] -- Fix desktop button in Places (commit 7f904dc). +Patch1: %{name}-17.10.5-desktop-button.patch BuildRequires: gobject-introspection-devel BuildRequires: intltool BuildRequires: python >= 2.7 @@ -66,6 +68,7 @@ %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 ++++++ mate-menu-17.10.5-desktop-button.patch ++++++ --- a/mate_menu/plugins/places.py +++ b/mate_menu/plugins/places.py @@ -188,8 +188,8 @@ class pluginclass( object ): configPath = os.environ.get("XDG_CONFIG_HOME", os.path.join( os.environ["HOME"], ".config")) config = ConfigObj(os.path.join(configPath, "user-dirs.dirs")) - tmpdesktopDir = config['XDG_DESKTOP_DIR'] - if os.path.exists(os.path.expandvars(tmpdesktopDir)): + tmpdesktopDir = os.path.expandvars(config['XDG_DESKTOP_DIR']) + if os.path.exists(tmpdesktopDir): desktopDir = tmpdesktopDir except Exception, detail: print detail
