1 |
caster 10/02/28 14:35:44 |
2 |
|
3 |
Modified: ChangeLog ant-core-1.7.1-r4.ebuild |
4 |
Added: ant-core-1.8.0-r1.ebuild ant-core-1.7.1-r5.ebuild |
5 |
Log: |
6 |
Revbump to apply prefix changes from bug #306425 by Fabian Groffen <grobian@g.o>. Put everything from FILESDIR into the gentoo distfiles. |
7 |
(Portage version: 2.2_rc63/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.102 dev-java/ant-core/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-core/ChangeLog?rev=1.102&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-core/ChangeLog?rev=1.102&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-core/ChangeLog?r1=1.101&r2=1.102 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/ant-core/ChangeLog,v |
19 |
retrieving revision 1.101 |
20 |
retrieving revision 1.102 |
21 |
diff -u -r1.101 -r1.102 |
22 |
--- ChangeLog 21 Feb 2010 00:34:34 -0000 1.101 |
23 |
+++ ChangeLog 28 Feb 2010 14:35:43 -0000 1.102 |
24 |
@@ -1,11 +1,22 @@ |
25 |
# ChangeLog for dev-java/ant-core |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ChangeLog,v 1.101 2010/02/21 00:34:34 caster Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ChangeLog,v 1.102 2010/02/28 14:35:43 caster Exp $ |
29 |
|
30 |
# Ant-core blocks lower/older versions of ant-tasks, |
31 |
# since it will not run when there is a version mismatch betwean the 2 packages |
32 |
# Please unemerge ant-tasks when updating ant-core. |
33 |
|
34 |
+*ant-core-1.8.0-r1 (28 Feb 2010) |
35 |
+*ant-core-1.7.1-r5 (28 Feb 2010) |
36 |
+ |
37 |
+ 28 Feb 2010; Vlastimil Babka <caster@g.o> -files/1.7.1-ant-r1, |
38 |
+ +ant-core-1.7.1-r5.ebuild, -files/1.7.1-jdk4-javadoc.patch, |
39 |
+ +ant-core-1.8.0-r1.ebuild, -files/1.7.1-pkg-info.patch, |
40 |
+ ant-core-1.7.1-r4.ebuild: |
41 |
+ Revbump to apply prefix changes from bug #306425 by Fabian Groffen |
42 |
+ <grobian@g.o>. Put everything from FILESDIR into the gentoo |
43 |
+ distfiles. |
44 |
+ |
45 |
*ant-core-1.8.0 (21 Feb 2010) |
46 |
|
47 |
21 Feb 2010; Vlastimil Babka <caster@g.o> +ant-core-1.8.0.ebuild: |
48 |
|
49 |
|
50 |
|
51 |
1.6 dev-java/ant-core/ant-core-1.7.1-r4.ebuild |
52 |
|
53 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-core/ant-core-1.7.1-r4.ebuild?rev=1.6&view=markup |
54 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-core/ant-core-1.7.1-r4.ebuild?rev=1.6&content-type=text/plain |
55 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-core/ant-core-1.7.1-r4.ebuild?r1=1.5&r2=1.6 |
56 |
|
57 |
Index: ant-core-1.7.1-r4.ebuild |
58 |
=================================================================== |
59 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/ant-core/ant-core-1.7.1-r4.ebuild,v |
60 |
retrieving revision 1.5 |
61 |
retrieving revision 1.6 |
62 |
diff -u -r1.5 -r1.6 |
63 |
--- ant-core-1.7.1-r4.ebuild 4 Jul 2009 14:26:21 -0000 1.5 |
64 |
+++ ant-core-1.7.1-r4.ebuild 28 Feb 2010 14:35:43 -0000 1.6 |
65 |
@@ -1,6 +1,6 @@ |
66 |
-# Copyright 1999-2009 Gentoo Foundation |
67 |
+# Copyright 1999-2010 Gentoo Foundation |
68 |
# Distributed under the terms of the GNU General Public License v2 |
69 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ant-core-1.7.1-r4.ebuild,v 1.5 2009/07/04 14:26:21 ranger Exp $ |
70 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ant-core-1.7.1-r4.ebuild,v 1.6 2010/02/28 14:35:43 caster Exp $ |
71 |
|
72 |
EAPI="2" |
73 |
|
74 |
@@ -16,7 +16,7 @@ |
75 |
DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files." |
76 |
HOMEPAGE="http://ant.apache.org/" |
77 |
SRC_URI="mirror://apache/ant/source/${MY_P}-src.tar.bz2 |
78 |
- mirror://gentoo/ant-${PV}-gentoo.tar.bz2" |
79 |
+ mirror://gentoo/ant-${PV}-gentoo-r1.tar.bz2" |
80 |
|
81 |
LICENSE="Apache-2.0" |
82 |
SLOT="0" |
83 |
@@ -34,8 +34,8 @@ |
84 |
# remove bundled xerces |
85 |
rm -v lib/*.jar || die |
86 |
|
87 |
- epatch "${FILESDIR}/1.7.1-pkg-info.patch" |
88 |
- epatch "${FILESDIR}/1.7.1-jdk4-javadoc.patch" |
89 |
+ epatch "${WORKDIR}/patches/1.7.1-pkg-info.patch" |
90 |
+ epatch "${WORKDIR}/patches/1.7.1-jdk4-javadoc.patch" |
91 |
|
92 |
# use our split-ant build.xml |
93 |
mv -f "${WORKDIR}/build.xml" . || die |
94 |
@@ -69,7 +69,7 @@ |
95 |
dosym /usr/share/${PN}/lib/${jar} /usr/share/ant/lib/${jar} |
96 |
done |
97 |
|
98 |
- newbin "${FILESDIR}/${PV}-ant-r1" ant || die "failed to install wrapper" |
99 |
+ dobin "${WORKDIR}/ant" || die "failed to install wrapper" |
100 |
dodir /usr/share/${PN}/bin |
101 |
for each in antRun runant.pl runant.py complete-ant-cmd.pl ; do |
102 |
dobin "${S}/src/script/${each}" |
103 |
|
104 |
|
105 |
|
106 |
1.1 dev-java/ant-core/ant-core-1.8.0-r1.ebuild |
107 |
|
108 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-core/ant-core-1.8.0-r1.ebuild?rev=1.1&view=markup |
109 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-core/ant-core-1.8.0-r1.ebuild?rev=1.1&content-type=text/plain |
110 |
|
111 |
Index: ant-core-1.8.0-r1.ebuild |
112 |
=================================================================== |
113 |
# Copyright 1999-2010 Gentoo Foundation |
114 |
# Distributed under the terms of the GNU General Public License v2 |
115 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ant-core-1.8.0-r1.ebuild,v 1.1 2010/02/28 14:35:43 caster Exp $ |
116 |
|
117 |
EAPI="3" |
118 |
|
119 |
# don't depend on itself |
120 |
JAVA_ANT_DISABLE_ANT_CORE_DEP=true |
121 |
# rewriting build.xml files for the testcases has no reason atm |
122 |
JAVA_PKG_BSFIX_ALL=no |
123 |
JAVA_PKG_IUSE="doc source" |
124 |
inherit eutils java-pkg-2 java-ant-2 prefix |
125 |
|
126 |
MY_P="apache-ant-${PV}" |
127 |
|
128 |
DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files." |
129 |
HOMEPAGE="http://ant.apache.org/" |
130 |
SRC_URI="mirror://apache/ant/source/${MY_P}-src.tar.bz2 |
131 |
mirror://gentoo/ant-${PV}-gentoo-r1.tar.bz2" |
132 |
|
133 |
LICENSE="Apache-2.0" |
134 |
SLOT="0" |
135 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
136 |
IUSE="" |
137 |
|
138 |
DEPEND=">=virtual/jdk-1.4 |
139 |
!dev-java/ant-tasks |
140 |
!dev-java/ant-optional" |
141 |
RDEPEND="${DEPEND}" |
142 |
|
143 |
S="${WORKDIR}/${MY_P}" |
144 |
|
145 |
src_prepare() { |
146 |
# remove bundled xerces |
147 |
rm -v lib/*.jar || die |
148 |
|
149 |
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches/" |
150 |
eprefixify "${WORKDIR}/ant" |
151 |
|
152 |
# use our split-ant build.xml |
153 |
mv -f "${WORKDIR}/build.xml" . || die |
154 |
|
155 |
# bug #196080 |
156 |
java-ant_bsfix_one build.xml |
157 |
java-pkg-2_src_prepare |
158 |
} |
159 |
|
160 |
src_compile() { |
161 |
export ANT_HOME="" |
162 |
|
163 |
local bsyscp |
164 |
|
165 |
# this ensures that when building ant with bootstrapped ant, |
166 |
# only the source is used for resolving references, and not |
167 |
# the classes in bootstrapped ant |
168 |
# but jikes in kaffe has issues with this... |
169 |
if ! java-pkg_current-vm-matches kaffe; then |
170 |
bsyscp="-Dbuild.sysclasspath=ignore" |
171 |
fi |
172 |
|
173 |
CLASSPATH="$(java-config -t)" ./build.sh ${bsyscp} jars-core internal_dist \ |
174 |
$(use_doc javadocs) || die "build failed" |
175 |
} |
176 |
|
177 |
src_install() { |
178 |
dodir /usr/share/ant/lib |
179 |
for jar in ant.jar ant-bootstrap.jar ant-launcher.jar ; do |
180 |
java-pkg_dojar build/lib/${jar} |
181 |
dosym /usr/share/${PN}/lib/${jar} /usr/share/ant/lib/${jar} |
182 |
done |
183 |
|
184 |
dobin "${WORKDIR}/ant" || die "failed to install wrapper" |
185 |
dodir /usr/share/${PN}/bin |
186 |
for each in antRun antRun.pl runant.pl runant.py complete-ant-cmd.pl ; do |
187 |
dobin "${S}/src/script/${each}" |
188 |
dosym /usr/bin/${each} /usr/share/${PN}/bin/${each} |
189 |
done |
190 |
dosym /usr/share/${PN}/bin /usr/share/ant/bin |
191 |
|
192 |
insinto /usr/share/${PN} |
193 |
doins -r dist/etc |
194 |
dosym /usr/share/${PN}/etc /usr/share/ant/etc |
195 |
|
196 |
echo "ANT_HOME=\"${EPREFIX}/usr/share/ant\"" > "${T}/20ant" |
197 |
doenvd "${T}/20ant" || die "failed to install env.d file" |
198 |
|
199 |
dodoc NOTICE README WHATSNEW KEYS || die |
200 |
|
201 |
if use doc; then |
202 |
dohtml -r docs/* |
203 |
java-pkg_dojavadoc --symlink manual/api build/javadocs |
204 |
fi |
205 |
|
206 |
use source && java-pkg_dosrc src/main/* |
207 |
} |
208 |
|
209 |
pkg_postinst() { |
210 |
elog "The way of packaging ant in Gentoo has changed significantly since" |
211 |
elog "the 1.7.0 version, For more information, please see:" |
212 |
elog "http://www.gentoo.org/proj/en/java/ant-guide.xml" |
213 |
elog |
214 |
elog "Since 1.7.1, the ant-tasks meta-ebuild has been removed and its USE" |
215 |
elog "flags have been moved to dev-java/ant." |
216 |
} |
217 |
|
218 |
|
219 |
|
220 |
1.1 dev-java/ant-core/ant-core-1.7.1-r5.ebuild |
221 |
|
222 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-core/ant-core-1.7.1-r5.ebuild?rev=1.1&view=markup |
223 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-core/ant-core-1.7.1-r5.ebuild?rev=1.1&content-type=text/plain |
224 |
|
225 |
Index: ant-core-1.7.1-r5.ebuild |
226 |
=================================================================== |
227 |
# Copyright 1999-2010 Gentoo Foundation |
228 |
# Distributed under the terms of the GNU General Public License v2 |
229 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ant-core-1.7.1-r5.ebuild,v 1.1 2010/02/28 14:35:43 caster Exp $ |
230 |
|
231 |
EAPI="3" |
232 |
|
233 |
# don't depend on itself |
234 |
JAVA_ANT_DISABLE_ANT_CORE_DEP=true |
235 |
# rewriting build.xml files for the testcases has no reason atm |
236 |
JAVA_PKG_BSFIX_ALL=no |
237 |
JAVA_PKG_IUSE="doc source" |
238 |
inherit eutils java-pkg-2 java-ant-2 prefix |
239 |
|
240 |
MY_P="apache-ant-${PV}" |
241 |
|
242 |
DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files." |
243 |
HOMEPAGE="http://ant.apache.org/" |
244 |
SRC_URI="mirror://apache/ant/source/${MY_P}-src.tar.bz2 |
245 |
mirror://gentoo/ant-${PV}-gentoo-r2.tar.bz2" |
246 |
|
247 |
LICENSE="Apache-2.0" |
248 |
SLOT="0" |
249 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
250 |
IUSE="" |
251 |
|
252 |
DEPEND=">=virtual/jdk-1.4 |
253 |
!dev-java/ant-tasks |
254 |
!dev-java/ant-optional" |
255 |
RDEPEND="${DEPEND}" |
256 |
|
257 |
S="${WORKDIR}/${MY_P}" |
258 |
|
259 |
src_prepare() { |
260 |
# remove bundled xerces |
261 |
rm -v lib/*.jar || die |
262 |
|
263 |
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches/" |
264 |
eprefixify "${WORKDIR}/ant" |
265 |
|
266 |
# use our split-ant build.xml |
267 |
mv -f "${WORKDIR}/build.xml" . || die |
268 |
|
269 |
# bug #196080 |
270 |
java-ant_bsfix_one build.xml |
271 |
java-pkg-2_src_prepare |
272 |
} |
273 |
|
274 |
src_compile() { |
275 |
export ANT_HOME="" |
276 |
|
277 |
local bsyscp |
278 |
|
279 |
# this ensures that when building ant with bootstrapped ant, |
280 |
# only the source is used for resolving references, and not |
281 |
# the classes in bootstrapped ant |
282 |
# but jikes in kaffe has issues with this... |
283 |
if ! java-pkg_current-vm-matches kaffe; then |
284 |
bsyscp="-Dbuild.sysclasspath=ignore" |
285 |
fi |
286 |
|
287 |
CLASSPATH="$(java-config -t)" ./build.sh ${bsyscp} jars-core internal_dist \ |
288 |
$(use_doc javadocs) || die "build failed" |
289 |
} |
290 |
|
291 |
src_install() { |
292 |
dodir /usr/share/ant/lib |
293 |
for jar in ant.jar ant-bootstrap.jar ant-launcher.jar ; do |
294 |
java-pkg_dojar build/lib/${jar} |
295 |
dosym /usr/share/${PN}/lib/${jar} /usr/share/ant/lib/${jar} |
296 |
done |
297 |
|
298 |
dobin "${WORKDIR}/ant" || die "failed to install wrapper" |
299 |
dodir /usr/share/${PN}/bin |
300 |
for each in antRun runant.pl runant.py complete-ant-cmd.pl ; do |
301 |
dobin "${S}/src/script/${each}" |
302 |
dosym /usr/bin/${each} /usr/share/${PN}/bin/${each} |
303 |
done |
304 |
dosym /usr/share/${PN}/bin /usr/share/ant/bin |
305 |
|
306 |
insinto /usr/share/${PN} |
307 |
doins -r dist/etc |
308 |
dosym /usr/share/${PN}/etc /usr/share/ant/etc |
309 |
|
310 |
echo "ANT_HOME=\"${EPREFIX}/usr/share/ant\"" > "${T}/20ant" |
311 |
doenvd "${T}/20ant" || die "failed to install env.d file" |
312 |
|
313 |
dodoc README WHATSNEW KEYS |
314 |
|
315 |
if use doc; then |
316 |
dohtml welcome.html |
317 |
dohtml -r docs/* |
318 |
java-pkg_dojavadoc --symlink manual/api build/javadocs |
319 |
fi |
320 |
|
321 |
use source && java-pkg_dosrc src/main/* |
322 |
} |
323 |
|
324 |
pkg_postinst() { |
325 |
elog "The way of packaging ant in Gentoo has changed significantly since" |
326 |
elog "the 1.7.0 version, For more information, please see:" |
327 |
elog "http://www.gentoo.org/proj/en/java/ant-guide.xml" |
328 |
elog |
329 |
elog "Since 1.7.1, the ant-tasks meta-ebuild has been removed and its USE" |
330 |
elog "flags have been moved to dev-java/ant." |
331 |
} |