diff options
author | Fabian Groffen <grobian@gentoo.org> | 2012-10-30 20:23:50 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2012-10-30 20:23:50 +0000 |
commit | 184403494c4d7fc9c1b278ee17d0e7236ca75ca9 (patch) | |
tree | b69496951ab0c8fd8e9a2f701bf6b1acee7eced5 /dev-java/soylatte-jdk-bin | |
parent | Cleanup (diff) | |
download | historical-184403494c4d7fc9c1b278ee17d0e7236ca75ca9.tar.gz historical-184403494c4d7fc9c1b278ee17d0e7236ca75ca9.tar.bz2 historical-184403494c4d7fc9c1b278ee17d0e7236ca75ca9.zip |
Add OpenJDK 7-b4 for ppc-macos
Package-Manager: portage-2.2.01.21313-prefix/cvs/Darwin i386
Manifest-Sign-Key: 0x5F75F607C5C74E89
Diffstat (limited to 'dev-java/soylatte-jdk-bin')
-rw-r--r-- | dev-java/soylatte-jdk-bin/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/soylatte-jdk-bin/Manifest | 11 | ||||
-rw-r--r-- | dev-java/soylatte-jdk-bin/files/soylatte-jdk-bin-1.7.env | 17 | ||||
-rw-r--r-- | dev-java/soylatte-jdk-bin/soylatte-jdk-bin-7.ebuild | 87 |
4 files changed, 118 insertions, 5 deletions
diff --git a/dev-java/soylatte-jdk-bin/ChangeLog b/dev-java/soylatte-jdk-bin/ChangeLog index 61750726eabf..6565a56ca2c0 100644 --- a/dev-java/soylatte-jdk-bin/ChangeLog +++ b/dev-java/soylatte-jdk-bin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/soylatte-jdk-bin # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/soylatte-jdk-bin/ChangeLog,v 1.2 2012/09/29 17:01:47 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/soylatte-jdk-bin/ChangeLog,v 1.3 2012/10/30 20:23:46 grobian Exp $ + +*soylatte-jdk-bin-7 (30 Oct 2012) + + 30 Oct 2012; Fabian Groffen <grobian@gentoo.org> + +files/soylatte-jdk-bin-1.7.env, +soylatte-jdk-bin-7.ebuild: + Add OpenJDK 7-b4 for ppc-macos 29 Sep 2012; Fabian Groffen <grobian@gentoo.org> soylatte-jdk-bin-1.0.3.ebuild: diff --git a/dev-java/soylatte-jdk-bin/Manifest b/dev-java/soylatte-jdk-bin/Manifest index b7409c901adb..3cfa8b037b54 100644 --- a/dev-java/soylatte-jdk-bin/Manifest +++ b/dev-java/soylatte-jdk-bin/Manifest @@ -2,15 +2,18 @@ Hash: SHA256 AUX soylatte-jdk-bin-1.6.env 1028 SHA256 43f75010ba68a2bd678c6140f8da99cf902bd20a4f8ab881139ed5b241dc05fc SHA512 f5d63a94d538f83a0235b3223fa1ccc1d32dd7d5ad51754d7557eeb9260a633521ff1da53ccea148e4b8a552692aa788bae5c6ccf67a191e6e573154187f5228 WHIRLPOOL 95c161470ad1333cfc158ba035f2e778c7882bc39284e1a7505d806ba020910584540167d97bb0a2ec35d33e79569fd3393b956807436a6e973535b53e5211e6 +AUX soylatte-jdk-bin-1.7.env 1036 SHA256 3edab082dd457111c3ee39974a6a9658124f6823ca93f9d8d647922112b83f31 SHA512 dfd630820ba2b5ad593c7c6bab4fc3b452130d0fb94db5b76249ddbf6eb202070a2049c842f0b2979e27dcc673803e0b5e4ce7119bc8ca55b92fbdea70faccfd WHIRLPOOL b2f56e4ae97e11cb51fbf8ce0bfcbf3933ce69da21063bfbd8a14a33911208ad7d621697144e6b6956ba6f279acd337d2d52abe7ab8e8b703f7809aba8f54a6d +DIST openjdk7-macppc-2009-12-16-b4.tar.bz2 52825661 SHA256 a31b444214de2f9ff7959a8d9fa626f7be446fa612e78af5ac8087ad30de8a42 SHA512 ac856d91d2d80fcbde99e85a2f603746dd05fa40d113770354d1871ee87a8821a83e41332b56b99a24e832d1c3e7ceeca76ec94cccb010a4e086ebb362b2ee28 WHIRLPOOL 24b41b33ed489b4426545567977377186892a10cb3adec159eba6429d124a55da63d5ef4b09ba658872e1fc3a7031846483d51549f6087ec9058e6b069181304 DIST soylatte16-amd64-1.0.3.tar.bz2 53888225 SHA256 749762d742450a8711acd7ba981969c0056e9373b453d3e97c58af07f5f92c60 SHA512 51e3499eb56c3177c3cef9416e265769757fc8e5b8075a5eb1cbde74fd7b64edb0ab64ba2c2e9751fc21f5fae035e6224a60ffff2ab8808e7f9a4d106ac1d071 WHIRLPOOL ec3e01cab1c1ddcb126e34b31a1552b65fbc96282e505f672e1e175e14aa22be348f4d3077b93ae711352eee3cbd37271950c4ab246dad58e775210e79f42f90 DIST soylatte16-i386-1.0.3.tar.bz2 55567606 SHA256 8f389eb9c19336ce18d864ad600edd692c6994259889646d68c2e66494d67ffc SHA512 e19f9755ffea0de8d397c537264334d473ae5678034bed0a04254dc82d9322ab8ae6ddc158d85713fe19c4e51542c46a06cfc7fe86ce17d278673dbd47be3abc WHIRLPOOL d8b9ae1ca8674135f6dd10aa511ee9606f255fdfa8d72b75e50d30daec39b4645137a6d02b5142020029a6a0ac0f5a766673d7833acb41e59ed29339e55f13aa EBUILD soylatte-jdk-bin-1.0.3.ebuild 2971 SHA256 3e3c885e80cbb5957857b2c697aa995854aa675eadc8abaf7dc491f0fe456d1b SHA512 242cd8a6bcc7677a6dd35d877e260ee170bfc306241238a6468553aca26b14e41225a820b907bc81396d772ed75786f2d41b36649ccc071c826099bfcf8cffca WHIRLPOOL 5c4d18aac75eece5ef28e8c8e2c3eb016339b20909b279e67043c588def1ac109ce36b298f29741b1ad3a6654acdd17f1acf6f88e82671c3c163ff3e8dd8cfc7 -MISC ChangeLog 635 SHA256 edef6ad09c822ebcac131235d6d17998df5a72fe7b3f878caf08403c76a70674 SHA512 2e4ef6e925a736cb266eff21a7c1b1ec3d8b8adb49f9074f98bd950bde9dc61a530394d8817304248892a6240236a2497558035a9aee9c2507b9d65dc6f3b0de WHIRLPOOL 5a3d3cb629b59d262e87fde15af24db75a3eaa7755e4bb9dc6d1ccec09298296019a08479ac06003ba1ab4bb217b7258d19194721e114ed73802780026feaaf1 +EBUILD soylatte-jdk-bin-7.ebuild 2582 SHA256 407067836c12a52deb3ece03d77200c1db58eb746d651d4d642043dffb55c927 SHA512 7962f6ff0ec385a37b0c776e72941476081c5b7c58f7000ec1721637ca754f7c648bedcd954526089bb9adf03e42b58057a7aa7df8a896718b51b5df01590ebe WHIRLPOOL 792683646eda6b86016fb1b7559757dba6f676c7cf199f9dc7c49827bbb3355ac1f8eda2ca9e3438796cf3271b3a2e33a2f6fb194d7df0f708672df41847ff54 +MISC ChangeLog 818 SHA256 39c71199487de7dc6bda40d24b1c715780236cb92f7f52303599298b9812bd6e SHA512 1b7413be62936400445ff3f9e99ca52aa795bc6b172586da5d4da1612e507122f77a137ae7eab55546e42f289c26adc0c31edf045a4a247fa1120607ce2efb84 WHIRLPOOL 58b48974dbbb5cd6731409357649672d7fe6357ba0b99cea39c3a4735bc30791c50b3a86a8b259fe4e27d75e00ce0d9b02ce09c0b7ba73c95461c96233072370 MISC metadata.xml 251 SHA256 75bc071e89d08c4dbe941bdd7cb6e3a3b389adc1c3223983322d76d5055c139e SHA512 e854119ec5a06286acdfce8f4967ad1a1759255c446e9540ef0d8c44ce7e1da1336f26f8b45a511fe2f0508a40199f26091f39c707bb40beae2d7e030c78e6af WHIRLPOOL b4b3a391b2152add30f88c3e2e095fe7b741a132955429ac813ea5e35e936ffae4ce265e4eadfc483176b090455e0b99879b7d29fa230b0736f914fca6e66e15 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (Darwin) -iEYEAREIAAYFAlBnKYEACgkQX3X2B8XHTon8+ACfXbuYbDB1A0y+4xyfMc1Y4XwX -L9gAnA5sCw89d7XnZEFoz6E4DdccTmrD -=HzC/ +iEYEAREIAAYFAlCQN1MACgkQX3X2B8XHTokQ/ACfYnVGMW2QL/pKALL9guyEt4+n +64UAoJpkWRe9f0jTOWda0tGqARwvvtIe +=zQfa -----END PGP SIGNATURE----- diff --git a/dev-java/soylatte-jdk-bin/files/soylatte-jdk-bin-1.7.env b/dev-java/soylatte-jdk-bin/files/soylatte-jdk-bin-1.7.env new file mode 100644 index 000000000000..024917940000 --- /dev/null +++ b/dev-java/soylatte-jdk-bin/files/soylatte-jdk-bin-1.7.env @@ -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/soylatte-jdk-bin/files/soylatte-jdk-bin-1.7.env,v 1.1 2012/10/30 20:23:46 grobian Exp $ + +VERSION="Landon Fuller's OpenJDK @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@/native_threads/:${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/rt.jar:${JAVA_HOME}/jre/lib/i18n.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" +GENERATION="2" +ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH" diff --git a/dev-java/soylatte-jdk-bin/soylatte-jdk-bin-7.ebuild b/dev-java/soylatte-jdk-bin/soylatte-jdk-bin-7.ebuild new file mode 100644 index 000000000000..edfb7984cbf2 --- /dev/null +++ b/dev-java/soylatte-jdk-bin/soylatte-jdk-bin-7.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/soylatte-jdk-bin/soylatte-jdk-bin-7.ebuild,v 1.1 2012/10/30 20:23:46 grobian Exp $ + +EAPI="3" + +JAVA_SUPPORTS_GENERATION_1="true" +inherit java-vm-2 multilib + +DESCRIPTION="Landon Fuller's OpenJDK 7 for Mac OS X 10.5/PPC" +HOMEPAGE="http://landonf.bikemonkey.org/static/soylatte/" +SRC_URI="http://landonf.bikemonkey.org/static/soylatte/bsd-dist/openjdk7_darwin/openjdk7-macppc-2009-12-16-b4.tar.bz2" +SLOT="1.7" +LICENSE="GPL-2-with-exceptions" +KEYWORDS="~ppc-macos" +IUSE="examples" + +RDEPEND="dev-db/unixODBC" + +JAVA_PROVIDE="jdbc-stdext" + +S=${WORKDIR}/openjdk7-macppc-2009-12-16-b4 + +src_prepare() { + # fix install_names + local original_root=/Users/landonf/Desktop/openjdk-ppc/bsd-port/build/bsd-ppc + local original_demo=${original_root}/demo + local original_lib=${original_root}/lib + for dir in demo jre ; do + for dynamic_lib in $(find ${dir} -name '*.dylib'); do + install_name_tool \ + -id "${EPREFIX}"/opt/${P}/${dynamic_lib} \ + ${dynamic_lib} + for linked_against in $(scanmacho -BF'%n#f' ${dynamic_lib} | tr ',' ' '); do + case ${linked_against} in + ${original_lib}/*) + install_name_tool -change \ + ${linked_against} \ + "${EPREFIX}"/opt/${P}/jre${linked_against#${original_root}} \ + ${dynamic_lib} + ;; + ${original_demo}/*) + install_name_tool -change \ + ${linked_against} \ + "${EPREFIX}"/opt/${P}${linked_against#${original_root}} \ + ${dynamic_lib} + ;; + libjvm.dylib) + install_name_tool -change \ + ${linked_against} \ + "${EPREFIX}"/opt/${P}/jre/lib/ppc/server/libjvm.dylib \ + ${dynamic_lib} + ;; + */libodbc*.dylib) + install_name_tool -change \ + ${linked_against} \ + "${EPREFIX}"/usr/$(get_libdir)/${linked_against##*/} \ + ${dynamic_lib} + ;; + esac + done + done + done +} + +src_install() { + local dirs="bin include jre lib man" + dodir /opt/${P} + + cp -pPR $dirs "${ED}/opt/${P}/" || die "failed to copy" + + cp -pP src.zip "${ED}/opt/${P}/" || die + + if use examples; then + cp -pPR demo sample "${ED}/opt/${P}/" || die + fi + + # create dir for system preferences + dodir /opt/${P}/jre/.systemPrefs + # Create files used as storage for system preferences. + touch "${ED}"/opt/${P}/jre/.systemPrefs/.system.lock + chmod 644 "${ED}"/opt/${P}/jre/.systemPrefs/.system.lock + touch "${ED}"/opt/${P}/jre/.systemPrefs/.systemRootModFile + chmod 644 "${ED}"/opt/${P}/jre/.systemPrefs/.systemRootModFile + + set_java_env +} |