mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
misc/gprename: Updated for version 20230429.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
26fe582366
commit
11e0f3ae1c
3 changed files with 18 additions and 17 deletions
|
@ -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;
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue