[icu4j-4.2] 16/32: * Switch to cdbs. * Set svn-buildpackage property mergeWithUpstream. * Remove Java runtime from Depends. * Update Standards-Version: 3.9.1.

Kai-Chung Yan seamlik-guest at moszumanska.debian.org
Thu Mar 24 09:11:37 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-4.2.

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

    * Switch to cdbs.
    * Set svn-buildpackage property mergeWithUpstream.
    * Remove Java runtime from Depends.
    * Update Standards-Version: 3.9.1.
---
 debian/changelog |  6 +++++-
 debian/control   |  8 +++-----
 debian/rules     | 45 ++++++++++-----------------------------------
 3 files changed, 18 insertions(+), 41 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 544e2d8..d05c3e8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,8 +4,12 @@ icu4j (4.2.1.1-1) unstable; urgency=low
   * Newer but not newest upstream version.
   * Change debian/watch to download from upstream's svn repo.
   * Remove old patch that is no longer needed.
+  * Switch to cdbs.
+  * Set svn-buildpackage property mergeWithUpstream.
+  * Remove Java runtime from Depends.
+  * Update Standards-Version: 3.9.1.
 
- -- Torsten Werner <twerner at debian.org>  Tue, 30 Aug 2011 21:23:56 +0200
+ -- Torsten Werner <twerner at debian.org>  Tue, 30 Aug 2011 21:37:31 +0200
 
 icu4j (4.0.1.1-1) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index bf348dd..58c126a 100644
--- a/debian/control
+++ b/debian/control
@@ -5,18 +5,16 @@ Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.or
 Uploaders: Andreas Tille <tille at debian.org>,
  Steffen Moeller <moeller at debian.org>,
  Niels Thykier <niels at thykier.net>
-Standards-Version: 3.8.3
+Standards-Version: 3.9.1
 Build-Depends: debhelper (>= 7), ant (>= 1.7.0), default-jdk, unzip,
- javahelper
+ javahelper, cdbs
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/icu4j
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/icu4j/
 Homepage: http://www.icu-project.org/
 
 Package: libicu4j-java
 Architecture: all
-Depends: default-jre-headless | java1-runtime-headless | java2-runtime-headless |
- java5-runtime-headless | java6-runtime-headless,
- ${misc:Depends}
+Depends: ${misc:Depends}
 Description: Library for unicode support and internalisation
  ICU is a mature, widely used set of C/C++ and Java libraries for
  Unicode support, software internationalization and globalization
diff --git a/debian/rules b/debian/rules
index ffb8f1d..36d773c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,45 +1,20 @@
 #!/usr/bin/make -f
 
-export JAVA_HOME:=/usr/lib/jvm/default-java/
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
 
-build: build-stamp
+export JAVA_HOME := /usr/lib/jvm/default-java/
 
-build-stamp:
-	dh_testdir
-	ant -Dicu4j.javac.source=1.5 -Dicu4j.javac.target=1.5 \
-	   eclipseProjects eclipseCoreProject eclipseWrapperProject
+DEB_ANT_CLEAN_TARGET := normSrc clean
+DEB_ANT_BUILD_TARGET := eclipseProjects eclipseCoreProject eclipseWrapperProject
+
+build/libicu4j-java:: stamp-extra-build
+stamp-extra-build:
 	ant -f debian/build.xml build-jars
 	touch $@
 
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-	if [ -f build.xml ] ; then ant normSrc && ant clean ; fi
-	rm -f *.jar
-	dh_clean
-
-binary-arch:
-
-binary-indep: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_prep
+install/libicu4j-java::
 	jh_installlibs -plibicu4j-java com.ibm.icu.jar com.ibm.icu.base.jar
-	dh_installchangelogs
-	dh_installdocs
-	dh_install
-	dh_link
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-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
+	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download

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



More information about the pkg-java-commits mailing list