gparted: 1.6.0 -> 1.7.0

authored by liberodark and committed by Bjørn Forsman 58d0c70e 44cca360

+12 -13
+5 -5
pkgs/by-name/gp/gparted/package.nix
··· 28 29 stdenv.mkDerivation rec { 30 pname = "gparted"; 31 - version = "1.6.0"; 32 33 src = fetchurl { 34 url = "mirror://sourceforge/gparted/gparted-${version}.tar.gz"; 35 - sha256 = "sha256-m59Rs85JTdy1mlXhrmZ5wJQ2YE4zHb9aU21g3tbG6ls="; 36 }; 37 38 # Tries to run `pkexec --version` to get version. ··· 96 $out/share/polkit-1/actions/org.gnome.gparted.policy 97 ''; 98 99 - meta = with lib; { 100 description = "Graphical disk partitioning tool"; 101 longDescription = '' 102 GNOME Partition Editor for creating, reorganizing, and deleting disk ··· 104 while preserving the partition contents. 105 ''; 106 homepage = "https://gparted.org"; 107 - license = licenses.gpl2Plus; 108 - platforms = platforms.linux; 109 mainProgram = "gparted"; 110 }; 111 }
··· 28 29 stdenv.mkDerivation rec { 30 pname = "gparted"; 31 + version = "1.7.0"; 32 33 src = fetchurl { 34 url = "mirror://sourceforge/gparted/gparted-${version}.tar.gz"; 35 + sha256 = "sha256-hK47mXPkQ6IXXweqDcKs7q2xUB4PiVPOyDsOwzR7fVI="; 36 }; 37 38 # Tries to run `pkexec --version` to get version. ··· 96 $out/share/polkit-1/actions/org.gnome.gparted.policy 97 ''; 98 99 + meta = { 100 description = "Graphical disk partitioning tool"; 101 longDescription = '' 102 GNOME Partition Editor for creating, reorganizing, and deleting disk ··· 104 while preserving the partition contents. 105 ''; 106 homepage = "https://gparted.org"; 107 + license = lib.licenses.gpl2Plus; 108 + platforms = lib.platforms.linux; 109 mainProgram = "gparted"; 110 }; 111 }
+7 -8
pkgs/by-name/gp/gparted/polkit.patch
··· 1 - diff -ru old/gparted-1.0.0/configure gparted-1.0.0/configure 2 - --- old/gparted-1.0.0/configure 2019-05-29 12:02:13.000000000 -0400 3 - +++ gparted-1.0.0/configure 2019-08-08 18:09:52.792795781 -0400 4 - @@ -16145,7 +16145,7 @@ 5 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkexec >= $PKEXEC_REQUIRED_VERSION" >&5 6 - $as_echo_n "checking for pkexec >= $PKEXEC_REQUIRED_VERSION... " >&6; } 7 PKEXEC_REQUIRED_INT=`echo "$PKEXEC_REQUIRED_VERSION" | $AWK -F. '{print $1 * 10000 + $2}'` 8 -PKEXEC_VERSION_OUTPUT=`pkexec --version 2> /dev/null` || 9 +PKEXEC_VERSION_OUTPUT='pkexec version @polkit_version@' || 10 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 11 - $as_echo "not found" >&6; } 12 if test "x$PKEXEC_VERSION_OUTPUT" != 'x'; then
··· 1 + --- old/gparted-1.0.0/configure 2025-01-30 18:31:10.000000000 +0100 2 + +++ gparted-1.0.0/configure 2025-02-06 14:07:24.264733753 +0100 3 + @@ -17041,7 +17041,7 @@ 4 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pkexec >= $PKEXEC_REQUIRED_VERSION" >&5 5 + printf %s "checking for pkexec >= $PKEXEC_REQUIRED_VERSION... " >&6; } 6 PKEXEC_REQUIRED_INT=`echo "$PKEXEC_REQUIRED_VERSION" | $AWK -F. '{print $1 * 10000 + $2}'` 7 -PKEXEC_VERSION_OUTPUT=`pkexec --version 2> /dev/null` || 8 +PKEXEC_VERSION_OUTPUT='pkexec version @polkit_version@' || 9 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 10 + printf "%s\n" "not found" >&6; } 11 if test "x$PKEXEC_VERSION_OUTPUT" != 'x'; then