pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils Import renameutils-0.12.0 from pkgsrc-wip.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c2d3f74904e2
branches: trunk
changeset: 325085:c2d3f74904e2
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Fri Nov 09 12:50:49 2018 +0000
description:
Import renameutils-0.12.0 from pkgsrc-wip.
The file renaming utilities consists of five programs designed to make renaming
of files faster and less cumbersome:
- qmv ("quick move") allows a bunch of file names to be edited in a text editor;
- imv ("interactive move") allows a single file name to be edited in the
terminal using the GNU Readline library
- qcp and icp are similar to qmv and imv but copy files instead of moving them;
- deurlname removes URL encoded characters (such as %20 representing space) from
file names.
PR pkg/52546, which I neglected for a year.
diffstat:
sysutils/Makefile | 3 +-
sysutils/renameutils/DESCR | 8 +++
sysutils/renameutils/Makefile | 17 +++++++
sysutils/renameutils/PLIST | 53 ++++++++++++++++++++++
sysutils/renameutils/distinfo | 9 +++
sysutils/renameutils/options.mk | 17 +++++++
sysutils/renameutils/patches/patch-src_Makefile.in | 14 +++++
sysutils/renameutils/patches/patch-src_icmd.c | 16 ++++++
sysutils/renameutils/patches/patch-src_qcmd.c | 14 +++++
9 files changed, 150 insertions(+), 1 deletions(-)
diffs (197 lines):
diff -r a32e75f673e1 -r c2d3f74904e2 sysutils/Makefile
--- a/sysutils/Makefile Fri Nov 09 12:00:16 2018 +0000
+++ b/sysutils/Makefile Fri Nov 09 12:50:49 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.783 2018/10/27 10:03:35 skrll Exp $
+# $NetBSD: Makefile,v 1.784 2018/11/09 12:50:49 bsiegert Exp $
#
COMMENT= System utilities
@@ -497,6 +497,7 @@
SUBDIR+= rdfind
SUBDIR+= rdiff-backup
SUBDIR+= rename
+SUBDIR+= renameutils
SUBDIR+= rfstool
SUBDIR+= riemann-client
SUBDIR+= rkdeveloptool
diff -r a32e75f673e1 -r c2d3f74904e2 sysutils/renameutils/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/renameutils/DESCR Fri Nov 09 12:50:49 2018 +0000
@@ -0,0 +1,8 @@
+The file renaming utilities consists of five programs designed to make renaming
+of files faster and less cumbersome:
+- qmv ("quick move") allows a bunch of file names to be edited in a text editor;
+- imv ("interactive move") allows a single file name to be edited in the
+ terminal using the GNU Readline library
+- qcp and icp are similar to qmv and imv but copy files instead of moving them;
+- deurlname removes URL encoded characters (such as %20 representing space) from
+ file names.
diff -r a32e75f673e1 -r c2d3f74904e2 sysutils/renameutils/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/renameutils/Makefile Fri Nov 09 12:50:49 2018 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2018/11/09 12:50:49 bsiegert Exp $
+
+DISTNAME= renameutils-0.12.0
+CATEGORIES= sysutils converters
+MASTER_SITES= http://download.savannah.gnu.org/releases/renameutils/
+
+MAINTAINER= mcy%lm7.fr@localhost
+HOMEPAGE= http://www.nongnu.org/renameutils/
+COMMENT= Rename files faster and more easily
+LICENSE= gnu-gpl-v3
+
+GNU_CONFIGURE= yes
+DEPENDS+= coreutils-[0-9]*:../../sysutils/coreutils
+
+.include "options.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a32e75f673e1 -r c2d3f74904e2 sysutils/renameutils/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/renameutils/PLIST Fri Nov 09 12:50:49 2018 +0000
@@ -0,0 +1,53 @@
+@comment $NetBSD: PLIST,v 1.1 2018/11/09 12:50:49 bsiegert Exp $
+bin/deurlname
+bin/icmd
+bin/icp
+bin/imv
+bin/qcmd
+bin/qcp
+bin/qmv
+man/man1/deurlname.1
+man/man1/icmd.1
+man/man1/icp.1
+man/man1/imv.1
+man/man1/qcmd.1
+man/man1/qcp.1
+man/man1/qmv.1
+${PLIST.nls}share/locale/af/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/be/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/bg/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/ca/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/cs/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/da/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/de/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/el/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/es/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/et/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/eu/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/fi/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/renameutils.mo
+${PLIST.nls}share/locale/ga/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/gl/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/hu/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/it/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/ja/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/ko/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/ms/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/nb/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/nl/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/pl/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/pt/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/pt_BR/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/ro/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/ru/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/rw/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/sk/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/sl/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/renameutils.mo
+${PLIST.nls}share/locale/tr/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/uk/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/vi/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/renameutils-gnulib.mo
+${PLIST.nls}share/locale/zh_TW/LC_MESSAGES/renameutils-gnulib.mo
diff -r a32e75f673e1 -r c2d3f74904e2 sysutils/renameutils/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/renameutils/distinfo Fri Nov 09 12:50:49 2018 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2018/11/09 12:50:49 bsiegert Exp $
+
+SHA1 (renameutils-0.12.0.tar.gz) = 8c6edae4ee374330a01a95257fd552b5cb7540bc
+RMD160 (renameutils-0.12.0.tar.gz) = 996cf00d764ed3f4443fcf7af4ed3649bda365f3
+SHA512 (renameutils-0.12.0.tar.gz) = 8aae157e6ead86a2fbf970ecdb27d6067c2d35c04058ead9a3c0af3d99d466d37d8c4f1da0562ef2bea9cf9bd5f8de4d14340906427df421dba1a5c234c63bd6
+Size (renameutils-0.12.0.tar.gz) = 954114 bytes
+SHA1 (patch-src_Makefile.in) = 7651e887d78a0dc44ccccca6d180e4ac26ade7d9
+SHA1 (patch-src_icmd.c) = 39107f0b3b7d9ca7b10243e7a9ca732143f89229
+SHA1 (patch-src_qcmd.c) = 210650d9f6bd78a4351c93ce8bab5dfcbeafb23b
diff -r a32e75f673e1 -r c2d3f74904e2 sysutils/renameutils/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/renameutils/options.mk Fri Nov 09 12:50:49 2018 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2018/11/09 12:50:49 bsiegert Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.renameutils
+PKG_SUPPORTED_OPTIONS= nls
+PKG_SUGGESTED_OPTIONS= nls
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= nls
+
+.if !empty(PKG_OPTIONS:Mnls)
+USE_PKGLOCALEDIR= yes
+PLIST.nls= yes
+.include "../../devel/gettext-lib/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-nls
+.endif
diff -r a32e75f673e1 -r c2d3f74904e2 sysutils/renameutils/patches/patch-src_Makefile.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/renameutils/patches/patch-src_Makefile.in Fri Nov 09 12:50:49 2018 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_Makefile.in,v 1.1 2018/11/09 12:50:49 bsiegert Exp $
+
+Fix typo in src/Makefile.in. This should be fixed in the next upstream release.
+--- src/Makefile.in~ 2012-04-23 07:24:10.000000000 -0400
++++ src/Makefile.in 2017-09-16 14:12:56.000000000 -0400
+@@ -1577,7 +1577,7 @@
+ @[ -f icp ] || (echo $(LN_S) icmd icp ; $(LN_S) icmd icp)
+
+ install-exec-local:
+- $(mkdir_p) $(DESTDIR)($bindir)
++ $(mkdir_p) $(DESTDIR)$(bindir)
+ @[ -f $(DESTDIR)$(bindir)/qmv ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv)
+ @[ -f $(DESTDIR)$(bindir)/qcp ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp)
+ @[ -f $(DESTDIR)$(bindir)/imv ] || (echo $(LN_S) icmd $(DESTDIR)$(bindir)/imv ; $(LN_S) icmd $(DESTDIR)$(bindir)/imv)
diff -r a32e75f673e1 -r c2d3f74904e2 sysutils/renameutils/patches/patch-src_icmd.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/renameutils/patches/patch-src_icmd.c Fri Nov 09 12:50:49 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_icmd.c,v 1.1 2018/11/09 12:50:49 bsiegert Exp $
+
+Use mv and cp from GNU coreutils.
+--- src/icmd.c.orig 2008-09-21 09:10:29 UTC
++++ src/icmd.c
+@@ -45,8 +45,8 @@
+ #include "common/string-utils.h"
+ #include "common/common.h"
+
+-#define MV_COMMAND "mv"
+-#define CP_COMMAND "cp"
++#define MV_COMMAND "gmv"
++#define CP_COMMAND "gcp"
+ /* This list should be up to date with mv and cp!
+ * It was last updated on 2007-11-30 for
+ * Debian coreutils 5.97-5.4 in unstable.
diff -r a32e75f673e1 -r c2d3f74904e2 sysutils/renameutils/patches/patch-src_qcmd.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/renameutils/patches/patch-src_qcmd.c Fri Nov 09 12:50:49 2018 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_qcmd.c,v 1.1 2018/11/09 12:50:49 bsiegert Exp $
+
+Use ls from GNU coreutils.
+--- src/qcmd.c.orig 2011-08-21 17:15:51 UTC
++++ src/qcmd.c
+@@ -239,7 +239,7 @@
+ editor_program = xstrdup(editor_program);
+
+ if (ls_program == NULL)
+- ls_program = xstrdup("ls");
++ ls_program = xstrdup("gls");
+
+ /* Parse format options */
+ if (format_options != NULL && !format->parse_options(format_options))
Home |
Main Index |
Thread Index |
Old Index