From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/openjdk/
Date: Fri, 23 Oct 2020 05:44:05 +0000 (UTC) [thread overview]
Message-ID: <1603431530.7f0894481c1195c73e20d01cd0653302a1e995f2.gyakovlev@gentoo> (raw)
commit: 7f0894481c1195c73e20d01cd0653302a1e995f2
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 23 05:32:51 2020 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Oct 23 05:38:50 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f089448
dev-java/openjdk: bump to 8.272-b10
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-java/openjdk/Manifest | 16 ++
dev-java/openjdk/openjdk-8.272_p10.ebuild | 249 ++++++++++++++++++++++++++++++
2 files changed, 265 insertions(+)
diff --git a/dev-java/openjdk/Manifest b/dev-java/openjdk/Manifest
index 900df8be9c6..b5250351dc4 100644
--- a/dev-java/openjdk/Manifest
+++ b/dev-java/openjdk/Manifest
@@ -1,17 +1,33 @@
DIST openjdk-11.0.8_p10.tar.bz2 91141175 BLAKE2B eeef0f6b6a8f804e043cde01de256c86ed35d5a391588100caea49c8c2b617c3f06aa37df894feaa89734e68c32fe28d8bc5337755050c457d657cf88fcff7f3 SHA512 f8fd26a11cb044197d3b04a1347e27e177e79cb58436e67116f63025a2a5c39c0083ac17362e7d2234caf89df530422ead088e3fc4546f8d9f68482fc75eb7a0
DIST openjdk-8.265_p01.tar.bz2 456095 BLAKE2B 8de4d0293f3062583654da99a29d5be02197c323772f663d37ab21bdfdf32a723412d301094e6f70cbba99883241f52406a799a91c3d7c2a69ab7b35932c0a38 SHA512 686b869f9278462c6cb52036c4c9261e1689b917ce0afd4e6b47bb3d3207b2e79b2d03c2d3808a5853ab2fa070ac2206877849f5837282cb6deb80f610ba67f5
+DIST openjdk-8.272_p10.tar.bz2 457222 BLAKE2B 51e487d36c1922c5fc04d8922f1000a776e4872142517933ef5e8d5fd825f221fa02325bd755bf3f48f7f3221a2da3ca182301fb303675cb7d712d7b2f1c7751 SHA512 488b7fa0ed725936d483efd54242dbf4409752c685f29277023fb47c4375b5700b34e743d819d7d7c2406a2f8845d1c3d4fc548c156b6c7c30e43574c1b51527
DIST openjdk-aarch64-shenandoah-8.265_p01.tar.bz2 461443 BLAKE2B 169cc30062efd93e93a16c909494d5817e3f6108ed22d4cb09f618732b990091a47c1149fff0f3e5657c2e21443d357e5d11091ef1d4f8eb61a14bcc35d74951 SHA512 b85714731f9a102585308d2df5b271243b523daa7541635f5d4a22e7322890bc024f8abafbacbd1885c07cec479e00b5edb936936fcfefcfe0f6e2e6e2211689
+DIST openjdk-aarch64-shenandoah-8.272_p10.tar.bz2 462755 BLAKE2B abeabf704d2135da9df6746545209f5a658ec547be5852041bb9bd1dfc4546cef143541df61b4705b6d2181ae7ec91a8c64e2b27347c24d146da49bbf8c228ef SHA512 7cae0cf80e09e1d2ad3eef8bf6740942788d0af4d3c9821bb0785ea42d4b38319d0ec57a8d21add25a40eebdc5ecba8234c9f04e6922e87c80480f71b04e2e3d
DIST openjdk-aarch64-shenandoah-corba-8.265_p01.tar.bz2 1050861 BLAKE2B 6803ee3ad1e3804cec3a1008f38538d793b2ae4f0a3c22d48d3c9885af37f4baf2ba94b91824e2e2bb170a5c9a59b28edc5d0c94646fd6265fe2b32fad759cb7 SHA512 859afe2ef587f7151a1fce4a43617a3afa0d8b9e04a07332c8a412b1b8deba4e00d7676cf1579cb2a8a18a307d094d22938ea9a3d70acb9094e268e701c35982
+DIST openjdk-aarch64-shenandoah-corba-8.272_p10.tar.bz2 1052989 BLAKE2B 8d6f79758ccf1719396fb56fd47c258c2440beea79516025b4911027a59b6cf4b5826c5eb01ba3a4c45847915531989c74665cbedf6349541df38732e7b828de SHA512 12547c8b5f1fe4efcc58f5b148977d519c954b964e814fc3fce717bd6d6221c2e7eda98a0e1e8157ed2f509f3b89e1e7b529da81cd1ee768daf4ad6369c57e8b
DIST openjdk-aarch64-shenandoah-hotspot-8.265_p01.tar.bz2 8757379 BLAKE2B aefc9c9b9f5a369db14cc5a22ea54373518daf594b794f74533ea4365416b8adc91cdd6c79934d93f5e0f019d7b07723630f849ab93464d7416d15de54a5c65e SHA512 3f44dadc5a5d9a75d4b6b632991b9fbbcae499e19139e1d902f8f2df101141060bc063996e995b22c462c76962b1312e719495eae99b392da3080c7d875deae5
+DIST openjdk-aarch64-shenandoah-hotspot-8.272_p10.tar.bz2 8767088 BLAKE2B 85b2dcbd696c58db72a7aeb4dc9a4752d742ed90bfd2e06ce5ddd8ed4ec5c63ab2de40a41aab5747fa120d8865c1d57f02a99b27a6ebf7c68c0891e19f5a7f27 SHA512 7866495487b271228f1a2d95cecfa6b76bb912d8c1c63d3d92e7b2cda88dd151b3b6c4c3bc717e37a0bd972762620ae7fb456c1aee281772a145a1dd1b11758b
DIST openjdk-aarch64-shenandoah-jaxp-8.265_p01.tar.bz2 2696501 BLAKE2B 1b1a459a4400d78c7921593a173059156b53a2cfc5fce695571e5c827bf609c08e02accdd56e1585723d50d93cae6ed0b5cef91f7597de21a16daa9b951046c5 SHA512 a377505e17299ba8fdd9e24fb9d3f786f1e6288e485319f2accf6abe9be957814ceb08c14867839bfd29690e91afb70f2aadfd9cc43db81e924960275792d61c
+DIST openjdk-aarch64-shenandoah-jaxp-8.272_p10.tar.bz2 2718084 BLAKE2B 1e6cc999d84a49c03731a2a2ca73dfe684940509a64199ad52571ef51b3da035e41b41bf262ea88af9f77418c7b1b5721724d86f67a5f737e53eaf3673f4eab8 SHA512 a73e5a4628c936cf9b19082ad49ed2134984d15a1165c45206c74dff45118c50922fd0a668efe93a46c3839775ec567d56eee19cd0e3a9f90e7995d1b6a42f11
DIST openjdk-aarch64-shenandoah-jaxws-8.265_p01.tar.bz2 2556505 BLAKE2B 70a963e625b04717a7dfd8f913d8dad20158abb1c7d5ea474c53692181d5ba099c9c6ebec0efa28d6732275d02380fda613ba446f854052476fdb2b8cd80fbaf SHA512 db06c192bc6b753209870dddf43d896444a1dddb0f04ddec6ec4317034cf8b33173ccfeb6e50f18f76d6f28eb93ca08d8fade299416d3ed2ccb9d65e03d867f4
+DIST openjdk-aarch64-shenandoah-jaxws-8.272_p10.tar.bz2 2558262 BLAKE2B 3b00ca162f3b758ee65090011551f074f7675f499f179ae0d4c8c62b1d70c942d7d2082d48e84cece6cd2be7ea319c1707fc6239e82fd5e79297f796838688e4 SHA512 d64a15cf35df014c4dca2edddea2015905bafe252d3d2bdfd1bc8f72683ac827e5d0347e36d5d94cda354b31a6b0782017b1cea6571443e073caf9f26c7bebda
DIST openjdk-aarch64-shenandoah-jdk-8.265_p01.tar.bz2 48064316 BLAKE2B 9623b5ea954dfd4c732b35683f859bdfe823e8fe3697f859e73c220e2931e2047271a6382c096d29bd357c5b9f681ce85053cd349c44332db77a53232f56e748 SHA512 9b90dc0d1e7ba0215628687d0594f2e1316bd190b4ff20b22cf0d20269180a160e46810c7ad2bca43603283d3140567a1cd2a1c222a6ffc8c4bc413ae4da5347
+DIST openjdk-aarch64-shenandoah-jdk-8.272_p10.tar.bz2 48370921 BLAKE2B 98026a28463ce3f520feab2b146830bf91acdccac5aa28488ffdbe4328b9a2cbbc17e95eeb36a60364cab470eeb26efcfa06a588e1bebcb6e978821459536feb SHA512 1bc5baa799282a2d7c0014d2cf55b350c7d99dbd129643d2cfeadebd467b2f6f9a8b8a97d34f66c656103db3ee3d5a57d6ff57dc45bc655258dd5093506d89b5
DIST openjdk-aarch64-shenandoah-langtools-8.265_p01.tar.bz2 2396374 BLAKE2B 0aeb7c979824773a7de1ff3ae5f0b47ee965011ff29144a1ff83b84f33bfbfe850bea32aaede1ac174ee9d6850a5bfb88c194db7e4a10b6c800716d854871fb8 SHA512 f97b21a5e369239b11ccb122b6256f1b71edec3cbc6d41c0bd90c43b67126846917c795ba2e954a62d72285b50d9bfa74748488a95c2d51aacebe78575ffd833
+DIST openjdk-aarch64-shenandoah-langtools-8.272_p10.tar.bz2 2397200 BLAKE2B 1d985e852f07ab69e0af01a17cc3874cf903b1e3e2c4a909b7403087b3243beaf57a1e9b7792b52469a80764c7db614e3bb6ec4b43527d022219f3e79af21457 SHA512 76118b6c56481bcd3a6a709006d0d114faeef2b2a3c353e4a5ef2af5f03429dddd78d2d5951e9245fb5e41443e871e43634921825c0dbae8907f3f49fb3dea0c
DIST openjdk-aarch64-shenandoah-nashorn-jdk8.265_p01.tar.bz2 2831216 BLAKE2B 02eb3f916feacaf32feb75e4c3a6bb8915e4247dd07bfd3085feb6575c5152c41d0bef46bf51a8465a2555990a7f63315d61e1733d2f36a09293ec8bab30330d SHA512 610b99e04e0afe3fa78907af20d6d297896b9ab7cfbb5bddeefeb2301e733078b147c1d547cb5c3cb08b6f208acfdbf3559ba561b8a3907cf2c6506bb7daf08e
+DIST openjdk-aarch64-shenandoah-nashorn-jdk8.272_p10.tar.bz2 2838876 BLAKE2B 40d011a11122b2dd19349282468c756a58afbc1ff2a33424d6c4e82cde1f664e3317eb1616533b0d2bc24604c68ffd0b1b92d3271dd633f3a39aad22c84ca781 SHA512 1f50c2c1a6a5d271d63906cb1cf3e87d7b6fe61e92c90cf2974ec40e956be0e8388c2694d189c85ec7072abfd21566671498b8652c2ae9cb2021c6ec4d548f66
DIST openjdk-corba-8.265_p01.tar.bz2 1034140 BLAKE2B 4b176bf2d9ff461b5682ad7f4b994091acf017df2caabf292dcda9baa34abd7d8016f56f2aff0866508eac565f4079e6f8ba8cbd8167abf1e38cd1fac727e141 SHA512 d92b69ab33176c29c5b7c0a5a21947d5d28dafa32a5933414bea5d16d4e68e1a381b2a73114952d507e7ee76c132e70dc8234175edfd3a086c4775417eaa7d9a
+DIST openjdk-corba-8.272_p10.tar.bz2 1033649 BLAKE2B db9d72dabe4b1727dbbe1de01e46f62676c48668e7ec960e10643c19374a2553dee3c2b5b576f85d09b541b570756b20980e1307fc614e4b4bee9789affc650e SHA512 1426b3ce6983429fe6399da77fb102fb5d54ebf65ab83ad4e3c0ee789e33e2a0afc1bbfb7b8f942334ff9b03be0696494919c374ce1b793b179ecc43e2c4384a
DIST openjdk-hotspot-8.265_p01.tar.bz2 8204133 BLAKE2B 3c574da38c9c787e2b40dafa6d7885f9632804a158de26fb4e6f9b5266c955adad8adb1917043eecba97fbb1e53c063da08231e806f5ba8f6c0ef762e88c45b6 SHA512 a3fbc527456aeb8566db24f910e6a64f976e3434fe3717058ee91e66e88d03d77641d342801002f7fa35fb8bb94ce397c95ac2abb86c0616ff25f167878b478b
+DIST openjdk-hotspot-8.272_p10.tar.bz2 8206390 BLAKE2B 6822635a29f919696c7a260bf7db20a749ec8598e6c751a8a5e3973c780c17f3ff16a1ed64eb44353be72136fd1ea945dc6620f18d0d876a5773c897bca8705f SHA512 48444d86bacaef503303fb160dca538546e74f7bd71fd34fc2b9faa4e0b1cf7710a6262e9ead161c1b0e8e02e8f96e56a6407d442bbfb01ff8ab835cd840d834
DIST openjdk-jaxp-8.265_p01.tar.bz2 2735823 BLAKE2B 84a1248b4eb56f4afff62c5dc0f3517c98a6dc5c7e434012c667d59f05a1719372f68594d9d6b13c04e98887913a01b05eefcdadb3a028275555b2a9720502ba SHA512 d0f9da699d4141fa5535abbdf244b4da0fd466b8b5eca3fcaa7cc739326d79a5aa5ffac90988f8bedb39f80d7d4f1feaac3cf5fb1b019203cc96eae9746d9bbc
+DIST openjdk-jaxp-8.272_p10.tar.bz2 2692905 BLAKE2B e8fa9e6a7fd4c4ebeba82a3c55b17e4eba9cb03660baa8d478a8cfced1ab9673465faa1a0f690ebbe2634b2cf2741d7321f2c20c748339237eba7b772a2cea14 SHA512 15efb3db0dc28fd375d769037f248b3527e40d2c190fed57ca1d6a09e59aa79465c0e6516d2a122f6c7ee55f7cfeadaa76669884f74fa34b11ccfdfd76e71f6d
DIST openjdk-jaxws-8.265_p01.tar.bz2 2543597 BLAKE2B c83256ab68837cc44d65414343d4bfa7d908926b1a092416cb16551593ed58eb4e28333a6e0417fdad7426ea2b648cffe9e8ef9531f76b7ff9a29851cb27918b SHA512 3a23ae92cbc1f5f47a1f2dffaaef1999acc34125176f67139040f17c3b6fe4cf78ee8c506a73c8fd38ddbb59bfb22c61f2e45ebf8739be7eb7df83cc65303433
+DIST openjdk-jaxws-8.272_p10.tar.bz2 2543199 BLAKE2B 3deae4cef17a5f3d513c1a748a72b50bacb3a0d9b6fb33e5ded121f4d209cc2eb2d59d7b7c182015811426e49eb3e2b463279fa201992c51a5c4a94a184931c9 SHA512 51c0ee76a7e0587ac9c2533d62717f24224ec8bc643df6af2e2fac89cd79cc4f228c7c57427e43f354a594568d16bb5bbf3295af9ce52717339c35b56d6c375a
DIST openjdk-jdk-8.265_p01.tar.bz2 48017864 BLAKE2B b30a573a79a06abfe98e5963521f762e3517bda2bf6849af758285b7ea61cc57d89290ec47538b1082eea99646d3dd6295b98ad65edd62d1b1fd2480c0928a74 SHA512 44ad75bf3b3c6fd6b782ee5383edfa60fb49ac2e40493b18487bcb8a4dac926ffcf5b663adbb8d3267021bd47d5b60652771a88257fbaff77aa2e1f627252418
+DIST openjdk-jdk-8.272_p10.tar.bz2 48273590 BLAKE2B 80717a644df7d9741e5786708c816483f4fea1cfeb02438df17fb4183c0702fe6e3fcbeaefcee84a4f847d5cbafb0a9e80af63b56cf0c6381e0fbeb535d2f147 SHA512 85d20763f6cda66f2eac3b2a1e672e6b828c437386575d16a1c70b27a56c718fc0f44c712e6261eb89f6dd273fd2c21a2c4baa3f562cafa2911a5e2467d7ba13
DIST openjdk-langtools-8.265_p01.tar.bz2 2399426 BLAKE2B 550a3dcee38b41feaf8c5b6b88f700c52f870ed0c3f25fa23f34bb3f40c333965e911ac126f4b038057472acea2b684917692a6881e46e4aa68b05cd7e4346da SHA512 24d0978a8e6254a96a5399420831d320ea2b2f5b7055ceba030802b85fcb9630031499504ca72305361fa3a386c2ca0a8c38082ee2b15b8569fdf7e815730be6
+DIST openjdk-langtools-8.272_p10.tar.bz2 2399755 BLAKE2B 34ffa30993fa9f42ed2fa96ae658c3c43ecbc54750c3b854cc90efdbd3c4d5abdda012d55c4e81d4ab805d9184b5ea7429fba5927bf3192fcce2a17d9ef11744 SHA512 54698e8a74119f39971024ee165707fa9e27cd0008b59801f05a194362d723ba67269b1f34c181e2a0b1ce9cd36f52cf3ad3ad980c4670f7cfa476a0fa78fec8
DIST openjdk-nashorn-8.265_p01.tar.bz2 2852124 BLAKE2B 380202d487e62e08784b7fd5cb720c22a2b93d802898b90bf2686bac803fe2bc41d8d4b3d56b45bfb45686a2976d208359818b17b96ccce73fd55b389f4d04af SHA512 12522a06f16f1c63d6b6df525011d01ff91ba05f06ee7ade239faa31527ca9aaa9fa609c1ad261f0ae8d75cc195fe1af66e026815bdc0669fb6a286a49f86a5e
+DIST openjdk-nashorn-8.272_p10.tar.bz2 2850055 BLAKE2B 2348c0f45916101d9fcb4aaa283d2c03be5b28decf12248ec930b9d726e346d0884dd64a22627e2f2fd8260c8755d0bc46a1cf6fecf691a30a7f4b54f6a293a9 SHA512 754fcdca5e0ce523d73cbdfbdcaaa13677ed8c2b72c5ae04ff1cc77fd73469f3366e51add68b13bac3c43800fecfcbb93bf4fcf7469258c4adc57e414b105ef5
diff --git a/dev-java/openjdk/openjdk-8.272_p10.ebuild b/dev-java/openjdk/openjdk-8.272_p10.ebuild
new file mode 100644
index 00000000000..82f0a4f2070
--- /dev/null
+++ b/dev-java/openjdk/openjdk-8.272_p10.ebuild
@@ -0,0 +1,249 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit check-reqs eapi7-ver flag-o-matic java-pkg-2 java-vm-2 multiprocessing pax-utils toolchain-funcs
+
+# we need latest -ga tag from hg, but want to keep build number as well
+# as _p component of the gentoo version string.
+
+MY_PV=$(ver_rs 1 'u' 2 '-' ${PV%_p*}-ga)
+MY_PN_AARCH64="${PN}-aarch64-shenandoah"
+MY_PV_AARCH64="$(ver_rs 1 'u' 2 '-' ${PV/_p/-b})"
+MY_P_AARCH64="${MY_PN_AARCH64/#${PN}-}-jdk${MY_PV_AARCH64}"
+
+BASE_URI="https://hg.${PN}.java.net/jdk8u/jdk8u"
+AARCH64_URI="https://hg.${PN}.java.net/aarch64-port/jdk8u-shenandoah"
+
+DESCRIPTION="Open source implementation of the Java programming language"
+HOMEPAGE="https://openjdk.java.net"
+SRC_URI="
+ !arm64? (
+ ${BASE_URI}/archive/jdk${MY_PV}.tar.bz2 -> ${P}.tar.bz2
+ ${BASE_URI}/corba/archive/jdk${MY_PV}.tar.bz2 -> ${PN}-corba-${PV}.tar.bz2
+ ${BASE_URI}/hotspot/archive/jdk${MY_PV}.tar.bz2 -> ${PN}-hotspot-${PV}.tar.bz2
+ ${BASE_URI}/jaxp/archive/jdk${MY_PV}.tar.bz2 -> ${PN}-jaxp-${PV}.tar.bz2
+ ${BASE_URI}/jaxws/archive/jdk${MY_PV}.tar.bz2 -> ${PN}-jaxws-${PV}.tar.bz2
+ ${BASE_URI}/jdk/archive/jdk${MY_PV}.tar.bz2 -> ${PN}-jdk-${PV}.tar.bz2
+ ${BASE_URI}/langtools/archive/jdk${MY_PV}.tar.bz2 -> ${PN}-langtools-${PV}.tar.bz2
+ ${BASE_URI}/nashorn/archive/jdk${MY_PV}.tar.bz2 -> ${PN}-nashorn-${PV}.tar.bz2
+ )
+ arm64? (
+ ${AARCH64_URI}/archive/${MY_P_AARCH64}.tar.bz2 -> ${MY_PN_AARCH64}-${PV}.tar.bz2
+ ${AARCH64_URI}/corba/archive/${MY_P_AARCH64}.tar.bz2 -> ${MY_PN_AARCH64}-corba-${PV}.tar.bz2
+ ${AARCH64_URI}/hotspot/archive/${MY_P_AARCH64}.tar.bz2 -> ${MY_PN_AARCH64}-hotspot-${PV}.tar.bz2
+ ${AARCH64_URI}/jaxp/archive/${MY_P_AARCH64}.tar.bz2 -> ${MY_PN_AARCH64}-jaxp-${PV}.tar.bz2
+ ${AARCH64_URI}/jaxws/archive/${MY_P_AARCH64}.tar.bz2 -> ${MY_PN_AARCH64}-jaxws-${PV}.tar.bz2
+ ${AARCH64_URI}/jdk/archive/${MY_P_AARCH64}.tar.bz2 -> ${MY_PN_AARCH64}-jdk-${PV}.tar.bz2
+ ${AARCH64_URI}/langtools/archive/${MY_P_AARCH64}.tar.bz2 -> ${MY_PN_AARCH64}-langtools-${PV}.tar.bz2
+ ${AARCH64_URI}/nashorn/archive/${MY_P_AARCH64}.tar.bz2 -> ${MY_PN_AARCH64}-nashorn-jdk${PV}.tar.bz2
+ )
+"
+
+LICENSE="GPL-2"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="alsa debug cups doc examples headless-awt javafx +jbootstrap +pch selinux source"
+
+COMMON_DEPEND="
+ media-libs/freetype:2=
+ media-libs/giflib:0/7
+ sys-libs/zlib
+"
+# Many libs are required to build, but not to run, make is possible to remove
+# by listing conditionally in RDEPEND unconditionally in DEPEND
+RDEPEND="
+ ${COMMON_DEPEND}
+ >=sys-apps/baselayout-java-0.1.0-r1
+ !headless-awt? (
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXrender
+ x11-libs/libXt
+ x11-libs/libXtst
+ )
+ alsa? ( media-libs/alsa-lib )
+ cups? ( net-print/cups )
+ selinux? ( sec-policy/selinux-java )
+"
+
+DEPEND="
+ ${COMMON_DEPEND}
+ app-arch/zip
+ media-libs/alsa-lib
+ net-print/cups
+ x11-base/xorg-proto
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXrender
+ x11-libs/libXt
+ x11-libs/libXtst
+ || (
+ dev-java/openjdk-bin:${SLOT}
+ dev-java/icedtea-bin:${SLOT}
+ dev-java/openjdk:${SLOT}
+ dev-java/icedtea:${SLOT}
+ )
+"
+
+PDEPEND="javafx? ( dev-java/openjfx:${SLOT} )"
+
+# The space required to build varies wildly depending on USE flags,
+# ranging from 2GB to 16GB. This function is certainly not exact but
+# should be close enough to be useful.
+openjdk_check_requirements() {
+ local M
+ M=2048
+ M=$(( $(usex debug 3 1) * $M ))
+ M=$(( $(usex jbootstrap 2 1) * $M ))
+ M=$(( $(usex doc 320 0) + $(usex source 128 0) + 192 + $M ))
+
+ CHECKREQS_DISK_BUILD=${M}M check-reqs_pkg_${EBUILD_PHASE}
+}
+
+pkg_pretend() {
+ openjdk_check_requirements
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ has ccache ${FEATURES} && die "FEATURES=ccache doesn't work with ${PN}, bug #677876"
+ fi
+}
+
+pkg_setup() {
+ openjdk_check_requirements
+
+ JAVA_PKG_WANT_BUILD_VM="openjdk-${SLOT} openjdk-bin-${SLOT} icedtea-${SLOT} icedtea-bin-${SLOT}"
+ JAVA_PKG_WANT_SOURCE="${SLOT}"
+ JAVA_PKG_WANT_TARGET="${SLOT}"
+
+ java-vm-2_pkg_setup
+ java-pkg-2_pkg_setup
+}
+
+src_unpack() {
+ default
+ mv -v "jdk${SLOT}u"* "${P}" || die
+
+ local repo
+ for repo in corba hotspot jdk jaxp jaxws langtools nashorn; do
+ mv -v "${repo}-"* "${P}/${repo}" || die
+ done
+}
+
+src_prepare() {
+ default
+
+ # new warnings in new gcc https://bugs.gentoo.org/685426
+ sed -i '/^WARNINGS_ARE_ERRORS/ s/-Werror/-Wno-error/' \
+ hotspot/make/linux/makefiles/gcc.make || die
+
+ chmod +x configure || die
+}
+
+src_configure() {
+ # general build info found here:
+ #https://hg.openjdk.java.net/jdk8/jdk8/raw-file/tip/README-builds.html
+
+ # Work around stack alignment issue, bug #647954.
+ use x86 && append-flags -mincoming-stack-boundary=2
+
+ # Work around -fno-common ( GCC10 default ), bug #706638
+ append-flags -fcommon
+
+ tc-export_build_env CC CXX PKG_CONFIG STRIP
+
+ local myconf=(
+ --disable-ccache
+ --enable-unlimited-crypto
+ --with-boot-jdk="${JDK_HOME}"
+ --with-extra-cflags="${CFLAGS}"
+ --with-extra-cxxflags="${CXXFLAGS}"
+ --with-extra-ldflags="${LDFLAGS}"
+ --with-giflib=system
+ --with-jtreg=no
+ --with-jobs=1
+ --with-num-cores=1
+ --with-update-version="$(ver_cut 2)"
+ --with-build-number="b$(ver_cut 4)"
+ --with-milestone="fcs" # magic variable that means "release version"
+ --with-vendor-name="Gentoo"
+ --with-vendor-url="https://gentoo.org"
+ --with-vendor-bug-url="https://bugs.gentoo.org"
+ --with-vendor-vm-bug-url="https://bugs.openjdk.java.net"
+ --with-zlib=system
+ --with-native-debug-symbols=$(usex debug internal none)
+ $(usex headless-awt --disable-headful '')
+ )
+
+ # PaX breaks pch, bug #601016
+ if use pch && ! host-is-pax; then
+ myconf+=( --enable-precompiled-headers )
+ else
+ myconf+=( --disable-precompiled-headers )
+ fi
+
+ (
+ unset _JAVA_OPTIONS JAVA JAVA_TOOL_OPTIONS JAVAC XARGS
+ CFLAGS= CXXFLAGS= LDFLAGS= \
+ CONFIG_SITE=/dev/null \
+ CONFIG_SHELL="${EPREFIX}/bin/bash"
+ econf "${myconf[@]}"
+ )
+}
+
+src_compile() {
+ local myemakeargs=(
+ JOBS=$(makeopts_jobs)
+ LOG=debug
+ $(usex doc docs '')
+ $(usex jbootstrap bootcycle-images images)
+ )
+ emake "${myemakeargs[@]}" -j1 #nowarn
+}
+
+src_install() {
+ local dest="/usr/$(get_libdir)/${PN}-${SLOT}"
+ local ddest="${ED%/}/${dest#/}"
+
+ cd "${S}"/build/*-release/images/j2sdk-image || die
+
+ if ! use alsa; then
+ rm -v jre/lib/$(get_system_arch)/libjsoundalsa.* || die
+ fi
+
+ # build system does not remove that
+ if use headless-awt ; then
+ rm -fvr jre/lib/$(get_system_arch)/lib*{[jx]awt,splashscreen}* \
+ {,jre/}bin/policytool bin/appletviewer || die
+ fi
+
+ if ! use examples ; then
+ rm -vr demo/ || die
+ fi
+
+ if ! use source ; then
+ rm -v src.zip || die
+ fi
+
+ dodir "${dest}"
+ cp -pPR * "${ddest}" || die
+
+ dosym ../../../../../../etc/ssl/certs/java/cacerts "${dest}"/jre/lib/security/cacerts
+
+ java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
+ java-vm_set-pax-markings "${ddest}"
+ java-vm_revdep-mask
+ java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
+
+ if use doc ; then
+ docinto html
+ dodoc -r "${S}"/build/*-release/docs/*
+ fi
+}
+
+pkg_postinst() {
+ java-vm-2_pkg_postinst
+ einfo "JavaWebStart functionality provided by icedtea-web package"
+}
next reply other threads:[~2020-10-23 5:44 UTC|newest]
Thread overview: 338+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-23 5:44 Georgy Yakovlev [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-18 16:40 [gentoo-commits] repo/gentoo:master commit in: dev-java/openjdk/ Miroslav Šulc
2024-10-18 16:40 Miroslav Šulc
2024-10-18 16:40 Miroslav Šulc
2024-10-18 15:40 Arthur Zamarin
2024-10-18 15:40 Arthur Zamarin
2024-10-18 15:40 Arthur Zamarin
2024-10-18 10:40 Sam James
2024-10-18 10:40 Sam James
2024-10-18 10:40 Sam James
2024-10-18 10:27 Sam James
2024-10-18 10:27 Sam James
2024-10-18 10:27 Sam James
2024-10-18 10:27 Sam James
2024-10-18 10:27 Sam James
2024-10-18 10:27 Sam James
2024-10-17 11:30 Miroslav Šulc
2024-10-17 11:29 Miroslav Šulc
2024-10-17 11:28 Miroslav Šulc
2024-10-17 10:55 Miroslav Šulc
2024-10-17 10:55 Miroslav Šulc
2024-10-17 9:51 Miroslav Šulc
2024-10-17 9:46 Miroslav Šulc
2024-09-19 3:09 Sam James
2024-09-19 3:00 Sam James
2024-09-11 0:15 Sam James
2024-08-31 10:34 Arthur Zamarin
2024-08-31 2:49 Sam James
2024-08-31 2:23 Sam James
2024-08-27 19:21 Eli Schwartz
2024-08-26 8:29 Miroslav Šulc
2024-08-25 5:26 Arthur Zamarin
2024-08-25 5:26 Arthur Zamarin
2024-08-25 5:26 Arthur Zamarin
2024-08-25 0:34 Sam James
2024-08-25 0:34 Sam James
2024-08-25 0:34 Sam James
2024-08-24 21:42 Jakov Smolić
2024-08-24 21:42 Jakov Smolić
2024-08-24 21:42 Jakov Smolić
2024-08-24 21:42 Jakov Smolić
2024-08-24 21:42 Jakov Smolić
2024-08-24 21:42 Jakov Smolić
2024-07-25 22:01 Miroslav Šulc
2024-07-17 10:30 Miroslav Šulc
2024-07-17 10:30 Miroslav Šulc
2024-07-17 10:30 Miroslav Šulc
2024-06-12 7:02 Arthur Zamarin
2024-06-12 2:43 Sam James
2024-06-12 2:43 Sam James
2024-06-08 7:12 Sam James
2024-06-08 7:12 Sam James
2024-05-17 9:28 Miroslav Šulc
2024-05-15 12:06 Sam James
2024-05-15 12:06 Sam James
2024-05-15 10:31 Sam James
2024-05-15 10:31 Sam James
2024-05-09 11:42 Florian Schmaus
2024-05-09 11:42 Florian Schmaus
2024-04-14 13:52 Arthur Zamarin
2024-04-11 14:41 Arthur Zamarin
2024-04-11 14:41 Arthur Zamarin
2024-04-08 7:15 Miroslav Šulc
2024-04-05 8:03 Miroslav Šulc
2024-04-05 5:16 Arthur Zamarin
2024-04-05 5:16 Arthur Zamarin
2024-04-05 5:16 Arthur Zamarin
2024-04-05 5:16 Arthur Zamarin
2024-04-05 5:16 Arthur Zamarin
2024-04-05 5:16 Arthur Zamarin
2024-04-05 0:53 Sam James
2024-04-05 0:53 Sam James
2024-03-10 14:29 Miroslav Šulc
2024-03-09 8:26 Miroslav Šulc
2024-03-06 18:46 Sam James
2024-03-06 18:46 Sam James
2024-03-06 17:36 Sam James
2024-03-06 16:54 Sam James
2024-03-06 16:25 Sam James
2024-03-06 16:25 Sam James
2024-03-06 16:25 Sam James
2024-03-06 16:02 Sam James
2024-03-06 15:45 Sam James
2024-03-03 16:46 Andreas K. Hüttel
2024-02-19 9:03 Miroslav Šulc
2024-02-16 11:22 Miroslav Šulc
2023-10-26 7:26 Miroslav Šulc
2023-10-25 15:33 Arthur Zamarin
2023-10-25 15:33 Arthur Zamarin
2023-10-25 15:33 Arthur Zamarin
2023-10-25 15:33 Arthur Zamarin
2023-10-25 15:33 Arthur Zamarin
2023-10-25 15:33 Arthur Zamarin
2023-10-25 15:33 Arthur Zamarin
2023-10-25 15:33 Arthur Zamarin
2023-10-25 15:33 Arthur Zamarin
2023-10-25 15:33 Arthur Zamarin
2023-10-25 15:33 Arthur Zamarin
2023-10-25 15:33 Arthur Zamarin
2023-09-21 23:32 Georgy Yakovlev
2023-09-21 23:32 Georgy Yakovlev
2023-09-21 23:32 Georgy Yakovlev
2023-09-21 23:32 Georgy Yakovlev
2023-06-26 21:36 Georgy Yakovlev
2023-06-26 21:36 Georgy Yakovlev
2023-06-26 21:36 Georgy Yakovlev
2023-06-24 2:59 Sam James
2023-06-11 22:27 Sam James
2023-06-11 21:10 Sam James
2023-04-06 0:27 Georgy Yakovlev
2023-03-15 16:37 Arthur Zamarin
2023-01-27 20:35 Georgy Yakovlev
2023-01-22 23:13 Georgy Yakovlev
2023-01-22 23:13 Georgy Yakovlev
2023-01-22 23:13 Georgy Yakovlev
2023-01-22 23:13 Georgy Yakovlev
2023-01-22 6:04 Sam James
2023-01-22 6:04 Sam James
2023-01-22 6:04 Sam James
2023-01-22 6:04 Sam James
2023-01-22 6:04 Sam James
2023-01-22 6:04 Sam James
2023-01-22 2:25 Sam James
2023-01-22 2:25 Sam James
2023-01-22 2:25 Sam James
2023-01-21 22:39 Georgy Yakovlev
2023-01-21 22:39 Georgy Yakovlev
2023-01-21 22:39 Georgy Yakovlev
2023-01-19 21:40 Georgy Yakovlev
2023-01-19 21:40 Georgy Yakovlev
2023-01-19 21:40 Georgy Yakovlev
2022-11-18 17:52 Georgy Yakovlev
2022-11-18 17:52 Georgy Yakovlev
2022-11-18 17:52 Georgy Yakovlev
2022-11-18 17:52 Georgy Yakovlev
2022-11-18 17:52 Georgy Yakovlev
2022-11-11 12:34 Georgy Yakovlev
2022-11-11 12:34 Georgy Yakovlev
2022-11-11 12:34 Georgy Yakovlev
2022-11-11 12:34 Georgy Yakovlev
2022-09-13 23:17 Georgy Yakovlev
2022-09-13 22:59 Georgy Yakovlev
2022-09-13 22:59 Georgy Yakovlev
2022-09-13 22:59 Georgy Yakovlev
2022-09-12 18:18 Florian Schmaus
2022-09-12 18:18 Florian Schmaus
2022-07-22 18:13 Jakov Smolić
2022-07-04 10:44 Georgy Yakovlev
2022-07-04 10:44 Georgy Yakovlev
2022-07-04 10:44 Georgy Yakovlev
2022-07-01 23:50 Mike Gilbert
2022-06-19 5:17 Sam James
2022-05-24 16:44 Georgy Yakovlev
2022-05-24 16:44 Georgy Yakovlev
2022-05-24 16:44 Georgy Yakovlev
2022-05-24 16:44 Georgy Yakovlev
2022-05-23 12:03 Jakov Smolić
2022-05-23 12:03 Jakov Smolić
2022-05-23 12:03 Jakov Smolić
2022-05-22 20:08 Jakov Smolić
2022-05-22 20:08 Jakov Smolić
2022-05-22 20:08 Jakov Smolić
2022-05-22 18:46 Sam James
2022-05-22 18:46 Sam James
2022-05-22 18:46 Sam James
2022-05-22 11:46 Georgy Yakovlev
2022-05-22 11:46 Georgy Yakovlev
2022-05-22 11:46 Georgy Yakovlev
2022-05-21 20:05 Arthur Zamarin
2022-05-21 20:05 Arthur Zamarin
2022-05-13 7:16 Florian Schmaus
2022-05-11 20:41 Georgy Yakovlev
2022-05-11 20:41 Georgy Yakovlev
2022-05-11 20:41 Georgy Yakovlev
2022-05-11 20:41 Georgy Yakovlev
2022-05-11 20:41 Georgy Yakovlev
2022-05-11 20:41 Georgy Yakovlev
2022-05-01 20:47 Georgy Yakovlev
2022-03-27 17:07 Arthur Zamarin
2022-02-16 20:25 Georgy Yakovlev
2022-02-16 20:25 Georgy Yakovlev
2022-02-16 20:25 Georgy Yakovlev
2022-02-02 23:14 Georgy Yakovlev
2022-02-02 20:52 Arthur Zamarin
2022-02-02 20:52 Arthur Zamarin
2022-02-02 20:52 Arthur Zamarin
2022-02-02 6:27 Sam James
2022-02-02 6:27 Sam James
2022-02-02 6:27 Sam James
2022-02-02 6:27 Sam James
2022-01-31 6:30 Georgy Yakovlev
2022-01-31 6:30 Georgy Yakovlev
2022-01-27 23:57 Georgy Yakovlev
2022-01-27 23:57 Georgy Yakovlev
2022-01-27 21:32 Georgy Yakovlev
2022-01-22 21:38 Georgy Yakovlev
2022-01-21 14:20 Georgy Yakovlev
2022-01-20 19:15 Georgy Yakovlev
2022-01-20 9:57 Georgy Yakovlev
2022-01-20 9:57 Georgy Yakovlev
2022-01-20 8:57 Georgy Yakovlev
2022-01-20 7:23 Georgy Yakovlev
2022-01-20 7:23 Georgy Yakovlev
2022-01-20 7:23 Georgy Yakovlev
2022-01-20 7:23 Georgy Yakovlev
2022-01-20 7:23 Georgy Yakovlev
2022-01-20 7:23 Georgy Yakovlev
2022-01-20 7:23 Georgy Yakovlev
2022-01-20 7:23 Georgy Yakovlev
2022-01-14 11:39 Georgy Yakovlev
2022-01-08 0:35 Georgy Yakovlev
2021-12-26 23:23 Georgy Yakovlev
2021-12-15 13:40 Jakov Smolić
2021-12-15 5:44 Georgy Yakovlev
2021-12-15 4:33 Arthur Zamarin
2021-12-01 11:46 Georgy Yakovlev
2021-12-01 11:46 Georgy Yakovlev
2021-12-01 11:42 Georgy Yakovlev
2021-12-01 11:42 Georgy Yakovlev
2021-12-01 9:02 Agostino Sarubbo
2021-11-30 20:50 Arthur Zamarin
2021-11-30 20:50 Arthur Zamarin
2021-11-30 14:49 Agostino Sarubbo
2021-11-18 4:42 Georgy Yakovlev
2021-11-18 4:42 Georgy Yakovlev
2021-11-18 4:42 Georgy Yakovlev
2021-11-18 4:42 Georgy Yakovlev
2021-11-10 7:05 Agostino Sarubbo
2021-11-09 3:06 Georgy Yakovlev
2021-11-09 3:06 Georgy Yakovlev
2021-11-09 3:06 Georgy Yakovlev
2021-11-09 3:06 Georgy Yakovlev
2021-11-09 2:49 Georgy Yakovlev
2021-11-09 2:49 Georgy Yakovlev
2021-11-09 2:49 Georgy Yakovlev
2021-10-19 18:23 Georgy Yakovlev
2021-10-16 17:50 Georgy Yakovlev
2021-10-01 23:42 Sam James
2021-10-01 23:42 Sam James
2021-09-30 20:51 Agostino Sarubbo
2021-07-27 1:26 Georgy Yakovlev
2021-06-03 7:25 Georgy Yakovlev
2021-05-25 18:56 Georgy Yakovlev
2021-05-25 12:33 Sam James
2021-05-25 11:30 Sam James
2021-05-25 10:34 Sam James
2021-05-15 17:59 Sam James
2021-05-09 9:17 Agostino Sarubbo
2021-04-28 16:46 Mikle Kolyada
2021-04-27 21:54 Georgy Yakovlev
2021-04-27 21:54 Georgy Yakovlev
2021-04-27 20:13 Georgy Yakovlev
2021-04-27 19:23 Georgy Yakovlev
2021-04-27 18:32 Georgy Yakovlev
2021-04-27 18:28 Georgy Yakovlev
2021-04-25 15:13 Georgy Yakovlev
2021-04-25 15:13 Georgy Yakovlev
2021-02-21 19:53 Georgy Yakovlev
2021-02-12 2:15 Georgy Yakovlev
2021-02-12 2:15 Georgy Yakovlev
2020-10-29 2:07 Georgy Yakovlev
2020-10-29 1:22 Sam James
2020-10-28 18:52 Georgy Yakovlev
2020-10-26 12:11 Sam James
2020-10-25 23:08 Thomas Deutschmann
2020-10-23 5:44 Georgy Yakovlev
2020-09-24 0:09 Georgy Yakovlev
2020-09-19 3:12 Georgy Yakovlev
2020-09-17 22:13 Georgy Yakovlev
2020-09-17 7:12 Georgy Yakovlev
2020-09-05 6:32 Georgy Yakovlev
2020-08-04 21:58 Georgy Yakovlev
2020-08-04 2:43 Sam James
2020-08-04 0:35 Sam James
2020-07-31 9:22 Georgy Yakovlev
2020-07-27 13:54 Sam James
2020-07-14 22:02 Georgy Yakovlev
2020-07-14 22:00 Georgy Yakovlev
2020-05-11 4:43 Georgy Yakovlev
2020-05-10 7:58 Georgy Yakovlev
2020-05-10 7:58 Georgy Yakovlev
2020-05-08 6:38 Agostino Sarubbo
2020-04-21 20:27 Georgy Yakovlev
2020-04-21 20:27 Georgy Yakovlev
2020-03-28 5:27 Georgy Yakovlev
2020-03-17 1:02 Georgy Yakovlev
2020-03-05 6:09 Georgy Yakovlev
2020-03-05 5:26 Georgy Yakovlev
2020-03-05 5:26 Georgy Yakovlev
2020-03-04 13:00 Agostino Sarubbo
2020-01-28 8:55 Georgy Yakovlev
2020-01-22 1:26 Georgy Yakovlev
2020-01-22 1:26 Georgy Yakovlev
2020-01-21 22:31 Georgy Yakovlev
2020-01-21 18:28 Georgy Yakovlev
2020-01-21 10:55 Georgy Yakovlev
2020-01-07 20:13 Georgy Yakovlev
2019-12-29 8:36 Georgy Yakovlev
2019-12-29 8:36 Georgy Yakovlev
2019-12-03 1:30 Georgy Yakovlev
2019-11-11 15:04 Aaron Bauman
2019-10-30 12:26 Agostino Sarubbo
2019-10-25 18:55 Georgy Yakovlev
2019-10-25 18:55 Georgy Yakovlev
2019-09-16 18:20 Georgy Yakovlev
2019-07-30 17:01 Georgy Yakovlev
2019-07-28 21:17 Georgy Yakovlev
2019-07-28 21:17 Georgy Yakovlev
2019-06-23 3:19 Georgy Yakovlev
2019-06-23 3:19 Georgy Yakovlev
2019-06-01 11:35 Georgy Yakovlev
2019-05-31 18:44 Georgy Yakovlev
2019-05-31 18:44 Georgy Yakovlev
2019-05-14 1:34 Georgy Yakovlev
2019-05-14 1:34 Georgy Yakovlev
2019-05-14 1:34 Georgy Yakovlev
2019-05-13 18:48 Georgy Yakovlev
2019-05-13 18:48 Georgy Yakovlev
2019-05-13 18:48 Georgy Yakovlev
2019-05-13 18:48 Georgy Yakovlev
2019-05-09 23:05 Georgy Yakovlev
2019-05-09 23:05 Georgy Yakovlev
2019-05-09 19:02 Georgy Yakovlev
2019-05-09 19:02 Georgy Yakovlev
2019-05-09 19:02 Georgy Yakovlev
2019-05-09 19:02 Georgy Yakovlev
2019-04-18 18:54 Georgy Yakovlev
2019-04-18 18:54 Georgy Yakovlev
2019-03-08 4:40 Georgy Yakovlev
2019-03-05 23:00 Georgy Yakovlev
2019-02-23 20:26 Georgy Yakovlev
2019-02-13 20:43 Georgy Yakovlev
2019-02-05 5:15 Georgy Yakovlev
2019-02-04 19:45 Georgy Yakovlev
2019-01-28 3:23 Georgy Yakovlev
2019-01-18 6:12 Georgy Yakovlev
2019-01-11 21:34 Georgy Yakovlev
2018-11-09 22:48 James Le Cuirot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1603431530.7f0894481c1195c73e20d01cd0653302a1e995f2.gyakovlev@gentoo \
--to=gyakovlev@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox