add orion5x profiles
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1553 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
5059ab35f3
commit
4d5c2653d4
22
dev-java/icedtea6-bin/ChangeLog
Normal file
22
dev-java/icedtea6-bin/ChangeLog
Normal file
@ -0,0 +1,22 @@
|
||||
# ChangeLog for dev-java/icedtea6-bin
|
||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/ChangeLog,v 1.3 2009/04/19 18:15:33 caster Exp $
|
||||
|
||||
*icedtea6-bin-1.4.1 (19 Apr 2009)
|
||||
|
||||
19 Apr 2009; Vlastimil Babka <caster@gentoo.org>
|
||||
+icedtea6-bin-1.4.1.ebuild:
|
||||
Version bump, based on icedtea6-1.4.1-r1 from java-overlay.
|
||||
|
||||
*icedtea6-bin-1.4 (09 Feb 2009)
|
||||
|
||||
09 Feb 2009; Vlastimil Babka <caster@gentoo.org> +icedtea6-bin-1.4.ebuild:
|
||||
Version bump, built from icedtea6-1.4 java-overlay r7477. Bug #255493.
|
||||
|
||||
*icedtea6-bin-1.3.1-r1 (24 Dec 2008)
|
||||
|
||||
24 Dec 2008; Vlastimil Babka <caster@gentoo.org> +files/icedtea6-bin.env,
|
||||
+metadata.xml, +icedtea6-bin-1.3.1-r1.ebuild:
|
||||
New package, a Gentoo binary build of icedtea6. Based on icedtea6-r2 from
|
||||
java-overlay.
|
||||
|
15
dev-java/icedtea6-bin/Manifest
Normal file
15
dev-java/icedtea6-bin/Manifest
Normal file
@ -0,0 +1,15 @@
|
||||
AUX icedtea6-bin.env 947 RMD160 8f72b884c823f408755a3b06daea5af7705da488 SHA1 7473e4d987d5b0e9f1dbf48fbf4978e37d2f64b9 SHA256 b0f675b427f42d7fd1bbf1314523144a2bfc9f5ad44f89568adce120929f74e3
|
||||
DIST icedtea6-bin-core-1.4.1-amd64.tar.bz2 34711794 RMD160 b1b76819653ed7d4e24c0436309be567c71c4940 SHA1 0ec2abfd02ea22f12348197ef618cbe4256da302 SHA256 0ea38aaa849a315ba397fa699826b58d3f7a3bd544815ee3a610537c0bb478ea
|
||||
DIST icedtea6-bin-core-1.4.1-arm.tar.bz2 36040656 RMD160 3c225e9dcecfb20b6b7bda23f8818794f8319a34 SHA1 9017616d566910a7a8298cb64bda2c683e74b278 SHA256 1ac655609ab9c5bed4c35931467d26f59788102683fada77b6d0cc99670ee757
|
||||
DIST icedtea6-bin-core-1.4.1-x86.tar.bz2 35829602 RMD160 5d528c48366d42852362c7fb462a597c0acfecbc SHA1 25a623ffcb06511d86d7e42453a3f8205a28208f SHA256 40f6c29e7fa2ff094d9d04258bb5b0e936b8d9342845cbb2b9c4b433aa2da29a
|
||||
DIST icedtea6-bin-doc-1.4.1.tar.bz2 11639396 RMD160 a8ee05812dbccc800d1b6478bcca568228f1960f SHA1 9fe5c5441ce8ed6635cf933616aacc47b4509e3a SHA256 35905800de74fcf5faec70cc72d3ba0a8a860e8513d4de266785daa6c72f7002
|
||||
DIST icedtea6-bin-examples-1.4.1-amd64.tar.bz2 2174626 RMD160 0dac29fc74adb6cbe3abedcc4240a44ddf5b3abb SHA1 5ca7a98be556ea14149791cdb97c2acb93885169 SHA256 5aef26739f36e7a4002cdce05593406a808377c3aaf3e67c90b00b2491aea07b
|
||||
DIST icedtea6-bin-examples-1.4.1-arm.tar.bz2 2191708 RMD160 d629ecb386efc2219659aaa078a639a748296756 SHA1 e10caed440c37b4344e42e72fe3d2106f0af0a03 SHA256 c12cbbd28de0c0f1e74a3a5b7ffb0c799d1103b78e5dd7610f7080e1891d245f
|
||||
DIST icedtea6-bin-examples-1.4.1-x86.tar.bz2 2139158 RMD160 d8277ccd7ba4963c4dc8462d3d5434c49ee96c7d SHA1 cc13656f57e8be250cda2444b6e496e0b525713c SHA256 011bf7b503c362baccbb0778b5c0522e215f806a3678bbde04a65bc87a75e65c
|
||||
DIST icedtea6-bin-nsplugin-1.4.1-amd64.tar.bz2 83980 RMD160 a5ba9d7c510aafe0a889641c2e10f97bc9f5beba SHA1 40c6e56a8c6ac38a33df27f84cff2ed6f698eb54 SHA256 0b89387809666e38e531a63366bee434a2cb779bb6e64467bfe576ddc4fce72f
|
||||
DIST icedtea6-bin-nsplugin-1.4.1-arm.tar.bz2 80456 RMD160 2c2d626d5b6fc3cbb2c850c5a8e4fc5a7d819ba7 SHA1 fbf50b0edb7360ed999f49e2f095d9518c68715a SHA256 a12fe88f41e3be68e7c84bd1ce5afb7e84f32e309e5be3258ad4e477bb745685
|
||||
DIST icedtea6-bin-nsplugin-1.4.1-x86.tar.bz2 71600 RMD160 2ca9e1060de26520e82307eee8f35954fb9dc046 SHA1 17da013355ad4dc0dda6381a7bf5c26e036dfffa SHA256 db1e868167059a678e2d185ebb45a8ff764f2f19523730b8664c2398edcbd877
|
||||
DIST icedtea6-bin-src-1.4.1.tar.bz2 26582403 RMD160 271562a9261434228ed398a5fde916e1afae73aa SHA1 4290e5f50189271d2adeb5f2d80bed82dc7cd83d SHA256 c303e8e71e57b246bff994627b56da54bf44cdf03e17e53c7260974e245d5f15
|
||||
EBUILD icedtea6-bin-1.4.1.ebuild 2928 RMD160 13b02823cb61d2150c07ab1041241717f5761d33 SHA1 c8f9ee878dc44b8f16048c78ebd5569ef8d77c5b SHA256 9b333bccc2ccc2c4ce0c45dbf5826fb29cfc2b5b21f523b3acbda12bcd12ea40
|
||||
MISC ChangeLog 833 RMD160 9fdcbb17668fc48ac78d8266d948a98852d69ff5 SHA1 0c7c1dabe3020cf922b3c144eb51edc3d53bf5fd SHA256 084eafb115f218d8c340c9dbd7e5762d441f9230b1360636a06abe055965b2ae
|
||||
MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb
|
18
dev-java/icedtea6-bin/files/icedtea6-bin.env
Normal file
18
dev-java/icedtea6-bin/files/icedtea6-bin.env
Normal file
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/files/icedtea6-bin.env,v 1.1 2008/12/24 22:22:37 caster Exp $
|
||||
|
||||
VERSION="IcedTea6-bin @PV@"
|
||||
JAVA_HOME=/opt/@P@
|
||||
JDK_HOME=/opt/@P@
|
||||
JAVAC=${JAVA_HOME}/bin/javac
|
||||
PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
|
||||
ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
|
||||
LDPATH="${JAVA_HOME}/jre/lib/@PLATFORM@/:${JAVA_HOME}/jre/lib/@PLATFORM@/native_threads/:${JAVA_HOME}/jre/lib/@PLATFORM@/xawt/:${JAVA_HOME}/jre/lib/@PLATFORM@/server/"
|
||||
MANPATH="/opt/@P@/man"
|
||||
PROVIDES_TYPE="JDK JRE"
|
||||
PROVIDES_VERSION="1.6"
|
||||
# Taken from sun.boot.class.path property
|
||||
BOOTCLASSPATH="${JAVA_HOME}/jre/lib/resources.jar:${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/jsse.jar:${JAVA_HOME}/jre/lib/jce.jar:${JAVA_HOME}/jre/lib/charsets.jar"
|
||||
GENERATION="2"
|
||||
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
|
106
dev-java/icedtea6-bin/icedtea6-bin-1.4.1.ebuild
Normal file
106
dev-java/icedtea6-bin/icedtea6-bin-1.4.1.ebuild
Normal file
@ -0,0 +1,106 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea6-bin/icedtea6-bin-1.4.1.ebuild,v 1.1 2009/04/19 18:15:33 caster Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit java-vm-2
|
||||
|
||||
dist="mirror://gentoo/"
|
||||
dist_arm="http://ftp.mars.arge.at/armv5/"
|
||||
DESCRIPTION="A Gentoo-made binary build of the icedtea6 JDK"
|
||||
SRC_URI="amd64? ( ${dist}/${PN}-core-${PVR}-amd64.tar.bz2 )
|
||||
x86? ( ${dist}/${PN}-core-${PVR}-x86.tar.bz2 )
|
||||
arm? ( ${dist_arm}/${PN}-core-${PVR}-arm.tar.bz2 )
|
||||
doc? ( ${dist}/${PN}-doc-${PVR}.tar.bz2 )
|
||||
examples? (
|
||||
amd64? ( ${dist}/${PN}-examples-${PVR}-amd64.tar.bz2 )
|
||||
x86? ( ${dist}/${PN}-examples-${PVR}-x86.tar.bz2 )
|
||||
arm? ( ${dist_arm}/${PN}-examples-${PVR}-arm.tar.bz2 )
|
||||
)
|
||||
nsplugin? (
|
||||
amd64? ( ${dist}/${PN}-nsplugin-${PVR}-amd64.tar.bz2 )
|
||||
x86? ( ${dist}/${PN}-nsplugin-${PVR}-x86.tar.bz2 )
|
||||
arm? ( ${dist_arm}/${PN}-nsplugin-${PVR}-arm.tar.bz2 )
|
||||
)
|
||||
source? ( ${dist}/${PN}-src-${PVR}.tar.bz2 )"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
|
||||
IUSE="X alsa doc examples nsplugin source"
|
||||
RESTRICT="strip"
|
||||
|
||||
LICENSE="GPL-2-with-linking-exception"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~arm"
|
||||
|
||||
S="${WORKDIR}/${PF}"
|
||||
|
||||
RDEPEND="
|
||||
>=sys-libs/glibc-2.8_p20080602-r1
|
||||
>=media-libs/giflib-4.1.6-r1
|
||||
>=media-libs/jpeg-6b-r8
|
||||
>=media-libs/libpng-1.2.35
|
||||
>=sys-libs/zlib-1.2.3-r1
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.17a )
|
||||
X? (
|
||||
>=media-libs/freetype-2.3.8:2
|
||||
>=media-libs/fontconfig-2.6.0-r2:1.0
|
||||
>=x11-libs/libXext-1.0.4
|
||||
>=x11-libs/libXi-1.2.1
|
||||
>=x11-libs/libXtst-1.0.3
|
||||
>=x11-libs/libX11-1.1.5
|
||||
)
|
||||
nsplugin? (
|
||||
>=dev-libs/atk-1.24.0
|
||||
>=dev-libs/glib-2.18.4-r1:2
|
||||
>=dev-libs/nspr-4.7.3
|
||||
>=x11-libs/cairo-1.8.6-r1
|
||||
>=x11-libs/gtk+-2.14.7-r2:2
|
||||
>=x11-libs/pango-1.22.4
|
||||
)"
|
||||
DEPEND=""
|
||||
|
||||
QA_EXECSTACK_arm="opt/${P}/jre/lib/arm/server/libjvm.so"
|
||||
QA_EXECSTACK_amd64="opt/${P}/jre/lib/amd64/server/libjvm.so"
|
||||
QA_EXECSTACK_x86="opt/${P}/jre/lib/i386/server/libjvm.so
|
||||
opt/${P}/jre/lib/i386/client/libjvm.so"
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${D}/${dest}"
|
||||
dodir "${dest}" || die
|
||||
|
||||
local arch=${ARCH}
|
||||
|
||||
# doins can't handle symlinks.
|
||||
cp -pRP bin include jre lib man "${ddest}" || die "failed to copy"
|
||||
|
||||
dodoc ../doc/{ASSEMBLY_EXCEPTION,THIRD_PARTY_README} || die
|
||||
if use doc ; then
|
||||
dohtml -r ../doc/html/* || die "Failed to install documentation"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
cp -pRP share/{demo,sample} "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use source ; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use nsplugin ; then
|
||||
use x86 && arch=i386;
|
||||
install_mozilla_plugin "${dest}/jre/lib/${arch}/IcedTeaPlugin.so";
|
||||
fi
|
||||
|
||||
set_java_env
|
||||
java-vm_revdep-mask
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use nsplugin; then
|
||||
elog "The icedtea6-bin browser plugin can be enabled using eselect java-nsplugin"
|
||||
elog "Note that the plugin works only in browsers based on xulrunner-1.9"
|
||||
elog "such as Firefox 3 or Epiphany 2.24 and not in older versions!"
|
||||
fi
|
||||
}
|
5
dev-java/icedtea6-bin/metadata.xml
Normal file
5
dev-java/icedtea6-bin/metadata.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
313
dev-java/icedtea6/ChangeLog
Normal file
313
dev-java/icedtea6/ChangeLog
Normal file
@ -0,0 +1,313 @@
|
||||
# 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.
|
||||
|
8
dev-java/icedtea6/Manifest
Normal file
8
dev-java/icedtea6/Manifest
Normal file
@ -0,0 +1,8 @@
|
||||
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
|
36
dev-java/icedtea6/files/1.5-cacao-gcc-4.4.patch
Normal file
36
dev-java/icedtea6/files/1.5-cacao-gcc-4.4.patch
Normal file
@ -0,0 +1,36 @@
|
||||
# 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
|
256
dev-java/icedtea6/icedtea6-1.5.2.ebuild
Normal file
256
dev-java/icedtea6/icedtea6-1.5.2.ebuild
Normal file
@ -0,0 +1,256 @@
|
||||
# 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
|
||||
}
|
18
dev-java/icedtea6/metadata.xml
Normal file
18
dev-java/icedtea6/metadata.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?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>
|
18
profiles/orion5x/make.defaults
Normal file
18
profiles/orion5x/make.defaults
Normal file
@ -0,0 +1,18 @@
|
||||
# orion5x - make.defaults
|
||||
|
||||
ARCH="arm"
|
||||
ACCEPT_KEYWORDS="arm"
|
||||
|
||||
CFLAGS="-O2 -pipe -fno-strict-aliasing -mtune=arm926ej-s"
|
||||
CHOST="armv5tejl-softfloat-linux-gnueabi"
|
||||
CXXFLAGS="${CFLAGS}"
|
||||
CPPFLAGS="${CFLAGS}"
|
||||
|
||||
MAKEOPTS="-j1"
|
||||
USE="7zip apache2 arm authdaemond authfile bash-completion bzip2 clamav \
|
||||
clamd crosscompile foomaticdb maildir -mysql netboot php posix postfix \
|
||||
procmail samba sasl slang softquota symlink tokenizer usb -X -alsa -esd \
|
||||
-fortran -gnome -gstreamer -gtk -opengl -oss -qt3 -qt4 -quicktime \
|
||||
-spell -xv -ldap unicode"
|
||||
|
||||
USE_EXPAND="ORION_NAS_DEVICES"
|
11
profiles/orion5x/packages
Normal file
11
profiles/orion5x/packages
Normal file
@ -0,0 +1,11 @@
|
||||
# Copyright 2001-2004 Gentoo Foundation.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/sh/packages,v 1.1 2004/10/22 21:45:00 vapier Exp $
|
||||
|
||||
>=sys-devel/gcc-4.2.1
|
||||
*sys-fs/xfsprogs
|
||||
*sys-fs/jfsutils
|
||||
*app-admin/showconsole
|
||||
*sys-libs/timezone-data
|
||||
*net-misc/dhcpcd
|
||||
*sys-apps/micro_evtd
|
1
profiles/orion5x/parent
Normal file
1
profiles/orion5x/parent
Normal file
@ -0,0 +1 @@
|
||||
/usr/portage/profiles/default/linux/arm/10.0/server
|
1
profiles/orion5x/virtuals
Normal file
1
profiles/orion5x/virtuals
Normal file
@ -0,0 +1 @@
|
||||
virtual/linux-sources sys-kernel/orion5x-sources
|
Loading…
Reference in New Issue
Block a user