[icu4j] 15/29: * Team upload * Newer but not newest upstream version. * Change debian/watch to download from upstream's svn repo. * Remove old patch that is no longer needed.

Kai-Chung Yan seamlik-guest at moszumanska.debian.org
Tue Mar 1 08:52:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

seamlik-guest pushed a commit to branch master
in repository icu4j.

commit f5bebaa849b64f6944819c7c6c5660c239ea1be7
Author: Torsten Werner <twerner at debian.org>
Date:   Tue Aug 30 19:26:16 2011 +0000

    * Team upload
    * Newer but not newest upstream version.
    * Change debian/watch to download from upstream's svn repo.
    * Remove old patch that is no longer needed.
---
 debian/changelog                  |  9 ++++++++
 debian/orig-tar.sh                | 16 +++++++++++++
 debian/patches/01_build-xml.patch | 48 ---------------------------------------
 debian/patches/series             |  1 -
 debian/rules                      |  3 +++
 debian/watch                      |  5 ++--
 6 files changed, 31 insertions(+), 51 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7c49b6c..544e2d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+icu4j (4.2.1.1-1) unstable; urgency=low
+
+  * Team upload
+  * Newer but not newest upstream version.
+  * Change debian/watch to download from upstream's svn repo.
+  * Remove old patch that is no longer needed.
+
+ -- Torsten Werner <twerner at debian.org>  Tue, 30 Aug 2011 21:23:56 +0200
+
 icu4j (4.0.1.1-1) unstable; urgency=low
 
   [ Andreas Tille ]
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..5675da8
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../icu4j_$VERSION.orig.tar.gz
+DIR=icu4j-$VERSION
+TAG=$(echo "release-$VERSION" | sed -re's,\.,-,g')
+
+svn export http://source.icu-project.org/repos/icu/icu4j/tags/${TAG}/ $DIR
+tar -c -z -f $TAR $DIR
+rm -rf $DIR ../$TAG
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir && echo "moved $TAR to $origDir"
+fi
diff --git a/debian/patches/01_build-xml.patch b/debian/patches/01_build-xml.patch
deleted file mode 100644
index b37976c..0000000
--- a/debian/patches/01_build-xml.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-Description: "Soften" some hardcoded versions.
-
---- a/build.xml	2010-01-10 13:18:03.985282960 +0100
-+++ b/build.xml	2010-01-10 13:20:03.817282945 +0100
-@@ -1664,8 +1664,8 @@
-             destdir="${build.dir}"
-             classpathref="build.classpath"
-             bootclasspath="ee.foundation.jar"
--            source="1.3"
--            target="1.1"
-+            source="${icu4j.javac.source}"
-+            target="${icu4j.javac.target}"
-             debug="on"
-             deprecation="off"
-             encoding="ascii" />
-@@ -1765,8 +1765,8 @@
-            destdir="${wrapper.build.dir}"
-            classpathref="build.classpath"
-            bootclasspath="ee.foundation.jar"
--           source="1.3"
--           target="1.1"
-+           source="${icu4j.javac.source}"
-+           target="${icu4j.javac.target}"
-            debug="on" 
-            deprecation="off"
-            encoding="ascii" />
-@@ -1828,8 +1828,8 @@
-            excludes="com/ibm/icu/dev/test/charset/**/*.*,com/ibm/icu/dev/test/perf/**/*.*"
-            srcdir="${src.dir}"
-            destdir="${build.dir}"
--           source="1.3"
--           target="1.3"
-+           source="${icu4j.javac.source}"
-+           target="${icu4j.javac.target}"
-            classpathref="build.classpath"
-            debug="on"
-            deprecation="off" />
-@@ -1885,8 +1885,8 @@
-            srcdir="${src.dir}"
-            destdir="${build.dir}"
-            classpathref="build.classpath"
--           source="1.3"
--           target="1.2"
-+           source="${icu4j.javac.source}"
-+           target="${icu4j.javac.target}"
-            debug="on"
-            deprecation="off"
-            encoding="ascii"
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 5615b39..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-01_build-xml.patch
diff --git a/debian/rules b/debian/rules
index 9d2571d..ffb8f1d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,3 +40,6 @@ binary-indep: build-stamp
 binary: binary-indep binary-arch
 
 .PHONY: build clean binary-indep binary-arch binary install
+
+get-orig-source:
+	uscan --download-version 4.2.1.1 --force-download
diff --git a/debian/watch b/debian/watch
index 8b4b3a4..e1ee460 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,6 @@
 version=3
 
-opts="uversionmangle=s?_?.?g" \
-http://download.icu-project.org/files/icu4j/([0-9.]*)/icu4j-([[:digit:]_]+)-src\.jar
+opts="uversionmangle=s?-?.?g" \
+http://bugs.icu-project.org/trac/browser/icu4j/tags/ release-([\d-]*) \
+    debian debian/orig-tar.sh
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/icu4j.git



More information about the pkg-java-commits mailing list