public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew John Hughes" <gnu_andrew@member.fsf.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/java:master commit in: dev-java/icedtea/
Date: Mon,  8 Aug 2016 14:58:20 +0000 (UTC)	[thread overview]
Message-ID: <1470365246.af184184d7f769b9abea31b073f66cf9c00d538d.gnu_andrew@gentoo> (raw)

commit:     af184184d7f769b9abea31b073f66cf9c00d538d
Author:     Andrew John Hughes <gnu_andrew <AT> member <DOT> fsf <DOT> org>
AuthorDate: Fri Aug  5 02:47:26 2016 +0000
Commit:     Andrew John Hughes <gnu_andrew <AT> member <DOT> fsf <DOT> org>
CommitDate: Fri Aug  5 02:47:26 2016 +0000
URL:        https://gitweb.gentoo.org/proj/java.git/commit/?id=af184184

dev-java/icedtea: Provide first 3.2.0 pre-release.

Package-Manager: portage-2.2.27

 dev-java/icedtea/ChangeLog                  |   6 +
 dev-java/icedtea/Manifest                   |   9 +
 dev-java/icedtea/icedtea-3.2.0_pre01.ebuild | 371 ++++++++++++++++++++++++++++
 3 files changed, 386 insertions(+)

diff --git a/dev-java/icedtea/ChangeLog b/dev-java/icedtea/ChangeLog
index cb0fae4..ea47455 100644
--- a/dev-java/icedtea/ChangeLog
+++ b/dev-java/icedtea/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*icedtea-3.2.0_pre01 (05 Aug 2016)
+
+  05 Aug 2016; Andrew John Hughes <gnu_andrew@member.fsf.org>
+  +icedtea-3.2.0_pre01.ebuild:
+  dev-java/icedtea: Provide first 3.2.0 pre-release.
+
 *icedtea-7.2.6.7 (29 Jul 2016)
 
   29 Jul 2016; Andrew John Hughes <gnu_andrew@member.fsf.org>

diff --git a/dev-java/icedtea/Manifest b/dev-java/icedtea/Manifest
index 20523dd..f588bbe 100644
--- a/dev-java/icedtea/Manifest
+++ b/dev-java/icedtea/Manifest
@@ -23,6 +23,15 @@ DIST icedtea-3.1-nashorn-289b6e3c6e05.tar.xz 2219684 SHA256 56b36f5f7c073b140f83
 DIST icedtea-3.1-openjdk-453780834f92.tar.xz 334244 SHA256 c19f7ffaec510db20b3c66b6447040012c28df319ab1dcfaf0a41c0e807bdddc SHA512 f2b40a39418e9df667a871293629cec85a8b43edd9051caf80961e1b92916e7a7509dfebaaf6c461ff0d51e6e8d653d7584de8ff35fb7229e8def6ee0f8ddadc WHIRLPOOL a072fd9dac5cefd00f60557bd25f4089ede0400caf64b179924df2cd1a18ded15d9eef072d355870c735d311012ecb53178b834ea3a738d994decacf13433b16
 DIST icedtea-3.1-shenandoah-997386c525f7.tar.xz 6839400 SHA256 9363a37649f102de9c49e11f1fdd2b42be82f83e004265894cfc036325d511ea SHA512 7cf4b07c62d790225ce102ab7e835e00bf53cbeace9c1bc10faf84f5d1a8b6eb9e2be62e542e98d7ecef75594738fa660bb738e951c91067220487cd105b3454 WHIRLPOOL 8bf3d81d01d84e362ed0d446a9183702e6f22a3eb186842cf4e63a98842263e28e98fd4d16d4c995cd6b2c87e839ee2484b2182edca6b02ae6702a25f7cdf61e
 DIST icedtea-3.1.0.tar.xz 1437400 SHA256 75616641ad6d8437124c32fed3fadddac67b14bba26757e15f6c2f69149233b4 SHA512 85b54df0d50e5554b62191c7e868c7c2154619617732af227408a8d6a9c8b2a4b86fc2f98f33b58c4b14485931e6da4eff8d50026d63b0f7a5a46bf9d66140a3 WHIRLPOOL c2f3b42a2b16fd1e28d3a9f1929cba76e2f0aa77872eac8f451b53fb20eaaf7aec140c769133af976e0377315742d6a2cc054a325c82195380dd8cc5e5bc45c7
