1 |
caster 10/04/29 12:23:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: icu4j-4.4.1.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.44 dev-java/icu4j/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/ChangeLog?rev=1.44&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/ChangeLog?rev=1.44&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/ChangeLog?r1=1.43&r2=1.44 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/icu4j/ChangeLog,v |
19 |
retrieving revision 1.43 |
20 |
retrieving revision 1.44 |
21 |
diff -u -r1.43 -r1.44 |
22 |
--- ChangeLog 24 Apr 2010 17:06:32 -0000 1.43 |
23 |
+++ ChangeLog 29 Apr 2010 12:23:43 -0000 1.44 |
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.43 2010/04/24 17:06:32 grobian Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/ChangeLog,v 1.44 2010/04/29 12:23:43 caster Exp $ |
29 |
+ |
30 |
+*icu4j-4.4.1 (29 Apr 2010) |
31 |
+ |
32 |
+ 29 Apr 2010; Vlastimil Babka <caster@g.o> +icu4j-4.4.1.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
24 Apr 2010; Fabian Groffen <grobian@g.o> icu4j-3.8.1-r1.ebuild, |
36 |
icu4j-4.4.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-java/icu4j/icu4j-4.4.1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/icu4j-4.4.1.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/icu4j-4.4.1.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: icu4j-4.4.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.ebuild,v 1.1 2010/04/29 12:23:43 caster 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 |
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 |
} |