Hello community, here is the log from the commit of package convmv checked in at Tue Jul 11 21:08:24 CEST 2006. -------- --- convmv/convmv.changes 2006-01-25 21:46:01.000000000 +0100 +++ convmv/convmv.changes 2006-07-11 13:04:07.000000000 +0200 @@ -1,0 +2,11 @@ +Tue Jul 11 13:01:30 CEST 2006 - mfabian@suse.de + +- update to 1.10: + + now use from_to instead of utf8::decode (which is experimental + and might vanish in the future) to check for valid UTF-8 + + updates and cleanups of testsuite and include "0" filename + + fix "0" filename bugs + + take into account that charset name "utf-8" resolves to + "utf-8-strict" in recent Perl versions + +------------------------------------------------------------------- Old: ---- convmv-1.09.tar.gz New: ---- convmv-1.10.tar.bz2 fix-test-suite.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ convmv.spec ++++++ --- /var/tmp/diff_new_pack.sTJU5v/_old 2006-07-11 21:07:32.000000000 +0200 +++ /var/tmp/diff_new_pack.sTJU5v/_new 2006-07-11 21:07:32.000000000 +0200 @@ -1,11 +1,11 @@ # -# spec file for package convmv (Version 1.09) +# spec file for package convmv (Version 1.10) # -# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://bugs.opensuse.org +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -15,34 +15,35 @@ Group: Productivity/File utilities Requires: perl Autoreqprov: on -Version: 1.09 +Version: 1.10 Release: 1 URL: http://j3e.de/linux/convmv/ -Source0: http://j3e.de/linux/convmv/convmv-1.09.tar.gz +Source0: http://j3e.de/linux/convmv/convmv-1.10.tar.bz2 +Patch0: fix-test-suite.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArchitectures: noarch -Summary: Converts File Names from one Encoding to Another +Summary: Converts File Names from One Encoding to Another %description convmv is meant to help convert a directory tree and the contained -files or a whole filesystem into a different encoding. It just converts -the filenames, not the content of the files. A special feature of -convmv is that it also takes care of symlinks, and converts the symlink -target pointer in case the symlink target is being converted too. +files or a whole file system into a different encoding. It just +converts the file names, not the content of the files. A special +feature of convmv is that it also takes care of symlinks and converts +the symlink target pointer in case the symlink target is converted. All this comes in very handy when converting from old 8-bit locales to -UTF-8 locales. It is also possible to convert directories to UTF-8 -which are already partly UTF-8 encoded. convmv is able to detect if -certain files are UTF-8 encoded and will skip them by default. To turn -this behavior off use the --nosmart switch. +UTF-8 locales. It is also possible to convert directories to UTF-8 that +are already partly UTF-8 encoded. convmv is able to detect if certain +files are UTF-8 encoded and skips them by default. To turn this +behavior off, use the --nosmart switch. An interoperability issue that comes with UTF-8 locales is this: Linux -and (most?) other Unix-like operating systems use the so called -normalization form C (NFC) for its UTF-8 encoding by default but do not -enforce this. Darwin, the base of Macintosh OSX, enforces normalization -form D (NFD), where a few characters are encoded in a different way. -convmv is able to convert files to NFC or NFD which aids in -interoperability with such systems. +and (most?) other Unix-like operating systems use the normalization +form C (NFC) for UTF-8 encoding by default but do not enforce this. +Darwin, the base of Macintosh OSX, enforces normalization form D (NFD), +where a few characters are encoded in a different way. convmv is able +to convert files to NFC or NFD, which aids in interoperability with +such systems. @@ -52,6 +53,8 @@ %prep %setup0 +tar xf testsuite.tar +%patch0 -p 1 %build make PREFIX=/usr @@ -72,6 +75,14 @@ %{_mandir}/man1/* %changelog -n convmv +* Tue Jul 11 2006 - mfabian@suse.de +- update to 1.10: + + now use from_to instead of utf8::decode (which is experimental + and might vanish in the future) to check for valid UTF-8 + + updates and cleanups of testsuite and include "0" filename + + fix "0" filename bugs + + take into account that charset name "utf-8" resolves to + "utf-8-strict" in recent Perl versions * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Fri Dec 09 2005 - mfabian@suse.de ++++++ fix-test-suite.patch ++++++ diff -ru convmv-1.10.orig/suite/dotests.sh convmv-1.10/suite/dotests.sh --- convmv-1.10.orig/suite/dotests.sh 2006-06-26 00:01:16.000000000 +0200 +++ convmv-1.10/suite/dotests.sh 2006-07-11 13:59:16.000000000 +0200 @@ -1,64 +1,65 @@ #!/bin/sh # this requires GNU find to be used because of -printf feature # you might want to change this to GNU find's full path: +export LC_ALL=POSIX FIND=find FINDEXP="%P -- %l\n" -for dir in `ls -d test*` ; do $FIND $dir/ -printf "$FINDEXP" > out-$dir ; done +for dir in `ls -d test*` ; do $FIND $dir/ -printf "$FINDEXP" | sort > out-$dir ; done # echo smartness-test rm -rf test.tmp cp -r test test.tmp ../convmv -f iso8859-15 -t utf8 --notest -r test.tmp false -$FIND test.tmp -printf "$FINDEXP" > out.tmp +$FIND test.tmp -printf "$FINDEXP" | sort > out.tmp diff out-test out.tmp > diff.tmp|| { echo "smartness-test failed." ; exit 1; } # echo double-utf8 test ../convmv -f iso8859-15 -t utf8 --notest -r --nosmart test.tmp -$FIND test.tmp -printf "$FINDEXP" > out.tmp +$FIND test.tmp -printf "$FINDEXP" | sort > out.tmp diff out-test-utf8 out.tmp > diff.tmp|| { echo "double-utf8 test failed." ; exit 1; } # ../convmv -f utf8 -t iso8859-15 --notest -r test.tmp -$FIND test.tmp -printf "$FINDEXP" > out.tmp +$FIND test.tmp -printf "$FINDEXP" | sort > out.tmp diff out-test out.tmp > diff.tmp|| { echo undo-double-utf8 test failed. ; exit 1; } # echo utf8-to-iso8859-15-test rm -r test.tmp cp -r test test.tmp ../convmv -f utf8 -t iso8859-15 --notest -r test.tmp -$FIND test.tmp -printf "$FINDEXP" > out.tmp +$FIND test.tmp -printf "$FINDEXP" | sort > out.tmp diff out-test-iso8859-15 out.tmp > diff.tmp|| { echo utf8-to-iso8859-15-test failed. ; exit 1; } # echo iso8859-15-to-utf8-test rm -r test.tmp cp -r test-iso8859-15 test.tmp ../convmv -f iso8859-15 -t utf8 --notest -r test.tmp -$FIND test.tmp -printf "$FINDEXP" > out.tmp +$FIND test.tmp -printf "$FINDEXP" | sort > out.tmp diff out-test out.tmp > diff.tmp|| { echo iso8859-15-to-utf8-test failed. ; exit 1; } # echo nfc-test rm -r test.tmp cp -r test test.tmp ../convmv -f utf-8 -t utf-8 --nfd --notest -r test.tmp -$FIND test.tmp -printf "$FINDEXP" > out.tmp +$FIND test.tmp -printf "$FINDEXP" | sort > out.tmp diff out-test-nfd out.tmp > diff.tmp|| { echo nfd-test failed. ; exit 1; } # ../convmv -f utf8 -t utf8 --nfc --notest -r test.tmp -$FIND test.tmp -printf "$FINDEXP" > out.tmp +$FIND test.tmp -printf "$FINDEXP" | sort > out.tmp diff out-test out.tmp > diff.tmp|| { echo nfc-test failed. ; exit 1; } # echo escaped-test rm -r test.tmp cp -r test-escaped test.tmp ../convmv --unescape --notest -r test.tmp -$FIND test.tmp -printf "$FINDEXP" > out.tmp +$FIND test.tmp -printf "$FINDEXP" | sort > out.tmp diff out-test out.tmp > diff.tmp|| { echo escaped-test failed. ; exit 1; } # echo upper-test rm -r test.tmp cp -r test test.tmp ../convmv --upper -f utf8 --notest -r test.tmp -$FIND TEST.TMP -printf "$FINDEXP" > out.tmp +$FIND TEST.TMP -printf "$FINDEXP" | sort > out.tmp diff out-test-upper out.tmp > diff.tmp|| { echo upper-test failed. ; exit 1; } echo All tests successful, cleaning up now ... convmv-1.10/suiteだけに発見: dotests.sh.~1~ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit-help@opensuse.org