+DIST icedtea-3.2-corba-48dbf4a68dc7.tar.xz 938700 SHA256 61c64bbde1c1ce16b85f78af33d5127d951fd2873d44cca0da6cba59d0749d55 SHA512 e939c3afe05dc6618f2934a163ea1a5994185043fe9757f1e6423090fd0d4cc7dcb43bd6e9e6dd77fde61cc1f069dd08494d6084f045b707daa45638d30384d6 WHIRLPOOL d08c406b4afe31ed0d158ba1fa573fa3479e35bd19c690e8a84a0272df5dfe6d3afe2c4f3afa70f903e0c99dc21e2b9ea9199009f911dea477d8490e8fb4b3b4
+DIST icedtea-3.2-hotspot-90416ba05ba1.tar.xz 6798000 SHA256 9d29cc0f6aa14c57788efcaf4be9e1d20297d07f0535941e31b64d42f4034c4c SHA512 bc5a49c59c5b0f064e965e17890c97ac4b8db4a002f3fdf22ca94a177d1687bbc9b1bc9396e94707b51f3960d9792d4f86e3d0c11b4f582d186ba95b3925c55c WHIRLPOOL b298334e62d4c4d538ca3b3421eb7e090c66a0f22593fd0433d565110a60fc090e29578a595c0925957f5f6edb649017a41dd114e1bb396f3993fdb36438a076
+DIST icedtea-3.2-jaxp-2acc40d95975.tar.xz 2299204 SHA256 8d6564a9ff6b12ad2536f2998ab45639bdbb6109566c4c9d9f70bb1546602d5c SHA512 a23630b5daeded1cd5a695f9efc68cddefc2e3b6c92d51d11431dea63d3806b1ed6af370b6d2faf1841c9797889ff30315f9158904c3215cc910712cda0d86c9 WHIRLPOOL 6800e2b90865de3600e404217c7909c1ea16a99fef5476dbb6d53591aa2095da222b469899d987d4a12eb6d319e6f40df534eb96231c6da01921da83adadc055
+DIST icedtea-3.2-jaxws-cfba1219c991.tar.xz 2267744 SHA256 52e621cd3a7914a0cc98484ec9db3ee1c6a4e7621f882521ed9b9e0b3b85875c SHA512 7e7a241a7efc45b2b2cd4a2e4b1584c33d5e949a8173c7823a7830a044a2cacafcba3e2f0866d5b40538de675a8b1c0380457460f3e19abfb0809efe93869455 WHIRLPOOL e36d9c66be6899abfac3e06e067cda5e6a0f63e880992e7f4f1ad97e037a117ca88c91138fec22c15695f876a0dacccb73ff98c5d2400447d007aee8cbf72731
+DIST icedtea-3.2-jdk-39845e69dc6b.tar.xz 38649052 SHA256 f0396153b6f9b2c9d12f8c3458131801875402d695314378646f6e94e176e365 SHA512 792245f66a8f52b5f1554ac620f17f550c6c0221ac990decb6b336093f598a299eed89b4ecfffb10724e4358b8aa56c79ed67056a8b5e79343388724887c38f8 WHIRLPOOL 9d0ce3292e2cba24252c00fd73ca82eac5f0bc83b3ed496430df7b5ab2c0c9ac6b56c543930c5489db8f77c7166f814f8bc95b7ac64333f686f03861bfd79eda
+DIST icedtea-3.2-langtools-88f7b4f1b721.tar.xz 2060092 SHA256 9a16afa19c6ffff975e225949878ddaa9df38589b5e815b379ff1703a51c2bff SHA512 9820e753d084e1f8108851443b223e11300c8385a995f879a6bc2c564a0545a45ea9d6290b29f3d2f975a2ab8c191e27c27f193a0f5c95dab5a384419a1446d8 WHIRLPOOL d8f88179a998b459f3efc4f994f499325e09dc7f6e29761c4eaa65edc7611fefe59d050fbd475f1cd8a668ba495712d56c55b98d5693487cd821fcab28f653d3
+DIST icedtea-3.2-nashorn-cd4ba667912c.tar.xz 2221612 SHA256 cd5d2cddc7a29a0030848fc0873504e0d1457640b54a3743dc46b1b71448278a SHA512 8e244d8a449db44c56cdc7f4b9b48c3301fe7bfb96c609c4210c7d719d91f4e665d793e4daa99be0778ba628edfdd927b401411e06f94e68aa2610b48f5d7e5b WHIRLPOOL 215927c0584d65ec36c5290bd76196b70cbec4f39b2eba55c99fc5bcf5d261fac01088fd9283ee7fc87bb2a1f8cf196e29a7740b0d0f195d71ad304b4ea4f5eb
+DIST icedtea-3.2-openjdk-55ebb0016ba5.tar.xz 334256 SHA256 c18e9654b6c548e543b49a4e1d6e7bb679bb2a5c710b4f4372d610e266287eff SHA512 2bd0633f831f54c6e47f13b235ae130a04b699c07f713993a658a3bf6cd8cc27d649e4be2edf5d6556047e63b2a90d2d7ac14ff62d4d898608709afe44f08590 WHIRLPOOL 8639d87533e101d3c4e91b5105bf4cff75392934bc7c21f536d661e061a1feb900e2d60304a65c1b734ed4d9b3bfdc32420987ae7b58fc7e45f59809493af944
+DIST icedtea-3.2-shenandoah-a98d8f47604b.tar.xz 6853824 SHA256 c33699057a157f769760d78f26dd9c6cc04b5a9ead1cc765acc31cbd4ed9a8fb SHA512 865643777174573ac38948efdbe2a9de4d4a480b74df947d126db150aa813951862ef456d2279b47d82a40ed4db85fd15540a3f268a28ee1c06604d1f06e1d7f WHIRLPOOL da4b082a7ca5c32229abcafb708ae50693485c97626c68ad1d200282cac15fecb23981dabb0ed1d0450a45ee27b2629bce24156d707ef1e4293733dae8d4fe62
 DIST icedtea-cacao-68fe50ac34ec.tar.gz 4263528 SHA256 b8230f20d7022f9230bbfea13b2f3f179b2f42db40138ac6d32c82fc418ffc3a SHA512 bfa719e5c0212435bbc0e3abc7c69d84b52b17edc1571df94f13e4183889da07c82bb332745724cfa4944e18034c71fd9383e3c4515a69dbfa1369ba9318231f WHIRLPOOL 539c0fed1057723212b209d4341ece9c6b2786b1c216789ebdb8d22b4339daf26425883bbc2f08ea754252c28259f02bc829a42ec05d6838162232066f0ec0a3
 DIST icedtea-cacao-c182f119eaad.tar.gz 4485353 SHA256 eade43f6c5da8b3b5a64e6b206b624eaca88539f80101d7164d6aa426eb590b1 SHA512 2ccb947d71b80d84b83295d473c19952e98698a1fd944fc7c12004ff1af29af2989d46fbd95b5daf95eae2fda9de7c7f88f964fa887a6345b4f57d0c490bee23 WHIRLPOOL 8da9aff897bb7119d99ca825e70b4e79663f04d86a58c23cbf50b2bf56e96d833cc09d18380e510671c0ea65a3e19ae4cd1470741fc3b2c6cd6bcd1b9b9323b4
 DIST icedtea-cacao-c182f119eaad.tar.xz 3056520 SHA256 bf48f6b725a4dc0c936f6770a67ab4074c3bb35352d5de727368350d32549808 SHA512 22e8a031db5f93f82b276b310c175f1e926e48d64e1e50bebe51138e0f66391cd005501491a959d31663f338f27a29ec984ac29f77078f59472856e4d08edef7 WHIRLPOOL ad72950f37af738b6a6b472b8410a8c8ba52c53d6243976ba983f1802e082c7778d831db202468b7ec5e036dbea1513af6345c666c68b52bae2a95941567cdf0

