aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-05-06 17:53:01 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-13 19:27:31 +0700
commit11e0f3ae1c6404bb4d3a2c6a7efb7d697f966108 (patch)
tree7205348cf4927d21b8e2856a9f30657bb2ebc7bc
parent26fe582366bab6c781a5cea398a3937c026901c8 (diff)
misc/gprename: Updated for version 20230429.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--misc/gprename/gprename-makefile-fixups.patch22
-rw-r--r--misc/gprename/gprename.SlackBuild7
-rw-r--r--misc/gprename/gprename.info6
3 files changed, 18 insertions, 17 deletions
diff --git a/misc/gprename/gprename-makefile-fixups.patch b/misc/gprename/gprename-makefile-fixups.patch
index 1b6bac478561..1d8431fa6872 100644
--- a/misc/gprename/gprename-makefile-fixups.patch
+++ b/misc/gprename/gprename-makefile-fixups.patch
@@ -1,6 +1,6 @@
-diff -Naur gprename-20220206/Makefile gprename-20220206.patched/Makefile
---- gprename-20220206/Makefile 2022-02-06 21:15:52.000000000 -0500
-+++ gprename-20220206.patched/Makefile 2022-04-25 18:44:43.817838632 -0400
+diff -Naur gprename-20230429/Makefile gprename-20230429.patched/Makefile
+--- gprename-20230429/Makefile 2023-04-29 10:08:28.000000000 -0400
++++ gprename-20230429.patched/Makefile 2023-05-06 17:49:43.123635034 -0400
@@ -27,7 +27,7 @@
perl -ne 's!\@INSTALLDIR\@!$(PREFIX)!g ; print' < bin/gprename > build/gprename
perl -ne 's!\@INSTALLDIR\@!$(PREFIX)!g ; print' < bin/gprename.desktop > build/gprename.desktop
@@ -63,9 +63,9 @@ diff -Naur gprename-20220206/Makefile gprename-20220206.patched/Makefile
clean:
rm -rf build
-diff -Naur gprename-20220206/bin/gprename gprename-20220206.patched/bin/gprename
---- gprename-20220206/bin/gprename 2022-02-06 21:12:31.000000000 -0500
-+++ gprename-20220206.patched/bin/gprename 2022-04-25 18:45:00.881121463 -0400
+diff -Naur gprename-20230429/bin/gprename gprename-20230429.patched/bin/gprename
+--- gprename-20230429/bin/gprename 2023-04-29 10:19:08.000000000 -0400
++++ gprename-20230429.patched/bin/gprename 2023-05-06 17:49:43.123635034 -0400
@@ -137,7 +137,7 @@
$window->add_accel_group( $accel_group );
@@ -75,7 +75,7 @@ diff -Naur gprename-20220206/bin/gprename gprename-20220206.patched/bin/gprename
my $pixbuf = Gtk3::Gdk::Pixbuf->new_from_file( $icon );
$window->set_icon( $pixbuf );
-@@ -1472,7 +1472,7 @@
+@@ -1508,7 +1508,7 @@
$buffer->create_tag( 'big', size => 20 * 1024 );
$buffer->create_tag( 'italic', style => 'italic' );
my $iter = $buffer->get_start_iter;
@@ -84,15 +84,15 @@ diff -Naur gprename-20220206/bin/gprename gprename-20220206.patched/bin/gprename
my $pixbuf = Gtk3::Gdk::Pixbuf->new_from_file( $icon );
$buffer->insert_pixbuf ($iter, $pixbuf);
-diff -Naur gprename-20220206/bin/gprename.desktop gprename-20220206.patched/bin/gprename.desktop
---- gprename-20220206/bin/gprename.desktop 2022-02-06 21:16:23.000000000 -0500
-+++ gprename-20220206.patched/bin/gprename.desktop 2022-04-25 18:45:12.939321332 -0400
+diff -Naur gprename-20230429/bin/gprename.desktop gprename-20230429.patched/bin/gprename.desktop
+--- gprename-20230429/bin/gprename.desktop 2023-04-29 10:08:28.000000000 -0400
++++ gprename-20230429.patched/bin/gprename.desktop 2023-05-06 17:49:43.123635034 -0400
@@ -4,7 +4,7 @@
Name=GPRename
Comment=Rename files and directories in batch
Exec=gprename
-Icon=gprename
-+Icon=/usr/share/pixmaps/gprename
++Icon=/usr/share/pixmaps/gprename.png
Terminal=false
Keywords=renamer;utility;
Categories=Utility;
diff --git a/misc/gprename/gprename.SlackBuild b/misc/gprename/gprename.SlackBuild
index f7be58278e9b..490874bf12db 100644
--- a/misc/gprename/gprename.SlackBuild
+++ b/misc/gprename/gprename.SlackBuild
@@ -2,10 +2,11 @@
# Copyright 2022 B. Watson <urchlay@slackware.uk>
# Copyright 2017-2019 Donald Cooley South Haven, IN USA
-# Copyright 2010 Binh Nguyen <binhvng@gmail.com>
+# Copyright 2010 Binh Nguyen <email removed>
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230506 bkw: update for v20230429.
# 20230103 bkw: update for v20220807.
# 20220425 bkw:
# - new maintainer.
@@ -19,7 +20,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gprename
-VERSION=${VERSION:-20220807}
+VERSION=${VERSION:-20230429}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -41,7 +42,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+unzip $CWD/$PRGNAM-$VERSION.zip
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
diff --git a/misc/gprename/gprename.info b/misc/gprename/gprename.info
index a1862d44f932..b54665554a42 100644
--- a/misc/gprename/gprename.info
+++ b/misc/gprename/gprename.info
@@ -1,8 +1,8 @@
PRGNAM="gprename"
-VERSION="20220807"
+VERSION="20230429"
HOMEPAGE="https://gprename.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/gprename/files/gprename/20220807/gprename-20220807.tar.bz2"
-MD5SUM="2276139b628e2eebe654dfb4cc62a1ab"
+DOWNLOAD="https://sourceforge.net/projects/gprename/files/gprename/20230429/gprename-20230429.zip"
+MD5SUM="0335e0f5c514d85eb9a0f8ea795cff7a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-Gtk3 perl-libintl"