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/ant-core: ChangeLog ant-core-1.7.0-r1.ebuild
Date: Wed, 28 Nov 2007 02:07:22
Message-Id: E1IxCKb-0002C7-VO@stork.gentoo.org
1 betelgeuse 07/11/28 02:07:17
2
3 Modified: ChangeLog
4 Added: ant-core-1.7.0-r1.ebuild
5 Log:
6 Fix Javadoc links in the manual using the new --symlink feature to dojavadoc. Fixes bug #185694.
7 (Portage version: 2.1.4_rc3)
8
9 Revision Changes Path
10 1.75 dev-java/ant-core/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-core/ChangeLog?rev=1.75&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-core/ChangeLog?rev=1.75&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-core/ChangeLog?r1=1.74&r2=1.75
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-java/ant-core/ChangeLog,v
19 retrieving revision 1.74
20 retrieving revision 1.75
21 diff -u -r1.74 -r1.75
22 --- ChangeLog 12 May 2007 17:43:18 -0000 1.74
23 +++ ChangeLog 28 Nov 2007 02:07:17 -0000 1.75
24 @@ -1,11 +1,18 @@
25 # ChangeLog for dev-java/ant-core
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ChangeLog,v 1.74 2007/05/12 17:43:18 wltjr Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ChangeLog,v 1.75 2007/11/28 02:07:17 betelgeuse 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.7.0-r1 (28 Nov 2007)
35 +
36 + 28 Nov 2007; Petteri Räty <betelgeuse@g.o>
37 + +ant-core-1.7.0-r1.ebuild:
38 + Fix Javadoc links in the manual using the new --symlink feature to
39 + dojavadoc. Fixes bug #185694.
40 +
41 12 May 2007; William L. Thomson Jr. <wltjr@g.o>
42 ant-core-1.7.0.ebuild:
43 Stable on amd64, bug #176856
44 @@ -301,6 +308,7 @@
45 src_compile. Don't use global classpath when compiling
46
47 *ant-core-1.6.2 (10 Sep 2004)
48 +*ant-core-1.5.4 (10 Sep 2004)
49
50 10 Sep 2004; Thomas Matthijs <axxo@g.o> +metadata.xml,
51 +files/1.5.4-ant, +files/1.6.2-ant, +files/build.sh-exit-fix.patch.gz,
52
53
54
55 1.1 dev-java/ant-core/ant-core-1.7.0-r1.ebuild
56
57 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-core/ant-core-1.7.0-r1.ebuild?rev=1.1&view=markup
58 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-core/ant-core-1.7.0-r1.ebuild?rev=1.1&content-type=text/plain
59
60 Index: ant-core-1.7.0-r1.ebuild
61 ===================================================================
62 # Copyright 1999-2007 Gentoo Foundation
63 # Distributed under the terms of the GNU General Public License v2
64 # $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ant-core-1.7.0-r1.ebuild,v 1.1 2007/11/28 02:07:17 betelgeuse Exp $
65
66 # don't depend on itself
67 JAVA_ANT_DISABLE_ANT_CORE_DEP=true
68 # rewriting build.xml files for the testcases has no reason atm
69 JAVA_PKG_BSFIX_ALL=no
70 inherit java-pkg-2 java-ant-2
71
72 MY_P="apache-ant-${PV}"
73
74 DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files."
75 HOMEPAGE="http://ant.apache.org/"
76 SRC_URI="mirror://apache/ant/source/${MY_P}-src.tar.bz2
77 mirror://gentoo/ant-${PV}-gentoo.tar.bz2"
78
79 LICENSE="Apache-2.0"
80 SLOT="0"
81 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
82 IUSE="doc source"
83
84 # 1.7.0 instead of $PV in blocks is intentional, >1.7.0 upgrades should
85 # be block free (but these fixed blocks should stay there for users upgrading
86 # from <1.7.0 of course)
87 RDEPEND=">=virtual/jdk-1.4
88 !<dev-java/ant-tasks-1.7.0
89 !<dev-java/ant-1.7.0
90 !dev-java/ant-optional"
91 DEPEND="${RDEPEND}
92 source? ( app-arch/zip )"
93
94 S="${WORKDIR}/${MY_P}"
95
96 src_unpack() {
97 unpack ${A}
98 cd "${S}"
99
100 # remove bundled xerces
101 rm -v lib/*.jar
102
103 # use our split-ant build.xml
104 mv -f ${WORKDIR}/build.xml .
105 }
106
107 src_compile() {
108 export ANT_HOME=""
109
110 local bsyscp
111
112 # this ensures that when building ant with bootstrapped ant,
113 # only the source is used for resolving references, and not
114 # the classes in bootstrapped ant
115 # but jikes in kaffe has issues with this...
116 if ! java-pkg_current-vm-matches kaffe; then
117 bsyscp="-Dbuild.sysclasspath=ignore"
118 fi
119
120 ./build.sh ${bsyscp} jars-core $(use_doc javadocs) \
121 || die "build failed"
122 }
123
124 src_install() {
125 newbin ${FILESDIR}/${PV}-ant ant || die "failed to install wrapper"
126
127 dodir /usr/share/${PN}/bin
128 for each in antRun runant.pl runant.py complete-ant-cmd.pl ; do
129 dobin ${S}/src/script/${each}
130 dosym /usr/bin/${each} /usr/share/${PN}/bin/${each}
131 done
132
133 echo "ANT_HOME=\"/usr/share/${PN}\"" > ${T}/20ant
134 doenvd ${T}/20ant || die "failed to install env.d file"
135
136 java-pkg_dojar build/lib/ant.jar
137 java-pkg_dojar build/lib/ant-bootstrap.jar
138 java-pkg_dojar build/lib/ant-launcher.jar
139
140 use source && java-pkg_dosrc src/main/*
141
142 dodoc README WHATSNEW KEYS
143
144 if use doc; then
145 dohtml welcome.html
146 dohtml -r docs/*
147 java-pkg_dojavadoc --symlink manual/api build/javadocs
148 fi
149 }
150
151 pkg_postinst() {
152 elog "The way of packaging ant in Gentoo has changed significantly since"
153 elog "the 1.7.0 version, For more information, please see:"
154 elog "http://www.gentoo.org/proj/en/java/ant-guide.xml"
155 }
156
157
158
159 --
160 gentoo-commits@g.o mailing list