Bump to new release

Package-Manager: portage-2.2.7
RepoMan-Options: --force
This commit is contained in:
Mario Fetka 2014-01-18 13:19:57 +01:00
parent 887e49a79a
commit 94fcc0c8de
3 changed files with 340 additions and 1 deletions

View File

@ -2,6 +2,12 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/ChangeLog,v 1.48 2013/12/25 13:36:21 grobian Exp $
*oracle-jdk-bin-1.7.0.51 (18 Jan 2014)
18 Jan 2014; Mario Fetka <mario.fetka@gmail.com>
+oracle-jdk-bin-1.7.0.51.ebuild:
Bump to new release
04 Jan 2014; Mario Fetka <mario.fetka@gmail.com>
oracle-jdk-bin-1.7.0.45.ebuild:
disbale desktom menu entry

View File

@ -2,6 +2,7 @@ AUX fontconfig.Gentoo.properties 11196 SHA256 9372ca516ff36609d846a9cb446dde3212
AUX oracle-jdk-bin-1.7.env 1000 SHA256 a2422630fc1dd9851b580e42b065d44460d9ec818b203836687e67b2ab4f1c0f SHA512 3bab31d62740b959fcf028b94d5db31f682eadff2497dafbd945aed3464a6e5dd6a6ac8b5bb62cb41c901aadefc5314f9b7fb451a46449f5c2fc818d8c88fa6f WHIRLPOOL 74dccbc5c880721d4347b631b3af9368440f20112ac1e70764ff732289c1cef24e6fb4a4a7eb3ca2f5afedab83d6db4dc324c508922de47f8f435048c4884b2a
DIST UnlimitedJCEPolicyJDK7.zip 7426 SHA256 7a8d790e7bd9c2f82a83baddfae765797a4a56ea603c9150c87b7cdb7800194d SHA512 02eca7da8f3fffea388431d5352290535a63d53a1f5c795d6511ccba62445787a0ee6ad4bc1852e5262860b6d607ba2a8c6a3dbb0c3e1d7c3a67ac7bbc783204 WHIRLPOOL 02460c7ca54f5f62c3f349addf8e2a101f7a56987e9f62365fac3f703b0c93ac5de4d55697a3d04f78b547b072e0acc95a0720d2ce3b429d2fd5936d50edd1ac
DIST javafx_samples-2_2_45-linux.zip 21220755 SHA256 85d42e18a81e982164fc49a98856a37ad657aa0dfdae1dd6292d107f8df42def SHA512 547e4ba1b6ff05bc00d20b641724e6294a549ce441e75ca3f9752b7e34e1ee14b54bd0fc7eec279da78e3b19bcca8b8a23ff75f695d63d4354f7e67d3b435923 WHIRLPOOL 3a5e3da3b45bfc3820a4e0c19f7899c7c56529e83a11b48302e7aaf11f5d96fd75d11479f03fc7866c966a75c310011a06fde0b303a6cb0da578d30ca9826efb
DIST javafx_samples-2_2_51-linux.zip 21220987 SHA256 4e827ef3008a60f685f95a3b60c6f84a889583061c4b289c3b296ad5891d1c22 SHA512 a15c6e1163780090f17b417090fe53897bf5a1cad511acd98b5f66701923f67668ad1cf0e4f2a6577d26a6c5451ba45b02ac39127a39b5d4a345f76e166e0eb7 WHIRLPOOL 1ef56cc938d30d46dfee4499b67790080d88457b31db3accb177cf0a5973a50d6c0fe8ac2a229ac51140bdc4b7e491182d44956ca69509f2a4f7c5369ac0a311
DIST jdk-7u45-linux-arm-vfp-hflt-demos.tar.gz 10371355 SHA256 b88466c36ef71ab33220d98cc62bc182b238f3df051fe3c33fb685a6ad477d2c SHA512 220086b60d7d574eba762dc15adb753aff5153de4579ce8dae8fe93b657ffed1102280a911baaecd7b572991cd854ba59320c51faa90ee69118253d7a1e0a24b WHIRLPOOL 5ce88519608f166693a601c130ec533ca88424335f02a795a9e4a3911ab7b76fe934fd3d1d12c83d4e3ce4560995dcce918a0388bab15081c98058a38432069a
DIST jdk-7u45-linux-arm-vfp-hflt.tar.gz 70954665 SHA256 97d8994f94e891540901271a889539dcb7addc52264b025ee5d4cbcec3e0ad0b SHA512 94ae079d1b2f987bbe412b95660cbaab51722fc58099b8e7c458b804eb4f3e84b716efb3c659fd11c5499535d644171c80566fdc74bea4f09e7fd6a0367997cb WHIRLPOOL 5d521731c31b1bb3c0bcd841b525cb522bf4eb6ba1026dba0b4118f8008887a0858a99ca32dc8b580d7c288164a11a78a1653edbebdc5dbc627599e0f6787194
DIST jdk-7u45-linux-arm-vfp-sflt-demos.tar.gz 10216305 SHA256 bb2f7afc6aee473bfff3c1c2965d77fdf94354d28a1c1fe142fbeec17cc58711 SHA512 31c459e56b4e73a451d109256b0392e94597ec574b1acab9dbabc2f100bdcc5032d1c748f2195cfdbe4eb06d9444f459bedaa4d971792ddb1cde66e9e72ff505 WHIRLPOOL dc96144fe5a39d0324e977750748dd69b97d8ae6a8fc9240f85c6c227663b8f4be2aa8169d0b36ea22117acc0bfc0093eb5c37c3c02620e6fb68f83f0ff54cab
@ -20,6 +21,25 @@ DIST jdk-7u45-solaris-sparcv9-demos.tar.gz 905609 SHA256 81032b71f1ad80e87c82ffe
DIST jdk-7u45-solaris-sparcv9.tar.gz 19145011 SHA256 db249eaa309e253b7f42966690a2c2489ffe7c56754931dec8e2f610d4e5e425 SHA512 3c54a98f92155b57bfdfaa2c8aa329e2f2f7085b9967d830f430983f61d6b774a3335619cf83a79f1a530388615661e70425f8d69f9f964e7b0e7593c4c1725e WHIRLPOOL 6fb7892047d4be97a4df9233019df83ffe67156a0c5b092841c315d5b66ad81eab0f66391c16634fc093f7756eda37df687dbe98283a11feadb49b9f1a8a8cfc
DIST jdk-7u45-solaris-x64-demos.tar.gz 864994 SHA256 303da56d863604d989cef60ceb896e569484dcdae8cd41b443ef5ef74f1fe97c SHA512 642571d753952a4058d69b358a4ec156a37aebf5045242c7a7150fbf85ad4280b263b3caf8df21795f81c282384d0ab047dc7cac17d22145f40dc5682dc91974 WHIRLPOOL 031d47e4fb9b7a68cf5ea1eb7d3c346f6ff214fe728ce2aa44e58d89943545d9012ceaba5bd4cb29394eda4f80ad6c0b1d52f32a2b3f4ca60923f30887d31ebf
DIST jdk-7u45-solaris-x64.tar.gz 17020495 SHA256 fc221d822ab835e94e2ac5749a46f4669971b4cce69df199044858da51ff202d SHA512 ad6ef58f5fbc6e9003812ca6e628c97796de9d7c97afb81d998a87eab7e86618f63d40cff2686eac4f305ec5e57326a53557c1853883b77ad7bbb10be5225b1e WHIRLPOOL c16d7a00c99e63f88a6d34fe29cc446a5383ca6eb91d376c14a42daa6a7f6b508726e2562dd3a875b2f7910652b5d192ee4b13045bb466d078609ea883ce250b
DIST jdk-7u51-linux-arm-vfp-hflt-demos.tar.gz 10375117 SHA256 863e28e4265378c70411e77af092ad6d5f2ba30dbcd7998cc43ae653cebb8e29 SHA512 53e293e49c0b6d5fe5bb391e3ae0d6b8c59690ba53fb82aac58a9f671243a2ceee2b8f75cce19d6adb68d7561a6dca29dd1f393ca1d230105f92abab98c276df WHIRLPOOL 1177e37eda2c14fb24e11c456c23714613b911d7832ec1d86d519c6791ad1b797db3055327e878f9f13bc111057e6cab046952c52c16a8ef4c98895f224ea937
DIST jdk-7u51-linux-arm-vfp-hflt.tar.gz 70986384 SHA256 47273843454755d1bdd3b91ec97c42b1bcdae01af6e42c38413c3d0ff630557a SHA512 e9a94e434c3da105b61337490e79b30cf6e59d13eb3409ab12b10b85ecbf23b122f453d7aea84472ff54cb0b97856c1eb6d298da71655533e0199f55f51bb669 WHIRLPOOL 1f5431deb15f32b60997a4cc1074bf63bb4cce2f74f43eed47050342956fa51c4045801c5326e8f460b9c86954826f7ad72bd832f99ebfb2b13eb218c0708b18
DIST jdk-7u51-linux-arm-vfp-sflt-demos.tar.gz 10253500 SHA256 8660fe46041c63f70c58c7b99830d69448926b9d1b3e42daa74b93e63363c52c SHA512 bd9d9912cfe144374acb7f92d451d313ccb32ef702238449ea430e7b1ba67ddda12c7047d6694c6c6a77a3b147faedef89fa4505ee79579a05984ec42c800043 WHIRLPOOL 70cfdab3fd5c44967da671ea969e1a5102383342fd22300f516506203dfa9d47d84038edb028ed6838dc3326c55e8a946ca163ed6913d4828f4a6681bdccb554
DIST jdk-7u51-linux-arm-vfp-sflt.tar.gz 70962857 SHA256 75b776dc71e62e5440cf619bd7cf7022fa4e82888ca408bf496413e2bcfe0bbe SHA512 0c2ba5d7d61fcaee20f7b87d801015aabd4c371c66b78ec75f127b5a64e282eae0149cf08d58d23d829998766cbcbdb9f82f2c271de7edd521d93d2d8e02dc70 WHIRLPOOL 675a37e60ff793a715eb5006a778765540ad021b06cb7781508515a2386f0283351132dec8a6af9cfd90165128f7de9dcb566fb9be240397e02f75ad5cb3cf41
DIST jdk-7u51-linux-i586-demos.tar.gz 17363334 SHA256 0cbb165347b5ea38c8d02d54a3176c7b793e84477f86f8816a428de437160227 SHA512 adb0ce5ccb4c332e80da356bf5f01af666b88c1f5cbb208a492450bf63bf9414d020c8afd24d90a45f91449b976671362b81dc86cbbeb8b282920adfd09dcf58 WHIRLPOOL e499b653dd4f8ab9e4e053b6fc32afa4e72562eb15c52cda75eefcc6fbebd29324fca33dede7ba7e2313942331f0817c25c4e209946e8b644f0a1978ec41c98e
DIST jdk-7u51-linux-i586.tar.gz 139444114 SHA256 b3a2965e44446e476f4e27f7ea13a503a91403ac80bcd71693ad2f84baff42cf SHA512 d9f942740ec859d96982dadd9aaaa9d51a336d3f3dca73e43e3205ea048ac369a52291514aaa66caa492a3269476c05dcb50060d0531ddc9491edd479e36c505 WHIRLPOOL 462dc3194547ac6a0ce867147100500b705b8f27e3fed560c7515012afa3c1155b2bd0fef9888e2a04acc2c11a24bd0ccc66febe10da082bcc8f128b20d36c85
DIST jdk-7u51-linux-x64-demos.tar.gz 17389654 SHA256 210ca6bce6a3bc527c1bbabcec93d816d9fb77eb09dc9e46caa2db225483a7d0 SHA512 b0a73c90067f7c71122bfd63700ea707b343162a8570e6ba3bdc3cceb8bd8e344effe27880eab2d0460297db8192319df0642fe1eb11bd382006e3f0cd7a4f8a WHIRLPOOL 3d020fb0a561ecf55dd68609990ee39b35274e7ba30f1be477044fb5430c5a917be0f973e7b6a4abefa6b36fd9b4863d1ca63b45ab9f480fc6311b1fe653c14c
DIST jdk-7u51-linux-x64.tar.gz 138199690 SHA256 77367c3ef36e0930bf3089fb41824f4b8cf55dcc8f43cce0868f7687a474f55c SHA512 92ce3db4bb2116b7f144b2d710bb168178298c017f7f59c5191e116e66e2123f508ae6c84aed839615da3d8fa6fbc7892497df0fb0c1bcc6d030227fb55effe9 WHIRLPOOL 3b0046a3f3e7b70be8e18c2bfd52c3126941a0ec61d575dee1c4b97db2e976bb4b7d9a780e6b67d544b94474fc42bc2dd2ac7ccf0498af7861f3fa6585ccca05
DIST jdk-7u51-macosx-x64.dmg 188212404 SHA256 1312b0553bd37a232114637f05b036a6fd5d444e653adef7230ba141328f7734 SHA512 76cbc741cf43fd317f9794887d4c51716cc2209326e40a98a1d0a3e5a7e9697a24beaf2df6916ad36cf5acab93b5708ae3f96f421e84f15933c6581bd642033a WHIRLPOOL 9f31d17bd6abda7b85ec4f8473625b7e2ec15fabe85e3664c980e8fed38c8c71c0d446577a1b2eae3e41b5db0cecd3f54c750ab0980bc2a1d3bb9f7a2aad4f9b
DIST jdk-7u51-macosx-x86_64-demos.tar.gz 16042979 SHA256 7a511b25d7525fb2048e02ff0c9c709944328d162622e269403701cc6016c748 SHA512 c041321fa171a15789fa1b867c40477aec5f7995a7bf575c9248c9f2a64085ce54dd7284a58055c547e1de8e1dea0a125b746d70801c25543951c20d0b6a35a0 WHIRLPOOL 58e458a21d27a429a3777dc76bce3d658c59f05619bca0c9c5d9e99767187a9a9ba111ed2b4a2712363af03c8272bffa88297ab356ab5b8ceeddb1b16db52c03
DIST jdk-7u51-solaris-i586-demos.tar.gz 16758927 SHA256 ec3a4bfe34ac97d40cab2c8dabc9598b3c9af227a8185c9ad2decdf87db3f54e SHA512 5e62118b92ddccf0de83cf29c3373c9bad80d53f587c17edc6d9e623c160f2f9224fdcc0358de44245f04567b3d52058c17096f9d9d1e003808aebd6fa21c456 WHIRLPOOL 241b11d46e16d0022372ab8eb998ca73e3958d43eb69b5edbe30d831e9d9c093bb4b52820f5170efca61b0d912b024f45d60ade8d3d775182e1fee3ccd1b661f
DIST jdk-7u51-solaris-i586.tar.gz 99755627 SHA256 ca5b0c9daefe547d0be1f4d2138b939e2698069915f650e92fc4169c886b690a SHA512 bbd415875e895d97e9d9191ba54845581655dd60ffa66cebb72094ddd810b7f2b6f19f326eb06a9f605db5de13a717e019660ed0ba9f3279732dd96a6ab671e0 WHIRLPOOL 6508871e0af6719113fc5bb12d15984faf39c36d77186666bb247eb21304aefb4c4c48bf021dcd2e031a3d7c431b1aa08b262bd71852a15c902b1d21a872f9e0
DIST jdk-7u51-solaris-sparc-demos.tar.gz 16804129 SHA256 64cbd4a988fc03cd3fe65058bcc712c92c9acd9692b9c9d7e17fb957ba3c0faa SHA512 55cf7fc2cf30635b604ce6afc80d692329dfb8facc2e7e192fd401209a45fa9101c41d0cca134e1925e7a3f911d82547803f2104f1bc47eec9c4064a13c5b0d6 WHIRLPOOL dc79813a8a17fcfbde498900eea180ccb9f6f59c3bdb189e340ee5f381af8c2ae1b0dfb5b3c7351c5dd2c3646d7cddb995e9328a99bf6ce0fe1d0e90e7c80a71
DIST jdk-7u51-solaris-sparc.tar.gz 102958497 SHA256 70530c44b57a04682914008dab678edab8ef6f062791a338068a8cd274c49bf6 SHA512 48190aae0851e37445efbd69224eb6e41f0e6cf74276680cc16b8d74d9bf86a88ac8c433f3ce80786f4ff1355044529eb2d6f5db0751c371dce3eff7aa4be0a9 WHIRLPOOL e012159ec8d0566d3b2017e6e40722ccc3a1d41a459e361a617c14be01a58a124efddc3411e9531747c315a24217c1102d38e23c24914fd50adbd2947ea5f721
DIST jdk-7u51-solaris-sparcv9-demos.tar.gz 906072 SHA256 ea7974b1527fdc77a98806803bf475578d21532380678faedb0f0ff90758d950 SHA512 7164b0444db5e7057937503b1cd7bd0a0507389aa2e4783c779f139c44a1d7fdb175365fa0be73904461a7ff49277903ec733be7aabcff24eb280d65994eb674 WHIRLPOOL 96dd27341f3b73c747270216e85854629b711c111bcbfc9aba1560ca4862e84517d3ca79f55bf423c342168a2c5db331025578192d1ff39fcf249143ffa3eba0
DIST jdk-7u51-solaris-sparcv9.tar.gz 19225586 SHA256 7df20ac03b4f95ccd907f6a54af8ea97f47d4b774f9516128af3d89202497c52 SHA512 cacc3869ebb11b128f74ab7080aa5a44a7a91b16d56bedd75040556973b41a3216d8489ab9139d8f3d0eb13b2cb09ec51d301e8eca3ec437af141b26d1235d31 WHIRLPOOL 7442c8d2daa10cd3724a7167b333545e5342db79993e0b88c7033300e50bd09d6b0aff19df1b8c99464e541693c004e6e4bec73ba3a03078e56fae33f10a12af
DIST jdk-7u51-solaris-x64-demos.tar.gz 866244 SHA256 38513732f386a7227e6a8125a33d090ffb045f9deed686bb46e385fce3eb92e7 SHA512 04760813679f22469088f5be5d2e49532e8a3eed311967e753bc2fd9d1ec85f5cf691072df949b80f0b796528c7e32db282e44cf5dc38fd0b61e553a6786fb17 WHIRLPOOL 1697ec2ee1993f15ce3a916e075c2e3811cf734150c4247e7c7d3a18039e55b4c1199405b516f5eada9c72cd1b0b6b0520c874e657ec8b5d048ff0684ca60372
DIST jdk-7u51-solaris-x64.tar.gz 17070697 SHA256 5ec2ea2015d9668395255af55c1366f66c5408c5841a0ed92d7a5435d3dfca9e SHA512 0bf87374b42475fce257bacddf1652088dac527f4594b77f9c072826ab5f0d6ce180756954144bd634eae306bc58ab0545bba84ebb1d3d3d06fed3b00ddb674c WHIRLPOOL 7b5907d33efc3e063ece7c618cb8a0b96e711270db38da49a5873cded03d25e720b0df28a8527d4d8c86328f9a7ddef34f0606df00ccda3d50560f23978f4de8
EBUILD oracle-jdk-bin-1.7.0.45.ebuild 10567 SHA256 96963d5eeccd9430b7fd28931f7740488bf411e86ed22ab481dcd2a3e46bb857 SHA512 e017a14a86f5f76c98651860cb04105a790dce19dc0fbd8fb923f23b7cf0249de931d2c44cc796df828ed317d850737b3e65b72737ec1e712f96c36eb4b09685 WHIRLPOOL 3c30c919b5e85df0d47bd884f2f05fb19a878d5140c987af665a362be85aaf9ed2928555439c9768fe8d8d46b627b43d30eda15254fab2dd87f0b2cac4b215a1
MISC ChangeLog 9012 SHA256 2ef49255279f58ce84110c98c8b5066f97d217ff7b872c09c3e4629bdadb3520 SHA512 7e47f966131cf20100295b9ab2c94553b156b3902b8664630a624b58625787231a95025b284c51210e9a534cb508280bc785c50302473e4a72614bb14a88692b WHIRLPOOL ac87a4fabd4f143139c0c7de1786b5ee0e2009878063b6d0a768aedd9a47396544b7219a13c55ce3355099d2cbcd503de90625b416b4b2a4001cac711c6d07f1
EBUILD oracle-jdk-bin-1.7.0.51.ebuild 10567 SHA256 384a17ef511929255a3678946a59514cc6f87012fb9b4bd9f873ce4e0eda6ff2 SHA512 c51e98e1fcfa1b2df4953a9a66b6014566127e0fc1ae91872cb0f3b87fd39f79d25f9901e3f285caa3f182dd957ee17858dd9a893da4cf088c9032e6becca20c WHIRLPOOL e94f2c8afc8c25e6ec1bd9d0fb7f9ea9192a4c86c9c1e08bcbdd43f8480b0b33115604f3eca46c0664ca364113139709899db74338330b4977bd37859182c1f7
MISC ChangeLog 9161 SHA256 d9b8db59e3331b0022c4f6f4b855727b408963df4dd0bbb0ea62820be7730dc4 SHA512 463f90ac245269d61fa2160d2126b0e94496ac814eaef50e8f8a4f71ffcf7109a8e19b31a5d7b7cdcf4f69f3ee6516cd7282fb55d1dfe0e3597814c19e91383a WHIRLPOOL d5c31bd8cfec24b6cc594ed1bf6f0ccb84f4e98128a4e93a968bacc58ae2e9690ef1903e184818ff72c6eb1cbb541c50c9cf44bb37763be44aaa4c019b1e8030
MISC metadata.xml 519 SHA256 09f12b427ac321fdbb2a0ae4d54259bf2fea4100abe33062bd65f27364ccf30e SHA512 b9d20b3da530304f3b9996411a7a6df83e60645057aef2c6706534ff238889e7ae771fd42ff37fef797df50033ec14edc594450fce73144f5c05d31c57e2ce7e WHIRLPOOL 2a5251448873eb66f624d227e3b203b74ab5f92672390478d5b36120181982a004af801e98008fdd701f15cfc53bd74334a82fa8f519c727791b4b29920510aa

