1 |
commit: 9f7d05c70054fd252ec1f5e8b4a415ae2162ed27 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 25 10:16:16 2019 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 25 10:16:36 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f7d05c7 |
7 |
|
8 |
dev-java/oracle-jre-bin-1.8.0.192: removed |
9 |
|
10 |
Bug: https://bugs.gentoo.org/676134 |
11 |
Package-Manager: Portage-2.3.58, Repoman-2.3.12 |
12 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
13 |
|
14 |
dev-java/oracle-jre-bin/Manifest | 2 - |
15 |
.../oracle-jre-bin/oracle-jre-bin-1.8.0.192.ebuild | 220 --------------------- |
16 |
2 files changed, 222 deletions(-) |
17 |
|
18 |
diff --git a/dev-java/oracle-jre-bin/Manifest b/dev-java/oracle-jre-bin/Manifest |
19 |
index 403b9df901f..73f543b631c 100644 |
20 |
--- a/dev-java/oracle-jre-bin/Manifest |
21 |
+++ b/dev-java/oracle-jre-bin/Manifest |
22 |
@@ -1,4 +1,2 @@ |
23 |
-DIST jre-8u192-linux-i586.tar.gz 87804679 BLAKE2B bb1dea51f0d45dcd3aabc82668790ee274c83f2e3c596d836d7b57c971ff6535881849cce5757132fed1b537a4a9677fbbb0b8b003d423d26ee72cb71047428f SHA512 5c749f358aa5b55513765eeb52dd2e0d3cb2b3223cc93739aa36445af8c6a3171a01cab673e106312e816c0a3b584a8a1be4aed1e2662e86b6d318d86a135485 |
24 |
-DIST jre-8u192-linux-x64.tar.gz 84597342 BLAKE2B 655db641df8349109e2944838f16f37ea208772580f0753e664a0642649745c123b2a781497ca3b9028f55c0bd2816cb5746d7d1d04cc83bb536ca0b467a4fc0 SHA512 d786f9e032bc286f3d4f361c382b6606c7462240b191d04606ca5ed9e59e3d7703cbaf1d57693c6763d00374c76c99cdb2f58c0bc372ef5c14c6304d556b4c8a |
25 |
DIST jre-8u202-linux-i586.tar.gz 90106000 BLAKE2B e756771caf8567c58870a267aafc9d48e98f06da1373a33bfdf40cc564c8df1645df38ad2f6951bc34d703bb0f4646b52ebf008dfc470231b4e93078c7730862 SHA512 573e32dc715d280084e71999e71a2875a488cbbba2b42c5107c55669c8842dd4ca6c6f42034b5e0b705c22a7a1d9799b456211034a6f351bc9d8e8fd803e0ad3 |
26 |
DIST jre-8u202-linux-x64.tar.gz 86883826 BLAKE2B 8e69f4e8d6ce7d556ce7c8f30f5c71a50997103f729935269581f0af054fd1dc769b7099ad3a35d4baf41c8a6bdd76b049ae4908714701b196c4ce57ff61b39b SHA512 2460cde88162b00f5ca5600084f5f6b8720b8158869f5f5832fe886a5a6e839eb48398e9e3df47c45be257d9f6915e682d294d560b09e097ff610f09a76b1760 |
27 |
|
28 |
diff --git a/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.192.ebuild b/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.192.ebuild |
29 |
deleted file mode 100644 |
30 |
index be2fb2010c2..00000000000 |
31 |
--- a/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.192.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,220 +0,0 @@ |
34 |
-# Copyright 1999-2018 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=6 |
38 |
- |
39 |
-inherit desktop gnome2-utils java-vm-2 prefix versionator |
40 |
- |
41 |
-KEYWORDS="-* amd64 x86" |
42 |
- |
43 |
-if [[ "$(get_version_component_range 4)" == 0 ]] ; then |
44 |
- S_PV="$(get_version_component_range 1-3)" |
45 |
-else |
46 |
- MY_PV_EXT="u$(get_version_component_range 4)" |
47 |
- S_PV="$(get_version_component_range 1-4)" |
48 |
-fi |
49 |
- |
50 |
-MY_PV="$(get_version_component_range 2)${MY_PV_EXT}" |
51 |
- |
52 |
-declare -A ARCH_FILES |
53 |
-ARCH_FILES[amd64]="jre-${MY_PV}-linux-x64.tar.gz" |
54 |
-ARCH_FILES[x86]="jre-${MY_PV}-linux-i586.tar.gz" |
55 |
- |
56 |
-for keyword in ${KEYWORDS//-\*} ; do |
57 |
- SRC_URI+=" ${keyword#\~}? ( ${ARCH_FILES[${keyword#\~}]} )" |
58 |
-done |
59 |
- |
60 |
-DESCRIPTION="Oracle's Java SE Runtime Environment" |
61 |
-HOMEPAGE="http://www.oracle.com/technetwork/java/javase/" |
62 |
-LICENSE="Oracle-BCLA-JavaSE" |
63 |
-SLOT="1.8" |
64 |
-IUSE="alsa commercial cups +fontconfig headless-awt javafx jce nsplugin selinux" |
65 |
-RESTRICT="fetch preserve-libs strip" |
66 |
-QA_PREBUILT="*" |
67 |
- |
68 |
-# NOTES: |
69 |
-# |
70 |
-# * cups is dlopened. |
71 |
-# |
72 |
-# * libpng is also dlopened but only by libsplashscreen, which isn't |
73 |
-# important, so we can exclude that. |
74 |
-# |
75 |
-# * We still need to work out the exact AWT and JavaFX dependencies |
76 |
-# under MacOS. It doesn't appear to use many, if any, of the |
77 |
-# dependencies below. |
78 |
-# |
79 |
-RDEPEND="!x64-macos? ( |
80 |
- !headless-awt? ( |
81 |
- x11-libs/libX11 |
82 |
- x11-libs/libXext |
83 |
- x11-libs/libXi |
84 |
- x11-libs/libXrender |
85 |
- x11-libs/libXtst |
86 |
- ) |
87 |
- javafx? ( |
88 |
- dev-libs/glib:2 |
89 |
- dev-libs/libxml2:2 |
90 |
- dev-libs/libxslt |
91 |
- media-libs/freetype:2 |
92 |
- x11-libs/cairo |
93 |
- x11-libs/gtk+:2 |
94 |
- x11-libs/libX11 |
95 |
- x11-libs/libXtst |
96 |
- x11-libs/libXxf86vm |
97 |
- x11-libs/pango |
98 |
- virtual/opengl |
99 |
- ) |
100 |
- ) |
101 |
- alsa? ( media-libs/alsa-lib ) |
102 |
- cups? ( net-print/cups ) |
103 |
- fontconfig? ( media-libs/fontconfig:1.0 ) |
104 |
- !prefix? ( sys-libs/glibc:* ) |
105 |
- selinux? ( sec-policy/selinux-java )" |
106 |
- |
107 |
-DEPEND="app-arch/zip" |
108 |
- |
109 |
-S="${WORKDIR}/jre$(replace_version_separator 3 _ ${S_PV})" |
110 |
- |
111 |
-pkg_nofetch() { |
112 |
- einfo "Please download ${ARCH_FILES[${ARCH}]} and move it to" |
113 |
- einfo "your distfiles directory:" |
114 |
- einfo |
115 |
- einfo " http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html" |
116 |
- einfo |
117 |
- einfo "If the above mentioned URL does not point to the correct version anymore," |
118 |
- einfo "please download the file from Oracle's Java download archive:" |
119 |
- einfo |
120 |
- einfo " http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html" |
121 |
- einfo |
122 |
-} |
123 |
- |
124 |
-src_prepare() { |
125 |
- default |
126 |
- |
127 |
- # Remove the hook that calls Oracle's evil usage tracker. Not just |
128 |
- # because it's evil but because it breaks the sandbox during builds |
129 |
- # and we can't find any other feasible way to disable it or make it |
130 |
- # write somewhere else. See bug #559936 for details. |
131 |
- zip -d lib/rt.jar sun/misc/PostVMInitHook.class || die |
132 |
-} |
133 |
- |
134 |
-src_install() { |
135 |
- local dest="/opt/${P}" |
136 |
- local ddest="${ED}${dest#/}" |
137 |
- |
138 |
- # Create files used as storage for system preferences. |
139 |
- mkdir .systemPrefs || die |
140 |
- touch .systemPrefs/.system.lock || die |
141 |
- touch .systemPrefs/.systemRootModFile || die |
142 |
- |
143 |
- if ! use alsa ; then |
144 |
- rm -vf lib/*/libjsoundalsa.* || die |
145 |
- fi |
146 |
- |
147 |
- if ! use commercial ; then |
148 |
- rm -vfr lib/jfr* || die |
149 |
- fi |
150 |
- |
151 |
- if use headless-awt ; then |
152 |
- rm -vf lib/*/lib*{[jx]awt,splashscreen}* \ |
153 |
- bin/{javaws,policytool} || die |
154 |
- fi |
155 |
- |
156 |
- if ! use javafx ; then |
157 |
- rm -vf lib/*/lib*{decora,fx,glass,prism}* \ |
158 |
- lib/*/libgstreamer-lite.* lib/{,ext/}*fx* || die |
159 |
- fi |
160 |
- |
161 |
- if ! use nsplugin ; then |
162 |
- rm -vf lib/*/libnpjp2.* || die |
163 |
- else |
164 |
- local nsplugin=$(echo lib/*/libnpjp2.*) |
165 |
- local nsplugin_link=${nsplugin##*/} |
166 |
- nsplugin_link=${nsplugin_link/./-${PN}-${SLOT}.} |
167 |
- dosym "${dest}/${nsplugin}" "/usr/$(get_libdir)/nsbrowser/plugins/${nsplugin_link}" |
168 |
- fi |
169 |
- |
170 |
- # Even though plugins linked against multiple ffmpeg versions are |
171 |
- # provided, they generally lag behind what Gentoo has available. |
172 |
- rm -vf lib/*/libavplugin* || die |
173 |
- |
174 |
- # Prune all fontconfig files so that libfontconfig will be used. |
175 |
- rm -v lib/fontconfig.* || die |
176 |
- |
177 |
- # Install desktop file for the Java Control Panel. Using |
178 |
- # ${PN}-${SLOT} to prevent file collision with JDK and other slots. |
179 |
- if [[ -d lib/desktop/icons ]] ; then |
180 |
- local icon |
181 |
- pushd lib/desktop/icons >/dev/null || die |
182 |
- for icon in */*/apps/sun-jcontrol.png ; do |
183 |
- insinto /usr/share/icons/"${icon%/*}" |
184 |
- newins "${icon}" sun-jcontrol-${PN}-${SLOT}.png |
185 |
- done |
186 |
- popd >/dev/null || die |
187 |
- make_desktop_entry \ |
188 |
- "${dest}"/bin/jcontrol \ |
189 |
- "Java Control Panel for Oracle JRE ${SLOT}" \ |
190 |
- sun-jcontrol-${PN}-${SLOT} \ |
191 |
- "Settings;Java;" |
192 |
- fi |
193 |
- |
194 |
- dodoc COPYRIGHT |
195 |
- dodir "${dest}" |
196 |
- cp -pPR bin lib man "${ddest}" || die |
197 |
- |
198 |
- ln -s policy/$(usex jce unlimited limited)/{US_export,local}_policy.jar \ |
199 |
- "${ddest}"/lib/security/ || die |
200 |
- |
201 |
- # Only install Gentoo-specific fontconfig if flag is disabled. |
202 |
- # https://docs.oracle.com/javase/8/docs/technotes/guides/intl/fontconfig.html |
203 |
- if ! use fontconfig ; then |
204 |
- insinto "${dest}"/lib/ |
205 |
- doins "$(prefixify_ro "${FILESDIR}"/fontconfig.properties)" |
206 |
- fi |
207 |
- |
208 |
- # Needs to be done before CDS, bug #215225. |
209 |
- java-vm_set-pax-markings "${ddest}" |
210 |
- |
211 |
- # See bug #207282. |
212 |
- einfo "Creating the Class Data Sharing archives" |
213 |
- case ${ARCH} in |
214 |
- arm|ia64) |
215 |
- ${ddest}/bin/java -client -Xshare:dump || die |
216 |
- ;; |
217 |
- x86) |
218 |
- ${ddest}/bin/java -client -Xshare:dump || die |
219 |
- # limit heap size for large memory on x86 #467518 |
220 |
- # this is a workaround and shouldn't be needed. |
221 |
- ${ddest}/bin/java -server -Xms64m -Xmx64m -Xshare:dump || die |
222 |
- ;; |
223 |
- *) |
224 |
- ${ddest}/bin/java -server -Xshare:dump || die |
225 |
- ;; |
226 |
- esac |
227 |
- |
228 |
- # Remove empty dirs we might have copied. |
229 |
- find "${D}" -type d -empty -exec rmdir -v {} + || die |
230 |
- |
231 |
- java-vm_install-env "${FILESDIR}"/${PN}.env.sh |
232 |
- java-vm_revdep-mask |
233 |
- java-vm_sandbox-predict /dev/random /proc/self/coredump_filter |
234 |
-} |
235 |
- |
236 |
-pkg_preinst() { |
237 |
- gnome2_icon_savelist |
238 |
-} |
239 |
- |
240 |
-pkg_postinst() { |
241 |
- gnome2_icon_cache_update |
242 |
- java-vm-2_pkg_postinst |
243 |
- |
244 |
- if ! use headless-awt && ! use javafx ; then |
245 |
- ewarn "You have disabled the javafx flag. Some modern desktop Java applications" |
246 |
- ewarn "require this and they may fail with a confusing error message." |
247 |
- fi |
248 |
-} |
249 |
- |
250 |
-pkg_postrm() { |
251 |
- gnome2_icon_cache_update |
252 |
- java-vm-2_pkg_postrm |
253 |
-} |