Gentoo Archives: gentoo-commits

From: "Petteri Raty (betelgeuse)" <betelgeuse@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/icu4j: icu4j-4.4.1.1.ebuild ChangeLog
Date: Sat, 26 Jun 2010 12:50:23
Message-Id: 20100626125018.9A1692CF78@corvid.gentoo.org
1 betelgeuse 10/06/26 12:50:18
2
3 Modified: ChangeLog
4 Added: icu4j-4.4.1.1.ebuild
5 Log:
6 Version bump. Reported in bug #325649.
7 (Portage version: 2.2_rc67/cvs/Linux i686)
8
9 Revision Changes Path
10 1.48 dev-java/icu4j/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icu4j/ChangeLog?rev=1.48&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icu4j/ChangeLog?rev=1.48&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icu4j/ChangeLog?r1=1.47&r2=1.48
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-java/icu4j/ChangeLog,v
19 retrieving revision 1.47
20 retrieving revision 1.48
21 diff -u -r1.47 -r1.48
22 --- ChangeLog 26 Jun 2010 12:33:36 -0000 1.47
23 +++ ChangeLog 26 Jun 2010 12:50:18 -0000 1.48
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-java/icu4j
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/ChangeLog,v 1.47 2010/06/26 12:33:36 betelgeuse Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/ChangeLog,v 1.48 2010/06/26 12:50:18 betelgeuse Exp $
29 +
30 +*icu4j-4.4.1.1 (26 Jun 2010)
31 +
32 + 26 Jun 2010; Petteri Räty <betelgeuse@g.o> +icu4j-4.4.1.1.ebuild:
33 + Version bump. Reported in bug #325649.
34
35 26 Jun 2010; Petteri Räty <betelgeuse@g.o> -icu4j-4.2.ebuild,
36 -icu4j-4.2.1.ebuild, -icu4j-4.4.ebuild:
37
38
39
40 1.1 dev-java/icu4j/icu4j-4.4.1.1.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icu4j/icu4j-4.4.1.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icu4j/icu4j-4.4.1.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: icu4j-4.4.1.1.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/icu4j-4.4.1.1.ebuild,v 1.1 2010/06/26 12:50:18 betelgeuse Exp $
50
51 EAPI=2
52
53 # We currently download the Javadoc documentation.
54 # It could optionally be built using the Ant build file.
55 # testdata.jar and icudata.jar do not contain *.class files but *.res files
56 # These *.res data files are needed to built the final jar
57 # They do not need to be installed however as they will already be present in icu4j.jar
58
59 JAVA_PKG_IUSE="doc test source"
60
61 inherit java-pkg-2 java-ant-2
62
63 DESCRIPTION="A set of Java libraries providing Unicode and Globalization support."
64 MY_PV=${PV//./_}
65
66 SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-src.jar
67 doc? ( http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-docs.jar )"
68
69 HOMEPAGE="http://www.icu-project.org/"
70 LICENSE="icu"
71 SLOT="4.4"
72 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
73 IUSE=""
74
75 # Tests only work with JDK-1.6, severe out of memory problems appear with 1.5
76 DEPEND="test? ( =virtual/jdk-1.6* )
77 !test? ( >=virtual/jdk-1.5 )"
78 RDEPEND=">=virtual/jre-1.5"
79
80 RESTRICT="ia64? ( test )"
81
82 JAVA_PKG_WANT_SOURCE="1.5"
83 JAVA_PKG_WANT_TARGET="1.5"
84 JAVA_PKG_BSFIX_NAME="build.xml common-targets.xml"
85
86 S="${WORKDIR}"
87
88 src_unpack() {
89 jar -xf "${DISTDIR}/${PN}-${MY_PV}-src.jar" || die "Failed to unpack"
90
91 if use doc; then
92 mkdir docs; cd docs
93 jar -xf "${DISTDIR}/${PN}-${MY_PV}-docs.jar" || die "Failed to unpack docs"
94 fi
95 }
96
97 src_compile() {
98 # Classes extending CharsetICU not implementing Comparable
99 # Breaks with ecj on jdk 1.5+, javac doesn't mind - Sun's hack?
100 # Restricting to javac (didn't even care to try jikes) is better
101 # than forcing 1.4
102 java-pkg_force-compiler javac
103 eant jar || die "Compile failed"
104 }
105
106 src_install() {
107 java-pkg_dojar "${PN}.jar"
108 java-pkg_dojar "${PN}-charsets.jar"
109 java-pkg_dojar "${PN}-localespi.jar"
110
111 dohtml readme.html || die
112 use doc && java-pkg_dojavadoc docs
113 use source && java-pkg_dosrc main/classes/*/src/com
114 }
115
116 src_test() {
117 # bug #299082 - these tests fail with icedtea, assume too much about double<>string conversions
118 sed -i '/DiagBigDecimal/d' main/tests/core/src/com/ibm/icu/dev/test/TestAllCore.java || die
119 eant check
120 }