Version bump, bug #133875. Now is slotted, so VMs can use the appropriate version...
authorJoshua Nichols <nichoj@gentoo.org>
Sun, 19 Nov 2006 19:40:51 +0000 (19:40 +0000)
committerJoshua Nichols <nichoj@gentoo.org>
Sun, 19 Nov 2006 19:40:51 +0000 (19:40 +0000)
Package-Manager: portage-2.1.2_rc1-r5

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

index 749744887ca3c53a3557067f409f18715a56a54d..d5b39ffbdf1fcae0220bdb5202d649a5dc7981bb 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for dev-java/gnu-classpath
 # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/ChangeLog,v 1.65 2006/10/06 18:13:03 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/ChangeLog,v 1.66 2006/11/19 19:40:51 nichoj Exp $
+
+*gnu-classpath-0.92 (19 Nov 2006)
+
+  19 Nov 2006; Joshua Nichols <nichoj@gentoo.org>
+  +gnu-classpath-0.92.ebuild:
+  Version bump, bug #133875. Now is slotted, so VMs can use the appropriate
+  version they are compatible with.
 
   06 Oct 2006; Vlastimil Babka <caster@gentoo.org>
   gnu-classpath-0.90.ebuild:
index aed6548631f0f430d9f7292954b2b59a9f9262ff..f28d9b985535a43c366005e61d2e70a7d0c2c655 100644 (file)
@@ -1,12 +1,17 @@
 DIST classpath-0.90.tar.gz 7930836 RMD160 e108fb537610ae993d1968d606aa43e6f804a402 SHA1 267dcd6345b90486cce17f1c73fbf33ee0d06f7c SHA256 4f2824c42062dea269e489c1acb2769c015bf78cdaa929ee75441d412f10a03b
+DIST classpath-0.92.tar.gz 9161101 RMD160 aba37c221768a6152ebb4440059199414e396668 SHA1 fab3d6d360f6e9d712fc999f3f085e9f9c8c641a SHA256 8bc678263b40635623995826a3c1f0ea177dba9cc29bfe6572cc8acdb182b0d0
 EBUILD gnu-classpath-0.90.ebuild 2600 RMD160 2b5ad460987cc38ed07fef5b041796905eefc905 SHA1 814eae4f9926f8823bdf1837e4fe03a83308e2b4 SHA256 3106e82e08c834f3870ae12fcdfd627aa594f53f5be42d975a639f6ff72be44b
 MD5 82e597f99f63aa7ae983f18c1b837a6d gnu-classpath-0.90.ebuild 2600
 RMD160 2b5ad460987cc38ed07fef5b041796905eefc905 gnu-classpath-0.90.ebuild 2600
 SHA256 3106e82e08c834f3870ae12fcdfd627aa594f53f5be42d975a639f6ff72be44b gnu-classpath-0.90.ebuild 2600
-MISC ChangeLog 9306 RMD160 5218b05f488e7e1ee4f79c167532439397d5693b SHA1 1ce71963c64898c135fc1be3252794ddf2ecc4f8 SHA256 fa919dac7b4aaecad98dda67ae2de7796cabc5ddef464d47a799c0f7bf082b49
-MD5 2f85e492adc01630f003b527bb9f7ea7 ChangeLog 9306
-RMD160 5218b05f488e7e1ee4f79c167532439397d5693b ChangeLog 9306
-SHA256 fa919dac7b4aaecad98dda67ae2de7796cabc5ddef464d47a799c0f7bf082b49 ChangeLog 9306
+EBUILD gnu-classpath-0.92.ebuild 2735 RMD160 d97efcd37360c240f9614f481bfe0f18d9880d22 SHA1 803bc79d9a9520f9184532eeb9f6c798b4545ce3 SHA256 c2f80b2de3cfe281656c951427727a56e25d0ee0989a024b7f1a23ec92cf9b76
+MD5 a828ea28492a803ea4db74a99da87d8a gnu-classpath-0.92.ebuild 2735
+RMD160 d97efcd37360c240f9614f481bfe0f18d9880d22 gnu-classpath-0.92.ebuild 2735
+SHA256 c2f80b2de3cfe281656c951427727a56e25d0ee0989a024b7f1a23ec92cf9b76 gnu-classpath-0.92.ebuild 2735
+MISC ChangeLog 9534 RMD160 dddf0a7bd572cf656b221d8f9011808a53fe6c5a SHA1 f809b705e5b5333b19e331ed8ab6a27fe2106f3b SHA256 3a0541e87c9621f5d04e709dbb1b90a3ac1680d05778068928277f9b2778e53c
+MD5 bbb5529b5f7c3d38f985130268fe9425 ChangeLog 9534
+RMD160 dddf0a7bd572cf656b221d8f9011808a53fe6c5a ChangeLog 9534
+SHA256 3a0541e87c9621f5d04e709dbb1b90a3ac1680d05778068928277f9b2778e53c ChangeLog 9534
 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
