[pkg-java] r12613 - trunk/icu4j-4.2/debian

Niels Thykier nthykier-guest at alioth.debian.org
Mon Jun 21 17:14:04 UTC 2010


Author: nthykier-guest
Date: 2010-06-21 17:13:55 +0000 (Mon, 21 Jun 2010)
New Revision: 12613

Added:
   trunk/icu4j-4.2/debian/icu4j-4.2.jlibs
Modified:
   trunk/icu4j-4.2/debian/build.xml
   trunk/icu4j-4.2/debian/changelog
   trunk/icu4j-4.2/debian/control
   trunk/icu4j-4.2/debian/rules
Log:
icu4j-4.2 (4.2.1.1-1) UNRELEASED; urgency=low

  * New upstream release. (Closes: #583808)
  * Renamed package since eclipse 3.5.2 depends on 4.0.1.1.
  * Removed dependencies on JREs - per the Java Policy this is no
    longer required.
  * Fixed a typo in the package synopsis.
  * Rewrote d/rules to use DH7 with javahelper.

 -- Niels Thykier <niels at thykier.net>  Mon, 21 Jun 2010 18:38:32 +0200


Modified: trunk/icu4j-4.2/debian/build.xml
===================================================================
--- trunk/icu4j-4.2/debian/build.xml	2010-06-21 16:36:31 UTC (rev 12612)
+++ trunk/icu4j-4.2/debian/build.xml	2010-06-21 17:13:55 UTC (rev 12613)
@@ -6,7 +6,7 @@
   <property name="optimize" value="true" />
   <!-- Locations are relative to the debian dir. -->
   <property name="output.dir" value=".." />
-  <property name="source.base.dir" location="../eclipseProjects/plugins" />
+  <property name="source.base.dir" location=".eclipse-build/eclipseProjects/plugins" />
 
   <target name="init">
     <mkdir dir="${output.dir}" />

Modified: trunk/icu4j-4.2/debian/changelog
===================================================================
--- trunk/icu4j-4.2/debian/changelog	2010-06-21 16:36:31 UTC (rev 12612)
+++ trunk/icu4j-4.2/debian/changelog	2010-06-21 17:13:55 UTC (rev 12613)
@@ -1,3 +1,14 @@
+icu4j-4.2 (4.2.1.1-1) UNRELEASED; urgency=low
+
+  * New upstream release. (Closes: #583808)
+  * Renamed package since eclipse 3.5.2 depends on 4.0.1.1.
+  * Removed dependencies on JREs - per the Java Policy this is no
+    longer required.
+  * Fixed a typo in the package synopsis.
+  * Rewrote d/rules to use DH7 with javahelper.
+
+ -- Niels Thykier <niels at thykier.net>  Mon, 21 Jun 2010 18:38:32 +0200
+
 icu4j (4.0.1.1-1) unstable; urgency=low
 
   [ Andreas Tille ]

Modified: trunk/icu4j-4.2/debian/control
===================================================================
--- trunk/icu4j-4.2/debian/control	2010-06-21 16:36:31 UTC (rev 12612)
+++ trunk/icu4j-4.2/debian/control	2010-06-21 17:13:55 UTC (rev 12613)
@@ -1,4 +1,4 @@
-Source: icu4j
+Source: icu4j-4.2
 Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
@@ -12,12 +12,10 @@
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/icu4j/
 Homepage: http://www.icu-project.org/
 
-Package: libicu4j-java
+Package: libicu4j-4.2-java
 Architecture: all
-Depends: default-jre-headless | java1-runtime-headless | java2-runtime-headless |
- java5-runtime-headless | java6-runtime-headless,
- ${misc:Depends}
-Description: Library for unicode support and internalisation
+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
  (i18n/g11n). It grew out of the JDK 1.1 internationalization APIs, which

Added: trunk/icu4j-4.2/debian/icu4j-4.2.jlibs
===================================================================
--- trunk/icu4j-4.2/debian/icu4j-4.2.jlibs	                        (rev 0)
+++ trunk/icu4j-4.2/debian/icu4j-4.2.jlibs	2010-06-21 17:13:55 UTC (rev 12613)
@@ -0,0 +1,2 @@
+com.ibm.icu.jar
+com.ibm.icu.base.jar

Modified: trunk/icu4j-4.2/debian/rules
===================================================================
--- trunk/icu4j-4.2/debian/rules	2010-06-21 16:36:31 UTC (rev 12612)
+++ trunk/icu4j-4.2/debian/rules	2010-06-21 17:13:55 UTC (rev 12613)
@@ -2,41 +2,15 @@
 
 export JAVA_HOME:=/usr/lib/jvm/default-java/
 
-build: build-stamp
+%:
+	dh $@ --with javahelper
 
-build-stamp:
-	dh_testdir
-	ant -Dicu4j.javac.source=1.5 -Dicu4j.javac.target=1.5 \
+override_dh_auto_build:
+	mkdir debian/.eclipse-build
+	cp -a build.properties  build.xml   eclipse* *.html  localespi  META-INF  src  *.txt debian/.eclipse-build
+	cd debian/.eclipse-build &&  ant -Dicu4j.javac.source=1.5 -Dicu4j.javac.target=1.5 \
 	   eclipseProjects eclipseCoreProject eclipseWrapperProject
-	ant -f debian/build.xml build-jars
-	touch $@
+	cd debian/.eclipse-build && ant -f $(CURDIR)/debian/build.xml build-jars
 
-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
-	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
+override_dh_auto_clean:
+	rm -fr debian/.eclipse-build




More information about the pkg-java-commits mailing list