pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/convmv Updated to version 1.09.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6fc3e35a195
branches:  trunk
changeset: 507943:b6fc3e35a195
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sat Feb 11 17:24:17 2006 +0000

description:
Updated to version 1.09.

Pkgsrc changes:
  - Used an absolute path for SUBST_FILES previously, which was wrong.

Changes since version 1.08:
====================================
1.09
- work around broken decode_utf8() in Perl 5.8.7 resp. Encode 2.10 (use
  utf8::decode instead)
- adapt test suite to catch cases like this
- warn about dry test run at start, not just at end of a test run

diffstat:

 converters/convmv/Makefile         |   7 +++----
 converters/convmv/distinfo         |  10 +++++-----
 converters/convmv/patches/patch-ab |  24 ++++++++++++++++++++----
 3 files changed, 28 insertions(+), 13 deletions(-)

diffs (107 lines):

diff -r 088e54e727e5 -r b6fc3e35a195 converters/convmv/Makefile
--- a/converters/convmv/Makefile        Sat Feb 11 17:20:51 2006 +0000
+++ b/converters/convmv/Makefile        Sat Feb 11 17:24:17 2006 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2006/02/05 23:08:28 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2006/02/11 17:24:17 heinz Exp $
 
-DISTNAME=              convmv-1.08
-PKGREVISION=           1
+DISTNAME=              convmv-1.09
 CATEGORIES=            converters
 MASTER_SITES=          http://www.j3e.de/linux/convmv/
 
@@ -33,7 +32,7 @@
 
 SUBST_CLASSES+=                convmv
 SUBST_STAGE.convmv=    pre-configure
-SUBST_FILES.convmv=    ${WRKSRC}/suite/dotests.sh
+SUBST_FILES.convmv=    suite/dotests.sh
 SUBST_SED.convmv+=     "1s|/bin/sh|${SH}|"
 
 TEST_TARGET=           test
diff -r 088e54e727e5 -r b6fc3e35a195 converters/convmv/distinfo
--- a/converters/convmv/distinfo        Sat Feb 11 17:20:51 2006 +0000
+++ b/converters/convmv/distinfo        Sat Feb 11 17:24:17 2006 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/11/25 01:48:02 heinz Exp $
+$NetBSD: distinfo,v 1.2 2006/02/11 17:24:17 heinz Exp $
 
-SHA1 (convmv-1.08.tar.gz) = 02c90654a40fcab7369dac44c8a6678a4259c5d3
-RMD160 (convmv-1.08.tar.gz) = 99c7d56dd7eb243ec32474de97c748aa0c6fde25
-Size (convmv-1.08.tar.gz) = 20657 bytes
+SHA1 (convmv-1.09.tar.gz) = b8d44519a1110a620afe37d367f0f31542156880
+RMD160 (convmv-1.09.tar.gz) = f4164d07f2c4886003f8e6ca14334a5ab318e9e7
+Size (convmv-1.09.tar.gz) = 21003 bytes
 SHA1 (patch-aa) = 9f369bfffcaa4c62b2b9a96828fe25a5ce936e83
-SHA1 (patch-ab) = b62dafd008904e722929fbecff42ef8d48c0c2be
+SHA1 (patch-ab) = f91b95ae447376175108df093d5d802e0d016bd8
diff -r 088e54e727e5 -r b6fc3e35a195 converters/convmv/patches/patch-ab
--- a/converters/convmv/patches/patch-ab        Sat Feb 11 17:20:51 2006 +0000
+++ b/converters/convmv/patches/patch-ab        Sat Feb 11 17:24:17 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.1.1.1 2005/11/25 01:48:02 heinz Exp $
+$NetBSD: patch-ab,v 1.2 2006/02/11 17:24:17 heinz Exp $
 
---- suite/dotests.sh.orig      Sun Dec 14 05:56:54 2003
+--- suite/dotests.sh.orig      Fri Dec  9 17:11:46 2005
 +++ suite/dotests.sh
-@@ -1,63 +1,72 @@
+@@ -1,77 +1,86 @@
  #!/bin/sh
 -for d in `ls -d test*` ; do cd $d ; ls -R -g -G --time-style=+ >../out-$d ; cd .. ; done
 +
@@ -16,6 +16,7 @@
 +
 +for d in `${CONVMV_LS} -d test*` ; do cd $d ; ${CONVMV_LS} -R -g -G --time-style=+ >../out-$d ; cd .. ; done
  #
+ echo smartness-test
  rm -rf test2
 -cp -a test test2
 +${CONVMV_CP} -a test test2
@@ -26,6 +27,7 @@
  cd ..
  diff out-test out2 || { echo "smartness-test failed." ; exit 1; }
  #
+ echo double-utf8 test
  ../convmv -f iso8859-15 -t utf8 --notest -r --nosmart test2
  cd test2
 -ls -R -g -G --time-style=+ >../out2
@@ -42,6 +44,7 @@
  pwd
  diff out-test out2 || { echo undo-double-utf8 test failed. ; exit 1; }
  #
+ echo utf8-to-iso8859-15-test
  rm -r test2
 -cp -a test test2
 +${CONVMV_CP} -a test test2
@@ -50,8 +53,20 @@
 -ls -R -g -G --time-style=+ >../out2
 +${CONVMV_LS} -R -g -G --time-style=+ >../out2
  cd ..
- diff out-test-iso8859-15 out2 || { echo iso8859-15-test failed. ; exit 1; }
+ diff out-test-iso8859-15 out2 || { echo utf8-to-iso8859-15-test failed. ; exit 1; }
  #
+ echo iso8859-15-to-utf8-test
+ rm -r test2
+-cp -a test-iso8859-15 test2
++${CONVMV_CP} -a test-iso8859-15 test2
+ ../convmv -f iso8859-15 -t utf8 --notest -r test2
+ cd test2
+-ls -R -g -G --time-style=+ >../out2
++${CONVMV_LS} -R -g -G --time-style=+ >../out2
+ cd ..
+ diff out-test out2 || { echo iso8859-15-to-utf8-test failed. ; exit 1; }
+ #
+ echo nfc-test
  rm -r test2
 -cp -a test test2
 +${CONVMV_CP} -a test test2
@@ -69,6 +84,7 @@
  cd ..
  diff out-test out2 || { echo nfc-test failed. ; exit 1; }
  #
+ echo escaped-test
  rm -r test2
 -cp -a test-escaped test2
 +${CONVMV_CP} -a test-escaped test2



Home | Main Index | Thread Index | Old Index