Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea/
Date: Mon, 19 Aug 2019 04:37:23
Message-Id: 1566189402.813f022765a20733f29ff69032035aae636c28a5.gyakovlev@gentoo
1 commit: 813f022765a20733f29ff69032035aae636c28a5
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 19 04:32:34 2019 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 19 04:36:42 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=813f0227
7
8 dev-java/icedtea: drop 3.11.0
9
10 Bug: https://bugs.gentoo.org/691238
11 Package-Manager: Portage-2.3.71, Repoman-2.3.17
12 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
13
14 dev-java/icedtea/Manifest | 11 -
15 dev-java/icedtea/icedtea-3.11.0.ebuild | 385 ---------------------------------
16 2 files changed, 396 deletions(-)
17
18 diff --git a/dev-java/icedtea/Manifest b/dev-java/icedtea/Manifest
19 index d3fa42bc4f9..c67a93978a8 100644
20 --- a/dev-java/icedtea/Manifest
21 +++ b/dev-java/icedtea/Manifest
22 @@ -1,14 +1,3 @@
23 -DIST icedtea-3.11-aarch32-5caf41da4f93.tar.xz 6792096 BLAKE2B 41ef1911520456cbb7e1dc62172ac87f48819b3a9926eea3b61e7c9da3699d6aec445bad879c5588bf84a0a07300ab6c90fa1f18609d0389681df2d0bf5b7342 SHA512 dc59c9a3dd39863b6c64b525902aaab575055b39fe8266e4b59f0cac461b5760418df217fce264962900d7547b16faf7cb01ba6f0486e1af25693a0b433ee310
24 -DIST icedtea-3.11-corba-cfc35c4598d9.tar.xz 946136 BLAKE2B 184677a88618d09fdfe629b2e6830b3d2530d2b643596c7e1ab397a7efdce9b74b21707e83482c5539c8fda14873f9c5b248c55229efce14b1602f829075f463 SHA512 9b8a44dda0bbfba8dc0d659e0fabf22e84b9931518e4b199a238faa103cbc4ed814c97f0f38f0aed263846b46fc7eab4500ba9759503373083e12cb8b5b364b5
25 -DIST icedtea-3.11-hotspot-a24b4e46303e.tar.xz 6887280 BLAKE2B fa404d71dd36d4ce297108fd7a9ddc054888f383d239daf018f4a5f8414fc71f1f6c21903a36db70f5ac02c020cde2daf7121ecb40b3f2306dd824c692aea868 SHA512 13fa35f4a4fe01b3da4efb8476c0cb3482a36596eb422f2ad958a4c51efc286962ac3123a75853e84c4db477ac064a0fd3ee5e03f1ea0ec4f7e2c8ac07aa2d0e
26 -DIST icedtea-3.11-jaxp-1c01fbb460ba.tar.xz 2291488 BLAKE2B 228bdc110a33b904e4d2052eaad5125cf1cfa6b8560890cd25a6f3a269b1d7a66debcdf6dcb3f83dfeb2c044a96b81d355a1721f94ba71d5eb962a5e37453dd7 SHA512 9eba0f6ada2ae8adc1791a91ceb4fba9bd06aee0626cd1b4310ff16c7c8006045fed5fb7f109e490395b70695be4e6bfd6f1f5cbcdb095fb17abf123012a03de
27 -DIST icedtea-3.11-jaxws-cf4d2b27895c.tar.xz 2274588 BLAKE2B 5aa62c387545e6679c2e7806262bf250e4b424aa240470c3ae7d2a4950be190adf34fb6c16751d0062ffa606c5a04bde64b8dcc2aff1a46043442e340c0d8763 SHA512 ce5f0c2aced1af59f002dc9dc6cba4b9332167e9e019a3040267901ef7f325e05b8c99ed1f276b88ddb4e43cdd1b0c456e0c4dc2222ae6b3800c0502ffa840de
28 -DIST icedtea-3.11-jdk-34ade0cd2dd5.tar.xz 39248532 BLAKE2B b47eba283afddb0cc22e8ba1904587542535620311e5f4e3c7770bad61a9f149b413ed30c62e43a6d4b395f6e1fa3ca647890097c5c5af4eff60dc63b7bd712f SHA512 411508ed91f14ae1c51ea54de72a943db222ff572f3991631fe1a1fa97f9bb42da1e01ca98893f7236b4b44bae2917fc3f8622d7f94a085be30d437451acd272
29 -DIST icedtea-3.11-langtools-78414f4f0172.tar.xz 2073920 BLAKE2B 299f8bb215710b692f9cb359951a19acb27d93e7ca048a7e83f1ed2d9bf7101fc48e5512056f70b3e780246410359739a6a23ee691c8ba7777e49630a692022e SHA512 363c376848870c6c28415967561c4b151f1256c38a315fabc69c90425f5255224182045349a00c9433db52c416b7ebffedaa4825c980460541a3f9338adbaa5e
30 -DIST icedtea-3.11-nashorn-3cb2fe2b1b7d.tar.xz 2317604 BLAKE2B 246d8f69c080b8b8bee1ecfd65d5f157ba8ad4b49474e324a8afe1953e2e3d7161c8456c974aa645357a40c2d1a532a04ea8052634fcde187db7aa58ae606dc6 SHA512 2b46a8599d530a351522420cae8ac780cd2e64a6d7adbff87397a178f12f0a992bccd0f56435582dbd10be2157d4a4540c41b3dca488566162eed680102e58a9
31 -DIST icedtea-3.11-openjdk-9edccdd36f81.tar.xz 358224 BLAKE2B fe9e2351829f03f4dc5b77b7df12d88e06c617a94e118a9c09dda2feffd6f6dcb419882b57ec7c76e32bc0ff47e797618ddc50d4f460d68d0d73343b2d52f7f7 SHA512 fc3faa7d7b9531f10c40241d89c36854043921f6f1a0851f284bcab36fc54fb0bb8cf8365dd4b2fb22b3ee8ddb8ed4a79e0807f79cb95b4b00f164993f1acc0b
32 -DIST icedtea-3.11-shenandoah-1e8639cc8075.tar.xz 7028904 BLAKE2B 73a2f02bc95037d62464c3699b34462db73cd5905e88c86124f5bbf016dbfce0b09b8f09b05d835d52c042d9d46097cf0f2ef2c5b165b4c5a45a75392eafb382 SHA512 c35fb93164110d92bba525911bd72760bd74590885884a636e6574da0a22515fa07b4e22d84f020128221c7bd1ec5bc8ddaa9061840a06d98a30ce817ee6b9ff
33 -DIST icedtea-3.11.0.tar.xz 1552144 BLAKE2B c7ed5a47b71ee5dbd36f05ee775c25041b1bd5286e413e23a2c58a5b10ef9442c465b01cc3b7e29f6f7e085358ab10553b76fb4f134f36784cbaec4a0eedd60a SHA512 a71c9318d49077f8ae27f5c3e0b61df0709eded241f557c886f6b93aa98c13ad78f713d1286da286989bf62866dfff7538ad783eb804a705a160cbc096dea851
34 DIST icedtea-3.12-aarch32-57f4048a925b.tar.xz 6819888 BLAKE2B 96377f8aeeaf9a1bb4b3372f82c1666e5813a97537dabe3fd8faeeac8ed2b160c402bb35d0e0b2f6f9bc2b09faa1701a43cdea407982019ca126ff7e28076625 SHA512 5e6f4cbb5b325feefd5030d1b8f9725ba8aba028c9c93c34039fcff48893b9569d0cc92f5e0c70bc20ab7014edc81d3ff12edaab68c69a280cdab248e4e0e809
35 DIST icedtea-3.12-corba-fa1553d2f23e.tar.xz 946504 BLAKE2B 729efade4ed039af95fa07fd3f6ed450fb9af8e271b054979fd37b460ab6a6273513e05e49956e15777f188952a939313d8b5f6bd52f0aa111825518693f5bd8 SHA512 d4ffe454a659db6c13b74c8e190beb3b427574d54fa44c80a3ba1dceb3af6f480ee99378d370ec2e9bfc6b5447a225eeb3e11821c83522479583fb21b0705bd7
36 DIST icedtea-3.12-hotspot-3f9a60eb8ef0.tar.xz 6894876 BLAKE2B 0520d0e1a84e3b755b598d73de7587c01f4cba8148d371bcbcceb1d50849d3816929cfb07a81857ad0fc8d8b52ab3a9c68a4fc8dd3476bc52f59d2cac72eba81 SHA512 2a0c18fea7b67c5042b39746f2c7ef53e252d6665efbcd74ebf9b171b13e311821310537e8b14cd4f9798c483afdb1107b9af6bb047262b97a526bfbb481777a
37
38 diff --git a/dev-java/icedtea/icedtea-3.11.0.ebuild b/dev-java/icedtea/icedtea-3.11.0.ebuild
39 deleted file mode 100644
40 index c9d4250432b..00000000000
41 --- a/dev-java/icedtea/icedtea-3.11.0.ebuild
42 +++ /dev/null
43 @@ -1,385 +0,0 @@
44 -# Copyright 1999-2019 Gentoo Authors
45 -# Distributed under the terms of the GNU General Public License v2
46 -
47 -# Build written by Andrew John Hughes (gnu_andrew@××××××××××.org)
48 -
49 -# *********************************************************
50 -# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-6.* AS WELL *
51 -# *********************************************************
52 -
53 -EAPI="6"
54 -SLOT="8"
55 -
56 -inherit check-reqs gnome2-utils java-pkg-2 java-vm-2 multiprocessing pax-utils prefix versionator
57 -
58 -ICEDTEA_VER=$(get_version_component_range 1-3)
59 -ICEDTEA_BRANCH=$(get_version_component_range 1-2)
60 -ICEDTEA_PKG=icedtea-${ICEDTEA_VER}
61 -ICEDTEA_PRE=$(get_version_component_range _)
62 -
63 -CORBA_TARBALL="cfc35c4598d9.tar.xz"
64 -JAXP_TARBALL="1c01fbb460ba.tar.xz"
65 -JAXWS_TARBALL="cf4d2b27895c.tar.xz"
66 -JDK_TARBALL="34ade0cd2dd5.tar.xz"
67 -LANGTOOLS_TARBALL="78414f4f0172.tar.xz"
68 -OPENJDK_TARBALL="9edccdd36f81.tar.xz"
69 -NASHORN_TARBALL="3cb2fe2b1b7d.tar.xz"
70 -HOTSPOT_TARBALL="a24b4e46303e.tar.xz"
71 -SHENANDOAH_TARBALL="1e8639cc8075.tar.xz"
72 -AARCH32_TARBALL="5caf41da4f93.tar.xz"
73 -
74 -CACAO_TARBALL="cacao-c182f119eaad.tar.xz"
75 -JAMVM_TARBALL="jamvm-ec18fb9e49e62dce16c5094ef1527eed619463aa.tar.gz"
76 -
77 -CORBA_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-corba-${CORBA_TARBALL}"
78 -JAXP_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-jaxp-${JAXP_TARBALL}"
79 -JAXWS_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-jaxws-${JAXWS_TARBALL}"
80 -JDK_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-jdk-${JDK_TARBALL}"
81 -LANGTOOLS_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-langtools-${LANGTOOLS_TARBALL}"
82 -OPENJDK_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-openjdk-${OPENJDK_TARBALL}"
83 -NASHORN_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-nashorn-${NASHORN_TARBALL}"
84 -HOTSPOT_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-hotspot-${HOTSPOT_TARBALL}"
85 -SHENANDOAH_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-shenandoah-${SHENANDOAH_TARBALL}"
86 -AARCH32_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-aarch32-${AARCH32_TARBALL}"
87 -
88 -CACAO_GENTOO_TARBALL="icedtea-${CACAO_TARBALL}"
89 -JAMVM_GENTOO_TARBALL="icedtea-${JAMVM_TARBALL}"
90 -
91 -DROP_URL="http://icedtea.classpath.org/download/drops"
92 -ICEDTEA_URL="${DROP_URL}/icedtea${SLOT}/${ICEDTEA_VER}"
93 -
94 -DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
95 -HOMEPAGE="http://icedtea.classpath.org"
96 -SRC_PKG="${ICEDTEA_PKG}.tar.xz"
97 -SRC_URI="
98 - http://icedtea.classpath.org/download/source/${SRC_PKG}
99 - ${ICEDTEA_URL}/openjdk.tar.xz -> ${OPENJDK_GENTOO_TARBALL}
100 - ${ICEDTEA_URL}/corba.tar.xz -> ${CORBA_GENTOO_TARBALL}
101 - ${ICEDTEA_URL}/jaxp.tar.xz -> ${JAXP_GENTOO_TARBALL}
102 - ${ICEDTEA_URL}/jaxws.tar.xz -> ${JAXWS_GENTOO_TARBALL}
103 - ${ICEDTEA_URL}/jdk.tar.xz -> ${JDK_GENTOO_TARBALL}
104 - ${ICEDTEA_URL}/hotspot.tar.xz -> ${HOTSPOT_GENTOO_TARBALL}
105 - ${ICEDTEA_URL}/nashorn.tar.xz -> ${NASHORN_GENTOO_TARBALL}
106 - ${ICEDTEA_URL}/langtools.tar.xz -> ${LANGTOOLS_GENTOO_TARBALL}
107 - shenandoah? ( ${ICEDTEA_URL}/shenandoah.tar.xz -> ${SHENANDOAH_GENTOO_TARBALL} )
108 - arm? ( ${ICEDTEA_URL}/aarch32.tar.xz -> ${AARCH32_GENTOO_TARBALL} )
109 - ${DROP_URL}/cacao/${CACAO_TARBALL} -> ${CACAO_GENTOO_TARBALL}
110 - ${DROP_URL}/jamvm/${JAMVM_TARBALL} -> ${JAMVM_GENTOO_TARBALL}"
111 -
112 -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"
113 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
114 -
115 -IUSE="+alsa cacao +cups doc examples +gtk headless-awt
116 - jamvm +jbootstrap kerberos libressl nsplugin pax_kernel +pch
117 - pulseaudio sctp selinux shenandoah smartcard +source +system-lcms test +webstart zero"
118 -
119 -REQUIRED_USE="gtk? ( !headless-awt )"
120 -
121 -# Ideally the following were optional at build time.
122 -ALSA_COMMON_DEP="
123 - >=media-libs/alsa-lib-1.0"
124 -CUPS_COMMON_DEP="
125 - >=net-print/cups-1.2.12"
126 -X_COMMON_DEP="
127 - >=media-libs/giflib-4.1.6:0=
128 - >=media-libs/libpng-1.2:0=
129 - >=x11-libs/libX11-1.1.3
130 - >=x11-libs/libXext-1.1.1
131 - >=x11-libs/libXi-1.1.3
132 - >=x11-libs/libXrender-0.9.4
133 - >=x11-libs/libXtst-1.0.3
134 - x11-libs/libXcomposite"
135 -X_DEPEND="
136 - x11-base/xorg-proto
137 - >=x11-libs/libXau-1.0.3
138 - >=x11-libs/libXdmcp-1.0.2
139 - >=x11-libs/libXinerama-1.0.2"
140 -
141 -# The Javascript requirement is obsolete; OpenJDK 8+ has Nashorn
142 -COMMON_DEP="
143 - >=dev-libs/glib-2.26:2=
144 - >=dev-util/systemtap-1
145 - media-libs/fontconfig:1.0=
146 - >=media-libs/freetype-2.5.3:2=
147 - >=sys-libs/zlib-1.2.3
148 - virtual/jpeg:0=
149 - kerberos? ( virtual/krb5 )
150 - sctp? ( net-misc/lksctp-tools )
151 - smartcard? ( sys-apps/pcsc-lite )
152 - system-lcms? ( >=media-libs/lcms-2.9:2= )"
153 -
154 -# Gtk+ will move to COMMON_DEP in time; PR1982
155 -# gsettings-desktop-schemas will be needed for native proxy support; PR1976
156 -RDEPEND="${COMMON_DEP}
157 - !dev-java/icedtea:0
158 - !dev-java/icedtea-web:7
159 - >=gnome-base/gsettings-desktop-schemas-3.12.2
160 - virtual/ttf-fonts
161 - alsa? ( ${ALSA_COMMON_DEP} )
162 - cups? ( ${CUPS_COMMON_DEP} )
163 - gtk? (
164 - >=dev-libs/atk-1.30.0
165 - >=x11-libs/cairo-1.8.8
166 - x11-libs/gdk-pixbuf:2
167 - >=x11-libs/gtk+-2.8:2
168 - >=x11-libs/pango-1.24.5
169 - )
170 - !headless-awt? ( ${X_COMMON_DEP} )
171 - selinux? ( sec-policy/selinux-java )"
172 -
173 -# ca-certificates, perl and openssl are used for the cacerts keystore generation
174 -# perl is needed for running the SystemTap tests and the bootstrap javac
175 -# lsb-release is used to obtain distro information for the version & crash dump output
176 -# attr is needed for xattr.h which defines the extended attribute syscalls used by NIO2
177 -# x11-libs/libXt is needed for headers only (Intrinsic.h, IntrinsicP.h, Shell.h, StringDefs.h)
178 -# Ant is no longer needed under the new build system
179 -DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP} ${X_DEPEND}
180 - || (
181 - dev-java/icedtea-bin:8
182 - dev-java/icedtea-bin:7
183 - dev-java/icedtea:8
184 - dev-java/icedtea:7
185 - dev-java/openjdk:8
186 - dev-java/openjdk-bin:8
187 - )
188 - app-arch/cpio
189 - app-arch/unzip
190 - app-arch/zip
191 - app-misc/ca-certificates
192 - dev-lang/perl
193 - !libressl? ( dev-libs/openssl:0 )
194 - libressl? ( dev-libs/libressl:0 )
195 - sys-apps/attr
196 - sys-apps/lsb-release
197 - x11-libs/libXt
198 - virtual/pkgconfig
199 - pax_kernel? ( sys-apps/elfix )"
200 -
201 -PDEPEND="webstart? ( >=dev-java/icedtea-web-1.6.1:0 )
202 - nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] )
203 - pulseaudio? ( dev-java/icedtea-sound )"
204 -
205 -S="${WORKDIR}"/${ICEDTEA_PKG}
206 -
207 -icedtea_check_requirements() {
208 - local CHECKREQS_DISK_BUILD
209 -
210 - if use doc; then
211 - CHECKREQS_DISK_BUILD="9000M"
212 - else
213 - CHECKREQS_DISK_BUILD="8500M"
214 - fi
215 -
216 - check-reqs_pkg_${EBUILD_PHASE}
217 -}
218 -
219 -pkg_pretend() {
220 - icedtea_check_requirements
221 -}
222 -
223 -pkg_setup() {
224 - icedtea_check_requirements
225 -
226 - JAVA_PKG_WANT_BUILD_VM="
227 - icedtea-8 icedtea-bin-8
228 - icedtea-7 icedtea-bin-7
229 - openjdk-8 openjdk-bin-8"
230 - JAVA_PKG_WANT_SOURCE="1.5"
231 - JAVA_PKG_WANT_TARGET="1.5"
232 -
233 - java-vm-2_pkg_setup
234 - java-pkg-2_pkg_setup
235 -}
236 -
237 -src_unpack() {
238 - unpack ${SRC_PKG}
239 -}
240 -
241 -src_configure() {
242 - # For bootstrap builds as the sandbox control file might not yet exist.
243 - addpredict /proc/self/coredump_filter
244 -
245 - # icedtea doesn't like some locales. #330433 #389717
246 - export LANG="C" LC_ALL="C"
247 -
248 - local cacao_config config hotspot_port hs_config jamvm_config use_cacao use_jamvm use_zero zero_config
249 - local vm=$(java-pkg_get-current-vm)
250 -
251 - # gcj-jdk ensures ecj is present.
252 - if use jbootstrap || has "${vm}" gcj-jdk; then
253 - use jbootstrap || einfo "bootstrap is necessary when building with ${vm}, ignoring USE=\"-jbootstrap\""
254 - config+=" --enable-bootstrap"
255 - else
256 - config+=" --disable-bootstrap"
257 - fi
258 -
259 - # Use Zero if requested
260 - if use zero; then
261 - use_zero="yes"
262 - fi
263 -
264 - # Use JamVM if requested
265 - if use jamvm; then
266 - use_jamvm="yes"
267 - fi
268 -
269 - # Use CACAO if requested
270 - if use cacao; then
271 - use_cacao="yes"
272 - fi
273 -
274 - # Are we on a architecture with a HotSpot port?
275 - # In-tree JIT ports are available for amd64, arm, arm64, ppc64 (be&le), SPARC and x86.
276 - if { use amd64 || use arm || use arm64 || use ppc64 || use sparc || use x86; }; then
277 - hotspot_port="yes"
278 - fi
279 -
280 - # Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
281 - # Otherwise use Zero for now until alternate VMs are working
282 - if test "x${hotspot_port}" != "xyes"; then
283 - use_zero="yes"
284 - fi
285 -
286 - if use shenandoah; then
287 - if { use amd64 || use arm64; }; then
288 - hs_config="--with-hotspot-build=shenandoah"
289 - hs_config+=" --with-hotspot-src-zip="${DISTDIR}/${SHENANDOAH_GENTOO_TARBALL}""
290 - else
291 - eerror "Shenandoah is only supported on arm64 and x86_64. Please re-build with USE="-shenandoah""
292 - fi
293 - else
294 - if use arm ; then
295 - hs_config="--with-hotspot-src-zip="${DISTDIR}/${AARCH32_GENTOO_TARBALL}""
296 - else
297 - hs_config="--with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_GENTOO_TARBALL}""
298 - fi
299 - fi
300 -
301 - # Turn on JamVM if needed (non-HS archs) or requested
302 - if test "x${use_jamvm}" = "xyes"; then
303 - if test "x${hotspot_port}" = "xyes"; then
304 - ewarn 'Enabling JamVM on an architecture with HotSpot support; issues may result.'
305 - ewarn 'If so, please rebuild with USE="-jamvm"'
306 - fi
307 - ewarn 'JamVM is known to still have issues with IcedTea 3.x; please rebuild with USE="-jamvm"'
308 - jamvm_config="--enable-jamvm"
309 - fi
310 -
311 - # Turn on CACAO if needed (non-HS archs) or requested
312 - if test "x${use_cacao}" = "xyes"; then
313 - if test "x${hotspot_port}" = "xyes"; then
314 - ewarn 'Enabling CACAO on an architecture with HotSpot support; issues may result.'
315 - ewarn 'If so, please rebuild with USE="-cacao"'
316 - fi
317 - ewarn 'CACAO is known to still have issues with IcedTea 3.x; please rebuild with USE="-cacao"'
318 - cacao_config="--enable-cacao"
319 - fi
320 -
321 - # Turn on Zero if needed (non-HS/CACAO archs) or requested
322 - if test "x${use_zero}" = "xyes"; then
323 - if test "x${hotspot_port}" = "xyes"; then
324 - ewarn 'Enabling Zero on an architecture with HotSpot support; performance will be significantly reduced.'
325 - fi
326 - zero_config="--enable-zero"
327 - fi
328 -
329 - # PaX breaks pch, bug #601016
330 - if use pch && ! host-is-pax; then
331 - config+=" --enable-precompiled-headers"
332 - else
333 - config+=" --disable-precompiled-headers"
334 - fi
335 -
336 - config+=" --with-parallel-jobs=$(makeopts_jobs)"
337 -
338 - unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
339 -
340 - econf ${config} \
341 - --with-openjdk-src-zip="${DISTDIR}/${OPENJDK_GENTOO_TARBALL}" \
342 - --with-corba-src-zip="${DISTDIR}/${CORBA_GENTOO_TARBALL}" \
343 - --with-jaxp-src-zip="${DISTDIR}/${JAXP_GENTOO_TARBALL}" \
344 - --with-jaxws-src-zip="${DISTDIR}/${JAXWS_GENTOO_TARBALL}" \
345 - --with-jdk-src-zip="${DISTDIR}/${JDK_GENTOO_TARBALL}" \
346 - --with-langtools-src-zip="${DISTDIR}/${LANGTOOLS_GENTOO_TARBALL}" \
347 - --with-nashorn-src-zip="${DISTDIR}/${NASHORN_GENTOO_TARBALL}" \
348 - --with-cacao-src-zip="${DISTDIR}/${CACAO_GENTOO_TARBALL}" \
349 - --with-jamvm-src-zip="${DISTDIR}/${JAMVM_GENTOO_TARBALL}" \
350 - --with-jdk-home="$(java-config -O)" \
351 - --prefix="${EPREFIX}/usr/$(get_libdir)/icedtea${SLOT}" \
352 - --mandir="${EPREFIX}/usr/$(get_libdir)/icedtea${SLOT}/man" \
353 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
354 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
355 - --with-pkgversion="Gentoo ${PF}" \
356 - --disable-ccache \
357 - --disable-downloading --disable-Werror --disable-tests \
358 - --disable-systemtap-tests --enable-improved-font-rendering \
359 - --enable-system-jpeg --enable-system-zlib \
360 - $(use_enable headless-awt headless) \
361 - $(use_enable !headless-awt system-gif) \
362 - $(use_enable !headless-awt system-png) \
363 - $(use_enable doc docs) \
364 - $(use_enable kerberos system-kerberos) \
365 - $(use_enable system-lcms) \
366 - $(use_with pax_kernel pax "${EPREFIX}/usr/sbin/paxmark.sh") \
367 - $(use_enable sctp system-sctp) \
368 - $(use_enable smartcard system-pcsc) \
369 - ${zero_config} ${cacao_config} ${jamvm_config} ${hs_config}
370 -}
371 -
372 -src_compile() {
373 - default
374 -}
375 -
376 -src_test() {
377 - default
378 -}
379 -
380 -src_install() {
381 - default
382 -
383 - local dest="/usr/$(get_libdir)/icedtea${SLOT}"
384 - local ddest="${ED}${dest#/}"
385 -
386 - if ! use alsa; then
387 - rm -v "${ddest}"/jre/lib/$(get_system_arch)/libjsoundalsa.* || die
388 - fi
389 -
390 - if ! use examples; then
391 - rm -r "${ddest}"/demo "${ddest}"/sample || die
392 - fi
393 -
394 - if ! use source; then
395 - rm -v "${ddest}"/src.zip || die
396 - fi
397 -
398 - dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
399 -
400 - # Fix the permissions.
401 - find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
402 -
403 - # We need to generate keystore - bug #273306
404 - einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
405 - mkdir "${T}/certgen" && cd "${T}/certgen" || die
406 - cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
407 - for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
408 - openssl x509 -text -in "${c}" >> all.crt || die
409 - done
410 - ./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
411 - cp -vRP cacerts "${ddest}/jre/lib/security/" || die
412 - chmod 644 "${ddest}/jre/lib/security/cacerts" || die
413 -
414 - java-vm_install-env "${FILESDIR}/icedtea.env.sh"
415 - java-vm_sandbox-predict /proc/self/coredump_filter
416 -}
417 -
418 -pkg_preinst() { gnome2_icon_savelist; }
419 -
420 -pkg_postinst() {
421 - gnome2_icon_cache_update
422 - java-vm-2_pkg_postinst
423 -}
424 -
425 -pkg_postrm() {
426 - gnome2_icon_cache_update
427 - java-vm-2_pkg_postrm
428 -}