summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-01-22 05:53:57 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-01-22 05:53:57 +0000
commit0457dad2bc732d7238e78f17a6176fa2d53bd8ec (patch)
tree89e8b08a57b2ad9f2f9935604b8532c7b024a7a2
parentremoving 2006.0 profile make.defaults since there is now a non-dev 2006.0 pro... (diff)
downloadgentoo-2-0457dad2bc732d7238e78f17a6176fa2d53bd8ec.tar.gz
gentoo-2-0457dad2bc732d7238e78f17a6176fa2d53bd8ec.tar.bz2
gentoo-2-0457dad2bc732d7238e78f17a6176fa2d53bd8ec.zip
Version bump.
(Portage version: 2.1_pre3-r1)
-rw-r--r--dev-java/gnu-classpath/ChangeLog10
-rw-r--r--dev-java/gnu-classpath/Manifest12
-rw-r--r--dev-java/gnu-classpath/files/digest-gnu-classpath-0.201
-rw-r--r--dev-java/gnu-classpath/gnu-classpath-0.20.ebuild82
4 files changed, 93 insertions, 12 deletions
diff --git a/dev-java/gnu-classpath/ChangeLog b/dev-java/gnu-classpath/ChangeLog
index f01afbedcdb5..097f334b9f50 100644
--- a/dev-java/gnu-classpath/ChangeLog
+++ b/dev-java/gnu-classpath/ChangeLog
@@ -1,6 +1,12 @@
# 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.45 2005/11/14 21:36:44 betelgeuse Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/ChangeLog,v 1.46 2006/01/22 05:53:57 nichoj Exp $
+
+*gnu-classpath-0.20 (22 Jan 2006)
+
+ 22 Jan 2006; Joshua Nichols <nichoj@gentoo.org>
+ +gnu-classpath-0.20.ebuild:
+ Version bump.
14 Nov 2005; Petteri Räty <betelgeuse@gentoo.org> files/0.19-dssi.patch:
Modified the patch so that it does not fail with stable patch. Fixes bug
diff --git a/dev-java/gnu-classpath/Manifest b/dev-java/gnu-classpath/Manifest
index 70365e7cd079..b47513f07267 100644
--- a/dev-java/gnu-classpath/Manifest
+++ b/dev-java/gnu-classpath/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 347a938600ce9b7947b94dfe47bea836 ChangeLog 6502
MD5 4c21037c9eaf2d9fe12e88ced8caab80 files/0.19-dssi.patch 1410
MD5 7e2cbdd8bd825a0e9b8fff8312f08c23 files/0.19-dssi_data.h 4174
@@ -8,16 +5,11 @@ MD5 9b2c43cfbb9e8d325407a9ddd2068a5d files/digest-gnu-classpath-0.14 67
MD5 2690159fdd3e679de05cd6daed73f4da files/digest-gnu-classpath-0.15-r1 67
MD5 e8174eff88cbeae8528507c699821eea files/digest-gnu-classpath-0.18 67
MD5 2fa214c9b3ef402739df2a954d83c46e files/digest-gnu-classpath-0.19 67
+MD5 18a746e3e78ba32a9bf81f152ccdeda0 files/digest-gnu-classpath-0.20 67
MD5 887f044e4350323f1324cc1368943c1a files/gtk28.patch 1522
MD5 f076bc9c2bfe9d094c6255f2beec9abc gnu-classpath-0.14.ebuild 1195
MD5 d04460407e0f569ab509eaf458ae97f3 gnu-classpath-0.15-r1.ebuild 1638
MD5 b906f7e1050511b7a12b99e9b79d5d3b gnu-classpath-0.18.ebuild 1927
MD5 952fe51754df87b3e8065dab93892115 gnu-classpath-0.19.ebuild 2307
+MD5 fcc37e36c0fe0e6ea02ef1305a92d855 gnu-classpath-0.20.ebuild 2310
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDeQOcQiJ/wx066S4RAq6mAJ4lrpat/8nm86HOiEUNlRj/g3CpTQCfTjoF
-g0I0S4AO7abykqum+1vtYQw=
-=e3MT
------END PGP SIGNATURE-----
diff --git a/dev-java/gnu-classpath/files/digest-gnu-classpath-0.20 b/dev-java/gnu-classpath/files/digest-gnu-classpath-0.20
new file mode 100644
index 000000000000..5b8b7f902d0d
--- /dev/null
+++ b/dev-java/gnu-classpath/files/digest-gnu-classpath-0.20
@@ -0,0 +1 @@
+MD5 21e34b8e8acb4f7b31296bfaf4ad560a classpath-0.20.tar.gz 7110100
diff --git a/dev-java/gnu-classpath/gnu-classpath-0.20.ebuild b/dev-java/gnu-classpath/gnu-classpath-0.20.ebuild
new file mode 100644
index 000000000000..d9deab5e20ef
--- /dev/null
+++ b/dev-java/gnu-classpath/gnu-classpath-0.20.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2006 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.20.ebuild,v 1.1 2006/01/22 05:53:57 nichoj Exp $
+
+inherit eutils autotools
+
+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 ~amd64"
+
+# Add the doc use flag after the upstream build system is improved
+# See their bug 24025
+
+IUSE="alsa cairo debug dssi examples gtk xml2"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+ dssi? ( >=media-libs/dssi-0.9 )
+ gtk? ( >=x11-libs/gtk+-2.4
+ >=dev-libs/glib-2.0
+ virtual/x11
+ cairo? ( >=x11-libs/cairo-0.5.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_unpack() {
+ unpack ${A}
+ cd ${S}
+
+# cp ${FILESDIR}/${PV}-dssi_data.h native/jni/midi-dssi/dssi_data.h \
+# || die "Copying dssi_data.h failed."
+
+# epatch ${FILESDIR}/${PV}-dssi.patch
+ eautoconf
+}
+
+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"
+
+ econf ${compiler} \
+ $(use_enable alsa) \
+ $(use_enable cairo gtk-cairo) \
+ $(use_enable debug ) \
+ $(use_enable examples) \
+ $(use_enable gtk gtk-peer) \
+ $(use_enable xml2 xmlj) \
+ $(use_enable dssi ) \
+ --enable-jni \
+ --disable-dependency-tracking \
+ || die "configure failed"
+# disabled for now... see above.
+# $(use_with doc gjdoc) \
+
+ emake || die "make failed"
+}
+
+src_install() {
+ einstall || die "einstall failed"
+ dodoc AUTHORS BUGS ChangeLog* HACKING NEWS README THANKYOU TODO
+}
+
+pkg_postinst() {
+ if use gtk && 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
+}