Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/mx4j-core/, dev-java/mx4j-core/files/
Date: Mon, 26 Oct 2015 23:31:09
Message-Id: 1445902241.2bb4f7755916dc1ee8b54513bdbcc91a7b723ac1.chewi@gentoo
1 commit: 2bb4f7755916dc1ee8b54513bdbcc91a7b723ac1
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 26 23:15:52 2015 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 26 23:30:41 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bb4f775
7
8 dev-java/mx4j-core: Remove obsolete package
9
10 dev-java/mx4j-core/Manifest | 2 -
11 .../mx4j-core-3.0.1-split-javadoc-build.patch | 44 ----------------
12 .../mx4j-core-3.0.2-split-javadoc-build.patch | 45 ----------------
13 dev-java/mx4j-core/metadata.xml | 16 ------
14 dev-java/mx4j-core/mx4j-core-3.0.1.ebuild | 60 ---------------------
15 dev-java/mx4j-core/mx4j-core-3.0.2-r1.ebuild | 58 --------------------
16 dev-java/mx4j-core/mx4j-core-3.0.2.ebuild | 61 ----------------------
17 7 files changed, 286 deletions(-)
18
19 diff --git a/dev-java/mx4j-core/Manifest b/dev-java/mx4j-core/Manifest
20 deleted file mode 100644
21 index 9caec33..0000000
22 --- a/dev-java/mx4j-core/Manifest
23 +++ /dev/null
24 @@ -1,2 +0,0 @@
25 -DIST mx4j-3.0.1-src.tar.gz 622504 SHA256 f6cef53b68b06d97041f77b69e091eb76f08d1bd0d92f48c9bea958e8cb5dcba SHA512 7e37b49f7b25475a8926caa74b3f2d252f106374db26063d4f9c72f2e7a32e9c90256ee763e8791ce6a1981cacf8d1848cf616c7771c734c3e05494681663465 WHIRLPOOL 333cadbdc1d166202960d9da1978ccb2c6620d86e3b5aec40101139295160615bd32a5ada4c9346513361b41b026913b5d328aad15dc2bdc858587e920521c47
26 -DIST mx4j-3.0.2-src.tar.gz 618163 SHA256 bb552a8512567c4ab508a04c5931bff0d859dce36b44bdc4213c6433f02cb266 SHA512 24014ff723b0880ca5f94b28d3c698659aa04258853e259b7b4025decbf27f0022cbe9da1101b8e2d4e5fb950bfabd9556a402a9b99e6122d0fca324e479ebf8 WHIRLPOOL 31c45b785fef2596bcdd39f0c8507db8ea315de97cd78e34ae3e473b71e644d91554c6601ddcc283a325c36a2215680b8138ab89f3bd817961119edf2c935f05
27
28 diff --git a/dev-java/mx4j-core/files/mx4j-core-3.0.1-split-javadoc-build.patch b/dev-java/mx4j-core/files/mx4j-core-3.0.1-split-javadoc-build.patch
29 deleted file mode 100644
30 index 35c20fe..0000000
31 --- a/dev-java/mx4j-core/files/mx4j-core-3.0.1-split-javadoc-build.patch
32 +++ /dev/null
33 @@ -1,44 +0,0 @@
34 ---- mx4j-3.0.1.orig/build/build.xml 2006-10-27 22:11:53.000000000 -0500
35 -+++ mx4j-3.0.1/build/build.xml 2006-10-27 22:14:39.000000000 -0500
36 -@@ -417,7 +417,7 @@
37 - </jar>
38 - </target>
39 -
40 -- <target name="javadocs" description="Creates the MX4J javadoc documentation" depends="compile.tools">
41 -+ <target name="javadocs.core" description="Creates the MX4J javadoc documentation" depends="compile.rjmx">
42 - <mkdir dir="${dist.docs.api.dir}"/>
43 - <javadoc destdir="${dist.docs.api.dir}"
44 - author="true"
45 -@@ -431,6 +431,23 @@
46 - <group title="MX4J classes" packages="mx4j:mx4j.*"/>
47 - <sourcepath>
48 - <pathelement path="${core.src.dir}"/>
49 -+ </sourcepath>
50 -+ </javadoc>
51 -+ </target>
52 -+
53 -+ <target name="javadocs.tools" description="Creates the MX4J javadoc documentation" depends="compile.tools">
54 -+ <mkdir dir="${dist.docs.api.dir}"/>
55 -+ <javadoc destdir="${dist.docs.api.dir}"
56 -+ author="true"
57 -+ version="true"
58 -+ use="true"
59 -+ windowtitle="MX4J API"
60 -+ classpathref="classpath">
61 -+ <package name="mx4j.*"/>
62 -+
63 -+ <bottom><![CDATA[<center><small>Copyright &#169; 2001-2005 The MX4J Contributors. All Rights Reserved.</small></center>]]></bottom>
64 -+ <group title="MX4J classes" packages="mx4j:mx4j.*"/>
65 -+ <sourcepath>
66 - <pathelement path="${tools.src.dir}"/>
67 - </sourcepath>
68 - </javadoc>
69 -@@ -478,7 +495,7 @@
70 -
71 - <target name="main" depends="tests, compile.examples"/>
72 -
73 -- <target name="release" description="Builds a release of the MX4J project" depends="clean, manifest, releasing, main, docs, javadocs">
74 -+ <target name="release" description="Builds a release of the MX4J project" depends="clean, manifest, releasing, main, docs, javadocs.core">
75 - <mkdir dir="${release.dist.dir}"/>
76 - <mkdir dir="${binary.release.dist.dir}"/>
77 - <mkdir dir="${source.release.dist.dir}"/>
78
79 diff --git a/dev-java/mx4j-core/files/mx4j-core-3.0.2-split-javadoc-build.patch b/dev-java/mx4j-core/files/mx4j-core-3.0.2-split-javadoc-build.patch
80 deleted file mode 100644
81 index 9fba649..0000000
82 --- a/dev-java/mx4j-core/files/mx4j-core-3.0.2-split-javadoc-build.patch
83 +++ /dev/null
84 @@ -1,45 +0,0 @@
85 -diff -Nru mx4j-3.0.2.vanilla/build/build.xml mx4j-3.0.2/build/build.xml
86 ---- mx4j-3.0.2.vanilla/build/build.xml 2008-06-17 15:32:02.000000000 +0200
87 -+++ mx4j-3.0.2/build/build.xml 2008-06-17 15:34:06.000000000 +0200
88 -@@ -407,7 +407,7 @@
89 - </jar>
90 - </target>
91 -
92 -- <target name="javadocs" description="Creates the MX4J javadoc documentation" depends="compile.tools">
93 -+ <target name="javadocs.core" description="Creates the MX4J javadoc documentation" depends="compile.rjmx">
94 - <mkdir dir="${dist.docs.api.dir}"/>
95 - <javadoc destdir="${dist.docs.api.dir}"
96 - author="true"
97 -@@ -421,6 +421,23 @@
98 - <group title="MX4J classes" packages="mx4j:mx4j.*"/>
99 - <sourcepath>
100 - <pathelement path="${core.src.dir}"/>
101 -+ </sourcepath>
102 -+ </javadoc>
103 -+ </target>
104 -+
105 -+ <target name="javadocs.tools" description="Creates the MX4J javadoc documentation" depends="compile.tools">
106 -+ <mkdir dir="${dist.docs.api.dir}"/>
107 -+ <javadoc destdir="${dist.docs.api.dir}"
108 -+ author="true"
109 -+ version="true"
110 -+ use="true"
111 -+ windowtitle="MX4J API"
112 -+ classpathref="classpath">
113 -+ <package name="mx4j.*"/>
114 -+
115 -+ <bottom><![CDATA[<center><small>Copyright &#169; 2001-2005 The MX4J Contributors. All Rights Reserved.</small></center>]]></bottom>
116 -+ <group title="MX4J classes" packages="mx4j:mx4j.*"/>
117 -+ <sourcepath>
118 - <pathelement path="${tools.src.dir}"/>
119 - </sourcepath>
120 - </javadoc>
121 -@@ -468,7 +485,7 @@
122 -
123 - <target name="main" depends="tests, compile.examples"/>
124 -
125 -- <target name="release" description="Builds a release of the MX4J project" depends="clean, manifest, releasing, main, docs, javadocs">
126 -+ <target name="release" description="Builds a release of the MX4J project" depends="clean, manifest, releasing, main, docs, javadocs.core">
127 - <mkdir dir="${release.dist.dir}"/>
128 - <mkdir dir="${binary.release.dist.dir}"/>
129 - <mkdir dir="${source.release.dist.dir}"/>
130
131 diff --git a/dev-java/mx4j-core/metadata.xml b/dev-java/mx4j-core/metadata.xml
132 deleted file mode 100644
133 index 5d6507f..0000000
134 --- a/dev-java/mx4j-core/metadata.xml
135 +++ /dev/null
136 @@ -1,16 +0,0 @@
137 -<?xml version="1.0" encoding="UTF-8"?>
138 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
139 -<pkgmetadata>
140 - <herd>java</herd>
141 - <longdescription>
142 -MX4J is a project to build an Open Source implementation of the Java(TM) Management Extensions (JMX) and of the JMX Remote API (JSR 160) specifications, and to build tools relating to JMX.
143 -
144 -JMX is an optional package for J2SE that provides a standard way to manage applications. It can also be used to wrap legacy systems and provide a standard interface to the outside world, enabling the development of web services. JMX allows developers to write more modular and loosely coupled system components and reduce the complexity of large, interoperating systems.
145 -
146 -This package has the jmx core. To get everything that upstream binary has emerge
147 -dev-java/mx4j with the appropriate use flags.
148 -</longdescription>
149 - <upstream>
150 - <remote-id type="sourceforge">mx4j</remote-id>
151 - </upstream>
152 -</pkgmetadata>
153
154 diff --git a/dev-java/mx4j-core/mx4j-core-3.0.1.ebuild b/dev-java/mx4j-core/mx4j-core-3.0.1.ebuild
155 deleted file mode 100644
156 index 955ea42..0000000
157 --- a/dev-java/mx4j-core/mx4j-core-3.0.1.ebuild
158 +++ /dev/null
159 @@ -1,60 +0,0 @@
160 -# Copyright 1999-2012 Gentoo Foundation
161 -# Distributed under the terms of the GNU General Public License v2
162 -# $Id$
163 -
164 -inherit eutils java-pkg-2 java-ant-2
165 -
166 -MY_P="${P/-core/}"
167 -DESCRIPTION="Open Source implementation of the JMX and JMX Remote API (JSR 160) specifications"
168 -HOMEPAGE="http://mx4j.sourceforge.net/"
169 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz"
170 -
171 -# The ${S}/BUILD-HOWTO is a good source for dependencies
172 -# This package could also be built with jdk-1.3; see special
173 -# handling instructions in ${S}/BUILD-HOWTO.
174 -
175 -RDEPEND="dev-java/bcel
176 - dev-java/commons-logging
177 - dev-java/log4j"
178 -DEPEND="${RDEPEND}
179 - >=virtual/jdk-1.4
180 - >=dev-java/ant-core-1.6
181 - source? ( app-arch/zip )"
182 -RDEPEND="${RDEPEND}
183 - >=virtual/jre-1.4"
184 -
185 -LICENSE="Apache-1.1"
186 -SLOT="3.0"
187 -KEYWORDS="amd64 ~ppc ppc64 x86 ~x86-fbsd"
188 -IUSE="doc source"
189 -
190 -S="${WORKDIR}/${MY_P}"
191 -
192 -src_unpack() {
193 - unpack ${A}
194 -
195 - cd "${S}"
196 - epatch "${FILESDIR}/${P}-split-javadoc-build.patch"
197 -
198 - cd "${S}/lib"
199 - java-pkg_jar-from bcel bcel.jar
200 - java-pkg_jar-from commons-logging commons-logging.jar
201 - java-pkg_jar-from log4j
202 -}
203 -
204 -src_compile() {
205 - eant -f build/build.xml compile.jmx compile.rjmx $(use_doc javadocs.core)
206 -}
207 -
208 -src_install() {
209 - java-pkg_dojar dist/lib/*.jar
210 - dodoc README.txt
211 - use doc && java-pkg_dojavadoc dist/docs/api
212 - use source && java-pkg_dosrc "${S}/src/core/*"
213 -}
214 -
215 -pkg_postinst() {
216 - elog "This is a a new split ebuild for just the core jmx to reduce"
217 - elog "dependencies for packages that only require the core. You can"
218 - elog "find the examples in dev-java/mx4j and the tools in dev-java/mx4j-tools"
219 -}
220
221 diff --git a/dev-java/mx4j-core/mx4j-core-3.0.2-r1.ebuild b/dev-java/mx4j-core/mx4j-core-3.0.2-r1.ebuild
222 deleted file mode 100644
223 index 145b245..0000000
224 --- a/dev-java/mx4j-core/mx4j-core-3.0.2-r1.ebuild
225 +++ /dev/null
226 @@ -1,58 +0,0 @@
227 -# Copyright 1999-2015 Gentoo Foundation
228 -# Distributed under the terms of the GNU General Public License v2
229 -# $Id$
230 -
231 -EAPI=5
232 -
233 -inherit java-pkg-2 java-ant-2
234 -
235 -MY_PN="${PN/-core/}"
236 -MY_P="${MY_PN}-${PV}"
237 -
238 -DESCRIPTION="Open Source implementation of the JMX and JMX Remote API (JSR 160) specifications"
239 -HOMEPAGE="http://mx4j.sourceforge.net/"
240 -SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}-src.tar.gz"
241 -
242 -CDEPEND="dev-java/bcel:0
243 - dev-java/commons-logging:0
244 - dev-java/log4j:0"
245 -DEPEND=">=virtual/jdk-1.6
246 - >=dev-java/ant-core-1.6
247 - source? ( app-arch/zip )
248 - ${CDEPEND}"
249 -RDEPEND=">=virtual/jre-1.6
250 - ${CDEPEND}"
251 -
252 -LICENSE="Apache-1.1"
253 -SLOT="3.0"
254 -KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
255 -IUSE="doc source"
256 -
257 -S="${WORKDIR}/${MY_P}"
258 -
259 -JAVA_ANT_REWRITE_CLASSPATH="true"
260 -EANT_GENTOO_CLASSPATH="bcel,commons-logging,log4j"
261 -
262 -java_prepare() {
263 - epatch "${FILESDIR}/${P}-split-javadoc-build.patch"
264 -}
265 -
266 -src_compile() {
267 - eant -f build/build.xml \
268 - compile.jmx \
269 - compile.rjmx \
270 - $(use_doc javadocs.core)
271 -}
272 -
273 -src_install() {
274 - java-pkg_dojar dist/lib/*.jar
275 - dodoc README.txt
276 - use doc && java-pkg_dojavadoc dist/docs/api
277 - use source && java-pkg_dosrc "${S}/src/core/*"
278 -}
279 -
280 -pkg_postinst() {
281 - elog "This is a a new split ebuild for just the core jmx to reduce"
282 - elog "dependencies for packages that only require the core. You can"
283 - elog "find the examples in dev-java/mx4j and the tools in dev-java/mx4j-tools"
284 -}
285
286 diff --git a/dev-java/mx4j-core/mx4j-core-3.0.2.ebuild b/dev-java/mx4j-core/mx4j-core-3.0.2.ebuild
287 deleted file mode 100644
288 index 108b89f..0000000
289 --- a/dev-java/mx4j-core/mx4j-core-3.0.2.ebuild
290 +++ /dev/null
291 @@ -1,61 +0,0 @@
292 -# Copyright 1999-2012 Gentoo Foundation
293 -# Distributed under the terms of the GNU General Public License v2
294 -# $Id$
295 -
296 -inherit eutils java-pkg-2 java-ant-2
297 -
298 -MY_PN="${PN/-core/}"
299 -MY_P="${MY_PN}-${PV}"
300 -DESCRIPTION="Open Source implementation of the JMX and JMX Remote API (JSR 160) specifications"
301 -HOMEPAGE="http://mx4j.sourceforge.net/"
302 -SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}-src.tar.gz"
303 -
304 -# The ${S}/BUILD-HOWTO is a good source for dependencies
305 -# This package could also be built with jdk-1.3; see special
306 -# handling instructions in ${S}/BUILD-HOWTO.
307 -
308 -RDEPEND="dev-java/bcel
309 - dev-java/commons-logging
310 - dev-java/log4j"
311 -DEPEND="${RDEPEND}
312 - >=virtual/jdk-1.5
313 - >=dev-java/ant-core-1.6
314 - source? ( app-arch/zip )"
315 -RDEPEND="${RDEPEND}
316 - >=virtual/jre-1.5"
317 -
318 -LICENSE="Apache-1.1"
319 -SLOT="3.0"
320 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
321 -IUSE="doc source"
322 -
323 -S="${WORKDIR}/${MY_P}"
324 -
325 -src_unpack() {
326 - unpack ${A}
327 -
328 - cd "${S}"
329 - epatch "${FILESDIR}/${P}-split-javadoc-build.patch"
330 -
331 - cd "${S}/lib"
332 - java-pkg_jar-from bcel bcel.jar
333 - java-pkg_jar-from commons-logging commons-logging.jar
334 - java-pkg_jar-from log4j
335 -}
336 -
337 -src_compile() {
338 - eant -f build/build.xml compile.jmx compile.rjmx $(use_doc javadocs.core)
339 -}
340 -
341 -src_install() {
342 - java-pkg_dojar dist/lib/*.jar
343 - dodoc README.txt
344 - use doc && java-pkg_dojavadoc dist/docs/api
345 - use source && java-pkg_dosrc "${S}/src/core/*"
346 -}
347 -
348 -pkg_postinst() {
349 - elog "This is a a new split ebuild for just the core jmx to reduce"
350 - elog "dependencies for packages that only require the core. You can"
351 - elog "find the examples in dev-java/mx4j and the tools in dev-java/mx4j-tools"
352 -}