ICU4J version bump to 3.8.1, bug #209597
authorJean-Noël Rivasseau <elvanor@gentoo.org>
Tue, 11 Mar 2008 08:52:10 +0000 (08:52 +0000)
committerJean-Noël Rivasseau <elvanor@gentoo.org>
Tue, 11 Mar 2008 08:52:10 +0000 (08:52 +0000)
Package-Manager: portage-2.1.4.4

dev-java/icu4j/ChangeLog
dev-java/icu4j/Manifest
dev-java/icu4j/files/icu4j-3.8.1-manifest [new file with mode: 0644]
dev-java/icu4j/icu4j-3.0-r1.ebuild
dev-java/icu4j/icu4j-3.6.1-r1.ebuild
dev-java/icu4j/icu4j-3.6.1.ebuild
dev-java/icu4j/icu4j-3.8.1.ebuild [new file with mode: 0644]

index 21e025e4e8cc4f8f6cc6662dae04b98d76e86581..93fb3e86bf432080cd559d7bd4de62bc017331bc 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for dev-java/icu4j
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/ChangeLog,v 1.19 2008/01/23 11:11:13 elvanor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/ChangeLog,v 1.20 2008/03/11 08:52:09 elvanor Exp $
+
+*icu4j-3.8.1 (11 Mar 2008)
+
+  11 Mar 2008; Jean-Noël Rivasseau <elvanor@gentoo.org>
+  +files/icu4j-3.8.1-manifest, icu4j-3.0-r1.ebuild, icu4j-3.6.1.ebuild,
+  icu4j-3.6.1-r1.ebuild, +icu4j-3.8.1.ebuild:
+  Version bump to 3.8.1, bug #209597
 
 *icu4j-3.6.1-r1 (23 Jan 2008)
 
index c962efc63d61354c5f1bd7ec5537d73511a516e5..99debb7dc5d801fa69cd0011824bf457bc393549 100644 (file)
@@ -1,10 +1,14 @@
 AUX icu4j-3.6.1-manifest 805 RMD160 1f8378a6d47e7b8d96d45f07907e8bc1e9a914c2 SHA1 49065c79a1f280f3c92b406e1bd9d886d0ec47cb SHA256 1dbfaedb1e9d045f80ec493c2b77466d7ff4ce151d4077f81e79c5d3f27eecea
+AUX icu4j-3.8.1-manifest 779 RMD160 02089bcb484d443818622da6f81a2bab83e8c002 SHA1 0eb5a211c63f510fb2480489db03d0abf0dcb98e SHA256 f490c0def8f05ae0cc27d4cc5e4a4f98b8223aed65ab0e637725cdfd95046589
+DIST icu4j-3_8_1-docs.jar 1470606 RMD160 8131fc868505050ded8563618f3a287e0a57d8eb SHA1 261ba7e69c97e1ea98f08c878280f9cc313184af SHA256 e3acbb4523ebf90288bde1ff4ebe16241ff8d5a3e53ce9e29636f569a42f0b46
+DIST icu4j-3_8_1-src.jar 13782832 RMD160 8b0feb5d956b4d82ecc69e8da89c572c5c25cc8c SHA1 420d988835f6ac4582ebab90a0f97d2800a8bc4e SHA256 c6b42a4a9fe0d13302897ee0bf2c955b8a7a02af1ee01ad9cdb61a515638ca0f
 DIST icu4jdocs_3_0.jar 1458824 RMD160 9f2391db66c5f12f4faf982b8b90dc5940de588c SHA1 cb9599d4eeae2e18352c2d1dd0ab0353c47500f5 SHA256 13b38d12566fba7d3e23a762fce15d3c03048da7bff4ddd6d1f03277fb2de6b0
 DIST icu4jdocs_3_6_1.jar 1272083 RMD160 bee225934e218f1ec30d6178cce683af696eb70a SHA1 3c20dbe3537307b57d76af05160b9d505a811d08 SHA256 94825decfad15ac4ba6dc1bda7893398e421a37b4ce7f3fa87b80a7d1c39d6f0
 DIST icu4jsrc_3_0.jar 8987972 RMD160 490d34765f678393bdbe6cabcff1755f6dd4154c SHA1 a8868abdecdd87913750d4e20f748832a3de74e9 SHA256 96fb1a09fe7021bfab76cc732daf76b0ce2bb64f84bf67b2ae1e610666edbdda
 DIST icu4jsrc_3_6_1.jar 12914772 RMD160 58f6c7dcdd62247b633e2ee162b98cb86d7bb498 SHA1 062c4274c1059e7403f7a0ea1b641384160296b2 SHA256 4800e02ff7916dda103063e51bd6f81237c1003087879b5a12a74593d02f1d36
