1 |
elvanor 08/07/28 19:18:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: icu4j-3.8.1-r1.ebuild icu4j-4.0.ebuild |
5 |
Removed: icu4j-3.8.1.ebuild |
6 |
Log: |
7 |
Commited icu4j-4.0 and fixed 3.8.1 for Eclipse Ganymede |
8 |
(Portage version: 2.1.4.4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.24 dev-java/icu4j/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/ChangeLog?rev=1.24&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/ChangeLog?rev=1.24&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/ChangeLog?r1=1.23&r2=1.24 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/icu4j/ChangeLog,v |
20 |
retrieving revision 1.23 |
21 |
retrieving revision 1.24 |
22 |
diff -u -r1.23 -r1.24 |
23 |
--- ChangeLog 23 Jul 2008 14:39:20 -0000 1.23 |
24 |
+++ ChangeLog 28 Jul 2008 19:18:27 -0000 1.24 |
25 |
@@ -1,6 +1,16 @@ |
26 |
# ChangeLog for dev-java/icu4j |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/ChangeLog,v 1.23 2008/07/23 14:39:20 elvanor Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/ChangeLog,v 1.24 2008/07/28 19:18:27 elvanor Exp $ |
30 |
+ |
31 |
+*icu4j-4.0 (28 Jul 2008) |
32 |
+*icu4j-3.8.1-r1 (28 Jul 2008) |
33 |
+ |
34 |
+ 28 Jul 2008; Jean-Noël Rivasseau <elvanor@g.o> |
35 |
+ files/icu4j-3.8.1-manifest, +files/icu4j-4.0-manifest, |
36 |
+ -icu4j-3.8.1.ebuild, +icu4j-3.8.1-r1.ebuild, +icu4j-4.0.ebuild: |
37 |
+ Added icu4j-4.0 (slotted), changed icu4j-3.8.1 so that it will work with |
38 |
+ Eclipse-3.4. Actually, it's the wtp-3.0 plugin that requires a version of |
39 |
+ icu4j>3.8.1.1 |
40 |
|
41 |
23 Jul 2008; Jean-Noël Rivasseau <elvanor@g.o> icu4j-3.8.1.ebuild: |
42 |
Disabled tests as they are currently failing. |
43 |
|
44 |
|
45 |
|
46 |
1.1 dev-java/icu4j/icu4j-3.8.1-r1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/icu4j-3.8.1-r1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/icu4j-3.8.1-r1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: icu4j-3.8.1-r1.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2008 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/icu4j-3.8.1-r1.ebuild,v 1.1 2008/07/28 19:18:27 elvanor Exp $ |
56 |
|
57 |
# We currently download the Javadoc documentation. |
58 |
# It could optionally be built using the Ant build file. |
59 |
# testdata.jar and icudata.jar do not contain *.class files but *.res files |
60 |
# These *.res data files are needed to built the final jar |
61 |
# They do not need to be installed however as they will already be present in icu4j.jar |
62 |
|
63 |
JAVA_PKG_IUSE="source" |
64 |
|
65 |
inherit java-pkg-2 java-ant-2 java-osgi |
66 |
|
67 |
DESCRIPTION="ICU4J is a set of Java libraries providing Unicode and Globalization support." |
68 |
MY_PV=${PV//./_} |
69 |
|
70 |
SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-src.jar |
71 |
doc? ( http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-docs.jar )" |
72 |
|
73 |
HOMEPAGE="http://www.icu-project.org/" |
74 |
LICENSE="icu" |
75 |
SLOT="0" |
76 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
77 |
|
78 |
RDEPEND=">=virtual/jre-1.4" |
79 |
|
80 |
# build.xml does file version detection that fails for 1.7 |
81 |
# http://bugs.gentoo.org/show_bug.cgi?id=213555 |
82 |
DEPEND="test? ( || ( =virtual/jdk-1.5* =virtual/jdk-1.4* ) ) |
83 |
!test? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5* =virtual/jdk-1.4* ) ) |
84 |
app-arch/unzip" |
85 |
|
86 |
IUSE="doc test" |
87 |
|
88 |
S="${WORKDIR}" |
89 |
|
90 |
src_unpack() { |
91 |
jar -xf "${DISTDIR}/${PN}-${MY_PV}-src.jar" || die "Failed to unpack" |
92 |
|
93 |
if use doc; then |
94 |
mkdir docs; cd docs |
95 |
jar -xf "${DISTDIR}/${PN}-${MY_PV}-docs.jar" || die "Failed to unpack docs" |
96 |
fi |
97 |
} |
98 |
|
99 |
src_compile() { |
100 |
# Classes extending CharsetICU not implementing Comparable |
101 |
# Breaks with ecj on jdk 1.5+, javac doesn't mind - Sun's hack? |
102 |
# Restricting to javac (didn't even care to try jikes) is better |
103 |
# than forcing 1.4 |
104 |
java-pkg_force-compiler javac |
105 |
eant jar || die "Compile failed" |
106 |
} |
107 |
|
108 |
src_install() { |
109 |
java-osgi_newjar-fromfile --no-auto-version "${PN}.jar" "${FILESDIR}/icu4j-${PV}-manifest" \ |
110 |
"International Components for Unicode for Java (ICU4J)" |
111 |
java-pkg_dojar "${PN}-charsets.jar" |
112 |
|
113 |
use doc && dohtml -r readme.html docs/* |
114 |
use source && java-pkg_dosrc src/* |
115 |
} |
116 |
|
117 |
# Following tests will fail in Sun JDK 6 (at least): |
118 |
# toUnicode: http://bugs.icu-project.org/trac/ticket/5663 |
119 |
# TimeZoneTransitionAdd: http://bugs.icu-project.org/trac/ticket/5887 |
120 |
# These are bugs in the tests themselves, not in the library |
121 |
|
122 |
src_test() { |
123 |
# Tests currently fail, disabled for now. Need to investigate (tests work in icu4j-4.0) |
124 |
#eant check |
125 |
einfo "Tests currently disabled." |
126 |
} |
127 |
|
128 |
|
129 |
|
130 |
1.1 dev-java/icu4j/icu4j-4.0.ebuild |
131 |
|
132 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/icu4j-4.0.ebuild?rev=1.1&view=markup |
133 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/icu4j-4.0.ebuild?rev=1.1&content-type=text/plain |
134 |
|
135 |
Index: icu4j-4.0.ebuild |
136 |
=================================================================== |
137 |
# Copyright 1999-2008 Gentoo Foundation |
138 |
# Distributed under the terms of the GNU General Public License v2 |
139 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/icu4j-4.0.ebuild,v 1.1 2008/07/28 19:18:27 elvanor Exp $ |
140 |
|
141 |
# We currently download the Javadoc documentation. |
142 |
# It could optionally be built using the Ant build file. |
143 |
# testdata.jar and icudata.jar do not contain *.class files but *.res files |
144 |
# These *.res data files are needed to built the final jar |
145 |
# They do not need to be installed however as they will already be present in icu4j.jar |
146 |
|
147 |
JAVA_PKG_IUSE="doc test source" |
148 |
|
149 |
inherit java-pkg-2 java-ant-2 java-osgi |
150 |
|
151 |
DESCRIPTION="ICU4J is a set of Java libraries providing Unicode and Globalization support." |
152 |
MY_PV=${PV//./_} |
153 |
|
154 |
SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-src.jar |
155 |
doc? ( http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-docs.jar )" |
156 |
|
157 |
HOMEPAGE="http://www.icu-project.org/" |
158 |
LICENSE="icu" |
159 |
SLOT="4" |
160 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
161 |
|
162 |
RDEPEND=">=virtual/jre-1.4" |
163 |
|
164 |
# build.xml does file version detection that fails for 1.7 |
165 |
# http://bugs.gentoo.org/show_bug.cgi?id=213555 |
166 |
DEPEND="test? ( >=virtual/jdk-1.6 ) |
167 |
!test? ( >=virtual/jdk-1.4 ) |
168 |
app-arch/unzip" |
169 |
|
170 |
RESTRICT="ia64? ( test ) |
171 |
x86-fbsd? ( test )" |
172 |
JAVA_PKG_WANT_SOURCE="1.4" |
173 |
JAVA_PKG_WANT_TARGET="1.4" |
174 |
|
175 |
S="${WORKDIR}" |
176 |
|
177 |
src_unpack() { |
178 |
jar -xf "${DISTDIR}/${PN}-${MY_PV}-src.jar" || die "Failed to unpack" |
179 |
|
180 |
if use doc; then |
181 |
mkdir docs; cd docs |
182 |
jar -xf "${DISTDIR}/${PN}-${MY_PV}-docs.jar" || die "Failed to unpack docs" |
183 |
fi |
184 |
} |
185 |
|
186 |
src_compile() { |
187 |
# Classes extending CharsetICU not implementing Comparable |
188 |
# Breaks with ecj on jdk 1.5+, javac doesn't mind - Sun's hack? |
189 |
# Restricting to javac (didn't even care to try jikes) is better |
190 |
# than forcing 1.4 |
191 |
java-pkg_force-compiler javac |
192 |
eant jar || die "Compile failed" |
193 |
} |
194 |
|
195 |
src_install() { |
196 |
java-osgi_newjar-fromfile "${PN}.jar" "${FILESDIR}/icu4j-${PV}-manifest" \ |
197 |
"International Components for Unicode for Java (ICU4J)" |
198 |
java-pkg_dojar "${PN}-charsets.jar" |
199 |
|
200 |
use doc && dohtml -r readme.html docs/* |
201 |
use source && java-pkg_dosrc src/* |
202 |
} |
203 |
|
204 |
# Tests only work with JDK-1.6, severe out of memory problems appear with 1.5 |
205 |
|
206 |
src_test() { |
207 |
eant check |
208 |
} |