summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-10-05 11:27:53 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-10-05 11:27:53 +0000
commitf8bdd92da1ed48eaf01c68f6831a439b3619de7b (patch)
tree82e48774af491d317fe863cb586ebe0e24cfcc3b /dev-java
parentAdd missing deps on x11-proto/xf86dgaproto and x11-proto/xf86vidmodeproto, th... (diff)
downloadgentoo-2-f8bdd92da1ed48eaf01c68f6831a439b3619de7b.tar.gz
gentoo-2-f8bdd92da1ed48eaf01c68f6831a439b3619de7b.tar.bz2
gentoo-2-f8bdd92da1ed48eaf01c68f6831a439b3619de7b.zip
Remove unneeded dependencies and use slot deps.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jax-ws-tools/ChangeLog9
-rw-r--r--dev-java/jax-ws-tools/files/jax-ws-tools-2.0.1-remove-unused-saaj-import.patch11
-rw-r--r--dev-java/jax-ws-tools/jax-ws-tools-2.0.1-r1.ebuild85
3 files changed, 104 insertions, 1 deletions
diff --git a/dev-java/jax-ws-tools/ChangeLog b/dev-java/jax-ws-tools/ChangeLog
index 09faa2ae37b3..f7f7777a7a1a 100644
--- a/dev-java/jax-ws-tools/ChangeLog
+++ b/dev-java/jax-ws-tools/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/jax-ws-tools
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jax-ws-tools/ChangeLog,v 1.7 2008/05/11 13:41:45 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jax-ws-tools/ChangeLog,v 1.8 2008/10/05 11:27:52 betelgeuse Exp $
+
+*jax-ws-tools-2.0.1-r1 (05 Oct 2008)
+
+ 05 Oct 2008; Petteri Räty <betelgeuse@gentoo.org>
+ +files/jax-ws-tools-2.0.1-remove-unused-saaj-import.patch,
+ +jax-ws-tools-2.0.1-r1.ebuild:
+ Remove unneeded dependencies and use slot deps.
11 May 2008; Markus Meier <maekke@gentoo.org> jax-ws-tools-2.0.1.ebuild:
amd64 stable, bug #214778
diff --git a/dev-java/jax-ws-tools/files/jax-ws-tools-2.0.1-remove-unused-saaj-import.patch b/dev-java/jax-ws-tools/files/jax-ws-tools-2.0.1-remove-unused-saaj-import.patch
new file mode 100644
index 000000000000..ee4ff8f324be
--- /dev/null
+++ b/dev-java/jax-ws-tools/files/jax-ws-tools-2.0.1-remove-unused-saaj-import.patch
@@ -0,0 +1,11 @@
+diff -ur jaxws-si.old/src/tools/wscompile/src/com/sun/tools/ws/util/xml/XmlUtil.java jaxws-si/src/tools/wscompile/src/com/sun/tools/ws/util/xml/XmlUtil.java
+--- jaxws-si.old/src/tools/wscompile/src/com/sun/tools/ws/util/xml/XmlUtil.java 2008-10-05 12:32:27.000000000 +0300
++++ jaxws-si/src/tools/wscompile/src/com/sun/tools/ws/util/xml/XmlUtil.java 2008-10-05 12:32:42.000000000 +0300
+@@ -44,7 +44,6 @@
+ import org.w3c.dom.NodeList;
+ import org.w3c.dom.Text;
+
+-import com.sun.xml.messaging.saaj.util.ByteInputStream;
+ import com.sun.tools.ws.util.WSDLParseException;
+ import com.sun.xml.ws.util.xml.NamedNodeMapIterator;
+ import com.sun.xml.ws.util.xml.NodeListIterator;
diff --git a/dev-java/jax-ws-tools/jax-ws-tools-2.0.1-r1.ebuild b/dev-java/jax-ws-tools/jax-ws-tools-2.0.1-r1.ebuild
new file mode 100644
index 000000000000..5e29a3a61dc1
--- /dev/null
+++ b/dev-java/jax-ws-tools/jax-ws-tools-2.0.1-r1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jax-ws-tools/jax-ws-tools-2.0.1-r1.ebuild,v 1.1 2008/10/05 11:27:52 betelgeuse Exp $
+
+EAPI=1
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+DESCRIPTION="Reference implementation of the Java API for XML Web Services"
+HOMEPAGE="http://jax-ws.dev.java.net/"
+DATE="20060817"
+MY_P="JAXWS${PV}m1_source_${DATE}.jar"
+SRC_URI="https://jax-ws.dev.java.net/jax-ws-201-m1/${MY_P}"
+
+LICENSE="CDDL"
+SLOT="2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+COMMON_DEP="dev-java/istack-commons-runtime:0
+ dev-java/istack-commons-tools:0
+ dev-java/jaxb:2
+ dev-java/jaxb-tools:2
+ dev-java/txw2-runtime:0
+ dev-java/jsr173:0
+ >=dev-java/jsr181-1.0:0
+ dev-java/jax-ws-api:2
+ dev-java/jax-ws:2
+ dev-java/codemodel:2
+ dev-java/apt-mirror:0"
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip
+ ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/jaxws-si"
+
+src_unpack() {
+ echo "A" | java -jar "${DISTDIR}/${A}" -console > /dev/null || die "unpack failed"
+
+ unpack ./jaxws-src.zip || die "unzip failed"
+
+ cd "${S}/lib"
+ rm -v *.jar || die
+
+ java-pkg_jarfrom istack-commons-runtime
+ java-pkg_jarfrom istack-commons-tools
+ java-pkg_jarfrom jaxb-2
+ java-pkg_jarfrom jaxb-tools-2
+ java-pkg_jarfrom txw2-runtime
+ java-pkg_jarfrom jsr173
+ java-pkg_jarfrom jsr181
+ java-pkg_jarfrom jax-ws-api-2
+ java-pkg_jarfrom jax-ws-2
+ java-pkg_jarfrom codemodel-2
+ java-pkg_jarfrom apt-mirror
+ java-pkg_jarfrom --build-only ant-core
+ ln -s $(java-config --tools) || die
+
+ cp \
+ "${S}"/src/tools/wscompile/build/gen-src/com/sun/tools/ws/resources/*.java \
+ "${S}"/src/tools/wscompile/src/com/sun/tools/ws/resources/ || die "cp failed"
+
+ find "${S}/src/" -name '*.java' -exec \
+ sed -i -e \
+ 's,com.sun.org.apache.xml.internal.resolver,org.apache.xml.resolver,g' \
+ {} \;
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+ epatch "${FILESDIR}/${P}-remove-unused-saaj-import.patch"
+
+}
+
+EANT_BUILD_TARGET="build"
+
+src_install() {
+
+ java-pkg_dojar jax-ws-tools.jar
+
+ use source && java-pkg_dosrc src/tools/wscompile/src/*
+
+}