summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-03-21 23:38:35 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-03-21 23:38:35 +0000
commita51c5ce6431707102133d394ce259347e48c6c7b (patch)
tree43e7b7e56f7062deff61d625405f23111a93c38d /dev-java/xerces
parentversion bump (diff)
downloadgentoo-2-a51c5ce6431707102133d394ce259347e48c6c7b.tar.gz
gentoo-2-a51c5ce6431707102133d394ce259347e48c6c7b.tar.bz2
gentoo-2-a51c5ce6431707102133d394ce259347e48c6c7b.zip
added a patch that enables generation of the complete api documentation. issue was discovered by Andrew Cowie <andrew@operationaldynamics.com>
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/xerces')
-rw-r--r--dev-java/xerces/ChangeLog6
-rw-r--r--dev-java/xerces/files/xerces-2.6.2-javadoc.patch17
-rw-r--r--dev-java/xerces/xerces-2.6.2-r2.ebuild19
3 files changed, 28 insertions, 14 deletions
diff --git a/dev-java/xerces/ChangeLog b/dev-java/xerces/ChangeLog
index 4253d600f1ae..a62a3579da08 100644
--- a/dev-java/xerces/ChangeLog
+++ b/dev-java/xerces/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/xerces
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xerces/ChangeLog,v 1.42 2005/03/16 18:46:04 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xerces/ChangeLog,v 1.43 2005/03/21 23:38:35 luckyduck Exp $
+
+ 22 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> xerces-2.6.2-r2.ebuild:
+ added a patch that enables generation of the complete api documentation. issue
+ was discovered by Andrew Cowie <andrew@operationaldynamics.com>
16 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> xerces-1.3.1-r1.ebuild,
xerces-2.3.0-r1.ebuild, xerces-2.6.2-r2.ebuild:
diff --git a/dev-java/xerces/files/xerces-2.6.2-javadoc.patch b/dev-java/xerces/files/xerces-2.6.2-javadoc.patch
new file mode 100644
index 000000000000..d46d0cebd400
--- /dev/null
+++ b/dev-java/xerces/files/xerces-2.6.2-javadoc.patch
@@ -0,0 +1,17 @@
+--- build.xml.orig 2005-03-22 00:07:10.000000000 +0100
++++ build.xml 2005-03-22 00:35:19.392906216 +0100
+@@ -422,6 +422,14 @@
+ windowtitle='Other Classes' doctitle='Other Classes'
+ bottom='${copyright}'
+ />
++
++ <javadoc packagenames='org.*'
++ locale='en_US'
++ sourcepath='${src.dir}/dom3' destdir='${build.dir}/docs/javadocs/api'
++ author='true' version='true'
++ windowtitle='Other Classes' doctitle='Other Classes'
++ bottom='${copyright}'
++ />
+ </target>
+
+ <!-- =================================================================== -->
diff --git a/dev-java/xerces/xerces-2.6.2-r2.ebuild b/dev-java/xerces/xerces-2.6.2-r2.ebuild
index 51a9b47568f8..b1c9b88222f3 100644
--- a/dev-java/xerces/xerces-2.6.2-r2.ebuild
+++ b/dev-java/xerces/xerces-2.6.2-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xerces/xerces-2.6.2-r2.ebuild,v 1.2 2005/03/16 18:46:04 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xerces/xerces-2.6.2-r2.ebuild,v 1.3 2005/03/21 23:38:35 luckyduck Exp $
inherit java-pkg eutils
@@ -29,6 +29,7 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/${PF}-gentoo.patch
+ epatch ${FILESDIR}/${P}-javadoc.patch
mkdir ${S}/tools
cd ${S}/tools
@@ -47,12 +48,8 @@ src_unpack() {
src_compile() {
local antflags="jars sampjar"
- if use doc ; then
- antflags="${antflags} javadocs"
- fi
- if use jikes; then
- antflags="${antflags} -Dbuild.compiler=jikes"
- fi
+ use doc && antflags="${antflags} javadocs"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
sh build.sh ${antflags} || die "Compile failed."
}
@@ -62,14 +59,10 @@ src_install() {
dodoc TODO STATUS README ISSUES LICENSE
java-pkg_dohtml Readme.html
- if use doc ; then
- java-pkg_dohtml -r build/docs/javadocs
- fi
+ use doc && java-pkg_dohtml -r build/docs/javadocs
if use examples; then
dodir /usr/share/doc/${PF}/examples
cp -r samples/* ${D}/usr/share/doc/${PF}/examples
fi
- if use source; then
- java-pkg_dosrc ${S}/src/*
- fi
+ use source && java-pkg_dosrc ${S}/src/*
}