From 16fa2b00367031ed5c8d6b18bac156f5fcdfa55a Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sat, 13 Feb 2016 16:36:00 +0000 Subject: [PATCH] dev-java/oracle-jdk-bin: Remove old Package-Manager: portage-2.2.27 --- dev-java/oracle-jdk-bin/Manifest | 10 - .../oracle-jdk-bin-1.8.0.72-r1.ebuild | 356 ------------------ 2 files changed, 366 deletions(-) delete mode 100644 dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.72-r1.ebuild diff --git a/dev-java/oracle-jdk-bin/Manifest b/dev-java/oracle-jdk-bin/Manifest index fcb276694a6b5..e4f184225db73 100644 --- a/dev-java/oracle-jdk-bin/Manifest +++ b/dev-java/oracle-jdk-bin/Manifest @@ -15,16 +15,6 @@ DIST jdk-7u80-solaris-sparcv9-demos.tar.gz 904770 SHA256 fa3a92e70e52b0bffdee8d2 DIST jdk-7u80-solaris-sparcv9.tar.gz 19301205 SHA256 1a2bce541efe7b81cafe683626b3edea56918a8ca897ff36a2deaed00a7fce05 SHA512 93ea0e8f5ae611dd1a620dffd72e315ecb6ce8375bd902a793fab128ac7e95d2cb338df1c273a2c29af6194e7cbdb810d79193b413b4b101538c08ebeef1eb41 WHIRLPOOL c9ae1f1b561c4ec1d3c1a7f5008e80642b49a9fd1c6459f8ada65c01accc338280bdd683712d54a9b7741eeccf856b4f2ee82e898fbe1f39260d58efab217185 DIST jdk-7u80-solaris-x64-demos.tar.gz 865205 SHA256 a08dd0665d35986675beeba0f80d5db54a91fb276d8641ce1ba16ba873a18682 SHA512 c53f026bfdfed8d83d42e3fce497baffeb370adf0423be2f891f6d200510088ac8227ae4f261ece059dbf29eb33cacafb20a0c328e7d8723387eba38def389d0 WHIRLPOOL 0539e964e194527055186b120df11e74ab3d9568fc2a5ff002ef405396f521a7c35013420067d37874b9602fe29d104dce63f22bfd687c45722689d62a8c552d DIST jdk-7u80-solaris-x64.tar.gz 17176587 SHA256 ccc156363e3080e92382cd675d96889460a4421464b4567333394c8405eeb709 SHA512 83ce229c3a38e454d9acafa189b3b6f247a4723ddb3c3fa08993323590949295b0f3740ab235c7c539f90a684b8cefad7839f82f566b7a141019b94af6cbad89 WHIRLPOOL 07412c6de5886c729b43726fb228783606b2a53c2a286b1af2dd5359975d1c75964a895d7da543f98c461adf0ab4b82fc32ebeb49e1835448effd93886f1b206 -DIST jdk-8u72-linux-i586-demos.tar.gz 55071979 SHA256 b6363a25fa92ffc2d70ec9ba860999769437e641c815977ac3fd1215841a77f7 SHA512 8dbec921571436dfea10193bb604e957df3a76858e853b18588c20bf4842647116caa6c0bcb0517cf687c010b376fea6ba49199441b74e5c823111ece2754349 WHIRLPOOL 91a4988bc9e2d419ad92b75135e76b706a5754e0220a20921da98f60eeb75fcefb2aaf6ff6cad87670f14e584a70bbc5d0e11670e6c9528beb3e8f421b83e1f8 -DIST jdk-8u72-linux-i586.tar.gz 183418689 SHA256 58456a9e6cf75f52069a405067f69a78870c24628abd751ae1a99d5d2ab57908 SHA512 d27cdcc9119eb85020f4823fc8c264aa339bbaa6a27841ed2b39713ff3d5afed0f87063e686dffb69b3e9c8ba0e88ad77133e768e65802817dd44ff9a1599130 WHIRLPOOL 4bd9c4bafd6c5f7abddcb6cc34cec7812065b3db01b737b9a96c530fc9869b8299777f057cf71398825b141039f51cce0c5e659d9566e572b70744ab4c396918 -DIST jdk-8u72-linux-x64-demos.tar.gz 55128961 SHA256 b5b0a887b57c00e967bfb0bb1247d8a660a11b9dca12b1a93ff99b085a89160b SHA512 e46abdf1a43ba3f0cb00a60ed4a3660b45c211e4d02d3749174d6829db53c6190114764b91bd5d61072fcb13693d9c2fed18f1d4910dcebd812ed2f344925473 WHIRLPOOL c9e0a035e05d12671c7703d8019418ce6e1e70bc3636ea94dea88db3b07e0eaec45db66f0109e00b1dadcf8d6db3113f978d3bb5a5d5dcea01392cd3cfae1835 -DIST jdk-8u72-linux-x64.tar.gz 181341115 SHA256 46e7f96271043009995f39f04a9e711cdc0cc5b6a5b67910451678a3d250ec98 SHA512 cdd287f6042c882d2749046202975d971b6b55cbf4a8861e2974a6757d418bb30e460ccebeabb66c7db4778716ff180526a671eb841456305bab56fddc30c7aa WHIRLPOOL 0db099312900cb773609aeeeba70ddd1c189cd02470e601c4bc72901bed149a412567c01f108f41096aba8a5d245223627e3f5751b2c0cf04a25a6312e237710 -DIST jdk-8u72-macosx-x64.dmg 238306893 SHA256 ca8b92cde2e4fefc7a9b34853060e0e211529a4608a0981f20dc6d806ee57558 SHA512 c4912d6b939b15a5789c42572e8db3bd6b2befd61de3c8c2b464ca2e66a181ddd0e7d8771da524c05dc843a5b1931d741027607a0f4d159e7e491fa8e5ba8a84 WHIRLPOOL 5d2b467391b6e5402c940a36d073426c244b596e1252536fba7c3e0ae9f267e47c844e312044c6702946b906b121264a28adcf85fb0705b1c3169f7eb71da04d -DIST jdk-8u72-macosx-x86_64-demos.zip 55665457 SHA256 6522fae032701b63c7e744ff2c238e6cddd89525c83e208a3da97dbd949b8421 SHA512 23320ee2dfe466d3ec7d690a5be7af5aab4cbb1d6600c52405ae8953e9514c2ed3716a4e2f503fee0837d9484923835dec68b4b19d16d983eedbc469270a6ea4 WHIRLPOOL a904de92da0e6c6ceb1aee1d2f5c29227ebae44882aae54241b927db8dc1eb6b2bb62e1be131f79529ddb8d3aa6d98b5133e21fb2ea975c9b2db2825cfeece41 -DIST jdk-8u72-solaris-sparcv9-demos.tar.gz 9783610 SHA256 cc887b79b89bb2774f782c8382fe4e4b057cf438b98688a65bc87a209d3235ff SHA512 865f72503d34c55ebc295adf5f662aa70ac16eac09c0c5240d6426f1a7a208b6814011a2c5f8fd944c74363aed50dd53d2219b4eb73046c39bf1973ee12aeda4 WHIRLPOOL 3de84f1b70d2079233da54870e6e9e19fd1d5ef8a4dade0ab01227b843d811da1b6cf20449d727aea5eb68793acc217095a893d0edc397d35b2c134b64633713 -DIST jdk-8u72-solaris-sparcv9.tar.gz 103862525 SHA256 207e0c9f7265e574210f63e0bb4c1b0ffa5d04007c2de3df559673d12ea5ce33 SHA512 627dde55c22718ca46f1e8b479218331f66f91aef7de9cc5ff334b4292b3f7492ec6ae710fb6aaac2f86415141eee9e4165287c5553a58645017df1e9d9fec83 WHIRLPOOL bac3c93dea92505d27ade27143032250d542c811daf2a5d82c62c4ff527cd2453b36f5685ff497a59f9d2383ea3b7149e96dacea2decd8024ed8bf1465c43715 -DIST jdk-8u72-solaris-x64-demos.tar.gz 9720291 SHA256 3d58066df5da927c24c1180afebd26d2608cb30ac89c0a8a68f4f04c375b80a1 SHA512 9d48c97032987e15bc1ea695db7e4cb4886894e5556d83f7494e9713e89b92b81e17f11bb67c67c588efded892909399762a2d7767f7e8cf544b8017600107a4 WHIRLPOOL a29058ab2ed5377345bd9c30fb8b80322449e06b42c67368c81044e8706a337f94f690c3fc02998aadd08e416eaaf410552c69f6dc9acf2920e0f1d6a4ab893b -DIST jdk-8u72-solaris-x64.tar.gz 100855265 SHA256 e7d2aeceb4611dbda8dac4d83b7a99ed45f511cfe870117d4cbec3c7b748f782 SHA512 5b8ab1167d66bb4317a0507e1dbc80a5636e7f7309e53b5c6d0fe237c1bfdf7c4c248d8dfa8d5353a0b7197171a45755acba686b82e6c652169c6635eb6b024b WHIRLPOOL a89f8d3dcc5d30056f5dd5b0c57a6c0c2c599b29ee998d0be4e21c0d55c577898d83d56891ba81a5b11438273e74fa9c911deec7d12a002292918cb0a1df105b DIST jdk-8u73-linux-arm32-vfp-hflt-demos.tar.gz 10408683 SHA256 190cfa7fcffeebffab35e8b50f42391c8af09a1d81033f57de8c34bc40581a70 SHA512 49604d543fb7fc5e70f3113174fae58a8bc5cc5fe32f668bb907e905159915bd7785facb107afe29b59f0772fff28450cb0c2995db23a45e38115892273300e1 WHIRLPOOL e8898ad36338cf9d754b0a2dbd118d3eb212e3242b18e035fc964da1fb974dae796db93faa5d963c225f3a16938428d53e66965a9bb411825d6027683dac6645 DIST jdk-8u73-linux-arm32-vfp-hflt.tar.gz 81500626 SHA256 88cdfc96e518cbcf8625d5dde33f0c96b282aae1bc82e8d8e9be8b658fcb4067 SHA512 11a0f7d2b70325282a5f5ff92e6f1990203a24c8c8892bb2aab03950e9d4925e7883c68e65c7145704d24659fff703e136422c3283cf49c2351ee14abdf816e2 WHIRLPOOL f64327b27c68905ebfccdb28f3399fe897b4da269c230f07e0ac138f3351045de1b6b4f79e0970990d0c5464b750e1ab061f70b35adc2f79312276ce51f4b53e DIST jdk-8u73-linux-arm64-vfp-hflt-demos.tar.gz 10429373 SHA256 ba3b6063a4db625fa141b81c93e846db1ffd23e5aeface5bd645b817b3cae275 SHA512 0c1ff0dbc0aa4dee2e4bfaf7c54e36b9dc3c52e36deb7e2201c60c7c0f2c99a5f1383b930dee0cebe96b3f286739d7da43d5e1624e86b216a419fbd82ed94c0a WHIRLPOOL 2799996ac8a1fe17a51e53350742e65aa431ada88cdaca5d0ba63ebe9d63e325925625e63cb6fd8a87fac349a2484443e91e115ee2a396ee22c8fe04387c8174 diff --git a/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.72-r1.ebuild b/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.72-r1.ebuild deleted file mode 100644 index a5f4cbf505db0..0000000000000 --- a/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.72-r1.ebuild +++ /dev/null @@ -1,356 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit eutils java-vm-2 prefix versionator - -# This URIs need to be updated when bumping! -JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html" -JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html" - -# This is a list of archs supported by this update. -# Currently arm comes and goes. -AT_AVAILABLE=( amd64 x86 x64-solaris sparc64-solaris x64-macos ) - -# Sometimes some or all of the demos are missing, this is to not have to rewrite half -# the ebuild when it happens. -DEMOS_AVAILABLE=( amd64 x86 x64-solaris sparc64-solaris x64-macos ) - -if [[ "$(get_version_component_range 4)" == 0 ]] ; then - S_PV="$(get_version_component_range 1-3)" -else - MY_PV_EXT="u$(get_version_component_range 4)" - S_PV="$(get_version_component_range 1-4)" -fi - -MY_PV="$(get_version_component_range 2)${MY_PV_EXT}" - -AT_amd64="jdk-${MY_PV}-linux-x64.tar.gz" -AT_arm="jdk-${MY_PV}-linux-arm32-vfp-hflt.tar.gz" -AT_arm64="jdk-${MY_PV}-linux-arm64-vfp-hflt.tar.gz" -AT_x86="jdk-${MY_PV}-linux-i586.tar.gz" -AT_x64_solaris="jdk-${MY_PV}-solaris-x64.tar.gz" -AT_sparc64_solaris="${AT_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9.tar.gz" -AT_x64_macos="jdk-${MY_PV}-macosx-x64.dmg" - -DEMOS_amd64="jdk-${MY_PV}-linux-x64-demos.tar.gz" -DEMOS_arm="jdk-${MY_PV}-linux-arm32-vfp-hflt-demos.tar.gz" -DEMOS_arm64="jdk-${MY_PV}-linux-arm64-vfp-hflt-demos.tar.gz" -DEMOS_x86="jdk-${MY_PV}-linux-i586-demos.tar.gz" -DEMOS_x64_solaris="jdk-${MY_PV}-solaris-x64-demos.tar.gz" -DEMOS_sparc64_solaris="jdk-${MY_PV}-solaris-sparcv9-demos.tar.gz" -DEMOS_x64_macos="jdk-${MY_PV}-macosx-x86_64-demos.zip" - -JCE_DIR="UnlimitedJCEPolicyJDK8" -JCE_FILE="jce_policy-8.zip" - -DESCRIPTION="Oracle's Java SE Development Kit" -HOMEPAGE="http://www.oracle.com/technetwork/java/javase/" -for d in "${AT_AVAILABLE[@]}"; do - SRC_URI+=" ${d}? ( $(eval "echo \${$(echo AT_${d/-/_})}")" - if has ${d} "${DEMOS_AVAILABLE[@]}"; then - SRC_URI+=" examples? ( $(eval "echo \${$(echo DEMOS_${d/-/_})}") )" - fi - SRC_URI+=" )" -done -unset d -SRC_URI+=" jce? ( ${JCE_FILE} )" - -LICENSE="Oracle-BCLA-JavaSE examples? ( BSD )" -SLOT="1.8" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc64-solaris ~x64-solaris" -IUSE="alsa cups derby doc examples +fontconfig headless-awt javafx jce nsplugin pax_kernel selinux source" -REQUIRED_USE="javafx? ( alsa fontconfig )" - -RESTRICT="fetch preserve-libs strip" -QA_PREBUILT="*" - -# NOTES: -# -# * cups is dlopened. -# -# * libpng is also dlopened but only by libsplashscreen, which isn't -# important, so we can exclude that. -# -# * We still need to work out the exact AWT and JavaFX dependencies -# under MacOS. It doesn't appear to use many, if any, of the -# dependencies below. -# -RDEPEND="!x64-macos? ( - !headless-awt? ( - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXi - x11-libs/libXrender - x11-libs/libXtst - ) - javafx? ( - dev-libs/glib:2 - dev-libs/libxml2:2 - dev-libs/libxslt - media-libs/freetype:2 - x11-libs/cairo - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXtst - x11-libs/libXxf86vm - x11-libs/pango - virtual/opengl - ) - ) - alsa? ( media-libs/alsa-lib ) - cups? ( net-print/cups ) - doc? ( dev-java/java-sdk-docs:${SLOT} ) - fontconfig? ( media-libs/fontconfig:1.0 ) - !prefix? ( sys-libs/glibc:* ) - selinux? ( sec-policy/selinux-java )" - -# A PaX header isn't created by scanelf so depend on paxctl to avoid -# fallback marking. See bug #427642. -DEPEND="app-arch/zip - jce? ( app-arch/unzip ) - examples? ( x64-macos? ( app-arch/unzip ) ) - pax_kernel? ( sys-apps/paxctl )" - -S="${WORKDIR}/jdk" - -check_tarballs_available() { - local uri=$1; shift - local dl= unavailable= - for dl in "${@}" ; do - [[ ! -f "${DISTDIR}/${dl}" ]] && unavailable+=" ${dl}" - done - - if [[ -n "${unavailable}" ]] ; then - if [[ -z ${_check_tarballs_available_once} ]] ; then - einfo - einfo "Oracle requires you to download the needed files manually after" - einfo "accepting their license through a javascript capable web browser." - einfo - _check_tarballs_available_once=1 - fi - einfo "Download the following files:" - for dl in ${unavailable}; do - einfo " ${dl}" - done - einfo "at '${uri}'" - einfo "and move them to '${DISTDIR}'" - einfo - einfo "If the above mentioned urls do not point to the correct version anymore," - einfo "please download the files from Oracle's java download archive:" - einfo - einfo " http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jdk-${MY_PV}-oth-JPR" - einfo - fi -} - -pkg_nofetch() { - local distfiles=( $(eval "echo \${$(echo AT_${ARCH/-/_})}") ) - if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}"; then - distfiles+=( $(eval "echo \${$(echo DEMOS_${ARCH/-/_})}") ) - fi - check_tarballs_available "${JDK_URI}" "${distfiles[@]}" - - use jce && check_tarballs_available "${JCE_URI}" "${JCE_FILE}" -} - -src_unpack() { - if use x64-macos ; then - pushd "${T}" > /dev/null - mkdir dmgmount - hdiutil attach "${DISTDIR}"/jdk-${MY_PV}-macosx-x64.dmg \ - -mountpoint "${T}"/dmgmount - local update=$(get_version_component_range 4) - [[ ${#update} == 1 ]] && update="0${update}" - xar -xf dmgmount/JDK\ $(get_version_component_range 2)\ Update\ ${update}.pkg - hdiutil detach "${T}"/dmgmount - zcat jdk1${MY_PV%u*}0${update}.pkg/Payload | cpio -idv - mv Contents/Home "${WORKDIR}"/jdk${MY_PV} - popd > /dev/null - else - default - fi - - # Upstream is changing their versioning scheme every release around 1.8.0.*; - # to stop having to change it over and over again, just wildcard match and - # live a happy life instead of trying to get this new jdk1.8.0_05 to work. - mv "${WORKDIR}"/jdk* "${S}" || die -} - -src_prepare() { - if use jce ; then - mv "${WORKDIR}"/${JCE_DIR} jre/lib/security/ || die - fi - - if [[ -n ${JAVA_PKG_STRICT} ]] ; then - # Mark this binary early to run it now. - pax-mark Cm ./bin/javap - - eqawarn "Ensure that this only calls trackJavaUsage(). If not, see bug #559936." - eqawarn - eqawarn "$(./bin/javap -J-Duser.home=${T} -c sun.misc.PostVMInitHook || die)" - fi - - # Remove the hook that calls Oracle's evil usage tracker. Not just - # because it's evil but because it breaks the sandbox during builds - # and we can't find any other feasible way to disable it or make it - # write somewhere else. See bug #559936 for details. - zip -d jre/lib/rt.jar sun/misc/PostVMInitHook.class || die -} - -src_install() { - local dest="/opt/${P}" - local ddest="${ED}${dest#/}" - - # Create files used as storage for system preferences. - mkdir jre/.systemPrefs || die - touch jre/.systemPrefs/.system.lock || die - touch jre/.systemPrefs/.systemRootModFile || die - - if ! use alsa ; then - rm -vf jre/lib/*/libjsoundalsa.* || die - fi - - if use headless-awt ; then - rm -vf {,jre/}lib/*/lib*{[jx]awt,splashscreen}* \ - {,jre/}bin/{javaws,policytool} \ - bin/appletviewer || die - fi - - if ! use javafx ; then - rm -vf jre/lib/*/lib*{decora,fx,glass,prism}* \ - jre/lib/*/libgstreamer-lite.* {,jre/}lib/{,ext/}*fx* \ - bin/*javafx* bin/javapackager || die - fi - - if ! use nsplugin ; then - rm -vf jre/lib/*/libnpjp2.* || die - else - local nsplugin=$(echo jre/lib/*/libnpjp2.*) - fi - - # Even though plugins linked against multiple ffmpeg versions are - # provided, they generally lag behind what Gentoo has available. - rm -vf jre/lib/*/libavplugin* || die - - dodoc COPYRIGHT - dodir "${dest}" - cp -pPR bin include jre lib man "${ddest}" || die - - if use derby ; then - cp -pPR db "${ddest}" || die - fi - - if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}" ; then - cp -pPR demo sample "${ddest}" || die - fi - - if use jce ; then - dodir "${dest}"/jre/lib/security/strong-jce - mv "${ddest}"/jre/lib/security/US_export_policy.jar \ - "${ddest}"/jre/lib/security/strong-jce || die - mv "${ddest}"/jre/lib/security/local_policy.jar \ - "${ddest}"/jre/lib/security/strong-jce || die - dosym "${dest}"/jre/lib/security/${JCE_DIR}/US_export_policy.jar \ - "${dest}"/jre/lib/security/US_export_policy.jar - dosym "${dest}"/jre/lib/security/${JCE_DIR}/local_policy.jar \ - "${dest}"/jre/lib/security/local_policy.jar - fi - - if use nsplugin ; then - local nsplugin_link=${nsplugin##*/} - nsplugin_link=${nsplugin_link/./-${PN}-${SLOT}.} - dosym "${dest}/${nsplugin}" "/usr/$(get_libdir)/nsbrowser/plugins/${nsplugin_link}" - fi - - if use source ; then - cp -v src.zip "${ddest}" || die - - if use javafx ; then - cp -v javafx-src.zip "${ddest}" || die - fi - fi - - if [[ -d jre/lib/desktop ]] ; then - # Install desktop file for the Java Control Panel. - # Using ${PN}-${SLOT} to prevent file collision with jre and or - # other slots. make_desktop_entry can't be used as ${P} would - # end up in filename. - newicon jre/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \ - sun-jcontrol-${PN}-${SLOT}.png || die - sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT}#" \ - -e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \ - -e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \ - -e "s#Application;##" \ - -e "/Encoding/d" \ - jre/lib/desktop/applications/sun_java.desktop \ - > "${T}"/jcontrol-${PN}-${SLOT}.desktop || die - domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop - fi - - # Prune all fontconfig files so libfontconfig will be used and only install - # a Gentoo specific one if fontconfig is disabled. - # http://docs.oracle.com/javase/8/docs/technotes/guides/intl/fontconfig.html - rm "${ddest}"/jre/lib/fontconfig.* - if ! use fontconfig ; then - cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die - eprefixify "${T}"/fontconfig.properties - insinto "${dest}"/jre/lib/ - doins "${T}"/fontconfig.properties - fi - - # This needs to be done before CDS - #215225 - java-vm_set-pax-markings "${ddest}" - - # see bug #207282 - einfo "Creating the Class Data Sharing archives" - case ${ARCH} in - arm|ia64) - ${ddest}/bin/java -client -Xshare:dump || die - ;; - x86) - ${ddest}/bin/java -client -Xshare:dump || die - # limit heap size for large memory on x86 #467518 - # this is a workaround and shouldn't be needed. - ${ddest}/bin/java -server -Xms64m -Xmx64m -Xshare:dump || die - ;; - *) - ${ddest}/bin/java -server -Xshare:dump || die - ;; - esac - - # Remove empty dirs we might have copied. - find "${D}" -type d -empty -exec rmdir -v {} + || die - - if use x64-macos ; then - # Fix miscellaneous install_name issues. - pushd "${ddest}"/jre/lib > /dev/null || die - local lib needed nlib npath - for lib in decora_sse glass prism_{common,es2,sw} ; do - lib=lib${lib}.dylib - einfo "Fixing self-reference of ${lib}" - install_name_tool \ - -id "${EPREFIX}${dest}/jre/lib/${lib}" \ - "${lib}" - done - popd > /dev/null - - # This is still jdk1{5,6}, even on Java 8, so don't change it - # until you know different. - for nlib in jdk1{5,6} ; do - install_name_tool -change \ - /usr/lib/libgcc_s_ppc64.1.dylib \ - /usr/lib/libSystem.B.dylib \ - "${ddest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib - install_name_tool -id \ - "${EPREFIX}${dest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib \ - "${ddest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib - done - fi - - set_java_env - java-vm_revdep-mask - java-vm_sandbox-predict /dev/random /proc/self/coredump_filter -}