-EBUILD icu4j-3.0-r1.ebuild 1103 RMD160 96ae817a6f6a98c3f300288f0ab671b0c6a0a09a SHA1 7f795957ec44137b62c33aa2edcd41f4e891358c SHA256 227d9b0a26a601d3e75a40dd6987895c76263fc65cdf4117561408882c19f7e7
-EBUILD icu4j-3.6.1-r1.ebuild 2251 RMD160 aafef16e10a58a6a655d13e0e80f18a29c773192 SHA1 785ee6798ddb2e097bc4accbf5d32cbd654fbb4e SHA256 87578c2f3167dd411ac5daaa0b14075a9baac2c047da603b788fd9dc58b2b1ba
-EBUILD icu4j-3.6.1.ebuild 2222 RMD160 df69c5f2a3905a294a58851b6a74dcceea347b10 SHA1 0cef8b42c4ca072ee6bc3ece262d97c6cd03af27 SHA256 b8deda99fd438c531ddd1e923ead202c65ef24b889f72fabc0b4dda1aac6f7df
-MISC ChangeLog 2546 RMD160 3be1369caa6f8dd59a2f7225daf7435907a99395 SHA1 24a773236ab0ccc21c543e24795f10e90100078c SHA256 a45ee75790a746071595031abaa942a10e1a9c371c379b7b1eac2732bfc1e7e7
+EBUILD icu4j-3.0-r1.ebuild 1111 RMD160 cf84d2d3b263dd6d1404a3cf654087296a928c1f SHA1 1a709c068eecfe819734ac09ce6361cdcbb373d5 SHA256 b95fd5f36a8ae4aae13406b71cab17077b4058410f3659c230bc2eb731d6a5ee
+EBUILD icu4j-3.6.1-r1.ebuild 2205 RMD160 f09e1e7719e1bdabe229f90ae536d5b1fc802eae SHA1 07becabe7ef65ec076b7e3a5d1efe4d0b9399455 SHA256 b7cac6e23e5d1d96d957236a08df30d57e1c753eba56d97fd904726085a55305
+EBUILD icu4j-3.6.1.ebuild 2177 RMD160 a72b3d1430a57d518897b44c0374294679acefd3 SHA1 88beb7b4ccb88a43d561c0461182b6cb3ce7403e SHA256 f2c36b25901661ad0b3be3c1314273ca99e640705d7cc711238af43eddf01657
+EBUILD icu4j-3.8.1.ebuild 2206 RMD160 e37880bbba51ee6dc3c51ae0c9afe77cc1a7cba3 SHA1 89099ff414ac4521999349fcf4d0b969cefa553b SHA256 79db357f06a367f69913df3e6a7ef0162890028a41964c6b170798596839da95
+MISC ChangeLog 2787 RMD160 bef57febcc97bf98cb9ddc9c3513d74b9a35e7c8 SHA1 c3c7934fd3b22b35491b28530e469b7d6714cae7 SHA256 c94b9a5c9d075cc76b320fdcbe3b913a17e098c224ee678a28f2d66d8bbde6b5
 MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb
diff --git a/dev-java/icu4j/files/icu4j-3.8.1-manifest b/dev-java/icu4j/files/icu4j-3.8.1-manifest
new file mode 100644 (file)
index 0000000..df86b89
--- /dev/null
@@ -0,0 +1,21 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %bundleName
+Bundle-Vendor: %vendorName
+Bundle-SymbolicName: com.ibm.icu; singleton:=true
+Bundle-Version: 3.8.1
+Bundle-Localization: plugin
+Export-Package: com.ibm.icu.lang;version="3.8.1",
+ com.ibm.icu.math;version="3.8.1",
+ com.ibm.icu.text;version="3.8.1",
+ com.ibm.icu.util;version="3.8.1",
+ com.ibm.icu.impl;x-internal:=true,
+ com.ibm.icu.impl.data;x-internal:=true,
+ com.ibm.icu.impl.data.icudt38b;x-internal:=true,
+ com.ibm.icu.impl.data.icudt38b.brkitr;x-internal:=true,
+ com.ibm.icu.impl.data.icudt38b.coll;x-internal:=true,
+ com.ibm.icu.impl.data.icudt38b.rbnf;x-internal:=true,
+ com.ibm.icu.impl.data.icudt38b.translit;x-internal:=true
+Eclipse-LazyStart: true
+Bundle-ClassPath: .
+Eclipse-ExtensibleAPI: true
index 57282bf6d31a34b2cf68eace04c547b3d174d3af..849d9eb5ebbc39e698679ac151974f398c69e009 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/icu4j-3.0-r1.ebuild,v 1.9 2007/05/18 21:57:31 welp Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/icu4j-3.0-r1.ebuild,v 1.10 2008/03/11 08:52:09 elvanor Exp $
 
 inherit java-pkg-2 java-ant-2
 
