change to only support arm

(Portage version: 2.2.0_alpha123/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
This commit is contained in:
Mario Fetka 2012-10-16 18:49:35 +02:00
parent 22e00df0a2
commit 046c8e8cef
6 changed files with 520 additions and 0 deletions

View File

@ -0,0 +1,11 @@
# ChangeLog for dev-java/oracle-jdk-bin
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*oracle-jdk-bin-1.7.0.6 (16 Oct 2012)
16 Oct 2012; Mario Fetka <mario.fetka@gmail.com>
+oracle-jdk-bin-1.7.0.6.ebuild, +files/oracle-jdk-bin-1.7.env,
+files/fontconfig.Gentoo.properties, +metadata.xml:
change to only support arm

View File

@ -0,0 +1,8 @@
AUX fontconfig.Gentoo.properties 11196 SHA256 9372ca516ff36609d846a9cb446dde3212e976c10166d8e231312d6238d1db0c SHA512 1802e52383a04efd0d7fb4d6a3903f99128dce90afcb10b9dd0d3515e5feafb807449024dbe5742c7dfa9d43736e474412e1a289e06b29cf3a58e59deedd56f9 WHIRLPOOL f4c5364255f8da18bf61501d6fac10972216182e891cadd90e2cccd27917caaeeb29cf3691e865ce02937904efb30716fd8de2fca875929ff89b06ada2cff0b6
AUX oracle-jdk-bin-1.7.env 1000 SHA256 a10be01ee79265a932214698958b3be88404f8ba7fa4a83f7409de795225aa1e SHA512 6d40bebc6f7f2758a87654a1e8f74d02f9cb09b8f4b6e2b270896df1ba7d1740c5c8f4d7fddb48b0ff35c3b8167e1c8ebce8612a93ce4cceb31f0a54b4dcc657 WHIRLPOOL 434d2c219c41481f736276ee511e774a8f2b8de20c1f78a81638a2df8af5d8377782f7b1580dca508cccbd0f68d1951897a752f893560a2b04f9c7f5457b08b8
DIST UnlimitedJCEPolicyJDK7.zip 7426 SHA256 7a8d790e7bd9c2f82a83baddfae765797a4a56ea603c9150c87b7cdb7800194d SHA512 02eca7da8f3fffea388431d5352290535a63d53a1f5c795d6511ccba62445787a0ee6ad4bc1852e5262860b6d607ba2a8c6a3dbb0c3e1d7c3a67ac7bbc783204 WHIRLPOOL 02460c7ca54f5f62c3f349addf8e2a101f7a56987e9f62365fac3f703b0c93ac5de4d55697a3d04f78b547b072e0acc95a0720d2ce3b429d2fd5936d50edd1ac
DIST jdk-7u6-linux-arm-sfp-demos.tar.gz 14083570 SHA256 3a1f8fab45077885ff07289af2432331ca9b02d9ecef77058bceb70cfae4b449 SHA512 672eec4a115930ed4f3897d3ed8280611fd2b7c0b10b89ca302ecac28494453e370cc6dd7e19b7cbe78b49e5ca1b2ecab7827c2f016c150cea53675e312f1abb WHIRLPOOL 55fa12f92c8841d270e076b0f13ff1a1292354e8610458c85872dfeb2702b9307aa230f70169abf04cd08805c238773d8740b2f10194eb797637d874a74023a1
DIST jdk-7u6-linux-arm-sfp.tar.gz 68197004 SHA256 696d623bba3e74dbb5edb464d2a452dda07364ceb3bb81b8b9df1cc5bdb7fde3 SHA512 6738f3134d66ccb83d99558ebc8c0f1b6eaf6de5b24b3cbec93d8abfb5f0cddde5549d05363f6304aa46d1382c87eeb7e4c7b6cc259d8f2c6f5397e9da11ba11 WHIRLPOOL aa9f6a5d28b7bdc9d285ae3bcbf9ca09c8b53ecd750aad83cde614535fd3bd37e0afac2f0f579a13a69c5a03c7e532603eb46aeded070f888cde4a31b13c49f6
EBUILD oracle-jdk-bin-1.7.0.6.ebuild 10128 SHA256 c194aa0acfca781fab434063ca4cd0962cc5f945dfc781c00e168c4611a4e8cf SHA512 abee347ea9c9841f043fc372310a664b946f3dd31eb147a902039772131dbaadf1d750249c5bee7e56dabba02d86350a4c14b5d29405bd26c401399028785a0c WHIRLPOOL 48b51680024c96ba25c3c6384083114480fad1d65d186ef477b1b44197eb342e4a390bffb2e5c80bcae2a33a7d1a8376940cfa69e5ab074b369acad22c04455a
MISC ChangeLog 363 SHA256 64818f7ed2b6518845ccfb8e6e349083055a7c432e3a2d4375d2be1b6751ab1c SHA512 1f71272dd67a2e9563ae64c98324f6229173c20deb6974df86f8e02dd485ff52a032bd95221150697a505addbc22d423365ef374ef1a8a2d83b9758e0da3b9c0 WHIRLPOOL bc7e3d2d6e6af475f62629c459864379db4492af60c340a60a782b2d8ba1e1f71129ddd71219f332e6e26083a93d630f280d50493d419188a6095ac885af7aa8
MISC metadata.xml 519 SHA256 09f12b427ac321fdbb2a0ae4d54259bf2fea4100abe33062bd65f27364ccf30e SHA512 b9d20b3da530304f3b9996411a7a6df83e60645057aef2c6706534ff238889e7ae771fd42ff37fef797df50033ec14edc594450fce73144f5c05d31c57e2ce7e WHIRLPOOL 2a5251448873eb66f624d227e3b203b74ab5f92672390478d5b36120181982a004af801e98008fdd701f15cfc53bd74334a82fa8f519c727791b4b29920510aa

View File

@ -0,0 +1,161 @@
# Version
version=1
# Component Font Mappings
allfonts.chinese-gb18030=-misc-ming for iso10646 -medium-r-normal--*-%d-*-*-c-*-iso10646-1
allfonts.chinese-gb18030.motif=-isas-song ti-medium-r-normal--*-%d-*-*-c-*-gb2312.1980-0
allfonts.chinese-big5=-arphic technology co.-ar pl mingti2l big5-medium-r-normal--*-%d-*-*-c-*-iso10646-1
allfonts.chinese-big5.motif=-taipei-fixed-medium-r-normal--*-%d-*-*-c-*-big5-0
allfonts.lucida=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
serif.plain.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
serif.plain.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.plain.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
serif.plain.latin-1=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1
serif.plain.latin-1.motif=-b&h-luxi serif-medium-r-normal--*-%d-*-*-p-*-iso8859-1
serif.bold.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
serif.bold.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.bold.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
serif.bold.latin-1=-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1
serif.bold.latin-1.motif=-b&h-luxi serif-bold-r-normal--*-%d-*-*-p-*-iso8859-1
serif.italic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
serif.italic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.italic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
serif.italic.latin-1=-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1
serif.italic.latin-1.motif=-b&h-luxi serif-medium-i-normal--*-%d-*-*-p-*-iso8859-1
serif.bolditalic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
serif.bolditalic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.bolditalic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
serif.bolditalic.latin-1=-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1
serif.bolditalic.latin-1.motif=-b&h-luxi serif-bold-i-normal--*-%d-*-*-p-*-iso8859-1
sansserif.plain.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
sansserif.plain.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.plain.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
sansserif.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.plain.latin-1.motif=-b&h-luxi sans-medium-r-normal--*-%d-*-*-p-*-iso8859-1
sansserif.bold.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
sansserif.bold.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.bold.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
sansserif.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.bold.latin-1.motif=-b&h-luxi sans-bold-r-normal--*-%d-*-*-p-*-iso8859-1
sansserif.italic.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
sansserif.italic.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.italic.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
sansserif.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.italic.latin-1.motif=-b&h-luxi sans-medium-i-normal--*-%d-*-*-p-*-iso8859-1
sansserif.bolditalic.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
sansserif.bolditalic.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.bolditalic.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
sansserif.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.bolditalic.latin-1.motif=-b&h-luxi sans-bold-i-normal--*-%d-*-*-p-*-iso8859-1
monospaced.plain.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
monospaced.plain.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.plain.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
monospaced.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.plain.latin-1.motif=-b&h-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1
monospaced.bold.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
monospaced.bold.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.bold.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
monospaced.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.bold.latin-1.motif=-b&h-luxi mono-bold-r-normal--*-%d-*-*-m-*-iso8859-1
monospaced.italic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
monospaced.italic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.italic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
monospaced.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.italic.latin-1.motif=-b&h-luxi mono-medium-i-normal--*-%d-*-*-m-*-iso8859-1
monospaced.bolditalic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
monospaced.bolditalic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.bolditalic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
monospaced.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.bolditalic.latin-1.motif=-b&h-luxi mono-bold-i-normal--*-%d-*-*-m-*-iso8859-1
dialog.plain.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
dialog.plain.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.plain.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
dialog.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.plain.latin-1.motif=-b&h-luxi sans-medium-r-normal--*-%d-*-*-p-*-iso8859-1
dialog.bold.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
dialog.bold.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.bold.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
dialog.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.bold.latin-1.motif=-b&h-luxi sans-bold-r-normal--*-%d-*-*-p-*-iso8859-1
dialog.italic.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
dialog.italic.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.italic.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
dialog.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.italic.latin-1.motif=-b&h-luxi sans-medium-i-normal--*-%d-*-*-p-*-iso8859-1
dialog.bolditalic.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
dialog.bolditalic.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.bolditalic.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
dialog.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.bolditalic.latin-1.motif=-b&h-luxi sans-bold-i-normal--*-%d-*-*-p-*-iso8859-1
dialoginput.plain.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
dialoginput.plain.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.plain.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
dialoginput.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.plain.latin-1.motif=-b&h-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1
dialoginput.bold.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
dialoginput.bold.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.bold.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
dialoginput.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.bold.latin-1.motif=-b&h-luxi mono-bold-r-normal--*-%d-*-*-m-*-iso8859-1
dialoginput.italic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
dialoginput.italic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.italic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
dialoginput.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.italic.latin-1.motif=-b&h-luxi mono-medium-i-normal--*-%d-*-*-m-*-iso8859-1
dialoginput.bolditalic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
dialoginput.bolditalic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.bolditalic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
dialoginput.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.bolditalic.latin-1.motif=-b&h-luxi mono-bold-i-normal--*-%d-*-*-m-*-iso8859-1
# Search Sequences
sequence.allfonts=latin-1
sequence.allfonts.Big5=latin-1,chinese-big5
sequence.allfonts.GB2312=latin-1,chinese-gb18030
sequence.allfonts.x-euc-jp-linux=latin-1,japanese-x0208
sequence.allfonts.EUC-KR=latin-1,korean
sequence.allfonts.GB18030=latin-1,chinese-gb18030
sequence.fallback=lucida,chinese-big5,chinese-gb18030,japanese-x0208,korean
# Exclusion Ranges
exclusion.japanese-x0208=0390-03d6,2200-22ef,2701-27be
# Font File Names
filename.-arphic_technology_co.-ar_pl_mingti2l_big5-medium-r-normal--*-%d-*-*-c-*-iso10646-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/arphicfonts/bsmi00lp.ttf
filename.-misc-baekmuk_batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/baekmuk-fonts/batang.ttf
filename.-misc-baekmuk_gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/baekmuk-fonts/gulim.ttf
filename.-misc-kochi_gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
filename.-misc-kochi_mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf
filename.-misc-ming for iso10646 -medium-r-normal--*-%d-*-*-c-*-iso10646-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/hkscs-ming/min_uni.ttf
# AWT X11 font paths
awtfontpath.latin-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/Type1
awtfontpath.chinese-big5=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/arphicfonts
awtfontpath.chinese-gb18030=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/arphicfonts
awtfontpath.japanese-x0208=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/kochi-substitute
awtfontpath.korean=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/baekmuk-fonts

View File

@ -0,0 +1,17 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/files/oracle-jdk-bin-1.7.env,v 1.2 2011/11/17 22:49:56 caster Exp $
VERSION="Oracle JDK @PV@"
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
JAVAC=${JAVA_HOME}/bin/javac
PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
LDPATH="${JAVA_HOME}/jre/lib/@PLATFORM@/:${JAVA_HOME}/jre/lib/@PLATFORM@/xawt/:${JAVA_HOME}/jre/lib/@PLATFORM@/server/"
MANPATH="@GENTOO_PORTAGE_EPREFIX@/opt/@P@/man"
PROVIDES_TYPE="JDK JRE"
PROVIDES_VERSION="1.7"
BOOTCLASSPATH="${JAVA_HOME}/jre/lib/resources.jar:${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/sunrsasign.jar:${JAVA_HOME}/jre/lib/jsse.jar:${JAVA_HOME}/jre/lib/jce.jar:${JAVA_HOME}/jre/lib/charsets.jar:${JAVA_HOME}/jre/classes"
GENERATION="2"
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>java</herd>
<longdescription>Oracle Java SE Development Kit, Official Binary Distribution</longdescription>
<use>
<flag name="derby">Enable Installation of Bundled Derby (Java DB)</flag>
<flag name="jce">Enable Java Cryptographic Extension Unlimited Strength Policy files</flag>
<flag name="pax_kernel">Use paxctl to mark the JVM binaries.</flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,312 @@
# Copyright 1999-2012 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.6.ebuild,v 1.1 2012/08/19 17:59:31 caster Exp $
EAPI="4"
inherit java-vm-2 eutils prefix versionator
# This URIs need to be updated when bumping!
JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html"
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html"
UPDATE="$(get_version_component_range 4)"
MY_PV="$(get_version_component_range 2)u${UPDATE}"
S_PV="$(get_version_component_range 1-3)_0${UPDATE}"
ARM_AT="jdk-${MY_PV}-linux-arm-sfp.tar.gz"
ARM_DEMOS="jdk-${MY_PV}-linux-arm-sfp-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/"
SRC_URI="
arm? ( ${ARM_AT}
examples? ( ${ARM_DEMOS} ) )
jce? ( ${JCE_FILE} )"
LICENSE="Oracle-BCLA-JavaSE examples? ( BSD )"
SLOT="1.7"
KEYWORDS="~arm"
IUSE="+X alsa derby doc examples +fontconfig jce nsplugin pax_kernel +source"
RESTRICT="fetch strip"
RDEPEND="
X? (
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libX11
)
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 )
pax_kernel? ( sys-apps/paxctl )"
S="${WORKDIR}/jdk${S_PV}"
pkg_nofetch() {
if use arm; then
AT=${ARM_AT}
fi
if use arm; then
DEMOS=${ARM_DEMOS}
fi
einfo "Please download ${AT} from:"
einfo "${JDK_URI}"
einfo "and move it to ${DISTDIR}"
if use examples; then
einfo "Also download ${DEMOS} from:"
einfo "${JDK_URI}"
einfo "and move it to ${DISTDIR}"
fi
if use jce; then
einfo "Also download ${JCE_FILE} from:"
einfo "${JCE_URI}"
einfo "and move it to ${DISTDIR}"
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"
if use arm; then
bin/java -client -Xshare:dump || die
fi
bin/java -server -Xshare:dump || die
# 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 arm; then
rm -vf {,jre/}lib/arm/libjavaplugin_oji.so \
{,jre/}lib/arm/libjavaplugin_nscp*.so
rm -vrf jre/plugin/arm
fi
# Without nsplugin flag, also remove the new plugin
local arch=${ARCH};
use arm && arch=arm;
if ! use nsplugin; then
rm -vf {,jre/}lib/${arch}/libnpjp2.so \
{,jre/}lib/${arch}/libjavaplugin_jni.so
fi
dodir "${dest}"
cp -pPR bin include jre lib man "${ddest}" || die
if use derby; then
cp -pPR db "${ddest}" || die
fi
if use examples; then
cp -pPR demo sample "${ddest}" || die
fi
# Remove empty dirs we might have copied
find "${D}" -type d -empty -exec rmdir {} + || die
dodoc COPYRIGHT
dohtml README.html
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
# 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}.png#" \
jre/lib/desktop/applications/sun_java.desktop > \
"${T}"/jcontrol-${PN}-${SLOT}.desktop || die
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
# 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
set_java_env
java-vm_revdep-mask
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
}
QA_TEXTRELS_arm="
opt/${P}/jre/lib/arm/client/libjvm.so
opt/${P}/jre/lib/arm/server/libjvm.so"
QA_FLAGS_IGNORED="
/opt/${P}/bin/appletviewer
/opt/${P}/bin/apt
/opt/${P}/bin/extcheck
/opt/${P}/bin/idlj
/opt/${P}/bin/jar
/opt/${P}/bin/jarsigner
/opt/${P}/bin/java
/opt/${P}/bin/javac
/opt/${P}/bin/javadoc
/opt/${P}/bin/javah
/opt/${P}/bin/javap
/opt/${P}/bin/javaws
/opt/${P}/bin/jcmd
/opt/${P}/bin/jconsole
/opt/${P}/bin/jdb
/opt/${P}/bin/jhat
/opt/${P}/bin/jinfo
/opt/${P}/bin/jmap
/opt/${P}/bin/jps
/opt/${P}/bin/jrunscript
/opt/${P}/bin/jsadebugd
/opt/${P}/bin/jstack
/opt/${P}/bin/jstat
/opt/${P}/bin/jstatd
/opt/${P}/bin/keytool
/opt/${P}/bin/native2ascii
/opt/${P}/bin/orbd
/opt/${P}/bin/pack200
/opt/${P}/bin/policytool
/opt/${P}/bin/rmic
/opt/${P}/bin/rmid
/opt/${P}/bin/rmiregistry
/opt/${P}/bin/schemagen
/opt/${P}/bin/serialver
/opt/${P}/bin/servertool
/opt/${P}/bin/tnameserv
/opt/${P}/bin/unpack200
/opt/${P}/bin/wsgen
/opt/${P}/bin/wsimport
/opt/${P}/bin/xjc
/opt/${P}/demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
/opt/${P}/demo/jvmti/gctest/lib/libgctest.so
/opt/${P}/demo/jvmti/heapTracker/lib/libheapTracker.so
/opt/${P}/demo/jvmti/heapViewer/lib/libheapViewer.so
/opt/${P}/demo/jvmti/hprof/lib/libhprof.so
/opt/${P}/demo/jvmti/minst/lib/libminst.so
/opt/${P}/demo/jvmti/mtrace/lib/libmtrace.so
/opt/${P}/demo/jvmti/versionCheck/lib/libversionCheck.so
/opt/${P}/demo/jvmti/waiters/lib/libwaiters.so
/opt/${P}/jre/bin/java
/opt/${P}/jre/bin/java_vm
/opt/${P}/jre/bin/javaws
/opt/${P}/jre/bin/keytool
/opt/${P}/jre/bin/orbd
/opt/${P}/jre/bin/pack200
/opt/${P}/jre/bin/policytool
/opt/${P}/jre/bin/rmid
/opt/${P}/jre/bin/rmiregistry
/opt/${P}/jre/bin/servertool
/opt/${P}/jre/bin/tnameserv
/opt/${P}/jre/bin/unpack200
/opt/${P}/jre/lib/jexec
/opt/${P}/lib/jexec
/opt/${P}/lib/visualvm/profiler/lib/deployed/jdk15/linux-amd64/libprofilerinterface.so
/opt/${P}/lib/visualvm/profiler/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so"
for java_system_arch in amd64 arm; do
QA_FLAGS_IGNORED+="
/opt/${P}/jre/lib/${java_system_arch}/headless/libmawt.so
/opt/${P}/jre/lib/${java_system_arch}/jli/libjli.so
/opt/${P}/jre/lib/${java_system_arch}/libattach.so
/opt/${P}/jre/lib/${java_system_arch}/libawt.so
/opt/${P}/jre/lib/${java_system_arch}/libcmm.so
/opt/${P}/jre/lib/${java_system_arch}/libdcpr.so
/opt/${P}/jre/lib/${java_system_arch}/libdeploy.so
/opt/${P}/jre/lib/${java_system_arch}/libdt_socket.so
/opt/${P}/jre/lib/${java_system_arch}/libfontmanager.so
/opt/${P}/jre/lib/${java_system_arch}/libhprof.so
/opt/${P}/jre/lib/${java_system_arch}/libinstrument.so
/opt/${P}/jre/lib/${java_system_arch}/libioser12.so
/opt/${P}/jre/lib/${java_system_arch}/libj2gss.so
/opt/${P}/jre/lib/${java_system_arch}/libj2pcsc.so
/opt/${P}/jre/lib/${java_system_arch}/libj2pkcs11.so
/opt/${P}/jre/lib/${java_system_arch}/libjaas_unix.so
/opt/${P}/jre/lib/${java_system_arch}/libjava_crw_demo.so
/opt/${P}/jre/lib/${java_system_arch}/libjavaplugin_jni.so
/opt/${P}/jre/lib/${java_system_arch}/libjava.so
/opt/${P}/jre/lib/${java_system_arch}/libjawt.so
/opt/${P}/jre/lib/${java_system_arch}/libJdbcOdbc.so
/opt/${P}/jre/lib/${java_system_arch}/libjdwp.so
/opt/${P}/jre/lib/${java_system_arch}/libjfr.so
/opt/${P}/jre/lib/${java_system_arch}/libjpeg.so
/opt/${P}/jre/lib/${java_system_arch}/libjsdt.so
/opt/${P}/jre/lib/${java_system_arch}/libjsig.so
/opt/${P}/jre/lib/${java_system_arch}/libjsoundalsa.so
/opt/${P}/jre/lib/${java_system_arch}/libjsound.so
/opt/${P}/jre/lib/${java_system_arch}/libkcms.so
/opt/${P}/jre/lib/${java_system_arch}/libmanagement.so
/opt/${P}/jre/lib/${java_system_arch}/libmlib_image.so
/opt/${P}/jre/lib/${java_system_arch}/libnative_chmod_g.so
/opt/${P}/jre/lib/${java_system_arch}/libnative_chmod.so
/opt/${P}/jre/lib/${java_system_arch}/libnet.so
/opt/${P}/jre/lib/${java_system_arch}/libnio.so
/opt/${P}/jre/lib/${java_system_arch}/libnpjp2.so
/opt/${P}/jre/lib/${java_system_arch}/libnpt.so
/opt/${P}/jre/lib/${java_system_arch}/librmi.so
/opt/${P}/jre/lib/${java_system_arch}/libsaproc.so
/opt/${P}/jre/lib/${java_system_arch}/libsctp.so
/opt/${P}/jre/lib/${java_system_arch}/libsplashscreen.so
/opt/${P}/jre/lib/${java_system_arch}/libsunec.so
/opt/${P}/jre/lib/${java_system_arch}/libt2k.so
/opt/${P}/jre/lib/${java_system_arch}/libunpack.so
/opt/${P}/jre/lib/${java_system_arch}/libverify.so
/opt/${P}/jre/lib/${java_system_arch}/libzip.so
/opt/${P}/jre/lib/${java_system_arch}/motif21/libmawt.so
/opt/${P}/jre/lib/${java_system_arch}/native_threads/libhpi.so
/opt/${P}/jre/lib/${java_system_arch}/server/libjvm.so
/opt/${P}/jre/lib/${java_system_arch}/xawt/libmawt.so"
done