restore necessary desktop file patch #5 [release 0.29.0-2mamba;Thu Oct 05 2017]

This commit is contained in:
Silvan Calarco 2024-01-05 23:21:51 +01:00
parent 4888104cc6
commit 46157a88b1
3 changed files with 30 additions and 26 deletions

View File

@ -1,23 +0,0 @@
diff -Nru gparted-0.13.0.orig/gparted.desktop.in.in gparted-0.13.0/gparted.desktop.in.in
--- gparted-0.13.0.orig/gparted.desktop.in.in 2012-08-05 21:11:24.467479696 +0200
+++ gparted-0.13.0/gparted.desktop.in.in 2012-08-05 21:11:59.976122931 +0200
@@ -3,7 +3,7 @@
_GenericName=Partition Editor
_X-GNOME-FullName=GParted Partition Editor
_Comment=Create, reorganize, and delete partitions
-Exec=@gksuprog@ @installdir@/gparted %f
+Exec=/usr/bin/gparted-pkexec %f
Icon=gparted
Terminal=false
Type=Application
--- gparted-0.27.0/gparted.desktop.orig 2016-10-23 20:53:20.917595259 +0200
+++ gparted-0.27.0/gparted.desktop 2016-10-23 23:46:51.413938365 +0200
@@ -226,7 +226,7 @@
Comment[zh_CN]=创建、重新组织或删除分区
Comment[zh_HK]=建立、編輯或刪除分割區
Comment[zh_TW]=建立、編輯或刪除分割區
-Exec=kdesudo /usr/local/sbin/gparted %f
+Exec=/usr/bin/gparted-pkexec %f
Icon=gparted
Terminal=false
Type=Application

View File

@ -0,0 +1,24 @@
diff -ru gparted-0.29.0.orig/gparted.desktop gparted-0.29.0/gparted.desktop
--- gparted-0.29.0.orig/gparted.desktop 2017-08-07 17:57:19.000000000 +0200
+++ gparted-0.29.0/gparted.desktop 2017-10-05 16:32:34.572568167 +0200
@@ -229,7 +229,7 @@
Comment[zh_CN]=创建、重新组织或删除分区
Comment[zh_HK]=建立、編輯或刪除分割區
Comment[zh_TW]=建立、編輯或刪除分割區
-Exec=gksudo /usr/local/sbin/gparted %f
+Exec=/usr/bin/gparted-pkexec %f
Icon=gparted
Terminal=false
Type=Application
diff -ru gparted-0.29.0.orig/gparted.desktop.in.in gparted-0.29.0/gparted.desktop.in.in
--- gparted-0.29.0.orig/gparted.desktop.in.in 2015-10-14 19:42:48.000000000 +0200
+++ gparted-0.29.0/gparted.desktop.in.in 2017-10-05 16:31:44.879380000 +0200
@@ -3,7 +3,7 @@
_GenericName=Partition Editor
_X-GNOME-FullName=GParted Partition Editor
_Comment=Create, reorganize, and delete partitions
-Exec=@gksuprog@ @installdir@/gparted %f
+Exec=/usr/bin/gparted-pkexec %f
Icon=gparted
Terminal=false
Type=Application

View File

@ -1,7 +1,7 @@
### AUTOUPDATE-OFF: 2 ### AUTOUPDATE-OFF: 2
Name: gparted Name: gparted
Version: 0.29.0 Version: 0.29.0
Release: 1mamba Release: 2mamba
Summary: The Gnome Partition Editor application Summary: The Gnome Partition Editor application
Group: Graphical Desktop/Applications/Administration Group: Graphical Desktop/Applications/Administration
Vendor: openmamba Vendor: openmamba
@ -15,7 +15,7 @@ Patch1: %{name}-0.5.0-filedesktop.patch
Patch2: %{name}-0.3.3-hal.patch Patch2: %{name}-0.3.3-hal.patch
Patch3: %{name}-0.5.0-gtk_include.patch Patch3: %{name}-0.5.0-gtk_include.patch
Patch4: %{name}-0.21.0-filedesktop_no_startupnotify.patch Patch4: %{name}-0.21.0-filedesktop_no_startupnotify.patch
Patch5: %{name}-0.27.0-desktop-use_gparted_pkexec.patch Patch5: %{name}-0.29.0-desktop-use_gparted_pkexec.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -70,7 +70,7 @@ These partitions are normally not re-sizable (making one larger and the adjacent
#%patch2 #%patch2
#%patch3 -p1 #%patch3 -p1
#%patch4 -p1 #%patch4 -p1
#%patch5 -p1 %patch5 -p1
%build %build
%configure --disable-scrollkeeper GKSUPROG="" %configure --disable-scrollkeeper GKSUPROG=""
@ -124,6 +124,9 @@ install -D -m 0755 %{SOURCE2} %{buildroot}%{_bindir}/gparted-pkexec
#ChangeLog README #ChangeLog README
%changelog %changelog
* Thu Oct 05 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.29.0-2mamba
- restore necessary desktop file patch #5
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 0.29.0-1mamba * Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 0.29.0-1mamba
- automatic version update by autodist - automatic version update by autodist