Version bump. Fixes bugs #98982 and #106551. Support for the cairo use flag was dropp...
authorPetteri Räty <betelgeuse@gentoo.org>
Fri, 23 Sep 2005 22:07:26 +0000 (22:07 +0000)
committerPetteri Räty <betelgeuse@gentoo.org>
Fri, 23 Sep 2005 22:07:26 +0000 (22:07 +0000)
Package-Manager: portage-2.0.52-r1

dev-java/gnu-classpath/ChangeLog
dev-java/gnu-classpath/Manifest
dev-java/gnu-classpath/files/digest-gnu-classpath-0.18 [new file with mode: 0644]
dev-java/gnu-classpath/gnu-classpath-0.18.ebuild [new file with mode: 0644]

index 66db2dde5ea9eebde0463f41c0d4efa3cc393de6..92931e05ad8776ac06dd2565d7c0e30cb62e665b 100644 (file)
@@ -1,6 +1,14 @@
 # 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,
index 773fd0287fbc61752c2ea11ecd665207d655a834..f0737d3142e790162c9222ca77c71ebfee2dbc9c 100644 (file)
@@ -2,15 +2,17 @@
 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-----
diff --git a/dev-java/gnu-classpath/files/digest-gnu-classpath-0.18 b/dev-java/gnu-classpath/files/digest-gnu-classpath-0.18
new file mode 100644 (file)
index 0000000..ec0e0ee
--- /dev/null
@@ -0,0 +1 @@
+MD5 c0650c257aa93eafb709553f172f0bbb classpath-0.18.tar.gz 6389125
diff --git a/dev-java/gnu-classpath/gnu-classpath-0.18.ebuild b/dev-java/gnu-classpath/gnu-classpath-0.18.ebuild
new file mode 100644 (file)
index 0000000..336ac0a
--- /dev/null
@@ -0,0 +1,58 @@
+# 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
+}