delete old ebuilds

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1722 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2009-12-22 08:50:41 +00:00
parent 6263f86450
commit 6c9ca352f9
106 changed files with 0 additions and 10440 deletions

View File

@@ -1,313 +0,0 @@
# ChangeLog for dev-java/icedtea6
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
* icedtea6-1.5.2 (04 09 2009)
04 Sep 2009; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.5.2.ebuild:
Bug fix update:
- Timezone fix: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=377
- Stackoverflow error fix: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=381
- Backport regression (NPE) fix for AccessControlContext fix:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=364
- Bump to hs14b16
12 Aug 2009; Petteri Räty <betelgeuse@gentoo.org> icedtea6-1.5.1.ebuild:
Prefer icedtea6-bin over icedtea6 to avoid circular deps.
* icedtea6-1.5.1 (07 08 2009)
07 Aug 2009; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.5.1.ebuild:
Security update.
20 Jul 2009; Petteri Räty <betelgeuse@gentoo.org> icedtea6-1.5.ebuild:
Make JAVA_PKG_STRICT happy by adding a DEPEND atom on either ecj or
icedtea.
16 Jun 2009; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.5.ebuild files/1.5-cacao-gcc-4.4.patch:
Fix issue with CACAO and GCC 4.4.
* icedtea6-1.5 (02 06 2009)
02 Jun 2009; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.5.ebuild:
Bump.
18 May 2009; Vlastimil Babka <caster@gentoo.org> icedtea6-1.4.1-r1.ebuild,
+files/1.4.1-xulrunner-1.9.1.patch:
Add support for API changes in xulrunner 1.9.1_beta4. Backported patch from
upstream trunk.
03 May 2009; Vlastimil Babka <caster@gentoo.org> icedtea6-1.4.1-r1.ebuild:
Remove unintentional pkgversion change.
18 Apr 2009; Vlastimil Babka <caster@gentoo.org>
+files/1.4.1-plugin.patch, +icedtea6-1.4.1-r1.ebuild:
Revbump to fix nsplugin. Patch from upstream that was supposed to be in 1.4.1.
* icedtea6-1.4.1 (02 04 2009)
02 Apr 2009; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.4.1.ebuild:
Bump.
14 Feb 2009; Petteri Räty <betelgeuse@gentoo.org> icedtea6-1.4.ebuild:
unset vars in src_compile too so that paludis users don't come asking why
it does not work
04 Feb 2009; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r2.ebuild icedtea6-1.4.ebuild:
Add HotSpot tarball to sources, only unpack icedtea6 (regression from 1.2).
* icedtea6-1.4 (03 02 2009)
03 Feb 2009; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.4.ebuild:
Added.
28 Jan 2009; Petteri Räty <betelgeuse@gentoo.org> icedtea6-1.3.1-r2.ebuild:
Add slot deps to xerces and xalan atoms.
18 Dec 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r2.ebuild icedtea6-1.2-r1.ebuild:
Remove ~sparc from 1.3, correct copyright headers.
18 Dec 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r2.ebuild icedtea6-1.2-r1.ebuild:
Fix find used in permission fixing to not include symbolic links.
12 Jan 2009; Petteri Räty <betelgeuse@gentoo.org> icedtea6-1.3.1-r2.ebuild:
Move configure from src_compile to src_configure as should be done in EAPI 2.
11 Jan 2009; Petteri Räty <betelgeuse@gentoo.org> icedtea6-1.3.1-r2.ebuild:
Migrate to EAPI 2.
18 Dec 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r2.ebuild:
Drop JamVM as it doesn't support -XX.
*icedtea6-1.2-r1 (18 12 2008)
18 Dec 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.2-r1.ebuild files/security-20081202-1.2.patch:
Backport security updates to 1.2.
*icedtea6-1.3.1-r2 (18 12 2008)
18 Dec 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r2.ebuild files/security-20081202.patch:
Security update; bumping revision to ensure this gets out.
Also adding support for icedtea6-bin.
11 Dec 2008; Vlastimil Babka <caster@gentoo.org> icedtea6-1.2.ebuild,
icedtea6-1.3.1-r1.ebuild:
Add missing libXtst dep.
03 Dec 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r1.ebuild files/arch-prefix.patch:
Prefix 32-bit builds with 'linux32'.
01 Dec 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r1.ebuild files/cacao-alias.patch:
Remove javac.in patch (gcj's java is now fixed) and add
support for building CACAO on mixed architectures (e.g. ppc64 with 32bit ul).
01 Dec 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r1.ebuild icedtea6-1.2.ebuild:
Add missing X11 dependencies (libXp, libXt, libXau, libXdmcp)
30 Nov 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r1.ebuild files/javac.in.patch:
Ensure the native version of ecj is used if available by passing the gcj
database to java in javac.in.
10 Nov 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r1.ebuild:
Bug 245428;
Work with the hack added to the newer Ant builds to properly support environment
variables.
10 Nov 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r1.ebuild:
Depend on xulrunner only; apparently firefox 3 doesn't always provide
enough for the XPCOM plugin.
10 Nov 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r1.ebuild:
Restore jdk 1.5 dependency for VM 'magic'.
08 Nov 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r1.ebuild:
Move Rhino to runtime dependencies.
08 Nov 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r1.ebuild:
Restore libXp fix
07 Nov 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r1.ebuild:
Remove broken modifications again!
30 Oct 2008; Vlastimil Babka <caster@gentoo.org> icedtea6-1.3.1-r1.ebuild:
Restore my 1.3.1 modifications in 1.3.1-r1.
30 Oct 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r1.ebuild:
Add missing libXp dependency.
30 Oct 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r1.ebuild:
Add back Caster's JAVA_PKG_FORCE_VM hack.
*icedtea6-1.3.1-r1 (29 10 2008)
29 Oct 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1-r1.ebuild:
Switch to new plugin, cleanup ecj dependency, remove --with-gcj in favour
of new ecj ebuild and bump to revision 1.
29 Oct 2008; Vlastimil Babka <caster@gentoo.org> icedtea6-1.3.1.ebuild:
Change virtual/icedtea-jdk dep to dev-java/icedtea6 dependency to
workaround situations where the virtual is not yet installed although
icedtea6 is, and portage tries to satisfy the gnu-classpath instead. Hack
around with JAVA_PKG_FORCE_VM to select appropriate jdk for building
without need to set it as system vm or in jdk.conf. Put rhino also in
RDEPEND to fix building with java-strict until I get to know if it's
build-only dep or not.
28 Oct 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1.ebuild icedtea6-1.2.ebuild:
Add x11-proto/xineramaproto.
*icedtea6-1.3.1 (27 10 2008)
27 Oct 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.1.ebuild files/hotspot-1.3.1.patch:
Bump to new IcedTea6 1.3.1 release.
20 Oct 2008; Petteri Räty <betelgeuse@gentoo.org> +files/icedtea6-1.3-autoconf.patch, icedtea6-1.3-r1.ebuild:
Add patch for autoconf. Fixes bug #242746. Thanks to Alon Bar-Lev
<alon.barlev@gmail.com>.
19 Oct 2008; Petteri Räty <betelgeuse@gentoo.org> icedtea6-1.3-r1.ebuild:
Fix pulseaudio dependency atom.
19 Oct 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3-r1.ebuild:
Drop out if trying to bootstrap due to the broken tarball issue.
Add PulseAudio support.
16 Oct 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> files/icedtea6.env:
Fixed naming of icedtea6 install directory.
16 Oct 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3-r1.ebuild:
Allow a CACAO build to build a normal IcedTea.
*icedtea6-1.3-r1 (16 10 2008)
15 Oct 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3-r1.ebuild:
Fixed naming of icedtea6 install directory and added cacao and shark options.
15 Oct 2008; Vlastimil Babka <caster@gentoo.org> icedtea6-1.3.ebuild:
Prefer ecj 3.3 over 3.2
*icedtea6-1.3 (15 10 2008)
15 Oct 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.3.ebuild:
Added (based on icedtea6-9999).
13 Oct 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.2.ebuild:
Fix use of zero flag.
12 Oct 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.2.ebuild:
Remove Gentoo-specific patches and force java, javac and javah with
locations from GENTOO_VM.
09 Oct 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.2.ebuild:
Port back debug fix from 9999 ebuild and add JDK check.
08 Oct 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.2.ebuild:
Depend on gnu-classpath-jdk and icedtea-jdk.
14 Sep 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> files/enable_fix-1.2.patch:
Remove prefix on left file in patch; epatch no longer seems to like this.
14 Sep 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> files/security_and_versioning.patch:
Correct placement of version.
14 Sep 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.2.ebuild files/security_and_versioning.patch:
Backport security fixes and include the version number and 'gentoo' in
the versioning.
15 Aug 2008; Petteri Räty <betelgeuse@gentoo.org> icedtea6-9999.ebuild:
Remove KEYWORDS from the live ebuild so that users get 1.2 by default.
07 Aug 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-9999.ebuild:
Fix rhino_jar declaration.
01 Aug 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> metadata.xml:
Document zero USE flag.
01 Aug 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea-1.7.ebuild icedtea-9999.ebuild:
Use dest not ddest for examples directory creation.
31 Jul 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.2.ebuild icedtea6-9999.ebuild:
Create directory for examples.
29 Jul 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-9999.ebuild:
Only check for Rhino jar when enabled.
28 Jul 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-9999.ebuild:
Remove >= from Rhino dependency following previous change.
27 Jul 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-9999.ebuild:
Use slots for Rhino dependency.
24 Jul 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-9999.ebuild:
Fixing naming of directory from Mercurial eclass.
24 Jul 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-9999.ebuild:
Fix Mercurial ebuild to use (undocumented) Mercurial eclass.
*icedtea6-9999 (24 07 2008)
24 Jul 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-9999.ebuild:
New ebuild for current Mercurial version.
12 Jul 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.1.ebuild icedtea6-1.2.ebuild
files/motif.patch files/motif-config.patch files/motif-make.patch:
Remove motif dependency and 1.1 ebuild.
19 Jul 2008; James Le Cuirot <chewi@aura-online.co.uk>
icedtea6-1.1.ebuild, icedtea6-1.2.ebuild:
Add missing inputproto dependency.
17 Jul 2008; James Le Cuirot <chewi@aura-online.co.uk>
icedtea6-1.1.ebuild, icedtea6-1.2.ebuild:
Make sure ecj 3.4 isn't used because it doesn't work. Also remove duplicate
ant-core dependency.
14 Jul 2008; James Le Cuirot <chewi@aura-online.co.uk>
icedtea6-1.1.ebuild, icedtea6-1.2.ebuild:
Make sure only one version of ecj is passed to configure.
12 Jul 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> metadata.xml:
Fix reference to OpenJDK to say OpenJDK6.
12 Jul 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.1.ebuild icedtea6-1.2.ebuild:
Fix ecj building, cleanups and port changes to 1.1.
12 Jul 2008; James Le Cuirot <chewi@aura-online.co.uk> icedtea6-1.2.ebuild:
Add IcedTea upgrade functionality, cleanups and break ecj.
02 Jul 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.1.ebuild icedtea6-1.2.ebuild:
x86 architecture should be i586 for build directory, and i386 for plugin (!?!?)
30 Jun 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.1.ebuild icedtea6-1.2.ebuild:
x86 architecture should be 'i386' apparently
30 Jun 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> files/javac.in.patch:
Remove the -J from the memory option.
30 Jun 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.1.ebuild icedtea6-1.2.ebuild files/javac.in.patch:
Patch javac.in as well so it also gets the benefit of the new memory option.
30 Jun 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.1.ebuild icedtea6-1.2.ebuild:
Supply ecj.jar directly to configure.
30 Jun 2008: Andrew John Hughes <gnu_andrew@member.fsf.org> files/icedtea6-1.1.env files/icedtea6-1.2.env files/icedtea6.env:
Removed version-specific environments (which are identical anyway).
29 Jun 2008: Andrew John Hughes <gnu_andrew@member.fsf.org> files/javac_fix-1.1.patch files/javac_fix-1.2.patch icedtea6-1.1.ebuild icedtea6-1.2.ebuild:
Use Classpath's javac detection.
26 Jun 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.1.ebuild icedtea6-1.2.ebuild:
Remove slot allocation, making both 0.
01 Jun 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> files/gjar-1.1.patch files/gjar-1.2.patch icedtea6-1.1.ebuild icedtea6-1.2.ebuild:
Fix gjar patches for both versions of icedtea6 and note source of each patch.
30 May 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> files/gjar.patch icedtea6-1.1.ebuild icedtea6-1.2.ebuild:
Add fix for jar cfm@ issue and revert icedtea6-1.2 to depending on virtual/jdk-1.5.
*icedtea6-1.2 (29 05 2008)
29 May 2008; Andrew John Hughes <gnu_andrew@member.fsf.org> icedtea6-1.2.ebuild:
Added.

View File

@@ -1,8 +0,0 @@
AUX 1.5-cacao-gcc-4.4.patch 1226 RMD160 2641db0dd21dcd021dcd855abe99396c9fc5a91d SHA1 427e432a310f72ef7ba99aa2155d5c4426d4036b SHA256 3f639501e2b1ce85383f56aeca68e5886ea38195f631adcca7adab5a10dfa25b
DIST 09f7962b8b44.tar.gz 7906417 RMD160 96a118adaf6d14b8823429a46fd67b87b972183f SHA1 e9f6775bfa819d1f7324d979315548d6e9c50992 SHA256 6e8123c31e0e45648114606898599dfb31ec81a011875d471226dd58e24c6dc9
DIST cacao-0.99.4.tar.gz 3917411 RMD160 bde50674e07c3a1e6ed8c4a8fdc6273a2a23dd1a SHA1 d9d159f8f905a9fa53ea7ae0f50a442dbd6b5e84 SHA256 c6090c1d2ed3c60acda0076b62563598267be8dab270ce49ee1035002a2510cf
DIST icedtea6-1.5.2.tar.gz 7024622 RMD160 c048a1bf717bfbc3c9fce3f8ea81266794046e17 SHA1 8893b04e085bef85eb04c32754d3c85d1e1aa6e2 SHA256 78a32f187014412a9cdb547fc4b38695efd10593606b9e07abd662d62caaeb17
DIST openjdk-6-src-b16-24_apr_2009.tar.gz 49174493 RMD160 9248b6495f3fda7a463ccd9c642213f54f4ddff5 SHA1 7583b915b6d955200b77ce90df94051b9210e2dc SHA256 96159489d8b70db275c125b627c6e6912e6c078279d76b968d2e0969359c9420
EBUILD icedtea6-1.5.2.ebuild 7710 RMD160 8e279ef7e3da03048f28f5e5703d4aff5eede6a3 SHA1 49a03f43077d60fad5f9dd8d909a91160cabd7b6 SHA256 e8be5cdd020966811bdf0d8da85d568764d3135e11d0a5a0d0788494fe71ebd9
MISC ChangeLog 13833 RMD160 f1e11ff68d9ed37bab91d6872cbe2f1c35866a89 SHA1 33af79004d5f368219fbe71876178f9cc29c0c91 SHA256 7011b7af391250206c5b61f8ce7b368fe128b0a435f44b4acbe50ad8d8c82625
MISC metadata.xml 988 RMD160 ea40109ccf581552f69a4049938fa1cae1e24fc7 SHA1 490ee13e1a07c4d42d2010bb0bad2a4293d0b58f SHA256 ba499a7caa1ca4d44dcf01d6db96c790eff3245ef1bbe0c7cee4a2270aad1fd0

View File

@@ -1,36 +0,0 @@
# HG changeset patch
# User Andrew John Hughes <ahughes@redhat.com>
# Date 1245174543 -3600
# Node ID 883001a6b00ead3fa58f0c12ac60ced3832ba326
# Parent b88686f19b34952c3c0e581d52507695aecb2ff2
Fix CACAO build with GCC 4.4
diff -r b88686f19b34 -r 883001a6b00e Makefile.am
--- a/Makefile.am Mon Jun 15 15:44:37 2009 -0400
+++ b/Makefile.am Tue Jun 16 18:49:03 2009 +0100
@@ -614,7 +614,8 @@
if BUILD_CACAO
ICEDTEA_PATCHES += \
patches/icedtea-cacao.patch \
- patches/icedtea-cacao-no-mmap-first-page.patch
+ patches/icedtea-cacao-no-mmap-first-page.patch \
+ patches/cacao/no-strict-aliasing.patch
endif
if WITH_CACAO
ICEDTEA_PATCHES += \
diff -r b88686f19b34 -r 883001a6b00e patches/cacao/no-strict-aliasing.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/cacao/no-strict-aliasing.patch Tue Jun 16 18:49:03 2009 +0100
@@ -0,0 +1,12 @@
+diff -ur cacao-0.99.4.orig/configure cacao-0.99.4/configure
+--- cacao.orig/cacao/configure 2009-03-16 12:44:25.000000000 +0100
++++ cacao/cacao/configure 2009-06-05 17:58:48.000000000 +0200
+@@ -2825,7 +2825,7 @@
+
+
+ if test x"$CFLAGS" = "x"; then
+- OPT_CFLAGS="-g -O2"
++ OPT_CFLAGS="-g -O2 -fno-strict-aliasing"
+ else
+ OPT_CFLAGS=$CFLAGS
+ fi

View File

@@ -1,256 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Build written by Andrew John Hughes
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit autotools pax-utils java-pkg-2 java-vm-2
DESCRIPTION="A harness to build the OpenJDK using Free Software build tools and dependencies"
OPENJDK_BUILD="16"
OPENJDK_DATE="24_apr_2009"
OPENJDK_TARBALL="openjdk-6-src-b${OPENJDK_BUILD}-${OPENJDK_DATE}.tar.gz"
HOTSPOT_TARBALL="09f7962b8b44.tar.gz"
CACAO_TARBALL="cacao-0.99.4.tar.gz"
SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz
http://download.java.net/openjdk/jdk6/promoted/b${OPENJDK_BUILD}/${OPENJDK_TARBALL}
http://hg.openjdk.java.net/hsx/hsx14/master/archive/${HOTSPOT_TARBALL}
cacao? ( http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-0.99.4/${CACAO_TARBALL} )"
HOMEPAGE="http://icedtea.classpath.org"
# Missing options:
# shark - still experimental, requires llvm which is not yet packaged
# visualvm - requries netbeans which would cause major bootstrap issues
IUSE="cacao debug doc examples javascript nio2 nsplugin pulseaudio systemtap xrender zero"
# JTReg doesn't pass at present
RESTRICT="test"
LICENSE="GPL-2-with-linking-exception"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~arm"
RDEPEND=">=net-print/cups-1.2.12
>=x11-libs/libX11-1.1.3
>=media-libs/freetype-2.3.5
>=media-libs/alsa-lib-1.0
>=x11-libs/gtk+-2.8
>=x11-libs/libXinerama-1.0.2
>=x11-libs/libXp-1.0.0
>=x11-libs/libXi-1.1.3
>=x11-libs/libXau-1.0.3
>=x11-libs/libXdmcp-1.0.2
>=x11-libs/libXtst-1.0.3
>=media-libs/jpeg-6b
>=media-libs/libpng-1.2
>=media-libs/giflib-4.1.6
>=sys-libs/zlib-1.2.3
x11-proto/inputproto
x11-proto/xineramaproto
nsplugin? ( >=net-libs/xulrunner-1.9 )
pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
javascript? ( dev-java/rhino:1.6 )
zero? ( sys-devel/gcc[libffi] )
xrender? ( >=x11-libs/libXrender-0.9.4 )
systemtap? ( >=dev-util/systemtap-0.9.5 ) "
# Additional dependencies for building:
# unzip: extract OpenJDK tarball
# xalan/xerces: automatic code generation
# ant, ecj, jdk: required to build Java code
# Only ant-core-1.7.0-r3 in java-overlay contains
# a version of Ant that properly respects environment
# variables. 1.7.1-r2 and on will work if the build
# sets some environment variables.
DEPEND="${RDEPEND}
|| ( >=virtual/gnu-classpath-jdk-1.5
dev-java/icedtea6-bin
dev-java/icedtea6
)
|| (
dev-java/icedtea6-bin
dev-java/icedtea6
dev-java/icedtea
dev-java/eclipse-ecj:3.3
)
>=virtual/jdk-1.5
>=app-arch/unzip-5.52
>=dev-java/xalan-2.7.0:0
>=dev-java/xerces-2.9.1:2
|| (
=dev-java/ant-core-1.7.0-r3
>=dev-java/ant-core-1.7.1-r2
)"
pkg_setup() {
# Shark support disabled for now - still experimental and needs sys-devel/llvm
# if use shark ; then
# if ( ! use x86 && ! use sparc && ! use ppc ) ; then
# eerror "The Shark JIT has known issues on 64-bit platforms. Please rebuild"
# errror "without the shark USE flag turned on."
# die "Rebuild without the shark USE flag on."
# fi
# if ( ! use zero ) ; then
# eerror "The use of the Shark JIT is only applicable when used with the zero assembler port.";
# die "Rebuild without the shark USE flag on or with the zero USE flag turned on."
# fi
# fi
# quite a hack since java-config does not provide a way for a package
# to limit supported VM's for building and their preferred order
if has_version dev-java/icedtea6; then
JAVA_PKG_FORCE_VM="icedtea6"
elif has_version dev-java/icedtea6-bin; then
JAVA_PKG_FORCE_VM="icedtea6-bin"
elif has_version dev-java/icedtea; then
JAVA_PKG_FORCE_VM="icedtea"
elif has_version dev-java/gcj-jdk; then
JAVA_PKG_FORCE_VM="gcj-jdk"
elif has_version dev-java/cacao; then
JAVA_PKG_FORCE_VM="cacao"
else
die "Unable to find a supported VM for building"
fi
einfo "Forced vm ${JAVA_PKG_FORCE_VM}"
java-vm-2_pkg_setup
java-pkg-2_pkg_setup
}
src_unpack() {
unpack ${P}.tar.gz
}
src_prepare() {
# Fix CACAO build on GCC 4.4
epatch "${FILESDIR}/1.5-cacao-gcc-4.4.patch"
eautoreconf || die "failed to regenerate autoconf infrastructure"
}
unset_vars() {
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
}
src_configure() {
local config procs rhino_jar
local vm=$(java-pkg_get-current-vm)
local vmhome="/usr/lib/jvm/${vm}"
if [[ "${vm}" == "icedtea6" || "${vm}" == "icedtea" ]] || [[ "${vm}" == "icedtea6-bin" ]] ; then
# If we are upgrading icedtea, then we don't need to bootstrap.
config="${config} --with-icedtea"
config="${config} --with-icedtea-home=$(java-config -O)"
elif [[ "${vm}" == "gcj-jdk" || "${vm}" == "cacao" ]] ; then
# For other 1.5 JDKs e.g. GCJ, CACAO.
config="${config} --with-ecj-jar=$(java-pkg_getjar --build-only eclipse-ecj:3.3 ecj.jar)" \
config="${config} --with-libgcj-jar=${vmhome}/jre/lib/rt.jar"
config="${config} --with-gcj-home=${vmhome}"
else
eerror "IcedTea must be built with either a JDK based on GNU Classpath or an existing build of IcedTea."
die "Install a GNU Classpath JDK (gcj-jdk, cacao)"
fi
# OpenJDK-specific parallelism support.
procs=$(echo ${MAKEOPTS} | sed -r 's/.*-j\W*([0-9]+).*/\1/')
if [[ -n ${procs} ]] ; then
config="${config} --with-parallel-jobs=${procs}";
einfo "Configuring using --with-parallel-jobs=${procs}"
fi
if use_cacao ; then
config="${config} --enable-cacao"
else
config="${config} --disable-cacao"
fi
if use javascript ; then
rhino_jar=$(java-pkg_getjar rhino:1.6 js.jar);
fi
unset_vars
econf ${config} \
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
--with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_TARBALL}" \
--with-cacao-src-zip="${DISTDIR}/${CACAO_TARBALL}" \
--with-java="${vmhome}/bin/java" \
--with-javac="${vmhome}/bin/javac" \
--with-javah="${vmhome}/bin/javah" \
--with-pkgversion="Gentoo" \
--with-abs-install-dir=/usr/$(get_libdir)/${PN} \
$(use_enable !debug optimizations) \
$(use_enable doc docs) \
$(use_enable nsplugin plugin) \
$(use_with javascript rhino ${rhino_jar}) \
$(use_enable zero) \
$(use_enable pulseaudio pulse-java) \
$(use_enable xrender) \
$(use_enable systemtap) \
$(use_enable nio2) \
|| die "configure failed"
}
src_compile() {
# Newer versions of Gentoo's ant add
# an environment variable so it works properly...
export ANT_RESPECT_JAVA_HOME=TRUE
# Also make sure we don't bring in additional tasks
export ANT_TASKS=none
# Paludis does not respect unset from src_configure
unset_vars
emake -j 1 || die "make failed"
}
src_install() {
local dest="/usr/$(get_libdir)/${PN}"
local ddest="${D}/${dest}"
dodir "${dest}" || die
local arch=${ARCH}
use x86 && arch=i586
cd "${S}/openjdk/build/linux-${arch}/j2sdk-image" || die
if use doc ; then
dohtml -r ../docs/* || die "Failed to install documentation"
fi
# doins can't handle symlinks.
cp -vRP bin include jre lib man "${ddest}" || die "failed to copy"
# Set PaX markings on all JDK/JRE executables to allow code-generation on
# the heap by the JIT compiler.
pax-mark m $(list-paxables "${ddest}"{,/jre}/bin/*)
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README || die
dohtml README.html || die
if use examples; then
dodir "${dest}/share";
cp -vRP demo sample "${ddest}/share/" || die
fi
cp src.zip "${ddest}" || die
# Fix the permissions.
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
if use nsplugin; then
use x86 && arch=i386;
install_mozilla_plugin "${dest}/jre/lib/${arch}/IcedTeaPlugin.so";
fi
set_java_env
}
use_cacao() {
use cacao || ( ! use amd64 && ! use x86 && ! use sparc )
}
pkg_postinst() {
# Set as default VM if none exists
java-vm-2_pkg_postinst
}

View File

@@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>java</herd>
<maintainer>
<email>gnu_andrew@member.fsf.org</email>
<name>Andrew John Hughes</name>
</maintainer>
<longdescription>The IcedTea project provides a harness to build the source code from OpenJDK6 (http://openjdk.java.net) using Free Software build tools along with additional tools such as a browser plugin and Web Start support via NetX. </longdescription>
<use>
<flag name="cacao">Use the CACAO virtual machine instead of HotSpot on x86, amd64 or SPARC architectures.</flag>
<flag name="shark">Enable Shark JIT support</flag>
<flag name="xrender">Enable support for using XRender with the AWT libraries.</flag>
<flag name="zero">Enable the zero assembler port of HotSpot.</flag>
<flag name="systemtap">Enable SystemTap probes in HotSpot.</flag>
<flag name="nio2">Enable backport of NIO2 to OpenJDK6.</flag>
</use>
</pkgmetadata>