raveit65 pushed to mate-control-center (epel7). "fix pkexec issue with mate-control-center"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 1 22:25:08 UTC 2015


>From b0a46f487f558c09aca7f15f3a3c3807b12e3073 Mon Sep 17 00:00:00 2001
From: raveit65 <chat-to-me at raveit.de>
Date: Thu, 2 Apr 2015 00:24:55 +0200
Subject: fix pkexec issue with mate-control-center


diff --git a/mate-control-center.spec b/mate-control-center.spec
index c018ae7..6ed55a3 100644
--- a/mate-control-center.spec
+++ b/mate-control-center.spec
@@ -14,7 +14,7 @@
 
 Name:          mate-control-center
 Version:       %{branch}.3
-Release:       1%{?dist}
+Release:       2%{?dist}
 #Release:       0.6%{?git_rel}%{?dist}
 Summary:       MATE Desktop control-center
 License:       LGPLv2+ and GPLv2+
@@ -26,6 +26,8 @@ URL:           http://mate-desktop.org
 # Source for snapshot-builds.
 %{!?rel_build:Source0:    http://git.mate-desktop.org/%{name}/snapshot/%{name}-%{commit}.tar.xz#/%{git_tar}}
 
+Patch0:        mate-control-center_fix-pkexec-wth-m_c_c.patch
+
 BuildRequires: dconf-devel
 BuildRequires: desktop-file-utils
 BuildRequires: gtk2-devel
@@ -74,6 +76,8 @@ Development files for mate-control-center
 %prep
 %setup -q%{!?rel_build:n %{name}-%{commit}}
 
+%patch0 -p1 -b .pkexec
+
 # To work around rpath
 autoreconf -fi
 
@@ -173,6 +177,9 @@ fi
 
 
 %changelog
+* Wed Apr 01 2015 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.8.3-2
+- test, fix pkexec issue with m-c-c
+
 * Wed Oct 01 2014 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.8.3-1
 - update to 1.8.1 release
 
diff --git a/mate-control-center_fix-pkexec-wth-m_c_c.patch b/mate-control-center_fix-pkexec-wth-m_c_c.patch
new file mode 100644
index 0000000..9dbd8c1
--- /dev/null
+++ b/mate-control-center_fix-pkexec-wth-m_c_c.patch
@@ -0,0 +1,14 @@
+diff --git a/libslab/slab-mate-util.c b/libslab/slab-mate-util.c
+index a4527dc..2acf9d0 100644
+--- a/libslab/slab-mate-util.c
++++ b/libslab/slab-mate-util.c
+@@ -127,7 +127,7 @@ open_desktop_item_exec (MateDesktopItem * desktop_item)
+ 	if (!desktop_item)
+ 		return FALSE;
+ 
+-	mate_desktop_item_launch (desktop_item, NULL, MATE_DESKTOP_ITEM_LAUNCH_ONLY_ONE, &error);
++	mate_desktop_item_launch (desktop_item, NULL, MATE_DESKTOP_ITEM_LAUNCH_ONLY_ONE | MATE_DESKTOP_ITEM_LAUNCH_DO_NOT_REAP_CHILD, &error);
+ 
+ 	if (error)
+ 	{
+
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/mate-control-center.git/commit/?h=epel7&id=b0a46f487f558c09aca7f15f3a3c3807b12e3073


More information about the scm-commits mailing list