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/openjdk-jre-bin/
Date: Sun, 10 May 2020 07:58:36
Message-Id: 1589097333.87ec82db4c35cc2acaa147e80f47a2e2c90a8c28.gyakovlev@gentoo
1 commit: 87ec82db4c35cc2acaa147e80f47a2e2c90a8c28
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 10 07:55:33 2020 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Sun May 10 07:55:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87ec82db
7
8 dev-java/openjdk-jre-bin: drop old
9
10 version 11 was stabilized by mistake, dropping stable ebuild
11
12 Package-Manager: Portage-2.3.99, Repoman-2.3.22
13 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
14
15 dev-java/openjdk-jre-bin/Manifest | 2 -
16 .../openjdk-jre-bin-11.0.6_p10.ebuild | 97 ----------------------
17 .../openjdk-jre-bin-8.242_p08-r1.ebuild | 84 -------------------
18 3 files changed, 183 deletions(-)
19
20 diff --git a/dev-java/openjdk-jre-bin/Manifest b/dev-java/openjdk-jre-bin/Manifest
21 index 8aec8cb14aa..46d9e603e24 100644
22 --- a/dev-java/openjdk-jre-bin/Manifest
23 +++ b/dev-java/openjdk-jre-bin/Manifest
24 @@ -1,4 +1,2 @@
25 -DIST OpenJDK11U-jre_x64_linux_hotspot_11.0.6_10.tar.gz 42198347 BLAKE2B e0022f46f0f3de41d28baf19bcea2c7d6237e80586b7a1e3fb2b97aced18d564fe03a6706b8a3fe97375ff6be395aceafd1e0dba6adaddaa7285b0b8eb24310b SHA512 0d1366c68ad12fafc76edddc7d385f612751182b5492cff4309d542a0e12b13c9b17ca89a0a8218ad0f8182b24285189158c43759db54645758c7ea8dc4d6ce9
26 DIST OpenJDK11U-jre_x64_linux_hotspot_11.0.7_10.tar.gz 42917723 BLAKE2B c5635b3727e10462396891cab89e257ded57c59f56e9bcb84a3d040ce8a27d7d67d6b78e5f55b63806dd93f6151b767df42e4428d12e763f9722196ca0736a08 SHA512 a776dd9168e3c2635a8492405d58628713e646292d7ee16454681d46866e7ea41afa712227e94ed2e8ce52c727e445f4631db63a02408aa817f1c79af8057dbe
27 -DIST OpenJDK8U-jre_x64_linux_hotspot_8u242b08.tar.gz 40987250 BLAKE2B ba3f15b938b4462a186c13ca8ea12c5e5e5bbfe5e716af1911e9525875e6956caf3155423f32433be05ebd1a3c873d94b33a797298d6d09577a775c7dfe2a658 SHA512 11dddf75813aa3b88b2bfb2ca89e186cc15601f75ec4f9cbe92c8b60f61438f75a76e45c26bc614eb54de16a584e906f8935cb2146937b96f2970eb89dddea09
28 DIST OpenJDK8U-jre_x64_linux_hotspot_8u252b09.tar.gz 41104123 BLAKE2B 52a9f288054c4a96ed5d70c2c9c6cf14ceb32262ec3a38f547286518ccc14a4695d330adc19e272436c0a7154771cddd9b0672b05beb6d5013c44c69be0ad25a SHA512 b1b0627e8495b11e0ef3e4ecb387d92537bb97b3f3045213658d48b6f2dffa0bc975b1bc92e84c487152b43d1f0ee0449730bf84dd62d98d13354bf73d3a0a20
29
30 diff --git a/dev-java/openjdk-jre-bin/openjdk-jre-bin-11.0.6_p10.ebuild b/dev-java/openjdk-jre-bin/openjdk-jre-bin-11.0.6_p10.ebuild
31 deleted file mode 100644
32 index ec55ede5233..00000000000
33 --- a/dev-java/openjdk-jre-bin/openjdk-jre-bin-11.0.6_p10.ebuild
34 +++ /dev/null
35 @@ -1,97 +0,0 @@
36 -# Copyright 1999-2020 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=6
40 -
41 -inherit java-vm-2
42 -
43 -abi_uri() {
44 - echo "${2-$1}? (
45 - https://github.com/AdoptOpenJDK/openjdk${SLOT}-binaries/releases/download/jdk-${MY_PV}/OpenJDK${SLOT}U-jre_${1}_linux_hotspot_${MY_PV//+/_}.tar.gz
46 - )"
47 -}
48 -
49 -MY_PV=${PV/_p/+}
50 -SLOT=${MY_PV%%[.+]*}
51 -
52 -SRC_URI="
53 - $(abi_uri x64 amd64)
54 -"
55 -
56 -DESCRIPTION="Prebuilt Java JRE binaries provided by AdoptOpenJDK"
57 -HOMEPAGE="https://adoptopenjdk.net"
58 -LICENSE="GPL-2-with-classpath-exception"
59 -KEYWORDS="amd64"
60 -IUSE="alsa cups +gentoo-vm headless-awt nsplugin selinux webstart"
61 -
62 -RDEPEND="
63 - media-libs/fontconfig:1.0
64 - media-libs/freetype:2
65 - >net-libs/libnet-1.1
66 - >=sys-apps/baselayout-java-0.1.0-r1
67 - >=sys-libs/glibc-2.2.5:*
68 - sys-libs/zlib
69 - alsa? ( media-libs/alsa-lib )
70 - cups? ( net-print/cups )
71 - selinux? ( sec-policy/selinux-java )
72 - !headless-awt? (
73 - x11-libs/libX11
74 - x11-libs/libXext
75 - x11-libs/libXi
76 - x11-libs/libXrender
77 - x11-libs/libXtst
78 - )"
79 -
80 -PDEPEND="webstart? ( >=dev-java/icedtea-web-1.6.1:0 )
81 - nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] )"
82 -
83 -RESTRICT="preserve-libs splitdebug"
84 -QA_PREBUILT="*"
85 -
86 -S="${WORKDIR}/jdk-${MY_PV}-jre"
87 -
88 -src_install() {
89 - local dest="/opt/${P}"
90 - local ddest="${ED%/}/${dest#/}"
91 -
92 - # Not sure why they bundle this as it's commonly available and they
93 - # only do so on x86_64. It's needed by libfontmanager.so. IcedTea
94 - # also has an explicit dependency while Oracle seemingly dlopens it.
95 - rm -vf lib/libfreetype.so || die
96 -
97 - # Oracle and IcedTea have libjsoundalsa.so depending on
98 - # libasound.so.2 but AdoptOpenJDK only has libjsound.so. Weird.
99 - if ! use alsa ; then
100 - rm -v lib/libjsound.* || die
101 - fi
102 -
103 - if use headless-awt ; then
104 - rm -v lib/lib*{[jx]awt,splashscreen}* || die
105 - fi
106 -
107 - rm -v lib/security/cacerts || die
108 - dosym ../../../../etc/ssl/certs/java/cacerts "${dest}"/lib/security/cacerts
109 -
110 - dodir "${dest}"
111 - cp -pPR * "${ddest}" || die
112 -
113 - use gentoo-vm && java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
114 - java-vm_set-pax-markings "${ddest}"
115 - java-vm_revdep-mask
116 - java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
117 -}
118 -
119 -pkg_postinst() {
120 - java-vm-2_pkg_postinst
121 -
122 - if use gentoo-vm ; then
123 - ewarn "WARNING! You have enabled the gentoo-vm USE flag, making this JRE"
124 - ewarn "recognised by the system. This will almost certainly break things."
125 - else
126 - ewarn "The experimental gentoo-vm USE flag has not been enabled so this JRE"
127 - ewarn "will not be recognised by the system. For example, simply calling"
128 - ewarn "\"java\" will launch a different JVM. This is necessary until Gentoo"
129 - ewarn "fully supports Java 11. This JRE must therefore be invoked using its"
130 - ewarn "absolute location under ${EPREFIX}/opt/${P}."
131 - fi
132 -}
133
134 diff --git a/dev-java/openjdk-jre-bin/openjdk-jre-bin-8.242_p08-r1.ebuild b/dev-java/openjdk-jre-bin/openjdk-jre-bin-8.242_p08-r1.ebuild
135 deleted file mode 100644
136 index 512f8678a75..00000000000
137 --- a/dev-java/openjdk-jre-bin/openjdk-jre-bin-8.242_p08-r1.ebuild
138 +++ /dev/null
139 @@ -1,84 +0,0 @@
140 -# Copyright 1999-2020 Gentoo Authors
141 -# Distributed under the terms of the GNU General Public License v2
142 -
143 -EAPI=6
144 -
145 -inherit eapi7-ver java-vm-2
146 -
147 -abi_uri() {
148 - echo "${2-$1}? (
149 - https://github.com/AdoptOpenJDK/openjdk${SLOT}-binaries/releases/download/jdk${MY_PV}/OpenJDK8U-jre_${1}_linux_hotspot_${MY_PV/-/}.tar.gz
150 - )"
151 -}
152 -
153 -MY_PV=$(ver_rs 1 'u' 2 '-' ${PV//p/b})
154 -SLOT="$(ver_cut 1)"
155 -
156 -DESCRIPTION="Prebuilt Java JRE binaries provided by AdoptOpenJDK"
157 -HOMEPAGE="https://adoptopenjdk.net"
158 -SRC_URI="
159 - $(abi_uri x64 amd64)
160 -"
161 -
162 -LICENSE="GPL-2-with-classpath-exception"
163 -KEYWORDS="amd64"
164 -
165 -IUSE="alsa cups headless-awt nsplugin selinux webstart"
166 -
167 -RDEPEND="
168 - media-libs/fontconfig:1.0
169 - media-libs/freetype:2
170 - >net-libs/libnet-1.1
171 - >=sys-apps/baselayout-java-0.1.0-r1
172 - >=sys-libs/glibc-2.2.5:*
173 - sys-libs/zlib
174 - alsa? ( media-libs/alsa-lib )
175 - cups? ( net-print/cups )
176 - selinux? ( sec-policy/selinux-java )
177 - !headless-awt? (
178 - x11-libs/libX11
179 - x11-libs/libXext
180 - x11-libs/libXi
181 - x11-libs/libXrender
182 - x11-libs/libXtst
183 - )"
184 -
185 -PDEPEND="
186 - webstart? ( >=dev-java/icedtea-web-1.6.1:0 )
187 - nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] )"
188 -
189 -RESTRICT="preserve-libs splitdebug"
190 -QA_PREBUILT="*"
191 -
192 -S="${WORKDIR}/jdk${MY_PV}-jre"
193 -
194 -src_install() {
195 - local dest="/opt/${P}"
196 - local ddest="${ED%/}/${dest#/}"
197 -
198 - rm ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README || die
199 -
200 - # this does not exist on arm64 hence -f
201 - rm -fv lib/*/libfreetype.so* || die
202 -
203 - if ! use alsa ; then
204 - rm -v lib/*/libjsoundalsa.so* || die
205 - fi
206 -
207 - if use headless-awt ; then
208 - rm -fvr lib/*/lib*{[jx]awt,splashscreen}* \
209 - bin/policytool || die
210 - fi
211 -
212 - rm -v lib/security/cacerts || die
213 - dosym ../../../../../etc/ssl/certs/java/cacerts \
214 - "${dest}"/lib/security/cacerts
215 -
216 - dodir "${dest}"
217 - cp -pPR * "${ddest}" || die
218 -
219 - java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
220 - java-vm_set-pax-markings "${ddest}"
221 - java-vm_revdep-mask
222 - java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
223 -}