# ChangeLog for dev-java/gnu-classpath
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/ChangeLog,v 1.35 2005/06/17 17:30:24 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/ChangeLog,v 1.36 2005/09/23 22:07:26 betelgeuse Exp $
+
+*gnu-classpath-0.18 (23 Sep 2005)
+
+ 23 Sep 2005; Petteri Räty <betelgeuse@gentoo.org>
+ +gnu-classpath-0.18.ebuild:
+ Version bump. Fixes bugs #98982 and #106551. Support for the cairo use flag
+ was dropped until >=0.5.0 is removed from package.mask. Made installing
+ the examples optional with the examples use flag.
17 Jun 2005; Jan Brinkmann <luckyduck@gentoo.org>
-gnu-classpath-0.13.ebuild, gnu-classpath-0.14.ebuild,
Hash: SHA1
MD5 b97f5a72d61bfe20d7683a2eceae0d66 gnu-classpath-0.15-r1.ebuild 1654
+MD5 61749f9b6a523a9e3d95db83a13f2ff8 gnu-classpath-0.18.ebuild 1815
MD5 5d7a0f180847456ca193b735042028a1 gnu-classpath-0.14.ebuild 1213
-MD5 f47188aea1a9e6d2aea8b73393670a47 ChangeLog 4972
+MD5 1564061040f6974de61b65a24a06c476 ChangeLog 5296
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
MD5 2690159fdd3e679de05cd6daed73f4da files/digest-gnu-classpath-0.15-r1 67
MD5 9b2c43cfbb9e8d325407a9ddd2068a5d files/digest-gnu-classpath-0.14 67
+MD5 e8174eff88cbeae8528507c699821eea files/digest-gnu-classpath-0.18 67
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFC25ry/rLF9B432nYRAuKaAKCaIvd9BzKCTTzE8M9zpd5pFuJW1gCfS4To
-a7B2T+JUe+YAPj7avlntOoQ=
-=rOjo
+iD8DBQFDNHy2QiJ/wx066S4RAmcrAJsEVlrRT7gMSfmOZm3M2Ap2HM5kpACeOdS3
+MgciVvb9n1cNtTbpcqI8heU=
+=tkNs
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/gnu-classpath-0.18.ebuild,v 1.1 2005/09/23 22:07:26 betelgeuse Exp $
+
+MY_P=${P/gnu-/}
+DESCRIPTION="Free core class libraries for use with virtual machines and compilers for the Java programming language"
+SRC_URI="ftp://ftp.gnu.org/gnu/classpath/${MY_P}.tar.gz"
+HOMEPAGE="http://www.gnu.org/software/classpath"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~ppc ~amd64"
+
+#Add the doc use flag after the upstream build system is improved
+#See their bug 24025
+
+#enable cairo support after >=0.5.0 is out of package.mask
+IUSE="examples gtk xml2"
+
+#cairo? ( >=x11-libs/cairo-0.5.0 )
+RDEPEND="gtk? ( >=x11-libs/gtk+-2.4
+ >=dev-libs/glib-2.0)
+ xml2? ( >=dev-libs/libxml2-2.6.8 >=dev-libs/libxslt-1.1.11 )"
+
+DEPEND="app-arch/zip
+ dev-java/jikes
+ ${REPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ # Note: This is written in a way to easily support GCJ and other compilers
+ # at a later point. Currently Gentoo uses mainly GCJ 3.3 (from the
+ # corresponding GCC) which cannot compile GNU Classpath correctly.
+ # Another possibility would be ECJ (from Eclipse).
+ local compiler="--with-jikes"
+
+# $(use_with doc gjdoc) \
+# $(use_enable cairo gtk-cairo) \
+ econf ${compiler} \
+ $(use_enable examples) \
+ $(use_enable gtk gtk-peer) \
+ $(use_enable xml2 xmlj) \
+ --enable-jni \
+ || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install () {
+ einstall || die "make install failed"
+
+# if use cairo; then
+# einfo "GNU Classpath was compiled with preliminary cairo support."
+# einfo "To use that functionality set the system property"
+# einfo "gnu.java.awt.peer.gtk.Graphics to Graphics2D at runtime."
+# fi
+}