diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-07-25 21:55:28 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-07-25 21:55:28 +0000 |
commit | 29d4da937eb5c36ea1faaa9994ed52d02be24ce7 (patch) | |
tree | 3b8952529b8dabe7bad059f6f46b023f047cb9bc /dev-java/kaffe | |
parent | Added missing cd command, thanks to Polynomial-C, Bug #232954. Hopefully this... (diff) | |
download | gentoo-2-29d4da937eb5c36ea1faaa9994ed52d02be24ce7.tar.gz gentoo-2-29d4da937eb5c36ea1faaa9994ed52d02be24ce7.tar.bz2 gentoo-2-29d4da937eb5c36ea1faaa9994ed52d02be24ce7.zip |
Remove old ebuild.
(Portage version: 2.2_rc3/cvs/Linux 2.6.26-gentoo i686)
Diffstat (limited to 'dev-java/kaffe')
-rw-r--r-- | dev-java/kaffe/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/kaffe/kaffe-1.1.7-r5.ebuild | 142 |
2 files changed, 5 insertions, 144 deletions
diff --git a/dev-java/kaffe/ChangeLog b/dev-java/kaffe/ChangeLog index 131094ecb6b7..d9f3db63e380 100644 --- a/dev-java/kaffe/ChangeLog +++ b/dev-java/kaffe/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-java/kaffe -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/kaffe/ChangeLog,v 1.73 2007/08/15 09:20:59 caster Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/kaffe/ChangeLog,v 1.74 2008/07/25 21:55:28 betelgeuse Exp $ + + 25 Jul 2008; Petteri Räty <betelgeuse@gentoo.org> -kaffe-1.1.7-r5.ebuild: + Remove old ebuild. 15 Aug 2007; Vlastimil Babka <caster@gentoo.org> kaffe-1.1.7-r4.ebuild, kaffe-1.1.7-r5.ebuild: diff --git a/dev-java/kaffe/kaffe-1.1.7-r5.ebuild b/dev-java/kaffe/kaffe-1.1.7-r5.ebuild deleted file mode 100644 index 7b32d5173841..000000000000 --- a/dev-java/kaffe/kaffe-1.1.7-r5.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/kaffe/kaffe-1.1.7-r5.ebuild,v 1.6 2007/08/15 09:20:59 caster Exp $ - -JAVA_SUPPORTS_GENERATION_1="true" -inherit base eutils java-vm-2 flag-o-matic - -DESCRIPTION="A cleanroom, open source Java VM and class libraries" -SRC_URI="ftp://ftp.kaffe.org/pub/${PN}/v1.1.x-development/${P}.tar.bz2" -HOMEPAGE="http://www.kaffe.org/" - -#robilad recommended in bug 103978 that we leave the X and QT -#awt backends disabled for now. Please check the status of these -#backends with new upstream versions. X dependencies to be -#determined -# qt?( =x11-libs/qt-3.3* ) - -COMMON_DEP=" - >=media-libs/jpeg-6b - >=media-libs/libpng-1.2.1 - app-arch/zip - >=dev-java/jikes-1.22-r13 - dev-libs/libxml2 - sys-libs/zlib - gtk? ( - >=dev-libs/glib-2.0 - >=x11-libs/gtk+-2.0 - >=media-libs/libart_lgpl-2.0 ) - esd? ( >=media-sound/esound-0.2.1 ) - alsa? ( >=media-libs/alsa-lib-1.0.1 ) - gmp? ( >=dev-libs/gmp-3.1 )" - -# kaffe builds it's own copy of fastjar so we don't need fastjar at -# runtime. Hopefully next upstream release uses the system one. -DEPEND="${COMMON_DEP}" - -# fastjar block for bug #188542 -RDEPEND="${COMMON_DEP} - !>=app-arch/fastjar-0.95" - -# We need to build this after kaffe because it is implemented in java -PDEPEND="dev-java/gjdoc" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~ppc ~x86" -#X qt -IUSE="alsa esd gmp gtk nls" - -# kaffe-1.1.6-alsa.patch is needed to prevent compile errors with newer alsas -# (see bug #119272) -#PATCHES="${FILESDIR}/${PN}-1.1.6-alsa.patch" - -# ignore execstack for now. needs to be fixed upstream -# http://kaffe.org/cgi-bin/bugzilla/show_bug.cgi?id=59 -QA_EXECSTACK_x86="opt/${P}/jre/lib/i386/libkaffevm-1.1.7.so" - -pkg_setup() { - if ! use gmp; then - ewarn "You have don't have the gmp use flag set." - ewarn "Using gmp is the default upstream setting." - fi - - if ! use gtk; then - ewarn "" - ewarn "The gtk use flag is needed for a awt implementation." - ewarn "Don't file bugs for awt not working when you have" - ewarn "gtk use flag turned off." - fi - java-vm-2_pkg_setup -} - -src_compile() { - local confargs="" - - # see #88330 - filter-flags "-fomit-frame-pointer" - append-flags "-fno-strict-aliasing" - - if ! use alsa && ! use esd; then - confargs="${confargs} --disable-sound" - fi - - ! use gmp && confargs="${confargs} --enable-pure-java-math" - -# $(use_with X x) \ -# $(use_with X kaffe-x-awt) \ -# $(use_with qt kaffe-qt-awt ) \ - - # according to dalibor, this is needed on ppc because jit is - # not complete - # TODO needs testing! - [[ ${ARCH} = ppc || ${ARCH} = ppc64 ]] && confargs="${confargs} --with-engine=intrp" - - # Use fastjar or kaffe tries to use the jar tool which does - # not work before kaffe is installed if kaffe is the first jdk - # merged - # bug #141477 and bug #163801 - - # --with-rt-jar in 1.1.7 to use the system installed classpath - econf \ - --disable-dependency-tracking \ - --prefix=/opt/${P} \ - --host=${CHOST} \ - $(use_with alsa)\ - $(use_with esd) \ - $(use_with gmp) \ - $(use_enable nls) \ - $(use_enable gtk gtk-peer) \ - ${confargs} \ - --with-jikes=/usr/bin/jikes-bin \ - --disable-gjdoc || die "Failed to configure." - - # --with-bcel - # --with-profiling - emake || die "Failed to compile" -} - -src_install() { - emake DESTDIR="${D}" install || die "Failed to install" - set_java_env - - # use doexe to ensure executable bit (bug #144635) - echo '#!/bin/bash' > javadoc - echo 'exec /usr/bin/gjdoc "${@}"' >> javadoc - exeinto "/opt/${P}/bin/" - doexe javadoc - - # Remove some files that collide with classpath - rm ${D}/usr/share/info/vmintegration.info \ - ${D}/usr/share/info/hacking.info - - # Add symlink to glibj.zip, for bug #148607 - cd ${D}/opt/${P}/jre/lib - ln -s glibj.zip rt.jar -} - -pkg_postinst() { - ewarn "Please, do not use Kaffe as your default JDK/JRE!" - ewarn "Kaffe is currently meant for testing... it should be" - ewarn "only be used by developers or bug-hunters willing to deal" - ewarn "with oddities that are bound to come up while using Kaffe!" -} |