View File

@ -0,0 +1,313 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.7.0.45.ebuild,v 1.5 2013/12/25 13:36:20 grobian Exp $
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/jdk7-downloads-1880260.html"
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html"
# This is a list of archs supported by this update.
# Currently arm comes and goes.
AT_AVAILABLE=( amd64 arm x86 x64-solaris x86-solaris sparc-solaris sparc64-solaris x86-macos 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 arm x86 x64-solaris x86-solaris sparc-solaris sparc64-solaris x86-macos x64-macos )
FX_VERSION="2_2_51"
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
S_PV="$(replace_version_separator 3 '_')"
AT_x86="jdk-${MY_PV}-linux-i586.tar.gz"
AT_amd64="jdk-${MY_PV}-linux-x64.tar.gz"
AT_arm="jdk-${MY_PV}-linux-arm-vfp-sflt.tar.gz jdk-${MY_PV}-linux-arm-vfp-hflt.tar.gz"
AT_x86_solaris="jdk-${MY_PV}-solaris-i586.tar.gz"
AT_x64_solaris="${AT_x86_solaris} jdk-${MY_PV}-solaris-x64.tar.gz"
AT_sparc_solaris="jdk-${MY_PV}-solaris-sparc.tar.gz"
AT_sparc64_solaris="${AT_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9.tar.gz"
AT_x86_macos="jdk-${MY_PV}-macosx-x64.dmg"
AT_x64_macos="jdk-${MY_PV}-macosx-x64.dmg"
FXDEMOS_linux="javafx_samples-${FX_VERSION}-linux.zip"
DEMOS_x86="${FXDEMOS_linux} jdk-${MY_PV}-linux-i586-demos.tar.gz"
DEMOS_amd64="${FXDEMOS_linux} jdk-${MY_PV}-linux-x64-demos.tar.gz"
DEMOS_arm="${FXDEMOS_linux} jdk-${MY_PV}-linux-arm-vfp-sflt-demos.tar.gz jdk-${MY_PV}-linux-arm-vfp-hflt-demos.tar.gz"
DEMOS_x86_solaris="jdk-${MY_PV}-solaris-i586-demos.tar.gz"
DEMOS_x64_solaris="${DEMOS_x86_solaris} jdk-${MY_PV}-solaris-x64-demos.tar.gz"
DEMOS_sparc_solaris="jdk-${MY_PV}-solaris-sparc-demos.tar.gz"
DEMOS_sparc64_solaris="${DEMOS_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9-demos.tar.gz"
DEMOS_x86_macos="jdk-${MY_PV}-macosx-x86_64-demos.tar.gz"
DEMOS_x64_macos="jdk-${MY_PV}-macosx-x86_64-demos.tar.gz"
JCE_DIR="UnlimitedJCEPolicy"
JCE_FILE="${JCE_DIR}JDK7.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}? ("
SRC_URI+=" $(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.7"
KEYWORDS="arm amd64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+X alsa aqua derby doc examples +fontconfig jce nsplugin pax_kernel source"
RESTRICT="fetch strip"
QA_PREBUILT="*"
RDEPEND="
X? ( !aqua? (
x11-libs/libX11
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrender
x11-libs/libXtst
) )
alsa? ( media-libs/alsa-lib )
doc? ( dev-java/java-sdk-docs:1.7 )
fontconfig? ( media-libs/fontconfig )
!prefix? ( sys-libs/glibc )"
# scanelf won't create a PaX header, so depend on paxctl to avoid fallback
# marking. #427642
DEPEND="
jce? ( app-arch/unzip )
examples? ( kernel_linux? ( app-arch/unzip ) )
pax_kernel? ( sys-apps/paxctl )"
S="${WORKDIR}"/jdk${S_PV}
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
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() {
# Special case for ARM soft VS hard float.
if use arm ; then
if [[ ${CHOST} = armv5* ]]; then
unpack jdk-${MY_PV}-linux-arm-vfp-sflt.tar.gz
use examples && unpack jdk-${MY_PV}-linux-arm-vfp-sflt-demos.tar.gz
elif [[ ${CHOST} = armv6* ]]; then
if [[ ${CHOST} == *-hardfloat-* ]] ; then
unpack jdk-${MY_PV}-linux-arm-vfp-hflt.tar.gz
use examples && unpack jdk-${MY_PV}-linux-arm-vfp-hflt-demos.tar.gz
else
unpack jdk-${MY_PV}-linux-arm-vfp-sflt.tar.gz
use examples && unpack jdk-${MY_PV}-linux-arm-vfp-sflt-demos.tar.gz
fi
elif [[ ${CHOST} = armv7* ]]; then
if [[ ${CHOST} == *-hardfloat-* ]] ; then
unpack jdk-${MY_PV}-linux-arm-vfp-hflt.tar.gz
use examples && unpack jdk-${MY_PV}-linux-arm-vfp-hflt-demos.tar.gz
else
unpack jdk-${MY_PV}-linux-arm-vfp-sflt.tar.gz
use examples && unpack jdk-${MY_PV}-linux-arm-vfp-sflt-demos.tar.gz
fi
fi
use examples && unpack javafx_samples-${FX_VERSION}-linux.zip
use jce && unpack ${JCE_FILE}
elif use x86-macos || use x64-macos ; then
pushd "${T}" > /dev/null
mkdir dmgmount
hdiutil attach "${DISTDIR}"/jdk-${MY_PV}-macosx-x64.dmg \
-mountpoint "${T}"/dmgmount
xar -xf dmgmount/JDK\ $(get_version_component_range 2)\ Update\ $(get_version_component_range 4).pkg
hdiutil detach "${T}"/dmgmount
zcat jdk1${MY_PV/u/0}.pkg/Payload | cpio -idv
mv Contents/Home "${S}"
popd > /dev/null
else
default
fi
}
src_prepare() {
if use jce; then
mv "${WORKDIR}"/${JCE_DIR} "${S}"/jre/lib/security/ || die
fi
}
src_compile() {
# This needs to be done before CDS - #215225
java-vm_set-pax-markings "${S}"
# see bug #207282
einfo "Creating the Class Data Sharing archives"
case ${ARCH} in
arm|ia64)
bin/java -client -Xshare:dump || die
;;
x86)
bin/java -client -Xshare:dump || die
bin/java -server -Xshare:dump || die
;;
*)
bin/java -server -Xshare:dump || die
;;
esac
# Create files used as storage for system preferences.
mkdir jre/.systemPrefs || die
touch jre/.systemPrefs/.system.lock || die
touch jre/.systemPrefs/.systemRootModFile || die
}
src_install() {
local dest="/opt/${P}"
local ddest="${ED}${dest}"
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
# writable executable segments
if use x86; then
rm -vf {,jre/}lib/i386/libjavaplugin_oji.so \
{,jre/}lib/i386/libjavaplugin_nscp*.so
rm -vrf jre/plugin/i386
fi
# Without nsplugin flag, also remove the new plugin
local arch=${ARCH};
use x86 && arch=i386;
if ! use nsplugin; then
rm -vf {,jre/}lib/${arch}/libnpjp2.so \
{,jre/}lib/${arch}/libjavaplugin_jni.so
fi
dodoc COPYRIGHT
dohtml README.html
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
if use kernel_linux; then
cp -pPR "${WORKDIR}"/javafx-samples-${FX_VERSION//_/.} \
"${ddest}"/javafx-samples || die
fi
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
install_mozilla_plugin "${dest}"/jre/lib/${arch}/libnpjp2.so
fi
if use source; then
cp src.zip "${ddest}" || die
fi
if use !x86-macos && use !x64-macos && use !arm ; 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/7/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
# Remove empty dirs we might have copied
find "${D}" -type d -empty -exec rmdir -v {} + || die
if use x86-macos || use x64-macos ; then
# fix misc install_name issues
pushd "${ddest}"/jre/lib > /dev/null || die
local lib needed nlib npath
for lib in \
libJObjC libdecora-sse libglass libjavafx-{font,iio} \
libjfxmedia libjfxwebkit libprism-es2 ;
do
lib=${lib}.dylib
einfo "Fixing self-reference of ${lib}"
install_name_tool \
-id "${EPREFIX}${dest}/jre/lib/${lib}" \
"${lib}"
done
popd > /dev/null
for nlib in jdk1{5,6} ; do
install_name_tool -change \
/usr/lib/libgcc_s_ppc64.1.dylib \
$($(tc-getCC) -print-file-name=libgcc_s_ppc64.1.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
}