@@ -14,3 +19,6 @@ SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata
 MD5 9116576687153c82996c52974a42055f files/digest-gnu-classpath-0.90 247
 RMD160 e73cf0c9a30616c77a889131831c75f438847d32 files/digest-gnu-classpath-0.90 247
 SHA256 983c3f2bf174d978fa3d8b43353c3c6ea65865051eaffe9cee0c156f0afae90e files/digest-gnu-classpath-0.90 247
+MD5 a824e031faa967388322398baafb545f files/digest-gnu-classpath-0.92 247
+RMD160 ccb1695dcce2dfb0c6e13e0ff229972d8944fcd8 files/digest-gnu-classpath-0.92 247
+SHA256 514432aa935a9e329d0100e96eab223aace1bf08c2a9c54a415dfa468f7604c8 files/digest-gnu-classpath-0.92 247
diff --git a/dev-java/gnu-classpath/files/digest-gnu-classpath-0.92 b/dev-java/gnu-classpath/files/digest-gnu-classpath-0.92
new file mode 100644 (file)
index 0000000..3b09e22
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 4603ef3e593713d94788b919bc0b6c75 classpath-0.92.tar.gz 9161101
+RMD160 aba37c221768a6152ebb4440059199414e396668 classpath-0.92.tar.gz 9161101
+SHA256 8bc678263b40635623995826a3c1f0ea177dba9cc29bfe6572cc8acdb182b0d0 classpath-0.92.tar.gz 9161101
diff --git a/dev-java/gnu-classpath/gnu-classpath-0.92.ebuild b/dev-java/gnu-classpath/gnu-classpath-0.92.ebuild
new file mode 100644 (file)
index 0000000..a9f4b2e
--- /dev/null
@@ -0,0 +1,94 @@
+# 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.92.ebuild,v 1.1 2006/11/19 19:40:51 nichoj Exp $
+
+inherit eutils multilib
+
+MY_P=${P/gnu-/}
+DESCRIPTION="Free core class libraries for use with virtual machines and compilers for the Java programming language"
+SRC_URI="mirror://gnu/classpath/${MY_P}.tar.gz"
+HOMEPAGE="http://www.gnu.org/software/classpath"
+
+LICENSE="GPL-2-with-linking-exception"
+SLOT="0.92"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+# Add the doc use flag after the upstream build system is improved
+# See their bug 24025
+
+IUSE="alsa cairo debug dssi examples gtk xml"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+               dssi? ( >=media-libs/dssi-0.9 )
+               gtk? ( >=x11-libs/gtk+-2.4
+                               >=dev-libs/glib-2.0
+                               || ( (
+                                          x11-libs/libICE
+                                          x11-libs/libSM
+                                          x11-libs/libX11
+                                          x11-libs/libXtst
+                                        )
+                                    virtual/x11
+                                  )
+                               cairo? ( >=x11-libs/cairo-0.5.0 )
+                    )
+               xml? ( >=dev-libs/libxml2-2.6.8 >=dev-libs/libxslt-1.1.11 )"
+
+DEPEND="app-arch/zip
+               dev-java/jikes
+               gtk? ( || ( (
+                                         x11-libs/libXrender
+                                         x11-proto/xextproto
+                                         x11-proto/xproto
+                                       )
+                                       virtual/x11
+                                 )
+                        )
+               ${REPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+       unset CLASSPATH JAVA_HOME
+       # We want to force use of jikes, because it is the only way to build
+       # classpath without requiring some sort of Java already available, ie ecj
+       # requires a runtime and gcj already has a bundled version.
+       local compiler="--with-jikes"
+
+       # Now this detects fastjar automatically and some people have broken
+       # wrappers in /usr/bin by eselect-compiler. Unfortunately
+       # --without-fastjar does not seem to work.
+       # http://bugs.gentoo.org/show_bug.cgi?id=135688
+
+       # don't use econf, because it ends up putting things under /usr, which may
+       # collide with other slots of classpath
+       ./configure ${compiler} \
+               $(use_enable alsa) \
+               $(use_enable cairo gtk-cairo) \
+               $(use_enable debug ) \
+               $(use_enable examples) \
+               $(use_enable gtk gtk-peer) \
+               $(use_enable xml xmlj) \
+               $(use_enable dssi ) \
+               --enable-jni \
+               --disable-dependency-tracking \
+               --prefix=/opt/${PN}-${SLOT} \
+               || die "configure failed"
+       # disabled for now... see above.
+       #               $(use_with   doc   gjdoc) \
+
+       emake || die "make failed"
+}
+
+src_install() {
+       emake DESTDIR=${D} install || 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
+}