diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2007-01-02 15:48:05 -0800 |
---|---|---|
committer | Donnie Berkholz <donnie@comet.(none)> | 2007-01-02 15:48:05 -0800 |
commit | 3cd095424fedb2146b2119af6687ffac6c4b4ce1 (patch) | |
tree | a76845eff9d73dfcf75444325bdfde3317c8be48 /dev-java | |
parent | xmlgraphics-commons: bump to 1.1 (diff) | |
download | dberkholz-3cd095424fedb2146b2119af6687ffac6c4b4ce1.tar.gz dberkholz-3cd095424fedb2146b2119af6687ffac6c4b4ce1.tar.bz2 dberkholz-3cd095424fedb2146b2119af6687ffac6c4b4ce1.zip |
Add a prerelease snapshot of the 1.6 IBM JDK.
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/ibm-jdk-bin/Manifest | 20 | ||||
-rw-r--r-- | dev-java/ibm-jdk-bin/files/cpuinfo | 1 | ||||
-rw-r--r-- | dev-java/ibm-jdk-bin/files/digest-ibm-jdk-bin-1.6_pre20061219 | 3 | ||||
-rw-r--r-- | dev-java/ibm-jdk-bin/files/ibm-jdk-bin-1.6.env | 16 | ||||
-rw-r--r-- | dev-java/ibm-jdk-bin/files/ibm-jdk-bin-jawt.h.patch | 12 | ||||
-rw-r--r-- | dev-java/ibm-jdk-bin/ibm-jdk-bin-1.6_pre20061219.ebuild | 279 |
6 files changed, 331 insertions, 0 deletions
diff --git a/dev-java/ibm-jdk-bin/Manifest b/dev-java/ibm-jdk-bin/Manifest new file mode 100644 index 0000000..5a918b9 --- /dev/null +++ b/dev-java/ibm-jdk-bin/Manifest @@ -0,0 +1,20 @@ +AUX cpuinfo 12 RMD160 ae173b2d66cd4becce06fbd7e01a0b62aa2bab2d SHA1 2c35d51e0110bd74f2c4cf9f7f063358837ea907 SHA256 b90ea3549103fa261cd711ecb3d11158c984bc20a020630aa3ebc3f8b402ec11 +MD5 971e2c067f8f28bd0f7c882607650469 files/cpuinfo 12 +RMD160 ae173b2d66cd4becce06fbd7e01a0b62aa2bab2d files/cpuinfo 12 +SHA256 b90ea3549103fa261cd711ecb3d11158c984bc20a020630aa3ebc3f8b402ec11 files/cpuinfo 12 +AUX ibm-jdk-bin-1.6.env 1125 RMD160 8df33d0c2e9ff802bc01db2a428c7471eb759fdb SHA1 2d9adc8be9ef3cdd64798700fbde1d057ca08d72 SHA256 e08197862ab7a85c3d8c572a141f5150f575d4b8af8e66cb6d73d86162087aa0 +MD5 c3f5fd1914f960cca10245570111d52e files/ibm-jdk-bin-1.6.env 1125 +RMD160 8df33d0c2e9ff802bc01db2a428c7471eb759fdb files/ibm-jdk-bin-1.6.env 1125 +SHA256 e08197862ab7a85c3d8c572a141f5150f575d4b8af8e66cb6d73d86162087aa0 files/ibm-jdk-bin-1.6.env 1125 +AUX ibm-jdk-bin-jawt.h.patch 377 RMD160 d9e5eab16ca4002b00ca70d55fb3a3112d0011dd SHA1 5fa611adbdf036678bb0d582d2013225251d5a9e SHA256 87d54a556d706c1f4ab0f2cd98cd89c354e69c3caf83518f687d6cac11cfb8ff +MD5 c571cbaa0d1b37682528b8b90573d051 files/ibm-jdk-bin-jawt.h.patch 377 +RMD160 d9e5eab16ca4002b00ca70d55fb3a3112d0011dd files/ibm-jdk-bin-jawt.h.patch 377 +SHA256 87d54a556d706c1f4ab0f2cd98cd89c354e69c3caf83518f687d6cac11cfb8ff files/ibm-jdk-bin-jawt.h.patch 377 +DIST ibm-java-sdk-60-linux-ppc-20061219.tgz 63631483 RMD160 b7f6a9ad004543f3459b61998155a4a7333ebd92 SHA1 67d8a1d62662e42f43665bef6f749686be0c04ae SHA256 9607ef235a552255f454951116ec295527da2ce7e8996cbe13a03d3156835342 +EBUILD ibm-jdk-bin-1.6_pre20061219.ebuild 7976 RMD160 65191ce94725de15d5753be3b382bb767aff05c0 SHA1 9bd667905b3de5768f3e37bddaccf13801fec527 SHA256 e981a378b70658ffea6382ee22a696c633196161e123f6899e6ef3dad534cbf1 +MD5 ce173faffae1228a6e77fe9bb55a5d9a ibm-jdk-bin-1.6_pre20061219.ebuild 7976 +RMD160 65191ce94725de15d5753be3b382bb767aff05c0 ibm-jdk-bin-1.6_pre20061219.ebuild 7976 +SHA256 e981a378b70658ffea6382ee22a696c633196161e123f6899e6ef3dad534cbf1 ibm-jdk-bin-1.6_pre20061219.ebuild 7976 +MD5 99f8c5b8a275392b8aca75185508ef5b files/digest-ibm-jdk-bin-1.6_pre20061219 301 +RMD160 074ef0e2dc37996a3568ce9e43615bef4b6b7921 files/digest-ibm-jdk-bin-1.6_pre20061219 301 +SHA256 85822e1a295a547e102bb0df26ce620a3985a6705af23d447e47dae8956c5c48 files/digest-ibm-jdk-bin-1.6_pre20061219 301 diff --git a/dev-java/ibm-jdk-bin/files/cpuinfo b/dev-java/ibm-jdk-bin/files/cpuinfo new file mode 100644 index 0000000..f83be96 --- /dev/null +++ b/dev-java/ibm-jdk-bin/files/cpuinfo @@ -0,0 +1 @@ +cpu : 604e diff --git a/dev-java/ibm-jdk-bin/files/digest-ibm-jdk-bin-1.6_pre20061219 b/dev-java/ibm-jdk-bin/files/digest-ibm-jdk-bin-1.6_pre20061219 new file mode 100644 index 0000000..e7062c3 --- /dev/null +++ b/dev-java/ibm-jdk-bin/files/digest-ibm-jdk-bin-1.6_pre20061219 @@ -0,0 +1,3 @@ +MD5 151cc147a3aa7eb604acb6c8f9a2909b ibm-java-sdk-60-linux-ppc-20061219.tgz 63631483 +RMD160 b7f6a9ad004543f3459b61998155a4a7333ebd92 ibm-java-sdk-60-linux-ppc-20061219.tgz 63631483 +SHA256 9607ef235a552255f454951116ec295527da2ce7e8996cbe13a03d3156835342 ibm-java-sdk-60-linux-ppc-20061219.tgz 63631483 diff --git a/dev-java/ibm-jdk-bin/files/ibm-jdk-bin-1.6.env b/dev-java/ibm-jdk-bin/files/ibm-jdk-bin-1.6.env new file mode 100644 index 0000000..28512fb --- /dev/null +++ b/dev-java/ibm-jdk-bin/files/ibm-jdk-bin-1.6.env @@ -0,0 +1,16 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk-bin/files/ibm-jdk-bin-1.5.env,v 1.1 2006/06/25 18:07:17 nichoj Exp $ + +VERSION="IBM JDK @PV@" +JAVA_HOME=/opt/@P@ +JDK_HOME=/opt/@P@ +JAVAC=${JAVA_HOME}/bin/javac +PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin" +ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin" +LDPATH="/opt/@P@/jre/bin/:/opt/@P@/jre/bin/classic" +PROVIDES_TYPE="JDK JRE" +PROVIDES_VERSION="1.6" +BOOTCLASSPATH="${JAVA_HOME}/jre/lib/core.jar:${JAVA_HOME}/jre/lib/graphics.jar:${JAVA_HOME}/jre/lib/security.jar:${JAVA_HOME}/jre/lib/server.jar:${JAVA_HOME}/jre/lib/xml.jar:${JAVA_HOME}/jre/lib/charsets.jar:${JAVA_HOME}/jre/lib/ibmjgssprovider.jar:${JAVA_HOME}/jre/lib/ibmjaaslm.jar:${JAVA_HOME}/jre/lib/ibmorbapi.jar:${JAVA_HOME}/jre/lib/ibmorb.jar:${JAVA_HOME}/jre/lib/ibmjcefw.jar:${JAVA_HOME}/jre/lib/ibmjssefips.jar:${JAVA_HOME}/jre/lib/ibmjsseprovider.jar:${JAVA_HOME}/jre/lib/ibmpkcs.jar:${JAVA_HOME}/jre/lib/ibmcertpathprovider.jar" +GENERATION="2" +ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH" diff --git a/dev-java/ibm-jdk-bin/files/ibm-jdk-bin-jawt.h.patch b/dev-java/ibm-jdk-bin/files/ibm-jdk-bin-jawt.h.patch new file mode 100644 index 0000000..c3fa40c --- /dev/null +++ b/dev-java/ibm-jdk-bin/files/ibm-jdk-bin-jawt.h.patch @@ -0,0 +1,12 @@ +--- include/jawt.h 2006/07/20 23:02:04 1.1 ++++ include/jawt.h 2006/07/20 23:03:13 +@@ -298,7 +298,9 @@ typedef struct jawt { + * Get the AWT native structure. This function returns JNI_FALSE if + * an error occurs. + */ ++#ifdef _JNI_IMPORT_OR_EXPORT_ + _JNI_IMPORT_OR_EXPORT_ ++#endif + jboolean JNICALL JAWT_GetAWT(JNIEnv* env, JAWT* awt); + + #define JAWT_VERSION_1_3 0x00010003 diff --git a/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.6_pre20061219.ebuild b/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.6_pre20061219.ebuild new file mode 100644 index 0000000..b5b5bb0 --- /dev/null +++ b/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.6_pre20061219.ebuild @@ -0,0 +1,279 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.5.0.3-r1.ebuild,v 1.3 2006/12/18 12:07:26 caster Exp $ + +inherit java-vm-2 versionator eutils rpm + +JDK_RELEASE=$(get_version_component_range 2-3) +SERVICE_RELEASE=$(get_version_component_range 4) +RPM_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.0" + +X86_JDK_DIST="ibm-java2-i386-sdk-${RPM_PV}.i386.rpm" +X86_JAVACOMM_DIST="ibm-java2-i386-javacomm-${RPM_PV}.i386.rpm" + +AMD64_JDK_DIST="ibm-java2-x86_64-sdk-${RPM_PV}.x86_64.rpm" +AMD64_JAVACOMM_DIST="ibm-java2-x86_64-javacomm-${RPM_PV}.x86_64.rpm" + +PPC_JDK_DIST="ibm-java-sdk-60-linux-ppc-${PV#*_pre}.tgz" +PPC_JAVACOMM_DIST="ibm-java2-ppc-javacomm-${RPM_PV}.ppc.rpm" + +PPC64_JDK_DIST="ibm-java2-ppc64-sdk-${RPM_PV}.ppc64.rpm" +PPC64_JAVACOMM_DIST="ibm-java2-ppc64-javacomm-${RPM_PV}.ppc64.rpm" + +#if use x86; then +# JDK_DIST=${X86_JDK_DIST} +# JAVACOMM_DIST=${X86_JAVACOMM_DIST} +# S="${WORKDIR}/opt/ibm/java2-i386-50" +# LINK_ARCH="intel" +#elif use amd64; then +# JDK_DIST=${AMD64_JDK_DIST} +# JAVACOMM_DIST=${AMD64_JAVACOMM_DIST} +# S="${WORKDIR}/opt/ibm/java2-x86_64-50" +# LINK_ARCH="amd64" +#elif use ppc; then +if use ppc; then + JDK_DIST=${PPC_JDK_DIST} + JAVACOMM_DIST=${PPC_JAVACOMM_DIST} + S="${WORKDIR}/ibm-java2-ppc-60" + LINK_ARCH="ipseries32" +#elif use ppc64; then +# JDK_DIST=${PPC64_JDK_DIST} +# JAVACOMM_DIST=${PPC64_JAVACOMM_DIST} +# S="${WORKDIR}/opt/ibm/java2-ppc64-50" +# LINK_ARCH="ipseries64" +fi + +DIRECT_DOWNLOAD="https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=sdk5&S_PKG=${LINK_ARCH}5sr${SERVICE_RELEASE}&S_TACT=105AGX05&S_CMP=JDK" + +SLOT="1.6" +DESCRIPTION="IBM Java Development Kit ${SLOT}" +HOMEPAGE="http://www.ibm.com/developerworks/java/jdk/" +DOWNLOADPAGE="${HOMEPAGE}linux/download.html" +# bug #125178 +ALT_DOWNLOADPAGE="${HOMEPAGE}linux/older_download.html" + +#SRC_URI="x86? ( ${X86_JDK_DIST} ) +SRC_URI=" + ppc? ( ${PPC_JDK_DIST} ) + " +# amd64? ( ${AMD64_JDK_DIST} ) +# ppc64? ( ${PPC64_JDK_DIST} ) +# javacomm? ( +# x86? ( ${X86_JAVACOMM_DIST} ) +# amd64? ( ${AMD64_JAVACOMM_DIST} ) +# ppc? ( ${PPC_JAVACOMM_DIST} ) +# ppc64? ( ${PPC64_JAVACOMM_DIST} ) +# )" +LICENSE="IBM-J1.5" +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" +RESTRICT="fetch" + +RDEPEND=" + =virtual/libstdc++-3.3 + X? ( || ( + ( + x11-libs/libXt + x11-libs/libX11 + x11-libs/libXtst + x11-libs/libXp + x11-libs/libXext + x11-libs/libXi + x11-libs/libXmu + x11-libs/libXft + ) + virtual/x11 + ) + ) + alsa? ( media-libs/alsa-lib ) + nsplugin? ( + x86? ( =x11-libs/gtk+-2* =x11-libs/gtk+-1* ) + ppc? ( =x11-libs/gtk+-1* ) + )" +DEPEND="" + +IUSE="X alsa javacomm nsplugin" + +QA_EXECSTACK_amd64="opt/${P}/jre/bin/libjclscar_23.so + opt/${P}/jre/bin/libj9vrb23.so + opt/${P}/jre/bin/libj9vm23.so + opt/${P}/jre/bin/libj9trc23.so + opt/${P}/jre/bin/libj9thr23.so + opt/${P}/jre/bin/libj9shr23.so + opt/${P}/jre/bin/libj9prt23.so + opt/${P}/jre/bin/libj9jvmti23.so + opt/${P}/jre/bin/libj9jpi23.so + opt/${P}/jre/bin/libj9jit23.so + opt/${P}/jre/bin/libj9jextract.so + opt/${P}/jre/bin/libj9hookable23.so + opt/${P}/jre/bin/libj9gc23.so + opt/${P}/jre/bin/libj9dyn23.so + opt/${P}/jre/bin/libj9dmp23.so + opt/${P}/jre/bin/libj9dbg23.so + opt/${P}/jre/bin/libj9bcv23.so + opt/${P}/jre/bin/libiverel23.so + opt/${P}/jre/bin/classic/libjvm.so + opt/${P}/jre/bin/j9vm/libjvm.so" + +QA_TEXTRELS_amd64="opt/${P}/jre/bin/libjclscar_23.so + opt/${P}/jre/bin/libj9jit23.so" + +QA_EXECSTACK_x86="opt/${P}/jre/bin/j9vm/libjvm.so + opt/${P}/jre/bin/libj9jvmti23.so + opt/${P}/jre/bin/libj9hookable23.so + opt/${P}/jre/bin/libj9vm23.so + opt/${P}/jre/bin/libj9dyn23.so + opt/${P}/jre/bin/libjclscar_23.so + opt/${P}/jre/bin/libj9jpi23.so + opt/${P}/jre/bin/libj9thr23.so + opt/${P}/jre/bin/libj9dmp23.so + opt/${P}/jre/bin/libj9prt23.so + opt/${P}/jre/bin/libj9jit23.so + opt/${P}/jre/bin/libiverel23.so + opt/${P}/jre/bin/libj9trc23.so + opt/${P}/jre/bin/libj9dbg23.so + opt/${P}/jre/bin/libj9jextract.so + opt/${P}/jre/bin/libj9shr23.so + opt/${P}/jre/bin/libj9gc23.so + opt/${P}/jre/bin/libj9vrb23.so + opt/${P}/jre/bin/libj9bcv23.so + opt/${P}/jre/bin/libj9aotrt23.so + opt/${P}/jre/bin/classic/libjvm.so" + +QA_TEXTRELS_ppc="opt/${P}/jre/bin/classic/libjvm.so + opt/${P}/jre/bin/j9vm/libjvm.so + opt/${P}/jre/bin/libj9aotrt23.so + opt/${P}/jre/bin/libj9dbg23.so + opt/${P}/jre/bin/libj9gc23.so + opt/${P}/jre/bin/libj9gcchk23.so + opt/${P}/jre/bin/libj9jextract.so + opt/${P}/jre/bin/libj9jit23.so + opt/${P}/jre/bin/libj9jitd23.so + opt/${P}/jre/bin/libj9jpi23.so + opt/${P}/jre/bin/libj9jvmti23.so + opt/${P}/jre/bin/libj9prt23.so + opt/${P}/jre/bin/libj9thr23.so + opt/${P}/jre/bin/libj9thr23.so + opt/${P}/jre/bin/libj9ute23.so + opt/${P}/jre/bin/libj9vm23.so + opt/${P}/jre/bin/libj9vm23.so + opt/${P}/jre/bin/libjaas.so + opt/${P}/jre/bin/libjclscar_23.so + opt/${P}/jre/bin/libjsig.so +" + +QA_TEXTRELS_ppc64="opt/${P}/jre/bin/libj9jextract.so + opt/${P}/jre/bin/libjsig.so + opt/${P}/jre/bin/libj9jitd23.so + opt/${P}/jre/bin/libj9ute23.so + opt/${P}/jre/bin/classic/libjvm.so + opt/${P}/jre/bin/libj9prt23.so + opt/${P}/jre/bin/libjclscar_23.so + opt/${P}/jre/bin/j9vm/libjvm.so + opt/${P}/jre/bin/libj9gc23.so + opt/${P}/jre/bin/libj9dbg23.so + opt/${P}/jre/bin/libj9thr23.so + opt/${P}/jre/bin/libj9jpi23.so + opt/${P}/jre/bin/libj9gcchk23.so + opt/${P}/jre/bin/libj9vm23.so + opt/${P}/jre/bin/libj9jit23.so" + + +QA_TEXTRELS_x86="opt/${P}/jre/bin/lib*.so + opt/${P}/jre/bin/j9vm/libjvm.so + opt/${P}/jre/bin/xawt/libmawt.so + opt/${P}/jre/bin/javaplugin.so + opt/${P}/jre/bin/motif21/libmawt.so + opt/${P}/jre/bin/headless/libmawt.so + opt/${P}/jre/bin/classic/libjvm.so + opt/${P}/jre/lib/i386/libdeploy.so" + +pkg_nofetch() { + einfo "Due to license restrictions, we cannot redistribute or fetch the distfiles" + einfo "Please visit: ${DOWNLOADPAGE}" + + einfo "Under J2SE 5.0, download SR${SERVICE_RELEASE}:" + einfo "${JDK_DIST}" + if use javacomm ; then + einfo "${JAVACOMM_DIST}" + fi + + einfo "Direct link:" + einfo "${DIRECT_DOWNLOAD}" + einfo "Place the file(s) in: ${DISTDIR}" + einfo "Then restart emerge: 'emerge --resume'" + + einfo "Note: if SR${SERVICE_RELEASE} is not available at ${DOWNLOADPAGE}" + einfo "it may have been moved to ${ALT_DOWNLOADPAGE}. Lately that page" + einfo "isn't updated, but the files should still available through the" + einfo "direct link. If it doesn't work, file a bug." +} + +src_unpack() { + unpack ${A} + cd "${S}" + + # bug #126105 + epatch "${FILESDIR}/${PN}-jawt.h.patch" +} + +src_compile() { :; } + +src_install() { + # Copy all the files to the designated directory + mkdir -p ${D}opt/${P} + cp -pR ${S}/{bin,jre,lib,include} ${D}opt/${P}/ + + mkdir -p ${D}/opt/${P}/share + cp -pPR ${S}/{demo,src.jar} ${D}opt/${P}/share/ + + # setting the ppc stuff + #if use ppc; then + # dosed s:/proc/cpuinfo:/etc//cpuinfo:g /opt/${P}/jre/bin/libjitc.so + # dosed s:/proc/cpuinfo:/etc//cpuinfo:g /opt/${P}/jre/bin/libjitc_g.so + # insinto /etc + # doins ${FILESDIR}/cpuinfo + #fi + + + local x86plugin=libjavaplugin_ojigtk2.so + local ppcplugin=libjavaplugin_oji.so + local jrebindest="${D}/opt/${P}/jre/bin/" + + local plugin + if use x86; then + plugin=${x86plugin} + elif use ppc; then + plugin=${ppcplugin} + # rm "${jrebindest}/${x86plugin}" "${jrebindest}/libjavaplugin_nscpgtk2.so" || \ + # eerror "Failed to delete gtk2 javaplugin." + fi + + plugin=/opt/${P}/jre/bin/${plugin} + + if use x86 || use ppc; then + if use nsplugin; then + install_mozilla_plugin ${plugin} +# else +# rm "${jrebindest}/*javaplugin*.so" || \ +# eerror "Failed to delete javaplugin shared libraries" + fi + fi + + use !alsa && rm "${jrebindest}/libjsoundalsa.so" + + dohtml -a html,htm,HTML -r docs + dodoc ${S}/COPYRIGHT + + set_java_env +} + +pkg_postinst() { + java-vm-2_pkg_postinst + if ! use X; then + echo + ewarn "You're not using X so its possible that you dont have" + ewarn "a X server installed, please read the following warning: " + ewarn "Some parts of IBM JDK require XFree86 to be installed." + ewarn "Be careful which Java libraries you attempt to use." + fi +} |