From 28e3d252dc8ac8a5635206dfefe1cfe05058d1db Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 12 Aug 2018 06:32:46 +0100 Subject: gentoo resync : 12.08.2018 --- dev-java/Manifest.gz | Bin 95663 -> 95666 bytes dev-java/hawtjni-runtime/Manifest | 2 + .../hawtjni-runtime/hawtjni-runtime-1.15.ebuild | 29 ++ dev-java/java-sdk-docs/Manifest | 4 +- .../java-sdk-docs/java-sdk-docs-1.8.0.172.ebuild | 44 --- .../java-sdk-docs/java-sdk-docs-1.8.0.181.ebuild | 42 +++ dev-java/maven-hawtjni-plugin/Manifest | 4 +- .../maven-hawtjni-plugin-1.11.ebuild | 29 -- .../maven-hawtjni-plugin-1.15.ebuild | 29 ++ dev-java/oracle-jdk-bin/Manifest | 15 + .../oracle-jdk-bin/oracle-jdk-bin-1.8.0.181.ebuild | 301 +++++++++++++++++++++ dev-java/oracle-jre-bin/Manifest | 3 + .../oracle-jre-bin/oracle-jre-bin-1.8.0.181.ebuild | 220 +++++++++++++++ 13 files changed, 645 insertions(+), 77 deletions(-) create mode 100644 dev-java/hawtjni-runtime/hawtjni-runtime-1.15.ebuild delete mode 100644 dev-java/java-sdk-docs/java-sdk-docs-1.8.0.172.ebuild create mode 100644 dev-java/java-sdk-docs/java-sdk-docs-1.8.0.181.ebuild delete mode 100644 dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.11.ebuild create mode 100644 dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.15.ebuild create mode 100644 dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.181.ebuild create mode 100644 dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.181.ebuild (limited to 'dev-java') diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz index 105de1cfa083..403f1efc99a8 100644 Binary files a/dev-java/Manifest.gz and b/dev-java/Manifest.gz differ diff --git a/dev-java/hawtjni-runtime/Manifest b/dev-java/hawtjni-runtime/Manifest index 11db3db61481..3557cc865e0e 100644 --- a/dev-java/hawtjni-runtime/Manifest +++ b/dev-java/hawtjni-runtime/Manifest @@ -1,3 +1,5 @@ DIST hawtjni-project-1.10.tar.gz 1602839 BLAKE2B 7a6a37c4c208906fc7718bbd1aec566bb2392ef0e0dc082aa552127e97af896ad39b2ecfcd124ac370593daecd69185c184838fafc374173320beee72d87fccb SHA512 3bd94d20bf2d8953c60753aa404077c96c93704c2bd5bebfb5fe790fc29e15d97f6172706f06cea13c4806b652405ccfef824cccf76ff018dafb7262ff845490 +DIST hawtjni-project-1.15.tar.gz 1606236 BLAKE2B 52357dbefde43ec82cf218ada90642d118ebaa6a6be173cc1f4f48377fda95b902f0a90dfb60822c02c144b9bf13d0800c94d67cc2f9c76e607bbbb80a80898e SHA512 1a93658bf8621c770cf97b546c6a5c0cf1821b06cb16dbc872ad0c830c599d3947ffe56b4cca16217a510d4e929ebcfc5eabdf4ad4364f5225b53d22c7d48abb EBUILD hawtjni-runtime-1.10.ebuild 698 BLAKE2B 8ebf66fa7c7e975e26cec25542089c005d14ffa03e3d326f9553516caead7d19ca21cab44a46067bf93ac7657c0d0850010c52c97ec30df92bcccc20d117d58f SHA512 c4a8179ea9c77c836118cd1f9d7340b689e840baf497dd23238ba4eb6baa2aa31f0ace2a08bfd9c05f8add8c2803c1c5a7622e0a9b86fee04eeab386376d3141 +EBUILD hawtjni-runtime-1.15.ebuild 701 BLAKE2B cf2361db4ba30ae57efc396da8ed1042c4abbf35c611405630a81bfeca727bedae7444a8f7799cc932f324d16e6c57d19bb979205c9939d2237b5538fd578c74 SHA512 ef483c73c080d5304a8debdedc1ccf07d541811eb5ec22af81cf6a1c6843591e0d4566208be9f974791e6c1e2f50979138e58295710bae1802da8169302785ce MISC metadata.xml 329 BLAKE2B e78188cf60c43c68f0a74c8199be1b9fbca9d8db73a56ec2d7d4e820c4c483e4fe5eb6afe107524ae85960393f9ad5b07227f037ecba8b7562f92fa79af929f2 SHA512 20b714d09dfdd7430599b1d57d3a3831e86a22bbc3fb3b004dea2d0d9c6a230dcb74cbeeeb7301cf48493f0eb55ad736ab10cd247d329da4e4d02fa149566927 diff --git a/dev-java/hawtjni-runtime/hawtjni-runtime-1.15.ebuild b/dev-java/hawtjni-runtime/hawtjni-runtime-1.15.ebuild new file mode 100644 index 000000000000..bcbf6c1590cc --- /dev/null +++ b/dev-java/hawtjni-runtime/hawtjni-runtime-1.15.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +MY_P="hawtjni-project-${PV}" + +DESCRIPTION="A JNI code generator based on the generator used by the Eclipse SWT project" +HOMEPAGE="https://github.com/fusesource/hawtjni" +SRC_URI="https://github.com/fusesource/hawtjni/archive/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +DEPEND=">=virtual/jdk-1.8" +RDEPEND=">=virtual/jre-1.8" + +S="${WORKDIR}/hawtjni-${MY_P}/${PN}/src" +JAVA_SRC_DIR="main/java" + +src_install() { + java-pkg-simple_src_install + dodoc ../../{changelog,notice,readme}.md +} diff --git a/dev-java/java-sdk-docs/Manifest b/dev-java/java-sdk-docs/Manifest index dacf3761e713..83f7ee4f065c 100644 --- a/dev-java/java-sdk-docs/Manifest +++ b/dev-java/java-sdk-docs/Manifest @@ -1,7 +1,7 @@ DIST jdk-10.0.2_doc-all.zip 69312792 BLAKE2B ad2cad74e78098672ecc7d4f80f0babbded5ac564948c51ec5eb50b4e4e2688bec5bb6804d6829ea6137354ef8b1554b0ef6f8d0e62fe40b2e0bd80836691b6f SHA512 424ca11b661eaf4012d31cbe200ce5209098dd8fb21648eae5838ba2dd55d96aec5a263664d0b4ab21bc5f8cfe13cfbc61294cf92353dcbf8d8134613b25f67a -DIST jdk-8u172-docs-all.zip 93491812 BLAKE2B 7d670aa054a73c9711b78b6094a8e4f8c8b8b774543a9b067acce7cb2e572d6536ad0c525d1ac112f2585a648b3209ac63df0d3ac85bf8c23ec91937b70add01 SHA512 6b1157822fd7d25bd4bb56394e8243e3e315ce772a908bb05fe260b5f1d6506f336b8afca6febef7caafcbf9463b4713fb27b657726ee4b6578d2e6732b9a2fe +DIST jdk-8u181-docs-all.zip 93487519 BLAKE2B 4ae2901174d072f2bf44800c3b12f6700f70bfcd89adc709678a0e8f48da94fea352bc2571d9dc611d85a5a3a21b8c33b5bc5f8c7b9d86a1e5e456164491279d SHA512 157d33432829a86326d7a24643dd8a61a11d72e98647c5ed44145fbb81fadcb1a51fca86fab82fa671193468b9631e5c8ea92d265bc0bf5969584dac40d4a1ec DIST jdk-9.0.4_doc-all.zip 70500089 BLAKE2B 549da2c6baf1b39082f05d42d0fd02f7682a765c1d43a605063b155b3b3e2e20053b4044a238afb41c758700efa5de9ec53c29e2e8be1d682c2e9e7b221c0875 SHA512 7d8b40499a0ea91ac922c6916b19a061b39e73e54e123a943fcaa75fcfe66672ad445dbd789c2c9448c8cee0e7f72974ca6ad53bcaa5667547feca5791dab92b -EBUILD java-sdk-docs-1.8.0.172.ebuild 1444 BLAKE2B ac3a3567183b958e4c4d56ba8ea0e61ca844ffecd76d19f536f3fb1598f987173fe3075ad2b015f2763406f59700cdf5b82b2e33ded6d49f917084b83d591592 SHA512 208368ba6143f60dbcce2d7e0098be90294470d5c539a69c3003ca9e514e35755ec6c3f50b4dec590fe11eb77ca3b7e2f082530e32b11c3146eb0a2a11e4cbe9 +EBUILD java-sdk-docs-1.8.0.181.ebuild 1363 BLAKE2B 4e1af9bde37896fbaee9df13c26b2b2b3f6a991a456e9cb2ea6fdb15c4eb7ba5ded0e173a2281f2de58b7300d716d4296bbce5fb3661169b5463a77e1e5d4e2f SHA512 2fb385c575a900d27ea2cfedc2eaa29222346a34b21b9b18384261fb086e45235dc2bb07d4351644f72db6130633512384c9d65a5ab8164f36dfc169d66ac4e2 EBUILD java-sdk-docs-10.0.2.ebuild 1278 BLAKE2B 9e65d585197edbc771d06524cc1b10a1206397d413f51af1e903212e155ad7e486390e28399e3d7c310157a98a5dab7ef737a02856035c42cbdc56f4e69c79e0 SHA512 c1883973538623b240c0104df6c4610e9af82113872274326fbfb3bd17336454e5c5a660e70c6b089d71fd1b952eac9499b9f4dd64e21918ad28dc7a1cb17728 EBUILD java-sdk-docs-9.0.4.ebuild 1277 BLAKE2B 0e2610b8541e0470b9ca4d093ffdf46dd244694b13f23aa5ad7e139a9b5085795efba9553bf1cbfe68b64ff1bed3b8eec51b27c1f106da69b964aaa17fb8d84e SHA512 7772dd3232e6ed790570c82cf23a67006944cdd7676d4e4d6ce69e19ee9f8f3c4cf4fc18cff85bb68c0f50173bc92bb5442ac0050b73aebe662b819e7866d532 MISC metadata.xml 232 BLAKE2B 513679b02247d8e4cb4c874abd785119d9ca62ad24c44969d52a42c3765d0ebf689024512a2c4c48e69688a4ce02a74ae05708b050a720bc73d8d2bf2ceff58d SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 diff --git a/dev-java/java-sdk-docs/java-sdk-docs-1.8.0.172.ebuild b/dev-java/java-sdk-docs/java-sdk-docs-1.8.0.172.ebuild deleted file mode 100644 index 1791bdf62037..000000000000 --- a/dev-java/java-sdk-docs/java-sdk-docs-1.8.0.172.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit versionator - -DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/jdk8-doc-downloads-2133158.html" - -[[ "$(get_version_component_range 4)" == 0 ]] \ - || MY_PV_EXT="u$(get_version_component_range 4)" - -MY_PV="$(get_version_component_range 2)${MY_PV_EXT}" - -DESCRIPTION="Oracle's documentation bundle (including API) for Java SE" -HOMEPAGE="http://download.oracle.com/javase/8/docs/" -SRC_URI="jdk-${MY_PV}-docs-all.zip" -LICENSE="oracle-java-documentation-8" -SLOT="1.8" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" -RESTRICT="fetch" - -DEPEND="app-arch/unzip" - -S="${WORKDIR}/docs" - -pkg_nofetch() { - einfo "Please download ${SRC_URI} from" - einfo "${DOWNLOAD_URL}" - einfo "by agreeing to the license and place it in your distfiles directory." - einfo "" - einfo "If you find the file on the download page replaced with a higher" - einfo "version, please report it in bug #67266 (link below)." - einfo "" - einfo "If emerge fails because of a checksum error, it is possible that" - einfo "the upstream release changed without renaming. Try downloading the file" - einfo "again (or a newer revision if available). Otherwise report this to" - einfo "https://bugs.gentoo.org/67266 and we will make a new revision." -} - -src_install() { - insinto /usr/share/doc/${PN}-${SLOT}/html - doins -r index.html */ -} diff --git a/dev-java/java-sdk-docs/java-sdk-docs-1.8.0.181.ebuild b/dev-java/java-sdk-docs/java-sdk-docs-1.8.0.181.ebuild new file mode 100644 index 000000000000..82f3255d8409 --- /dev/null +++ b/dev-java/java-sdk-docs/java-sdk-docs-1.8.0.181.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/jdk8-doc-downloads-2133158.html" + +[[ "$(ver_cut 4)" == 0 ]] \ + || MY_PV_EXT="u$(ver_cut 4)" + +MY_PV="$(ver_cut 2)${MY_PV_EXT}" + +DESCRIPTION="Oracle's documentation bundle (including API) for Java SE" +HOMEPAGE="http://download.oracle.com/javase/8/docs/" +SRC_URI="jdk-${MY_PV}-docs-all.zip" +LICENSE="oracle-java-documentation-8" +SLOT="1.8" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" +RESTRICT="fetch" + +DEPEND="app-arch/unzip" + +S="${WORKDIR}/docs" + +pkg_nofetch() { + einfo "Please download ${SRC_URI} from" + einfo "${DOWNLOAD_URL}" + einfo "by agreeing to the license and place it in your distfiles directory." + einfo "" + einfo "If you find the file on the download page replaced with a higher" + einfo "version, please report it in bug #67266 (link below)." + einfo "" + einfo "If emerge fails because of a checksum error, it is possible that" + einfo "the upstream release changed without renaming. Try downloading the file" + einfo "again (or a newer revision if available). Otherwise report this to" + einfo "https://bugs.gentoo.org/67266 and we will make a new revision." +} + +src_install() { + insinto /usr/share/doc/${PN}-${SLOT}/html + doins -r index.html */ +} diff --git a/dev-java/maven-hawtjni-plugin/Manifest b/dev-java/maven-hawtjni-plugin/Manifest index ae5f46e7a005..ff71c28d583d 100644 --- a/dev-java/maven-hawtjni-plugin/Manifest +++ b/dev-java/maven-hawtjni-plugin/Manifest @@ -1,3 +1,3 @@ -DIST hawtjni-project-1.11.tar.gz 1603735 BLAKE2B 1ef2986ce40e6cadf7256699e1b1527a39e85672f02602855804e1bbf9b7d915bd683abef5f30b99ed7edc56eef4cafaa6e75698fa45b0b64491ef8309d51387 SHA512 0fafe29dd058eee07e9c26179b7605cc092254199ccb913064002c882e7ab55ecc4045dd2baab99bbc46d6bf28a9f4f2108c210616e3a9c4a92582c65e6de4e4 -EBUILD maven-hawtjni-plugin-1.11.ebuild 672 BLAKE2B 5d2e7c6db61b8a414d1bda5c0c718f4de949640dd5bf947d4874fac764c45b3b9bee269fd878bfcd3f3a16a26163994e9c0681fd745356cf7fa68def99043ab1 SHA512 6eef7c1cefa80c1eb7411c8c0d799e5d9562598bf3f84f32d4cdba102df0a016581dc76f863181784fd49b75bc6ad0f4d4712273c5145b60c7b73941165e7c7b +DIST hawtjni-project-1.15.tar.gz 1606236 BLAKE2B 52357dbefde43ec82cf218ada90642d118ebaa6a6be173cc1f4f48377fda95b902f0a90dfb60822c02c144b9bf13d0800c94d67cc2f9c76e607bbbb80a80898e SHA512 1a93658bf8621c770cf97b546c6a5c0cf1821b06cb16dbc872ad0c830c599d3947ffe56b4cca16217a510d4e929ebcfc5eabdf4ad4364f5225b53d22c7d48abb +EBUILD maven-hawtjni-plugin-1.15.ebuild 672 BLAKE2B b5fbdc5de6030a166226ac53142a97e550c9fd8f04a58aa93d1c8955db62aa332530d2d56727641d0c2cd272760ada4dd3e0ee8c5d7077ae6029219b5fc8f4f4 SHA512 602719139510376d7669ae2f3eb1685922cd8e3444d57133f4c61bcc99cdecdcefed68aa0bfa4cbee1d0dd60072016368ded1784602c7d43de3fd8d892b0a080 MISC metadata.xml 319 BLAKE2B a8ff6beec59dcc3e34b41cc80d269095ece235e2254d412e2c7b2493f9d2804d273b52f9c550ad7ab9e37f512edb293db91d5ecfc2520c1637f9f610eddf80a0 SHA512 898070ae9d50aff49b3a7273149ee1cf57fb770acb71dbe57c40bc53a10ff5b07d1a461c7a88d361ddcbf15863c228db494092119d84c1b8b0439b9e5dfb2e74 diff --git a/dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.11.ebuild b/dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.11.ebuild deleted file mode 100644 index 29f28f1b6d3a..000000000000 --- a/dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.11.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit java-pkg-2 - -MY_P="hawtjni-project-${PV}" - -DESCRIPTION="Maven plugin for the HawtJNI code generator (resources only)" -HOMEPAGE="https://github.com/fusesource/hawtjni" -SRC_URI="https://github.com/fusesource/hawtjni/archive/${MY_P}.tar.gz" -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=">=virtual/jdk-1.7" -RDEPEND=">=virtual/jre-1.7" - -S="${WORKDIR}/hawtjni-${MY_P}/${PN}" - -src_compile() { - touch ${PN}.jar || die # jar won't create on update. - java-pkg_addres ${PN}.jar src/main/resources -} - -src_install() { - java-pkg_dojar ${PN}.jar -} diff --git a/dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.15.ebuild b/dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.15.ebuild new file mode 100644 index 000000000000..4a5d1926aec1 --- /dev/null +++ b/dev-java/maven-hawtjni-plugin/maven-hawtjni-plugin-1.15.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit java-pkg-2 + +MY_P="hawtjni-project-${PV}" + +DESCRIPTION="Maven plugin for the HawtJNI code generator (resources only)" +HOMEPAGE="https://github.com/fusesource/hawtjni" +SRC_URI="https://github.com/fusesource/hawtjni/archive/${MY_P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=">=virtual/jdk-1.8" +RDEPEND=">=virtual/jre-1.8" + +S="${WORKDIR}/hawtjni-${MY_P}/${PN}" + +src_compile() { + touch ${PN}.jar || die # jar won't create on update. + java-pkg_addres ${PN}.jar src/main/resources +} + +src_install() { + java-pkg_dojar ${PN}.jar +} diff --git a/dev-java/oracle-jdk-bin/Manifest b/dev-java/oracle-jdk-bin/Manifest index ca27f0ffe5c5..291a4f3fc7e3 100644 --- a/dev-java/oracle-jdk-bin/Manifest +++ b/dev-java/oracle-jdk-bin/Manifest @@ -15,9 +15,24 @@ DIST jdk-8u172-solaris-sparcv9-demos.tar.gz 9794438 BLAKE2B 9498f2cf09619a125280 DIST jdk-8u172-solaris-sparcv9.tar.gz 104179591 BLAKE2B 0d17d4085ba19e5accab1495804799460ef5c327dad603fd8ec00e88558422aa0abbc0b98dc9bd78896eb06745d934c9c784e9697980f8f2fe3533e57d55f0da SHA512 373386058b25abd9f0c6ec3b0de528449e11281e36cdd94f66d7b976d78ccaeb6cf953d41c57552b74f46a21c8ca46489978d82a72748b32d1bc0ad65f2642f9 DIST jdk-8u172-solaris-x64-demos.tar.gz 9760535 BLAKE2B 7c607f6e716f57adf6b51fc6c8061edbe56c8eef732725bd2175209659e2260084d06355a568fdf1ec57ee5b256bb3204e24d5017a9ed2d9d388bb7b5763af1b SHA512 2bfbf248b6b0948ccb17ee7323168ca8760a29dd5980f917cd5414be7ee4b8aa93158a003ba450592be73fa9ebec29a45d85301bf4ed848468adb13ad53b4b08 DIST jdk-8u172-solaris-x64.tar.gz 101774902 BLAKE2B eacd050346e9ed3d939cb8ff79cb1c024e6c0adb6f6677fa348461b5661ea90b8d006d799d63fbfaebc6fd71e25ccd06751fb8dc252f06ec56acfee6f7a1cc21 SHA512 7de041389aac89060091b08aac55d713fb99a7805fce94605e9798bbcc228dbc65db265d9dcbac87953d7c82b9773debb26bbe83301cd8a344233cb7045964e4 +DIST jdk-8u181-linux-arm32-vfp-hflt-demos.tar.gz 9508321 BLAKE2B cd9b5990ab3faf6b2e1bcee6e141062b1996ec56b468370263fd60d908e0fa944eb3565c375dc2d543b63ed4e5552e226461d2834a2eaf26ad0af15d7acf5312 SHA512 6f7a563a7816019db2120f1e1cadfbd7d6098fa3556470ad2c38b04abf1d86a07f893bf369437ec65c031871c071bf678b51eac012537be26bf8437f7458a8a2 +DIST jdk-8u181-linux-arm32-vfp-hflt.tar.gz 76488796 BLAKE2B 444c0c510bcb88a135f3c271e5b224dd1c5d37c42d59afafaef7065090f243649dfb271ce43f0eafd8127f64bda8af7862b821ab6c5cdea1fbf6bef8aa376b53 SHA512 14befd089eeea35cefff6209a57022621431320cf2c4556208cec372a06ca51a6444c42f1fca2322ae8fa5d59cb955778ed20f96f4ba540f9052d1fb84259632 +DIST jdk-8u181-linux-arm64-vfp-hflt-demos.tar.gz 9490529 BLAKE2B 0b4c8385c6cfd0c1e86bafed9195ef76cfcba7368b9f719fcd72e7ed2789b7d9f519d60a6d62cfa3992bed4ffd61f424a6691f3828134f28aca1b22533365a9f SHA512 c4647f4f1ad5147fca48f9a37689517a772894d0bc30279208ae93bd11431196272cad3aff36b15116ce174bd8fa16a88ed5f4b0e264ef48a163f7a2b781c517 +DIST jdk-8u181-linux-arm64-vfp-hflt.tar.gz 73282257 BLAKE2B 8527cec96f7034d603fcc48493811f910630deeac9729a7fcdeeaa2421fe44a793a84bcf3d0fc247eefbe8741fb22b85803b62df6befd064a852da0572a671bf SHA512 91d0abc3832cc9f0ce62af6e7a4cb932647df5d647acbc63b1e4f2b6dddce6633a4b155b73de12adc01e34b1c939dbee1c820a9d52897c325d85f98d913a5193 +DIST jdk-8u181-linux-i586-demos.tar.gz 58239283 BLAKE2B ad52a844559ff9d316ae6098d01b61c7296b9d9d76b36dc6fc7976d8a3376c4f9e796a1ec86e6a2a2c6ca841c18fab9fae7dd2171ee0065337363f7a2d592f35 SHA512 df5dc6bfc5aa9d8c717ca8924bc506488a4fdc7462f0454c716c99db26af1efad543a26314f814cbaf22153a10dcba8e900b37cd6de33ae5198b1350c17ad7e9 +DIST jdk-8u181-linux-i586.tar.gz 188607817 BLAKE2B bd9d1bd5ea3811f591d24f607264068e26d525b1b49a71801e2b8b7fe2e7b92ef901e6c0ba080535d10b206e50500b8d00f806978bcb2ad65ae938e467d20ba4 SHA512 5ffb696e915aa7e15e28f18ed84cc4fb76b421c6fc8638ff1f0683f6bb3d70cbfeecdc23260695ab09d01dc0865a7922104728def0b1bc1a35822c1dc9deb5a7 +DIST jdk-8u181-linux-x64-demos.tar.gz 58308123 BLAKE2B de58df7b19719c7e5ba7044475c39029b0f6c366da80bff19384c0c28212ae4f1886ef024f0f525cb84e913666396c13157120cd6403f86e72e705ff7c0e32cd SHA512 4bcff70450cc919b87be480a653c005c4d8117fd4820387b14099ebcc4347b3b882d004d67aa966ef077a7e6096a5399683753ce4cc2b541b8c65b75b6ecfd79 +DIST jdk-8u181-linux-x64.tar.gz 185646832 BLAKE2B 4e0f1be8eeb6e728d3a75453476cbcbf4ed0d099f055af9815a4663e4bbdb284dfe20208ff38ec5ab0efb4e5eb99d5b4769ba575c0b1bf60dbba37dd8a91041f SHA512 b1944c010356a0642ac1a6b8c041d6125dff71479d9a4707a09519b50341ad7b7b531dc35e454383e9fc0dc0055648da317377ad7645e623dacb56e40b6b1e8e +DIST jdk-8u181-macosx-x64.dmg 254624361 BLAKE2B b5ca7e7d7bda5b018fe03c8ab39c41fa04f903cd18b83a318eed8f3d7e163de2ad5a96e2cbf15a1e2d682fd814fb35db36567ae213303d201b5375c2921b4521 SHA512 94a103de9642241859857aee6689c203ae74e491c280251a8e7ed6f34ab6ffed19c815607a81f0584c81cda5444318b3d127bdb24e3451fcc43e24ddfd33074f +DIST jdk-8u181-macosx-x86_64-demos.zip 58763272 BLAKE2B f73fc58b1d4d1a5fdd48370e8cbb9909f49fe988f5770ef678de056496b321890411ae83618771901df4e6ae56b798eec45f8d266a93a010e58900daa2961f1f SHA512 713772b0cb74b95937ab47922a69c0ae4f598816587eaa9a8375ea43063bd9ee711c48fb41e0cc8ccf434c0c7586625f0f51798c0b263ff935d37910e4e8da6e +DIST jdk-8u181-solaris-sparcv9-demos.tar.gz 8869506 BLAKE2B 518519ee84e7b4b0306233c0a186436554d3bbeeb24250576e4c8e2ea6e714785e1a08d151077065d48563eec3fc5d3f519c7b5e8c112bfe80623f6f2e7a5245 SHA512 80ed05e9453456bcdecf4308599748f1b99e33aa1927cf75bf4933e2e2c02c0216684446c9051bd7f6e8ba73b152d7baf110a5cef59244af1b65bcd7c7eea3ef +DIST jdk-8u181-solaris-sparcv9.tar.gz 98921065 BLAKE2B ad02fc872bb23c36990c3c4915a7f11beb490559382463852a6db9bbf046f5fa3f4003951c85d8e4b2bc870fa135967b083b125f9a11e3de996b4444e49fbaf5 SHA512 3acc108955b8669cfb83f26512d750ea977fb84cde0f515d791df76a2ea67a0951d0ebb120e00184d542e24678afcac35671d35573b7bb961759d8bf95b1ae91 +DIST jdk-8u181-solaris-x64-demos.tar.gz 8835006 BLAKE2B 32269b2bb6e8b2a6552ce53f666aec820838189c35e0f44491e944150422453a4a4bbaea3824053483a1a116f08365a2a13162fba11f5f632cdb3790d3146943 SHA512 ef27f42a0d9fa0bb8ee289a882e08c9ce1311cc2424439e7d342ef63885cc68cf5464fa7cebc715ad1efffaafeffd55720a121a1cf093fb2fd10bbe6f4a3d7fb +DIST jdk-8u181-solaris-x64.tar.gz 96580362 BLAKE2B 03007adadcf89d8c0984fab34d6d5b01f0136eaea9a02da7f1afdb1fb4b1544fb04ad2943dcb0dd6da51375f1de3ee3e72e5170697a31b871a8da0d124d1070a SHA512 ecbd9c3fb5d757504186dcad0a9606f2aec6549f2fb3424527dd621618b9726152a7c3168c32eec8f28731e547feab96fa190fc4eacc713f608fe851658d10e0 DIST jdk-9.0.4_linux-x64_bin.tar.gz 354635831 BLAKE2B 6d102ca812c7fcf03b611d95880af51916dde52f09f3a5b972abd6575c73e8cca1855fb50ac00aac3f4643a1e422b5fdb97a746608b5a4235d8664926a061730 SHA512 787addfcf3d4736507ad8fa54b22894a33d39bde01d9d187d5c9f3433b43c9e8b14404a8366d0bc8510faa8936274bbfa304109d3927aa323b3f8a285efaffd6 DIST jdk-9.0.4_osx-x64_bin.dmg 400672048 BLAKE2B 0bcc3643ccbc72cd98aca71823e06fd60068a7e1d72c7ce59f8e4c26bb9461a207f57ef239b244ec05c8f843666f2854b07a5f05841819cfe79ed8fefafb3650 SHA512 34191b5802c2d369f890cb1b563f77ee040b9af6ee4fc8ae81974f46afea675401e2a02803fc4345e11bab1103397dd8b583d68bb81edcdd02902cb3e595cc52 DIST jdk-9.0.4_solaris-sparcv9_bin.tar.gz 217025485 BLAKE2B 6b3d4f4701ff3349f8acce727fcfcb06ce420e54dd32d2e6b91b71aa898a8d6a293375ec2cb0c66f14a5df77a6f5b7016160572b995ad84a593e9d5c6c928184 SHA512 9418a725a33dfbedf7f692abfb92550f23fca594fa8c1b85934d601284261339f177a32af7440e0b09233b2e99b2fd7cef835c54252cec6a645ea322a389de14 EBUILD oracle-jdk-bin-1.8.0.172.ebuild 8565 BLAKE2B 86b1dd234586f25ade3b9d045774405ab54d9f04951748c4e4020620cbc8d5fec8c35e8292bbcd45245a51ae60a56a4eccc3c90c8c69252df38d5c765df97b80 SHA512 97e116fb81d8ca8efd783c6ff20b223b3770af17b43ae9009d846a4133e2285fb526567571aa705dfad55a7adc7d08afc040d9b4805e198590d3c6013fc80d3a +EBUILD oracle-jdk-bin-1.8.0.181.ebuild 8567 BLAKE2B b5834ddbdd76f913c1bc9ff010629e554e50ea809154ead4bde05cf10ee8cabac2db1b092629436983184ebc788f56f343167cbe715d353c1a6bed4a4ed0bc12 SHA512 ef491d3422cf4b5cc3ebbaa629bca2f3095942c214f019e7b8b2e83f80fb947de3e9a166fe4c784e09184f46a3358beddf44f4b8488271783fdd8d188a85d199 EBUILD oracle-jdk-bin-9.0.4-r2.ebuild 6803 BLAKE2B 8318572886e47fee4b4c94bf795a26203da64746c9a8f5c55f7c6a46305ac8b31792c784bb9d7e17160de8133a60b8a85e4ef5f5c9be89fa050d74e357df5fc8 SHA512 bbe8631108b393c382777df2651c0212efb8a1c532745ae584625a6bc6c918408bafa7bb27de2ec67982c8c33cb20d078de99b79752afed44bfab857afec1556 MISC metadata.xml 1200 BLAKE2B 3ed6f9dd71a1c26a5292a56f89f8ce8ed72475b0c5139cb03afb47559ae464e0ed64ae4ed5a023bc2a2d316c77805a8820762a4dbfa091f612fd2729fe2f17f5 SHA512 1c104de4d08e61cb3cb14755536e7ed74df233325a673fcd83ca930335d35e77408653a4e2f962de792e186dd7ad9457e3898be159af61842610801ea00b9d9f diff --git a/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.181.ebuild b/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.181.ebuild new file mode 100644 index 000000000000..a188a558727e --- /dev/null +++ b/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.181.ebuild @@ -0,0 +1,301 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit desktop gnome2-utils java-vm-2 prefix versionator + +KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc64-solaris ~x64-solaris" + +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}" + +declare -A ARCH_FILES +ARCH_FILES[amd64]="jdk-${MY_PV}-linux-x64.tar.gz" +ARCH_FILES[arm]="jdk-${MY_PV}-linux-arm32-vfp-hflt.tar.gz" +ARCH_FILES[arm64]="jdk-${MY_PV}-linux-arm64-vfp-hflt.tar.gz" +ARCH_FILES[x86]="jdk-${MY_PV}-linux-i586.tar.gz" +ARCH_FILES[x64-macos]="jdk-${MY_PV}-macosx-x64.dmg" +ARCH_FILES[sparc64-solaris]="jdk-${MY_PV}-solaris-sparcv9.tar.gz" +ARCH_FILES[x64-solaris]="jdk-${MY_PV}-solaris-x64.tar.gz" + +for keyword in ${KEYWORDS//-\*} ; do + case "${keyword#\~}" in + *-linux) continue ;; + x64-macos) demo="jdk-${MY_PV}-macosx-x86_64-demos.zip" ;; + *) demo=${ARCH_FILES[${keyword#\~}]/./-demos.} ;; + esac + + SRC_URI+=" + ${keyword#\~}? ( + ${ARCH_FILES[${keyword#\~}]} + examples? ( ${demo} ) + )" +done + +DESCRIPTION="Oracle's Java SE Development Kit" +HOMEPAGE="http://www.oracle.com/technetwork/java/javase/" +LICENSE="Oracle-BCLA-JavaSE examples? ( BSD )" +SLOT="1.8" +IUSE="alsa commercial cups derby doc examples +fontconfig headless-awt javafx jce nsplugin selinux source visualvm" +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 )" + +DEPEND="app-arch/zip + examples? ( x64-macos? ( app-arch/unzip ) )" + +S="${WORKDIR}/jdk$(replace_version_separator 3 _ ${S_PV})" + +pkg_nofetch() { + local a + einfo "Please download these files and move them to your distfiles directory:" + einfo + for a in ${A} ; do + [[ ! -f ${DISTDIR}/${a} ]] && einfo " ${a}" + done + einfo + einfo " http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html" + einfo + einfo "If the above mentioned URL does not point to the correct version anymore," + einfo "please download the file from Oracle's Java download archive:" + einfo + einfo " http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html" + einfo +} + +src_unpack() { + if use x64-macos ; then + mkdir -p "${T}"/dmgmount || die + hdiutil attach "${DISTDIR}"/jdk-${MY_PV}-macosx-x64.dmg \ + -mountpoint "${T}"/dmgmount || die + local jdkgen=$(get_version_component_range 2) + local uver=$(get_version_component_range 4) + ( cd "${T}" && + xar -xf "${T}/dmgmount/JDK ${jdkgen} Update ${uver}.pkg" \ + jdk${PV//.}.pkg/Payload ) || die + zcat "${T}"/jdk${PV//.}.pkg/Payload | cpio -idv || die + hdiutil detach "${T}"/dmgmount || die + mv Contents/Home "${S}" || die + fi + + default +} + +src_prepare() { + default + + if [[ -n ${JAVA_PKG_STRICT} ]] ; then + # Mark this binary early to run it now. + pax-mark m ./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 commercial ; then + rm -vfr lib/missioncontrol jre/lib/jfr* || 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.*) + local nsplugin_link=${nsplugin##*/} + nsplugin_link=${nsplugin_link/./-${PN}-${SLOT}.} + dosym "${dest}/${nsplugin}" "/usr/$(get_libdir)/nsbrowser/plugins/${nsplugin_link}" + 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 + + # Prune all fontconfig files so that libfontconfig will be used. + rm -v jre/lib/fontconfig.* || die + + # Packaged as dev-util/visualvm but some users prefer this version. + use visualvm || find -name "*visualvm*" -exec rm -vfr {} + || die + + # Install desktop file for the Java Control Panel. Using + # ${PN}-${SLOT} to prevent file collision with JRE and other slots. + if [[ -d jre/lib/desktop/icons ]] ; then + local icon + pushd jre/lib/desktop/icons >/dev/null || die + for icon in */*/apps/sun-jcontrol.png ; do + insinto /usr/share/icons/"${icon%/*}" + newins "${icon}" sun-jcontrol-${PN}-${SLOT}.png + done + popd >/dev/null || die + make_desktop_entry \ + "${dest}"/bin/jcontrol \ + "Java Control Panel for Oracle JDK ${SLOT}" \ + sun-jcontrol-${PN}-${SLOT} \ + "Settings;Java;" + fi + + 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 && [[ ${A} = *-demos.* ]] ; then + cp -pPR demo sample "${ddest}" || die + fi + + ln -s policy/$(usex jce unlimited limited)/{US_export,local}_policy.jar \ + "${ddest}"/jre/lib/security/ || die + + if use source ; then + cp -v src.zip "${ddest}" || die + + if use javafx ; then + cp -v javafx-src.zip "${ddest}" || die + fi + fi + + # Only install Gentoo-specific fontconfig if flag is disabled. + # https://docs.oracle.com/javase/8/docs/technotes/guides/intl/fontconfig.html + if ! use fontconfig ; then + insinto "${dest}"/jre/lib/ + doins "$(prefixify_ro "${FILESDIR}"/fontconfig.properties)" + fi + + # Needs to be done before CDS, bug #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 + local lib + for lib in lib{decora_sse,glass,prism_{common,es2,sw}}.dylib ; do + ebegin "Fixing self-reference of ${lib}" + install_name_tool \ + -id "${EPREFIX}${dest}"/jre/lib/${lib} \ + "${ddest}"/jre/lib/${lib} || die + eend $? + done + fi + + java-vm_install-env "${FILESDIR}"/${PN}.env.sh + java-vm_revdep-mask + java-vm_sandbox-predict /dev/random /proc/self/coredump_filter +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + java-vm-2_pkg_postinst + + if ! use headless-awt && ! use javafx ; then + ewarn "You have disabled the javafx flag. Some modern desktop Java applications" + ewarn "require this and they may fail with a confusing error message." + fi +} + +pkg_postrm() { + gnome2_icon_cache_update + java-vm-2_pkg_postrm +} diff --git a/dev-java/oracle-jre-bin/Manifest b/dev-java/oracle-jre-bin/Manifest index 80a32fe808d5..606ad390eb19 100644 --- a/dev-java/oracle-jre-bin/Manifest +++ b/dev-java/oracle-jre-bin/Manifest @@ -3,9 +3,12 @@ AUX oracle-jre-bin-9.env.sh 493 BLAKE2B 938985505c591afe17468af2314fd3e15c79205d AUX oracle-jre-bin.env.sh 749 BLAKE2B b8c1f54712f4d41fd78bae4e7ad9e351516487b3c4573593674c1f340c4f9bafe9a283c35f8c3f136e1f93a6b0c8f6cf85837b4532db62059c7e66f05d7e0610 SHA512 273fafcafabd64946932eb42552476aeea2a9fc1c803cbcaa4f86b4fc8c80d109abdad068bf2063d7ea7e7c2d2794d7dc96dca6aae5ef8787b98ad57f467fa69 DIST jre-8u172-linux-i586.tar.gz 84306480 BLAKE2B c5763bf5631a5ac246e5bbb6eaec98bac59ece15a9779c2861b474584bc86caafa333575d03fe875c3fcd3c47cbb506b905c274bf2b621f810846411b7619d5d SHA512 a4773fe39b69f22e6a646cd6b8ebdf189252e5b686f4000e43fc418ef133ac1b3e24374693c41eed5b3063849f33bbbf70a3ffe04c52ef9b1b8ac1b8d1d0dd22 DIST jre-8u172-linux-x64.tar.gz 81182269 BLAKE2B f9c7afc534cc9e8c60458a58a768692ee95cb9401c238974daeb4ada5aa26b45f7a0de2b1785de77fb85ceaefc717b49cf08238f31032437bb620343cd468c30 SHA512 e113138946eb95fb2c9ea8bdc5ca4b8d0c3e9ae35baaf12a04c0f5a0c9af390f181d2e39fa1c71eb8c91d734a944c9239fdc10dcfc9b8a19829dad24dd35447f +DIST jre-8u181-linux-i586.tar.gz 84309787 BLAKE2B 3aa9f47698a35ca91bbc61d2f3ec43f5ee626b74fb913eb11be8e1478d8aad780b5ea672de4dcb6bd6c598058786d26d491d01a45d5f3cb5044d1f48db26c7d6 SHA512 86e4532248e383f6bca875bf039f4f852b79260b4d5affbbd5deb9cf2ea3e585ced9f1fe054526529dcc3dfbe031a829df078a7591dbc3cf3da7913703de7231 +DIST jre-8u181-linux-x64.tar.gz 81191893 BLAKE2B c29d638b7dae9cc58d9de6e43f1af397cab04786045e4956d05cd8c3825af1f27e8a77b42a9d4b9d8ab7d15aa5b94349fd8c98ca37fadb271dc0bd868d513491 SHA512 dea7bc79210d23ddc58a7013bea8386169b9ab6c156995a2190dac298919c933641639173cf3426730b248004767449c5a62057d6736f897831d8c86b36c5bed DIST jre-9.0.4_linux-x64_bin.tar.gz 87045353 BLAKE2B ccf3c0d725ca1431261a0b38cc06851fc10651415982fa2d97f512972c088c2c158ee51710b59e04f89326dd4cbb4c1ef8ecf514af190fbdc2be07cd222fd5d8 SHA512 20310fe68c89d26a89523eb1fe583eb5706fe2458342f5be0dfb4badd1d9df6ba25b00463f080fceb7c22781ff1555a61b29d187d8b02e1f9e165120b8140c3b DIST jre-9.0.4_osx-x64_bin.tar.gz 74599903 BLAKE2B a1bd4d51ee645347fcb735e46ee3311d34933bb0dbb20b9a668ed7b817be1d0432f4152f53f57a9fc16d6b6b7f38ea4118f5cae86a8b71143db0091c9baf62de SHA512 fc4bc4a062313a7e33943ace27287ba6e551727f0cf81d9a18f9f8c2f57b0ae00bd0d8619a65f596d75d4869fea757fedae3efdd8ba3ced58fa28b7cf93b3a85 DIST jre-9.0.4_solaris-sparcv9_bin.tar.gz 54879298 BLAKE2B fb3ce1eefdb12378b28f5af0f0bbc1d9f3252eee5646be237b2ddc0ead37ed253fb73900475777c3f67d39b47112e0c2db2a18f6a05da7c5c19cd965e5513827 SHA512 709219f51d7455c127a38953babad39b344dee1275ad0fe65a0116e8fb15a10482589ba881ccae7910acff8f00aa7856c726c03daa8f3947d742bbbc09a276dd EBUILD oracle-jre-bin-1.8.0.172.ebuild 6054 BLAKE2B e7319d43fc1a84633f7366f3bc1bf691db58aa40de51e163e57cda9be6c23736e35201b01629722d3cd2f35f55c805d7b75abf11db03812e363dfe37e734377e SHA512 8c8d6a0575e4807d74feebaafe10bcf4bff5aceaaf46e2e3bbce261ca4e2613fa2fae915a09a25a22da2e71351c38206ccb62f98dc16ffcfbba29a49309b2c87 +EBUILD oracle-jre-bin-1.8.0.181.ebuild 6056 BLAKE2B 8730c24288491eda0e847db7de2ef48985a12d39e264ae48a347b49f4b7050bf8befd0e2b3e4d0e4c8afcded3ccec13213198822f4dd4e4a8a74a6a309714f8f SHA512 b322401f569e7d76f139c963af76cc41916d1e64de0feee184d44c82b85df2d2bdb01d1387ea5f31499adb8a97b8bfe406654f33b7e3e0921d2b2e67a226f8d2 EBUILD oracle-jre-bin-9.0.4-r1.ebuild 6278 BLAKE2B fb43030f8341cdd68644921776ccc397bd2bccb5d1df0112e14bf33d2c9e6c1414323b13cf566d828ae53f6bd0db5af546bdad7137eb011309a37591a5650d7f SHA512 f52656f65e214e26bf9bdbbf411c75392f41247071d95ce2976fe2eb21ea17b41181376f2bb15a87839745bc76a85bb08a0779dc2702b3ed45bae9e20ffb61d3 MISC metadata.xml 996 BLAKE2B 0ceaf014bbef2817e869d5364997a44f77be90717bd01a09114b18e9318f58b61e3f4048f3b22a7ee8430a1042695f313066e996c15db71ee0775cf73aa7f1ef SHA512 043f1e701ac085678dbbb662994f6b67c78634990d721c65de97b392555e3a2fe5bfaccbe00f48c5dbd7c4e48837c6662d70306bf7cb3485ee3b2efa440b7afe diff --git a/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.181.ebuild b/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.181.ebuild new file mode 100644 index 000000000000..ca11616b0bc2 --- /dev/null +++ b/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.181.ebuild @@ -0,0 +1,220 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit desktop gnome2-utils java-vm-2 prefix versionator + +KEYWORDS="-* ~amd64 ~x86" + +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}" + +declare -A ARCH_FILES +ARCH_FILES[amd64]="jre-${MY_PV}-linux-x64.tar.gz" +ARCH_FILES[x86]="jre-${MY_PV}-linux-i586.tar.gz" + +for keyword in ${KEYWORDS//-\*} ; do + SRC_URI+=" ${keyword#\~}? ( ${ARCH_FILES[${keyword#\~}]} )" +done + +DESCRIPTION="Oracle's Java SE Runtime Environment" +HOMEPAGE="http://www.oracle.com/technetwork/java/javase/" +LICENSE="Oracle-BCLA-JavaSE" +SLOT="1.8" +IUSE="alsa commercial cups +fontconfig headless-awt javafx jce nsplugin selinux" +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 ) + fontconfig? ( media-libs/fontconfig:1.0 ) + !prefix? ( sys-libs/glibc:* ) + selinux? ( sec-policy/selinux-java )" + +DEPEND="app-arch/zip" + +S="${WORKDIR}/jre$(replace_version_separator 3 _ ${S_PV})" + +pkg_nofetch() { + einfo "Please download ${ARCH_FILES[${ARCH}]} and move it to" + einfo "your distfiles directory:" + einfo + einfo " http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html" + einfo + einfo "If the above mentioned URL does not point to the correct version anymore," + einfo "please download the file from Oracle's Java download archive:" + einfo + einfo " http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html" + einfo +} + +src_prepare() { + default + + # 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 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 .systemPrefs || die + touch .systemPrefs/.system.lock || die + touch .systemPrefs/.systemRootModFile || die + + if ! use alsa ; then + rm -vf lib/*/libjsoundalsa.* || die + fi + + if ! use commercial ; then + rm -vfr lib/jfr* || die + fi + + if use headless-awt ; then + rm -vf lib/*/lib*{[jx]awt,splashscreen}* \ + bin/{javaws,policytool} || die + fi + + if ! use javafx ; then + rm -vf lib/*/lib*{decora,fx,glass,prism}* \ + lib/*/libgstreamer-lite.* lib/{,ext/}*fx* || die + fi + + if ! use nsplugin ; then + rm -vf lib/*/libnpjp2.* || die + else + local nsplugin=$(echo lib/*/libnpjp2.*) + local nsplugin_link=${nsplugin##*/} + nsplugin_link=${nsplugin_link/./-${PN}-${SLOT}.} + dosym "${dest}/${nsplugin}" "/usr/$(get_libdir)/nsbrowser/plugins/${nsplugin_link}" + fi + + # Even though plugins linked against multiple ffmpeg versions are + # provided, they generally lag behind what Gentoo has available. + rm -vf lib/*/libavplugin* || die + + # Prune all fontconfig files so that libfontconfig will be used. + rm -v lib/fontconfig.* || die + + # Install desktop file for the Java Control Panel. Using + # ${PN}-${SLOT} to prevent file collision with JDK and other slots. + if [[ -d lib/desktop/icons ]] ; then + local icon + pushd lib/desktop/icons >/dev/null || die + for icon in */*/apps/sun-jcontrol.png ; do + insinto /usr/share/icons/"${icon%/*}" + newins "${icon}" sun-jcontrol-${PN}-${SLOT}.png + done + popd >/dev/null || die + make_desktop_entry \ + "${dest}"/bin/jcontrol \ + "Java Control Panel for Oracle JRE ${SLOT}" \ + sun-jcontrol-${PN}-${SLOT} \ + "Settings;Java;" + fi + + dodoc COPYRIGHT + dodir "${dest}" + cp -pPR bin lib man "${ddest}" || die + + ln -s policy/$(usex jce unlimited limited)/{US_export,local}_policy.jar \ + "${ddest}"/lib/security/ || die + + # Only install Gentoo-specific fontconfig if flag is disabled. + # https://docs.oracle.com/javase/8/docs/technotes/guides/intl/fontconfig.html + if ! use fontconfig ; then + insinto "${dest}"/lib/ + doins "$(prefixify_ro "${FILESDIR}"/fontconfig.properties)" + fi + + # Needs to be done before CDS, bug #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 + + java-vm_install-env "${FILESDIR}"/${PN}.env.sh + java-vm_revdep-mask + java-vm_sandbox-predict /dev/random /proc/self/coredump_filter +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + java-vm-2_pkg_postinst + + if ! use headless-awt && ! use javafx ; then + ewarn "You have disabled the javafx flag. Some modern desktop Java applications" + ewarn "require this and they may fail with a confusing error message." + fi +} + +pkg_postrm() { + gnome2_icon_cache_update + java-vm-2_pkg_postrm +} -- cgit v1.2.3