@@ -22,10 +22,10 @@ RDEPEND=">=virtual/jre-1.4"
 S=${WORKDIR}
 
 src_unpack() {
-       jar -xf ${DISTDIR}/${PN}src_${MY_PV}.jar || die "failed to unpack"
+       jar -xf "${DISTDIR}/${PN}src_${MY_PV}.jar" || die "failed to unpack"
        if use doc; then
                mkdir docs; cd docs
-               jar -xf ${DISTDIR}/${PN}docs_${MY_PV}.jar || die "failed to unpack docs"
+               jar -xf "${DISTDIR}/${PN}docs_${MY_PV}.jar" || die "failed to unpack docs"
        fi
 }
 
index 08c2382a05fa92be7f4c23353bf963620838d116..c5a6ff1cad6dc61f503b4711e2862c7e25411fb7 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/icu4j-3.6.1-r1.ebuild,v 1.1 2008/01/23 11:11:13 elvanor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/icu4j-3.6.1-r1.ebuild,v 1.2 2008/03/11 08:52:09 elvanor Exp $
 
 # We currently download the Javadoc documentation.
 # It could optionally be built using the Ant build file.
@@ -12,7 +12,7 @@ JAVA_PKG_IUSE="source"
 
 inherit java-pkg-2 java-ant-2 java-osgi
 
-DESCRIPTION="ICU4J is a mature, widely used set of Java libraries providing Unicode and Globalization support for software applications."
+DESCRIPTION="ICU4J is a set of Java libraries providing Unicode and Globalization support."
 MY_PV=${PV//./_}
 
 SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}src_${MY_PV}.jar
index 03ee29684fa440712ed49cbc08c9d4a931d40ab9..fe0dd2a7dd59d476338ae35d199d2c6a3f682bb6 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/icu4j-3.6.1.ebuild,v 1.3 2008/01/15 22:32:43 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/icu4j-3.6.1.ebuild,v 1.4 2008/03/11 08:52:09 elvanor Exp $
 
 # We currently download the Javadoc documentation.
 # It could optionally be built using the Ant build file.
@@ -12,7 +12,7 @@ JAVA_PKG_IUSE="source"
 
 inherit java-pkg-2 java-ant-2 java-osgi
 
-DESCRIPTION="ICU4J is a mature, widely used set of Java libraries providing Unicode and Globalization support for software applications."
+DESCRIPTION="ICU4J is a set of Java libraries providing Unicode and Globalization support."
 MY_PV=${PV//./_}
 
 SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}src_${MY_PV}.jar
diff --git a/dev-java/icu4j/icu4j-3.8.1.ebuild b/dev-java/icu4j/icu4j-3.8.1.ebuild
new file mode 100644 (file)
index 0000000..028089e
--- /dev/null
@@ -0,0 +1,69 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/icu4j-3.8.1.ebuild,v 1.1 2008/03/11 08:52:09 elvanor Exp $
+
+# We currently download the Javadoc documentation.
+# It could optionally be built using the Ant build file.
+# testdata.jar and icudata.jar do not contain *.class files but *.res files
+# These *.res data files are needed to built the final jar
+# They do not need to be installed however as they will already be present in icu4j.jar
+
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2 java-osgi
+
+DESCRIPTION="ICU4J is a set of Java libraries providing Unicode and Globalization support."
+MY_PV=${PV//./_}
+
+SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-src.jar
+       doc? ( http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-docs.jar )"
+
+HOMEPAGE="http://www.icu-project.org/"
+LICENSE="icu"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+
+RDEPEND=">=virtual/jre-1.4"
+
+DEPEND="test? ( || ( =virtual/jdk-1.5* =virtual/jdk-1.4* ) )
+       !test? ( >=virtual/jdk-1.4 )"
+
+IUSE="doc test"
+
+S="${WORKDIR}"
+
+src_unpack() {
+       jar -xf "${DISTDIR}/${PN}-${MY_PV}-src.jar" || die "Failed to unpack"
+
+       if use doc; then
+               mkdir docs; cd docs
+               jar -xf "${DISTDIR}/${PN}-${MY_PV}-docs.jar" || die "Failed to unpack docs"
+       fi
+}
+
+src_compile() {
+       # Classes extending CharsetICU not implementing Comparable
+       # Breaks with ecj on jdk 1.5+, javac doesn't mind - Sun's hack?
+       # Restricting to javac (didn't even care to try jikes) is better
+       # than forcing 1.4
+       java-pkg_force-compiler javac
+       eant jar || die "Compile failed"
+}
+
+src_install() {
+       java-osgi_newjar-fromfile "${PN}.jar" "${FILESDIR}/icu4j-${PV}-manifest" \
+               "International Components for Unicode for Java (ICU4J)"
+       java-pkg_dojar "${PN}-charsets.jar"
+
+       use doc && dohtml -r readme.html docs/*
+       use source && java-pkg_dosrc src/*
+}
+
+# Following tests will fail in Sun JDK 6 (at least):
+# toUnicode: http://bugs.icu-project.org/trac/ticket/5663
+# TimeZoneTransitionAdd: http://bugs.icu-project.org/trac/ticket/5887
+# These are bugs in the tests themselves, not in the library
+
+src_test() {
+       eant check
+}