[med-svn] r5886 - trunk/packages/dicomscope/trunk/debian
Mathieu Malaterre
malat-guest at alioth.debian.org
Fri Feb 4 11:03:42 UTC 2011
Author: malat-guest
Date: 2011-02-04 11:03:40 +0000 (Fri, 04 Feb 2011)
New Revision: 5886
Added:
trunk/packages/dicomscope/trunk/debian/iconv-inplace.sh
Modified:
trunk/packages/dicomscope/trunk/debian/rules
Log:
Change ISO to UTF-8
Added: trunk/packages/dicomscope/trunk/debian/iconv-inplace.sh
===================================================================
--- trunk/packages/dicomscope/trunk/debian/iconv-inplace.sh (rev 0)
+++ trunk/packages/dicomscope/trunk/debian/iconv-inplace.sh 2011-02-04 11:03:40 UTC (rev 5886)
@@ -0,0 +1,5 @@
+#!/bin/sh
+#find $(DEBIAN_SRC_DIR) -name *.java -exec iconv -f ISO-IR-197 -t UTF-8 {} \;
+in=$1
+iconv --from-code=ISO-IR-197 --to-code=UTF-8 $in > /tmp/dummy.utf8;
+mv /tmp/dummy.utf8 $in;
Property changes on: trunk/packages/dicomscope/trunk/debian/iconv-inplace.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/packages/dicomscope/trunk/debian/rules
===================================================================
--- trunk/packages/dicomscope/trunk/debian/rules 2011-02-04 11:02:52 UTC (rev 5885)
+++ trunk/packages/dicomscope/trunk/debian/rules 2011-02-04 11:03:40 UTC (rev 5886)
@@ -136,18 +136,20 @@
# ftp://dicom.offis.de/pub/dicom/offis/software/dscope/dscope360/dsgui360.zip
get-orig-source: $(UPSTREAM_SRC).zip
+ rm -rf $(DEBIAN_SRC_DIR)
unzip -q $(UPSTREAM_SRC).zip -d $(DEBIAN_SRC_DIR)
# Need tofrodos in order to prepare the patch, since quilt
# does not support mixture of dos/unix EOL
find $(DEBIAN_SRC_DIR) -name *.java -exec dos2unix {} \;
+ #find $(DEBIAN_SRC_DIR) -name *.java -exec ./iconv-inplace.sh {} \;
find $(DEBIAN_SRC_DIR) -name *.html -exec dos2unix {} \;
find $(DEBIAN_SRC_DIR) -name *.h -exec dos2unix {} \;
find $(DEBIAN_SRC_DIR) -name *.cpp -exec dos2unix {} \;
- find $(DEBIAN_SRC_DIR) -name *.txt -exec dos2unix {} \;
+ #find $(DEBIAN_SRC_DIR) -name *.txt -exec dos2unix {} \;
find $(DEBIAN_SRC_DIR) -name *.MF -exec dos2unix {} \;
GZIP=-9 tar czf $(DEBIAN_SRC_TAR) $(DEBIAN_SRC_DIR)
rm -rf $(DEBIAN_SRC_DIR)
- #rm -f $(UPSTREAM_SRC).zip
+ rm $(UPSTREAM_SRC).zip
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
More information about the debian-med-commit
mailing list