mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-java/xp: Clean up old.
Package-Manager: portage-2.2.26
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST xp-0.5.zip 281324 SHA256 38b35ca80627afafdaa2140f7df339164abb5fceffe8b5783dadc75a05662a1d SHA512 5bf354967a1135209d5c6b3be979a311aa5c909493dea16a0efd31a1838dda12be4005ac7e919620ed68266a333fdc93a07853ec1e0af0e83b329bd40bda74b6 WHIRLPOOL 677a8a52ed3d656a1924cf54c82b4c0688c5736771b4add8e878c0e8ecd049efcc85e7f15b883004e4b7d469bbfc207585860e1c2ccfcaa6c4e2fc81cf05d6a5
|
||||
DIST xp.zip 281324 SHA256 38b35ca80627afafdaa2140f7df339164abb5fceffe8b5783dadc75a05662a1d SHA512 5bf354967a1135209d5c6b3be979a311aa5c909493dea16a0efd31a1838dda12be4005ac7e919620ed68266a333fdc93a07853ec1e0af0e83b329bd40bda74b6 WHIRLPOOL 677a8a52ed3d656a1924cf54c82b4c0688c5736771b4add8e878c0e8ecd049efcc85e7f15b883004e4b7d469bbfc207585860e1c2ccfcaa6c4e2fc81cf05d6a5
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
diff --git a/com/jclark/xml/sax/Driver.java b/com/jclark/xml/sax/Driver.java
|
||||
index 2b0d90a..d1efd3e 100644
|
||||
--- a/com/jclark/xml/sax/Driver.java
|
||||
+++ b/com/jclark/xml/sax/Driver.java
|
||||
@@ -160,9 +160,9 @@ public class Driver extends ApplicationImpl
|
||||
|
||||
DTD dtd = event.getDTD();
|
||||
|
||||
- for (Enumeration enum = dtd.entityNames(DTD.NOTATION);
|
||||
- enum.hasMoreElements(); ) {
|
||||
- String name = (String)enum.nextElement();
|
||||
+ for (Enumeration enumx = dtd.entityNames(DTD.NOTATION);
|
||||
+ enumx.hasMoreElements(); ) {
|
||||
+ String name = (String)enumx.nextElement();
|
||||
Entity entity = dtd.getEntity(DTD.NOTATION, name);
|
||||
String systemId = entity.getSystemId();
|
||||
if (systemId != null) {
|
||||
@@ -173,9 +173,9 @@ public class Driver extends ApplicationImpl
|
||||
}
|
||||
dtdHandler.notationDecl(name, entity.getPublicId(), systemId);
|
||||
}
|
||||
- for (Enumeration enum = dtd.entityNames(DTD.GENERAL_ENTITY);
|
||||
- enum.hasMoreElements();) {
|
||||
- String name = (String)enum.nextElement();
|
||||
+ for (Enumeration enumx = dtd.entityNames(DTD.GENERAL_ENTITY);
|
||||
+ enumx.hasMoreElements();) {
|
||||
+ String name = (String)enumx.nextElement();
|
||||
Entity entity = dtd.getEntity(DTD.GENERAL_ENTITY, name);
|
||||
String notationName = entity.getNotationName();
|
||||
if (notationName != null) {
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<project name="xp" default="jar">
|
||||
<target name="compile">
|
||||
<mkdir dir="build" />
|
||||
<javac srcdir="." destdir="build" />
|
||||
</target>
|
||||
|
||||
<target name="jar" depends="compile">
|
||||
<jar jarfile="xp.jar" basedir="build" />
|
||||
</target>
|
||||
</project>
|
||||
@@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="XP is an XML 1.0 parser written in Java"
|
||||
HOMEPAGE="http://www.jclark.com/xml/xp"
|
||||
SRC_URI="ftp://ftp.jclark.com/pub/xml/xp.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
app-arch/unzip"
|
||||
RDEPEND=">=virtual/jre-1.4"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
java_prepare() {
|
||||
rm -v xp.jar || die
|
||||
cp "${FILESDIR}/build.xml" . || die
|
||||
epatch "${FILESDIR}"/${PV}-*.patch
|
||||
}
|
||||
|
||||
#premade javadocs
|
||||
EANT_DOC_TARGET=""
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar xp.jar
|
||||
dodoc docs/copying.txt
|
||||
#has index.html and javadocs here
|
||||
use doc && java-pkg_dohtml -r docs/*
|
||||
use source && java-pkg_dosrc com
|
||||
}
|
||||
Reference in New Issue
Block a user