mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-java/jaxme: Remove last-rited pkg
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST ws-jaxme-0.5.2-src.tar.gz 5478402 SHA256 0415d721259acf95c564fb84606bb17f6227c1cc444e89b78d1cd9903c1c88dc SHA512 f41e0e66f8c017efb55a3d4e002caaf8e4978ca52fa2c66ed25daf8c22a0643d1865a8a7313b72326926cc08ae79d08136d662ae83a6e1cdc6eb4d9bc7fbacdc WHIRLPOOL b7815c1e7dbace025a8980a6e4571abfa6976f50fff988d7686f6c0e7c2316aeef47b5e788323298861d3218852b8c57f56ad4ec610b2ef4905471f644f11b22
|
||||
@@ -1,24 +0,0 @@
|
||||
diff -ur ws-jaxme-0.5.2-old/src/jaxme/org/apache/ws/jaxme/impl/JMMarshallerImpl.java ws-jaxme-0.5.2/src/jaxme/org/apache/ws/jaxme/impl/JMMarshallerImpl.java
|
||||
--- ws-jaxme-0.5.2-old/src/jaxme/org/apache/ws/jaxme/impl/JMMarshallerImpl.java 2005-03-10 12:14:08.000000000 +0200
|
||||
+++ ws-jaxme-0.5.2/src/jaxme/org/apache/ws/jaxme/impl/JMMarshallerImpl.java 2009-04-05 00:43:39.498597962 +0300
|
||||
@@ -45,7 +45,7 @@
|
||||
* @author <a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
|
||||
* @version $Id$
|
||||
*/
|
||||
-public class JMMarshallerImpl extends JMControllerImpl implements JMMarshaller {
|
||||
+public abstract class JMMarshallerImpl extends JMControllerImpl implements JMMarshaller {
|
||||
/** Default value for {@link Marshaller#JAXB_ENCODING}.
|
||||
* (UTF-8 encoding)
|
||||
*/
|
||||
diff -ur ws-jaxme-0.5.2-old/src/jaxme/org/apache/ws/jaxme/impl/JMUnmarshallerImpl.java ws-jaxme-0.5.2/src/jaxme/org/apache/ws/jaxme/impl/JMUnmarshallerImpl.java
|
||||
--- ws-jaxme-0.5.2-old/src/jaxme/org/apache/ws/jaxme/impl/JMUnmarshallerImpl.java 2005-03-04 12:41:53.000000000 +0200
|
||||
+++ ws-jaxme-0.5.2/src/jaxme/org/apache/ws/jaxme/impl/JMUnmarshallerImpl.java 2009-04-05 00:43:53.635210800 +0300
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
/** JaxMe's {@link javax.xml.bind.Unmarshaller} implementation.
|
||||
*/
|
||||
-public class JMUnmarshallerImpl extends JMControllerImpl implements JMUnmarshaller {
|
||||
+public abstract class JMUnmarshallerImpl extends JMControllerImpl implements JMUnmarshaller {
|
||||
private static final SAXParserFactory spf;
|
||||
static {
|
||||
spf = SAXParserFactory.newInstance();
|
||||
@@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils
|
||||
|
||||
MY_PN=ws-${PN}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
DESCRIPTION="An open source implementation of JAXB, the specification for Java/XML binding"
|
||||
HOMEPAGE="http://ws.apache.org/jaxme/index.html"
|
||||
SRC_URI="mirror://apache/ws/${PN}/source/${MY_P}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP=">=dev-java/antlr-2.7.7-r7:0
|
||||
>=dev-java/log4j-1.2.8:0
|
||||
dev-java/junit:0
|
||||
dev-java/xmldb:0"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
dev-java/xerces:2
|
||||
${COMMON_DEP}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
dev-db/hsqldb:0
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# We do it later
|
||||
JAVA_PKG_BSFIX="off"
|
||||
|
||||
java_prepare() {
|
||||
cd "${S}/prerequisites"
|
||||
rm *.jar
|
||||
java-pkg_jarfrom antlr
|
||||
java-pkg_jarfrom junit
|
||||
java-pkg_jarfrom log4j log4j.jar log4j-1.2.8.jar
|
||||
java-pkg_jarfrom xmldb xmldb-api.jar xmldb-api-20021118.jar
|
||||
java-pkg_jarfrom xmldb xmldb-api-sdk.jar xmldb-api-sdk-20021118.jar
|
||||
java-pkg_jarfrom --build-only ant-core ant.jar ant-1.5.4.jar
|
||||
java-pkg_jarfrom --build-only ant-core ant.jar ant.jar
|
||||
# no linking to it, should be used for tests only but used to generate stuff during build anyway
|
||||
java-pkg_jarfrom --build-only hsqldb hsqldb.jar hsqldb-1.7.1.jar
|
||||
|
||||
# Special case: jaxme uses ant/*.xml files, so rewriting them by hand
|
||||
# is better:
|
||||
cd "${S}"
|
||||
for i in build.xml ant/*.xml src/webapp/build.xml src/test/jaxb/build.xml; do
|
||||
java-ant_bsfix_one "${i}"
|
||||
done
|
||||
|
||||
# Patch marshal classes to be abstract for build to succeed
|
||||
epatch "${FILESDIR}/${P}-fix_marshallers.patch"
|
||||
}
|
||||
|
||||
EANT_TEST_ANT_TASKS="hsqldb"
|
||||
|
||||
src_compile() {
|
||||
local ant_target="all"
|
||||
local ant_args=""
|
||||
if use doc; then
|
||||
ant_args="-Dbuild.apidocs=dist/doc/api"
|
||||
# The javadoc target depends on all so it is enough. Passing both results in two builds,
|
||||
# where the second pass fails due to hsqldb lock - bug #310311.
|
||||
ant_target="javadoc"
|
||||
fi
|
||||
|
||||
eant ${ant_args} ${ant_target}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Not entirely optional but this avoids a warning at build time and
|
||||
# RDEPEND will enforce its presence anyway.
|
||||
java-pkg_register-optional-dependency xerces-2
|
||||
|
||||
pushd dist > /dev/null
|
||||
for jar in *.jar; do
|
||||
java-pkg_newjar ${jar} ${jar/-${PV}/}
|
||||
done
|
||||
popd > /dev/null
|
||||
|
||||
dodoc NOTICE
|
||||
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc dist/doc/api
|
||||
dohtml -r src/documentation/manual
|
||||
fi
|
||||
use source && java-pkg_dosrc src/{pm,jaxme,js,api,webapp,xs}/*
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user