# ChangeLog for dev-java/gjdoc
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/gjdoc/ChangeLog,v 1.25 2007/02/14 22:26:45 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gjdoc/ChangeLog,v 1.26 2007/04/22 16:15:57 betelgeuse Exp $
+
+*gjdoc-0.7.8 (22 Apr 2007)
+
+ 22 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> +gjdoc-0.7.8.ebuild:
+ Version bump. Features support for 1.5 features in GNU Classpath.
14 Feb 2007; Vlastimil Babka <caster@gentoo.org> -gjdoc-0.7.7.ebuild:
Cleanup.
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX gjdoc 137 RMD160 fea337e7175295d679564390bb6a2006cf54966d SHA1 a2358dbdcbe9ae1f8e2e48c98e282f8883e7eb1e SHA256 f0d9f62aa69c3e5ad7a19806816b8e744388bf3f063e55f19e2f9bfbd32438f0
MD5 09c41d12fbdde13c5d1d4a64aa66bd0f files/gjdoc 137
RMD160 fea337e7175295d679564390bb6a2006cf54966d files/gjdoc 137
RMD160 f1b2a3619f87e157c0cfb0888cf00869cb41ae6d files/gjdoc-0.7.7-gcp.patch 1890
SHA256 40ef075e32b931ab01b0594238a96b2650beccb303f23f5e4bbb66eb10219774 files/gjdoc-0.7.7-gcp.patch 1890
DIST gjdoc-0.7.7.tar.gz 731115 RMD160 118f8f710d22559cbb49eee73377fc733dcf86e3 SHA1 d21ad5a12a283046735a5755dc8ca4ab51bd04bb SHA256 6cae05c4c49cd7f33650403a2fdbf1248c20751fa11099ca37bd34a4f1a0bd59
+DIST gjdoc-0.7.8.tar.gz 752319 RMD160 075203cf9090032c23e1a9056ce2ff28b3277639 SHA1 37b44dc0f431681b732db5f586a3a5b52899335a SHA256 17da1dc5b53287eace01045f748bfb2e5790929dc0514c498c62bd67689e9998
EBUILD gjdoc-0.7.7-r1.ebuild 2001 RMD160 9dd3534945b16dbb5815fc74cf21ca4390dfe495 SHA1 e513e4f7a035ff1f987f530f22680258fbeab745 SHA256 759fccdc2761fe58680e5d17ea358ee621137ce25a4cd1c856ae828d883f9815
MD5 1fd766ea6cc3f77f09c63b29d1fd881b gjdoc-0.7.7-r1.ebuild 2001
RMD160 9dd3534945b16dbb5815fc74cf21ca4390dfe495 gjdoc-0.7.7-r1.ebuild 2001
SHA256 759fccdc2761fe58680e5d17ea358ee621137ce25a4cd1c856ae828d883f9815 gjdoc-0.7.7-r1.ebuild 2001
-MISC ChangeLog 3166 RMD160 f7ca4e7865d59f31c5a87243c0cdb1e46a96108d SHA1 7d1c8bfdb4a134a9b1766e7ce015a28ccc60c148 SHA256 2debe29569c9bdf7bf6425491a82fed135ee34dc5dfda9f1cda49f7bbe97102f
-MD5 1f2b5355d7de379fd883d6a79868eb3f ChangeLog 3166
-RMD160 f7ca4e7865d59f31c5a87243c0cdb1e46a96108d ChangeLog 3166
-SHA256 2debe29569c9bdf7bf6425491a82fed135ee34dc5dfda9f1cda49f7bbe97102f ChangeLog 3166
+EBUILD gjdoc-0.7.8.ebuild 2012 RMD160 b865cd56837a247128ea085c8c13f3466888fc6c SHA1 c0e0608bb9f35034afc7987db0aaeb3abf2af63d SHA256 a91944fedc0257f7f316efa027f02f093ff79a0fcb611a8616086bbbeb3998fc
+MD5 6a1c20f8b76cd95b10815cb1fad221cf gjdoc-0.7.8.ebuild 2012
+RMD160 b865cd56837a247128ea085c8c13f3466888fc6c gjdoc-0.7.8.ebuild 2012
+SHA256 a91944fedc0257f7f316efa027f02f093ff79a0fcb611a8616086bbbeb3998fc gjdoc-0.7.8.ebuild 2012
+MISC ChangeLog 3341 RMD160 4a12cd7265ecbd7f6c64315865e8ebd92c86973d SHA1 030652f486f8f1cec827060864cae96fdf293de3 SHA256 54105d944fa3a234acdc1f899aa2ff169ece6f0043678ef74450cf6159e1c68d
+MD5 3bfcc1d9ebe9a8112a90ca5584a7f531 ChangeLog 3341
+RMD160 4a12cd7265ecbd7f6c64315865e8ebd92c86973d ChangeLog 3341
+SHA256 54105d944fa3a234acdc1f899aa2ff169ece6f0043678ef74450cf6159e1c68d ChangeLog 3341
MISC metadata.xml 535 RMD160 2b7405a531e1016213ff45e73146de8f65911368 SHA1 c87752dba3c878d25f9ebb48ccf5b7e940b7fa66 SHA256 c8a221fbe6044b6dc49c2bd6de27a17f30e15734342c66ae5df87d510981f788
MD5 0d8df1cd88e392aa059af56ac1d368e9 metadata.xml 535
RMD160 2b7405a531e1016213ff45e73146de8f65911368 metadata.xml 535
MD5 bc0a9235adbff62eeb2f2020c3a39b42 files/digest-gjdoc-0.7.7-r1 235
RMD160 76a21bad196c14964e86a66145c0b778f1293103 files/digest-gjdoc-0.7.7-r1 235
SHA256 e02a20a8d58a42306d2555933a40148d2c424400937f57569cc93c2f2ccba003 files/digest-gjdoc-0.7.7-r1 235
+MD5 0486469b89082447cea3fa69052d4280 files/digest-gjdoc-0.7.8 235
+RMD160 9db9c06200995465e1335e8fd78b2e1afba12db0 files/digest-gjdoc-0.7.8 235
+SHA256 1946e20ecfa3aec6342e97b8e0d94acb3a5dd199f8213dbfd0dec05359ef790e files/digest-gjdoc-0.7.8 235
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGK4o+cxLzpIGCsLQRAn/CAJ4yuLbkePgOucqhUcgu2g8F0LmFZACeME57
+CiTPL8Js8mGLe583MmB2Kk0=
+=epvf
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 a60c6bb229025120412b8a9d69ef1800 gjdoc-0.7.8.tar.gz 752319
+RMD160 075203cf9090032c23e1a9056ce2ff28b3277639 gjdoc-0.7.8.tar.gz 752319
+SHA256 17da1dc5b53287eace01045f748bfb2e5790929dc0514c498c62bd67689e9998 gjdoc-0.7.8.tar.gz 752319
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gjdoc/gjdoc-0.7.8.ebuild,v 1.1 2007/04/22 16:15:57 betelgeuse Exp $
+
+WANT_AUTOMAKE="latest"
+WANT_AUTOCONF="latest"
+
+inherit eutils autotools java-pkg-2
+
+DESCRIPTION="A javadoc compatible Java source documentation generator."
+HOMEPAGE="http://www.gnu.org/software/cp-tools/"
+SRC_URI="mirror://gnu/classpath/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+
+# Possible USE flags.
+#
+# native: to --enable-native
+# doc: to generate javadoc
+# debug: There is a debug doclet installed by default but maybe could
+# have a wrapper that uses it.
+#
+IUSE="xmldoclet source"
+
+# Refused to emerge with sun-jdk-1.3* complaining about wanting a bigger stack size
+DEPEND=">=dev-java/antlr-2.7.1
+ >=virtual/jdk-1.4
+ source? ( app-arch/zip )"
+
+RDEPEND=">=virtual/jre-1.4
+ >=dev-java/antlr-2.7.1"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-0.7.7-gcp.patch"
+ AT_M4DIR="m4" eautoreconf
+}
+
+src_compile() {
+ # I think that configure will do --enable-native if it finds gcj
+ # so we'll disable it explicitly
+ local myc="--with-antlr-jar=$(java-pkg_getjar antlr antlr.jar) --disable-native"
+ myc="${myc} --disable-dependency-tracking"
+
+ # Does not work with gcc 3.* and without these it tries to use gij
+ # see bug #116804 for details
+
+ # TODO ideally, would respect JAVACFLAGS
+ JAVA="java" JAVAC="javac $(java-pkg_javac-args)" \
+ econf ${myc} \
+ $(use_enable xmldoclet) || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ local jars="com-sun-tools-doclets-Taglet gnu-classpath-tools-gjdoc com-sun-javadoc"
+ for jar in ${jars}; do
+ java-pkg_newjar ${jar}-${PV}.jar ${jar}.jar
+ done
+
+ dobin ${FILESDIR}/gjdoc
+ dodoc AUTHORS ChangeLog NEWS README
+
+ cd ${S}/docs
+ make DESTDIR=${D} install || die "Failed to install documentation"
+
+ use source && java-pkg_dosrc "${S}/src"/{com,gnu}
+}