diff --git a/dev-java/icedtea/icedtea-3.2.0_pre01.ebuild b/dev-java/icedtea/icedtea-3.2.0_pre01.ebuild
new file mode 100644
index 0000000..079da5a
--- /dev/null
+++ b/dev-java/icedtea/icedtea-3.2.0_pre01.ebuild
@@ -0,0 +1,371 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
+
+# *********************************************************
+# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-6.* AS WELL *
+# *********************************************************
+
+EAPI="5"
+SLOT="8"
+
+inherit autotools check-reqs gnome2-utils java-pkg-2 java-vm-2 mercurial multiprocessing pax-utils prefix versionator virtualx
+
+ICEDTEA_VER=$(get_version_component_range 1-3)
+ICEDTEA_BRANCH=$(get_version_component_range 1-2)
+ICEDTEA_PKG=icedtea-${ICEDTEA_VER}
+ICEDTEA_PRE=$(get_version_component_range _)
+
+CORBA_TARBALL="48dbf4a68dc7.tar.xz"
+JAXP_TARBALL="2acc40d95975.tar.xz"
+JAXWS_TARBALL="cfba1219c991.tar.xz"
+JDK_TARBALL="39845e69dc6b.tar.xz"
+LANGTOOLS_TARBALL="88f7b4f1b721.tar.xz"
+OPENJDK_TARBALL="55ebb0016ba5.tar.xz"
+NASHORN_TARBALL="cd4ba667912c.tar.xz"
+HOTSPOT_TARBALL="90416ba05ba1.tar.xz"
+SHENANDOAH_TARBALL="a98d8f47604b.tar.xz"
+
+CACAO_TARBALL="cacao-c182f119eaad.tar.xz"
+JAMVM_TARBALL="jamvm-ec18fb9e49e62dce16c5094ef1527eed619463aa.tar.gz"
+
+CORBA_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-corba-${CORBA_TARBALL}"
+JAXP_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-jaxp-${JAXP_TARBALL}"
+JAXWS_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-jaxws-${JAXWS_TARBALL}"
+JDK_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-jdk-${JDK_TARBALL}"
+LANGTOOLS_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-langtools-${LANGTOOLS_TARBALL}"
+OPENJDK_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-openjdk-${OPENJDK_TARBALL}"
+NASHORN_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-nashorn-${NASHORN_TARBALL}"
+HOTSPOT_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-hotspot-${HOTSPOT_TARBALL}"
+SHENANDOAH_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-shenandoah-${SHENANDOAH_TARBALL}"
+
+CACAO_GENTOO_TARBALL="icedtea-${CACAO_TARBALL}"
+JAMVM_GENTOO_TARBALL="icedtea-${JAMVM_TARBALL}"
+
+DROP_URL="http://icedtea.classpath.org/download/drops"
+ICEDTEA_URL="${DROP_URL}/icedtea${SLOT}/${ICEDTEA_VER}"
+
+DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
+HOMEPAGE="http://icedtea.classpath.org"
+SRC_URI="
+	${ICEDTEA_URL}/openjdk.tar.xz -> ${OPENJDK_GENTOO_TARBALL}
+	${ICEDTEA_URL}/corba.tar.xz -> ${CORBA_GENTOO_TARBALL}
+	${ICEDTEA_URL}/jaxp.tar.xz -> ${JAXP_GENTOO_TARBALL}
+	${ICEDTEA_URL}/jaxws.tar.xz -> ${JAXWS_GENTOO_TARBALL}
+	${ICEDTEA_URL}/jdk.tar.xz -> ${JDK_GENTOO_TARBALL}
+	${ICEDTEA_URL}/hotspot.tar.xz -> ${HOTSPOT_GENTOO_TARBALL}
+	${ICEDTEA_URL}/nashorn.tar.xz -> ${NASHORN_GENTOO_TARBALL}
+	${ICEDTEA_URL}/langtools.tar.xz -> ${LANGTOOLS_GENTOO_TARBALL}
+	shenandoah? ( ${ICEDTEA_URL}/shenandoah.tar.xz -> ${SHENANDOAH_GENTOO_TARBALL} )
+	${DROP_URL}/cacao/${CACAO_TARBALL} -> ${CACAO_GENTOO_TARBALL}
+	${DROP_URL}/jamvm/${JAMVM_TARBALL} -> ${JAMVM_GENTOO_TARBALL}"
+EHG_REPO_URI="http://icedtea.classpath.org/hg/icedtea8"
+EHG_REVISION="${ICEDTEA_PKG}${ICEDTEA_PRE}"
+
+LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
+KEYWORDS=""
+
+IUSE="+alsa cacao +cups doc examples +gtk headless-awt infinality
+	jamvm +jbootstrap libressl nsplugin pax_kernel
+	pulseaudio sctp selinux shenandoah smartcard +source +sunec test +webstart zero"
+
+REQUIRED_USE="gtk? ( !headless-awt )"
+
+# Ideally the following were optional at build time.
+ALSA_COMMON_DEP="
+	>=media-libs/alsa-lib-1.0"
+CUPS_COMMON_DEP="
+	>=net-print/cups-1.2.12"
+X_COMMON_DEP="
+	>=media-libs/giflib-4.1.6:=
+	>=media-libs/libpng-1.2:0=
+	>=x11-libs/libX11-1.1.3
+	>=x11-libs/libXext-1.1.1
+	>=x11-libs/libXi-1.1.3
+	>=x11-libs/libXrender-0.9.4
+	>=x11-libs/libXtst-1.0.3
+	x11-libs/libXcomposite"
+X_DEPEND="
+	>=x11-libs/libXau-1.0.3
+	>=x11-libs/libXdmcp-1.0.2
+	>=x11-libs/libXinerama-1.0.2
+	x11-proto/inputproto
+	>=x11-proto/xextproto-7.1.1
+	x11-proto/xineramaproto
+	x11-proto/xproto"
+
+# The Javascript requirement is obsolete; OpenJDK 8+ has Nashorn
+# Kerberos will be added following PR1537
+COMMON_DEP="
+	>=dev-libs/glib-2.26:2
+	>=dev-util/systemtap-1
+	media-libs/fontconfig
+	>=media-libs/lcms-2.5
+	>=sys-libs/zlib-1.2.3:=
+	virtual/jpeg:0=
+	!infinality? ( >=media-libs/freetype-2.5.3:2= )
+	infinality? ( <media-libs/freetype-2.6.4:2=[infinality] )
+	sctp? ( net-misc/lksctp-tools )
+	smartcard? ( sys-apps/pcsc-lite )
+	sunec? ( >=dev-libs/nss-3.16.1-r1 )"
+
+# Gtk+ will move to COMMON_DEP in time; PR1982
+# gsettings-desktop-schemas will be needed for native proxy support; PR1976
+RDEPEND="${COMMON_DEP}
+	!dev-java/icedtea:0
+	!dev-java/icedtea-web:7
+	>=gnome-base/gsettings-desktop-schemas-3.12.2
+	virtual/ttf-fonts
+	alsa? ( ${ALSA_COMMON_DEP} )
+	cups? ( ${CUPS_COMMON_DEP} )
+	gtk? (
+		>=dev-libs/atk-1.30.0
+		>=x11-libs/cairo-1.8.8:=
+		x11-libs/gdk-pixbuf:2
+		>=x11-libs/gtk+-2.8:2=
+		>=x11-libs/pango-1.24.5
+	)
+	!headless-awt? ( ${X_COMMON_DEP} )
+	selinux? ( sec-policy/selinux-java )"
+
+# ca-certificates, perl and openssl are used for the cacerts keystore generation
+# perl is needed for running the SystemTap tests
+# lsb-release is used to obtain distro information for the version & crash dump output
+# attr is needed for xattr.h which defines the extended attribute syscalls used by NIO2
+# x11-libs/libXt is needed for headers only (Intrinsic.h, IntrinsicP.h, Shell.h, StringDefs.h)
+# Ant is no longer needed under the new build system
+DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP} ${X_DEPEND}
+	|| (
+		dev-java/icedtea-bin:8
+		dev-java/icedtea-bin:7
+		dev-java/icedtea:8
+		dev-java/icedtea:7
+	)
+	app-arch/cpio
+	app-arch/unzip
+	app-arch/zip
+	app-misc/ca-certificates
+	dev-lang/perl
+	!libressl? ( dev-libs/openssl )
+	libressl? ( dev-libs/libressl )
+	sys-apps/attr
+	sys-apps/lsb-release
+	x11-libs/libXt
+	virtual/pkgconfig
+	pax_kernel? ( sys-apps/elfix )"
+
+PDEPEND="webstart? ( >=dev-java/icedtea-web-1.6.1:0 )
+	nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] )
+	pulseaudio? ( dev-java/icedtea-sound )"
+
+S="${WORKDIR}"/${ICEDTEA_PKG}
+
+icedtea_check_requirements() {
+	local CHECKREQS_DISK_BUILD
+
+	if use doc; then
+		CHECKREQS_DISK_BUILD="9000M"
+	else
+		CHECKREQS_DISK_BUILD="8500M"
+	fi
+
+	check-reqs_pkg_${EBUILD_PHASE}
+}
+
+pkg_pretend() {
+	icedtea_check_requirements
+}
+
+pkg_setup() {
+	icedtea_check_requirements
+
+	JAVA_PKG_WANT_BUILD_VM="
+		icedtea-8 icedtea-bin-8
+		icedtea-7 icedtea-bin-7"
+	JAVA_PKG_WANT_SOURCE="1.5"
+	JAVA_PKG_WANT_TARGET="1.5"
+
+	java-vm-2_pkg_setup
+	java-pkg-2_pkg_setup
+}
+
+src_unpack() {
+	mercurial_src_unpack
+}
+
+java_prepare() {
+	# For bootstrap builds as the sandbox control file might not yet exist.
+	addpredict /proc/self/coredump_filter
+
+	# icedtea doesn't like some locales. #330433 #389717
+	export LANG="C" LC_ALL="C"
+
+	eautoreconf
+}
+
+src_configure() {
+	local cacao_config config hotspot_port hs_config jamvm_config use_cacao use_jamvm use_zero zero_config
+	local vm=$(java-pkg_get-current-vm)
+
+	# gcj-jdk ensures ecj is present.
+	if use jbootstrap || has "${vm}" gcj-jdk; then
+		use jbootstrap || einfo "bootstrap is necessary when building with ${vm}, ignoring USE=\"-jbootstrap\""
+		config+=" --enable-bootstrap"
+	else
+		config+=" --disable-bootstrap"
+	fi
+
+	# Use Zero if requested
+	if use zero; then
+		use_zero="yes"
+	fi
+
+	# Use JamVM if requested
+	if use jamvm; then
+		use_jamvm="yes"
+	fi
+
+	# Use CACAO if requested
+	if use cacao; then
+		use_cacao="yes"
+	fi
+
+	# Are we on a architecture with a HotSpot port?
+	# In-tree JIT ports are available for amd64, arm, arm64, ppc64 (be&le), SPARC and x86.
+	if { use amd64 || use arm64 || use ppc64 || use sparc || use x86; }; then
+		hotspot_port="yes"
+	fi
+
+	# Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
+	# Otherwise use Zero for now until alternate VMs are working
+	if test "x${hotspot_port}" != "xyes"; then
+			use_zero="yes"
+	fi
+
+	if use shenandoah; then
+		if use amd64; then
+			hs_config="--with-hotspot-build=shenandoah"
+			hs_config+=" --with-hotspot-src-zip="${DISTDIR}/${SHENANDOAH_GENTOO_TARBALL}""
+		else
+			eerror "Shenandoah can only be built on x86_64. Please re-build with USE="-shenandoah""
+		fi
+	else
+		hs_config="--with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_GENTOO_TARBALL}""
+	fi
+
+	# Turn on JamVM if needed (non-HS archs) or requested
+	if test "x${use_jamvm}" = "xyes"; then
+		if test "x${hotspot_port}" = "xyes"; then
+			ewarn 'Enabling JamVM on an architecture with HotSpot support; issues may result.'
+			ewarn 'If so, please rebuild with USE="-jamvm"'
+		fi
+		ewarn 'JamVM is known to still have issues with IcedTea 3.x; please rebuild with USE="-jamvm"'
+		jamvm_config="--enable-jamvm"
+	fi
+
+	# Turn on CACAO if needed (non-HS archs) or requested
+	if test "x${use_cacao}" = "xyes"; then
+		if test "x${hotspot_port}" = "xyes"; then
+			ewarn 'Enabling CACAO on an architecture with HotSpot support; issues may result.'
+			ewarn 'If so, please rebuild with USE="-cacao"'
+		fi
+		ewarn 'CACAO is known to still have issues with IcedTea 3.x; please rebuild with USE="-cacao"'
+		cacao_config="--enable-cacao"
+	fi
+
+	# Turn on Zero if needed (non-HS/CACAO archs) or requested
+	if test "x${use_zero}" = "xyes"; then
+		if test "x${hotspot_port}" = "xyes"; then
+			ewarn 'Enabling Zero on an architecture with HotSpot support; performance will be significantly reduced.'
+		fi
+		zero_config="--enable-zero"
+	fi
+
+	# Warn about potential problems with ccache enabled
+	if has ccache ${FEATURES}; then
+		ewarn 'ccache has been known to break IcedTea. Disable it before filing bugs.'
+	fi
+
+	config+=" --with-parallel-jobs=$(makeopts_jobs)"
+
+	unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
+
+	econf ${config} \
+		--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_GENTOO_TARBALL}" \
+		--with-corba-src-zip="${DISTDIR}/${CORBA_GENTOO_TARBALL}" \
+		--with-jaxp-src-zip="${DISTDIR}/${JAXP_GENTOO_TARBALL}" \
+		--with-jaxws-src-zip="${DISTDIR}/${JAXWS_GENTOO_TARBALL}" \
+		--with-jdk-src-zip="${DISTDIR}/${JDK_GENTOO_TARBALL}" \
+		--with-langtools-src-zip="${DISTDIR}/${LANGTOOLS_GENTOO_TARBALL}" \
+		--with-nashorn-src-zip="${DISTDIR}/${NASHORN_GENTOO_TARBALL}" \
+		--with-cacao-src-zip="${DISTDIR}/${CACAO_GENTOO_TARBALL}" \
+		--with-jamvm-src-zip="${DISTDIR}/${JAMVM_GENTOO_TARBALL}" \
+		--with-jdk-home="$(java-config -O)" \
+		--prefix="${EPREFIX}/usr/$(get_libdir)/icedtea${SLOT}" \
+		--mandir="${EPREFIX}/usr/$(get_libdir)/icedtea${SLOT}/man" \
+		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
+		--htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
+		--with-pkgversion="Gentoo ${PF}" \
+		--disable-downloading --disable-Werror --disable-tests \
+		--enable-system-lcms --enable-system-jpeg \
+		--enable-system-zlib --disable-systemtap-tests \
+		$(use_enable headless-awt headless) \
+		$(use_enable !headless-awt system-gif) \
+		$(use_enable !headless-awt system-png) \
+		$(use_enable doc docs) \
+		$(use_enable infinality) \
+		$(use_with pax_kernel pax "${EPREFIX}/usr/sbin/paxmark.sh") \
+		$(use_enable sunec) \
+		${zero_config} ${cacao_config} ${jamvm_config} ${hs_config}
+}
+
+src_compile() {
+	default
+}
+
+src_test() {
+	default
+}
+
+src_install() {
+	default
+
+	local dest="/usr/$(get_libdir)/icedtea${SLOT}"
+	local ddest="${ED}${dest#/}"
+
+	if ! use alsa; then
+		rm -v "${ddest}"/jre/lib/$(get_system_arch)/libjsoundalsa.* || die
+	fi
+
+	if ! use examples; then
+		rm -r "${ddest}"/demo "${ddest}"/sample || die
+	fi
+
+	if ! use source; then
+		rm -v "${ddest}"/src.zip || die
+	fi
+
+	dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
+
+	# Fix the permissions.
+	find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
+
+	# We need to generate keystore - bug #273306
+	einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
+	mkdir "${T}/certgen" && cd "${T}/certgen" || die
+	cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
+	for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
+		openssl x509 -text -in "${c}" >> all.crt || die
+	done
+	./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
+	cp -vRP cacerts "${ddest}/jre/lib/security/" || die
+	chmod 644 "${ddest}/jre/lib/security/cacerts" || die
+
+	set_java_env "${FILESDIR}/icedtea.env"
+	java-vm_sandbox-predict /proc/self/coredump_filter
+}
+
+pkg_preinst() { gnome2_icon_savelist; }
+pkg_postinst() { gnome2_icon_cache_update; }
+pkg_postrm() { gnome2_icon_cache_update; }


             reply	other threads:[~2016-08-08 14:58 UTC|newest]

