diff --git a/files/0001-Support-pkexec.patch b/files/0001-Support-pkexec.patch deleted file mode 100644 --- a/files/0001-Support-pkexec.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 66f8ecc4399ac53d2d74ed83b955bb478653ede2 Mon Sep 17 00:00:00 2001 -From: Ikey Doherty -Date: Sat, 31 Oct 2015 17:37:55 +0000 -Subject: [PATCH 1/2] Support pkexec - -Signed-off-by: Ikey Doherty ---- - gparted.desktop.in.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/gparted.desktop.in.in b/gparted.desktop.in.in -index 4b41fe4..87bcd0f 100644 ---- a/gparted.desktop.in.in -+++ b/gparted.desktop.in.in -@@ -3,7 +3,7 @@ _Name=GParted - _GenericName=Partition Editor - _X-GNOME-FullName=GParted Partition Editor - _Comment=Create, reorganize, and delete partitions --Exec=@gksuprog@ @installdir@/gparted %f -+Exec=@installdir@/gparted_wrapper %f - Icon=gparted - Terminal=false - Type=Application --- -2.8.3 - diff --git a/files/gparted_wrapper b/files/gparted_wrapper deleted file mode 100644 --- a/files/gparted_wrapper +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -if [ $(which pkexec) ]; then - pkexec --disable-internal-agent "/usr/sbin/gparted" "$@" -else - /usr/sbin/gparted "$@" -fi \ No newline at end of file diff --git a/files/polkit.policy b/files/polkit.policy deleted file mode 100644 --- a/files/polkit.policy +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - Authentication is required to run GParted - gparted - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - /usr/sbin/gparted - true - - - diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,8 +1,8 @@ name : gparted -version : 0.28.1 -release : 15 +version : 0.30.0 +release : 16 source : - - http://downloads.sourceforge.net/gparted/gparted-0.28.1.tar.gz : 76891f14394754f7d6ecceba2af0e585bf89f9d780c389a255dcd41a2f45d333 + - https://netcologne.dl.sourceforge.net/project/gparted/gparted/gparted-0.30.0/gparted-0.30.0.tar.gz : d31193effe058bdaeb2a4cd4b514ec753191179a0bc3abefda68a2b7975ecf4a license : GPL-2.0 summary : GParted is a free graphical disk partition editor description: | @@ -16,12 +16,14 @@ rundeps : - gpart # Used for data recovery functionality setup : | - %patch -p1 < $pkgfiles/0001-Support-pkexec.patch %patch -p1 < $pkgfiles/0002-Don-t-override-icons-at-all-leave-that-to-the-deskto.patch - %reconfigure --disable-doc --disable-scrollkeeper + %configure --disable-static \ + --disable-scrollkeeper \ + --disable-doc \ + --enable-xhost-root build : | %make install : | %make_install - install -m 00644 -D $pkgfiles/polkit.policy $installdir/usr/share/polkit-1/actions/com.solus_project.pkexec.gparted.policy - install -D -m 00655 $pkgfiles/gparted_wrapper $installdir/usr/sbin/gparted_wrapper +check : | + %make check diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -2,8 +2,8 @@ gparted - Joshua Strobl - joshua@stroblindustries.com + Pierre-Yves + pyu@riseup.net GPL-2.0 GParted is a free graphical disk partition editor @@ -17,6 +17,7 @@ GNOME Partition Editor for creating, reorganizing, and deleting disk partitions. It uses libparted from the parted project to detect and manipulate partition tables. Optional file system tools permit managing file systems not included in libparted. + /usr/bin /usr/sbin /usr/share/appdata/gparted.appdata.xml /usr/share/applications/gparted.desktop @@ -28,16 +29,16 @@ /usr/share/icons/hicolor/scalable/apps/gparted.svg /usr/share/locale /usr/share/man - /usr/share/polkit-1/actions/com.solus_project.pkexec.gparted.policy + /usr/share/polkit-1/actions/org.gnome.gparted.policy - - 2017-07-17 - 0.28.1 + + 2017-10-10 + 0.30.0 Packaging update - Joshua Strobl - joshua@stroblindustries.com + Pierre-Yves + pyu@riseup.net \ No newline at end of file