Thread overview: 191+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-08 14:58 Andrew John Hughes [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-05-06 22:04 [gentoo-commits] proj/java:master commit in: dev-java/icedtea/ Andrew John Hughes
2020-04-20  5:42 Andrew John Hughes
2020-03-16  4:06 Andrew John Hughes
2020-01-21  6:23 Andrew John Hughes
2020-01-21  6:23 Andrew John Hughes
2019-11-18 16:28 Andrew John Hughes
2019-11-15  5:57 Andrew John Hughes
2019-07-31 14:39 Andrew John Hughes
2019-05-10 19:18 Andrew John Hughes
2019-05-09 19:27 Andrew John Hughes
2019-05-02  3:43 Andrew John Hughes
2019-03-26  4:19 Andrew John Hughes
2019-03-12  4:42 Andrew John Hughes
2019-01-10  6:50 Andrew John Hughes
2019-01-07  6:32 Andrew John Hughes
2019-01-04  7:43 Andrew John Hughes
2019-01-03  5:04 Andrew John Hughes
2018-10-06 21:52 James Le Cuirot
2018-10-06 21:52 James Le Cuirot
2018-10-02  0:48 Andrew John Hughes
2018-06-10  8:12 James Le Cuirot
2018-06-09 21:03 James Le Cuirot
2018-06-07  3:18 Andrew John Hughes
2018-05-31  0:07 Andrew John Hughes
2018-04-08 19:10 James Le Cuirot
2018-04-08 19:10 James Le Cuirot
2018-03-28 20:00 Andrew John Hughes
2018-03-02 19:28 Andrew John Hughes
2017-12-06 20:19 Andrew John Hughes
2017-12-06 16:36 Andrew John Hughes
2017-11-02 23:15 Andrew John Hughes
2017-09-18  0:24 Andrew John Hughes
2017-08-10 20:16 Andrew John Hughes
2017-07-31 16:44 Andrew John Hughes
2017-07-31  2:54 Andrew John Hughes
2017-07-21  4:17 Andrew John Hughes
2017-05-17 17:48 Andrew John Hughes
2017-05-17  3:17 Andrew John Hughes
2017-03-08 13:50 James Le Cuirot
2017-02-14  4:50 Andrew John Hughes
2017-02-14  4:50 Andrew John Hughes
2017-02-14  4:50 Andrew John Hughes
2017-02-14  4:50 Andrew John Hughes
2017-01-30 22:18 James Le Cuirot
2017-01-30 22:18 James Le Cuirot
2017-01-28 21:51 Andrew John Hughes
2017-01-12  5:16 Andrew John Hughes
2016-11-26 10:50 James Le Cuirot
2016-11-21 22:46 James Le Cuirot
2016-11-14  7:10 Andrew John Hughes
2016-11-09  9:14 Andrew John Hughes
2016-09-02  0:35 Andrew John Hughes
2016-08-25  2:36 Andrew John Hughes
2016-08-09 19:44 Andrew John Hughes
2016-08-05 20:45 James Le Cuirot
2016-08-03 22:52 James Le Cuirot
2016-08-02 22:31 James Le Cuirot
2016-08-02 22:31 James Le Cuirot
2016-08-02 22:31 James Le Cuirot
2016-08-02 22:31 James Le Cuirot
2016-08-02 22:16 James Le Cuirot
2016-07-29  6:49 Andrew John Hughes
2016-07-26  5:30 Andrew John Hughes
2016-07-26  1:53 Andrew John Hughes
2016-07-17 20:39 Andrew John Hughes
2016-05-21 15:23 Andrew John Hughes
2016-05-21 15:23 Andrew John Hughes
2016-05-04 22:21 Andrew John Hughes
2016-04-22  6:17 Andrew John Hughes
2016-04-17 21:11 James Le Cuirot
2016-04-17 16:22 Andrew John Hughes
2016-04-12 16:56 Andrew John Hughes
2016-04-08 18:09 Andrew John Hughes
2016-03-30 15:02 Andrew John Hughes
2016-03-29  0:52 Andrew John Hughes
2016-03-26 21:05 James Le Cuirot
2016-03-25 18:00 Andrew John Hughes
2016-03-03 21:06 Andrew John Hughes
2016-01-31 20:48 James Le Cuirot
2016-01-25 18:47 Andrew John Hughes
2016-01-25 18:47 Andrew John Hughes
2016-01-24 14:30 James Le Cuirot
2016-01-24 14:30 James Le Cuirot
2016-01-24 14:30 James Le Cuirot
2016-01-24 14:30 James Le Cuirot
2016-01-24 14:30 James Le Cuirot
2016-01-24 14:30 James Le Cuirot
2016-01-23 23:07 James Le Cuirot
2016-01-22 12:12 Andrew John Hughes
2016-01-17 21:41 James Le Cuirot
2016-01-17 21:25 James Le Cuirot
2016-01-11  2:47 Andrew John Hughes
2016-01-04 22:40 James Le Cuirot
2015-12-24 22:27 Andrew John Hughes
2015-11-18  4:05 Andrew John Hughes
2015-11-17 21:44 Andrew John Hughes
2015-11-17 21:39 Andrew John Hughes
2015-11-17 21:39 Andrew John Hughes
2015-11-15 21:12 James Le Cuirot
2015-11-13  7:10 Andrew John Hughes
2015-10-23  6:25 Andrew John Hughes
2015-10-23  6:25 Andrew John Hughes
2015-10-23  6:25 Andrew John Hughes
2015-10-23  6:25 Andrew John Hughes
2015-10-03  0:10 Andrew John Hughes
2015-09-09 21:34 James Le Cuirot
2015-09-02 23:05 James Le Cuirot
2015-08-03  0:16 Andrew John Hughes
2015-07-23  2:18 Andrew John Hughes
2015-07-21 19:55 Andrew John Hughes
2015-07-19 17:09 Andrew John Hughes
2015-07-09 15:59 Andrew John Hughes
2015-06-25  1:14 Andrew John Hughes
2015-06-20 13:35 James Le Cuirot
2015-06-19 17:07 Andrew John Hughes
2015-06-19 16:24 Andrew John Hughes
2015-06-17 11:20 Andrew John Hughes
2015-05-07 12:33 James Le Cuirot
2015-05-06 21:53 James Le Cuirot
2015-04-15  3:50 Andrew John Hughes
2015-02-02 19:51 Andrew John Hughes
2015-02-02 19:51 Andrew John Hughes
2015-01-27  0:46 Andrew John Hughes
2015-01-11 18:06 Andrew John Hughes
2015-01-11 18:00 Andrew John Hughes
2014-11-13 10:40 Andrew John Hughes
2014-11-03  1:01 Andrew John Hughes
2014-11-03  1:01 Andrew John Hughes
2014-11-01 15:49 Vlastimil Babka
2014-11-01 15:49 Vlastimil Babka
2014-11-01 15:49 Vlastimil Babka
2014-10-30 23:12 Andrew John Hughes
2014-10-30 23:12 Andrew John Hughes
2014-10-27 18:53 Andrew John Hughes
2014-10-15  5:59 Andrew John Hughes
2014-10-15  5:59 Andrew John Hughes
2014-10-15  2:42 Andrew John Hughes
2014-10-07 19:48 Andrew John Hughes
2014-10-05 22:52 Vlastimil Babka
2014-10-05 22:52 Vlastimil Babka
2014-10-05 22:52 Vlastimil Babka
2014-10-05 22:52 Vlastimil Babka
2014-10-05 22:29 Vlastimil Babka
2014-09-02  4:30 Andrew John Hughes
2014-09-02  4:30 Andrew John Hughes
2014-08-12 17:28 ` Andrew John Hughes
2014-09-02  4:30 Andrew John Hughes
2014-08-13 22:29 ` Andrew John Hughes
2014-07-24  3:56 Andrew John Hughes
2014-09-02  4:30 ` Andrew John Hughes
2014-07-18 21:57 Andrew John Hughes
2014-07-16 20:54 Andrew John Hughes
2014-07-16 10:44 Andrew John Hughes
2014-07-15 23:12 Andrew John Hughes
2014-07-15 21:53 Andrew John Hughes
2014-07-15 18:18 Andrew John Hughes
2014-04-15 23:38 Andrew John Hughes
2014-03-28 13:57 Andrew John Hughes
2014-02-22  2:02 Andrew John Hughes
2014-01-30 21:10 Ralph Sennhauser
2014-01-30 19:29 Andrew John Hughes
2014-01-29 12:19 Andrew John Hughes
2014-01-28 17:26 Andrew John Hughes
2014-01-28  6:58 Ralph Sennhauser
2014-01-28  6:58 Ralph Sennhauser
2014-01-28  6:58 Ralph Sennhauser
2013-12-27  0:54 Andrew John Hughes
2013-12-26 19:12 Andrew John Hughes
2013-12-01 21:19 Vlastimil Babka
2013-11-25 13:55 Andrew John Hughes
2013-11-13  4:11 Andrew John Hughes
2013-10-23  4:34 Andrew John Hughes
2013-10-23  4:34 Andrew John Hughes
2013-09-24 16:34 Andrew John Hughes
2013-09-19 17:04 Andrew John Hughes
2013-09-09 22:33 Andrew John Hughes
2013-09-09 22:18 Tom Wijsman
2013-09-09 22:17 Tom Wijsman
2013-09-07  0:52 Andrew John Hughes
2013-07-30  0:25 Andrew John Hughes
2013-07-25 10:59 Andrew John Hughes
2013-07-25 10:52 Andrew John Hughes
2013-07-22 12:39 Andrew John Hughes
2013-07-22 12:39 Andrew John Hughes
2013-07-22 12:39 Andrew John Hughes
2013-07-22 12:39 Andrew John Hughes
2013-07-22 12:39 Andrew John Hughes
2013-07-22 12:39 Andrew John Hughes
2013-06-15  9:33 Vlastimil Babka
2013-05-23 23:33 Sebastian Pipping

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1470365246.af184184d7f769b9abea31b073f66cf9c00d538d.gnu_andrew@gentoo \
    --to=gnu_andrew@member.fsf.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox