diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-09-12 05:04:21 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-09-12 05:04:21 +0000 |
commit | b9ce10f874a8cc7a7a4fc809b17589382de00e21 (patch) | |
tree | 64b3e36c0a850246b497a5dcf3ce97b1c96b29df /app-emulation/emul-linux-x86-java | |
parent | New upstream version (diff) | |
download | historical-b9ce10f874a8cc7a7a4fc809b17589382de00e21.tar.gz historical-b9ce10f874a8cc7a7a4fc809b17589382de00e21.tar.bz2 historical-b9ce10f874a8cc7a7a4fc809b17589382de00e21.zip |
Revision bump to support the new Java system.
Package-Manager: portage-2.1.1
Diffstat (limited to 'app-emulation/emul-linux-x86-java')
6 files changed, 175 insertions, 20 deletions
diff --git a/app-emulation/emul-linux-x86-java/ChangeLog b/app-emulation/emul-linux-x86-java/ChangeLog index e0ff4ffa7e77..6db9be70667f 100644 --- a/app-emulation/emul-linux-x86-java/ChangeLog +++ b/app-emulation/emul-linux-x86-java/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-emulation/emul-linux-x86-java # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v 1.10 2006/03/17 18:09:34 herbs Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v 1.11 2006/09/12 05:04:21 nichoj Exp $ + +*emul-linux-x86-java-1.4.2.03-r2 (12 Sep 2006) + + 12 Sep 2006; Joshua Nichols <nichoj@gentoo.org> + +files/emul-linux-x86-java-1.4.2.env, + +emul-linux-x86-java-1.4.2.03-r2.ebuild: + Revision bump to support the new Java system. 17 Mar 2006; Herbie Hopkins <herbs@gentoo.org> -emul-linux-x86-java-1.4.2.02.ebuild, diff --git a/app-emulation/emul-linux-x86-java/Manifest b/app-emulation/emul-linux-x86-java/Manifest index 97729e7d73b5..07ee1248d217 100644 --- a/app-emulation/emul-linux-x86-java/Manifest +++ b/app-emulation/emul-linux-x86-java/Manifest @@ -1,25 +1,31 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 88edea2b59b6a1fbad71a830faa2b4f6 ChangeLog 2071 -RMD160 d09797536558b0b765a91dde134c758f2be8e1f6 ChangeLog 2071 -SHA256 766df3e24da42dbfee578c01196a9699f465f479e1f67a6216b68987b42ea7a6 ChangeLog 2071 -MD5 3068277991ae1d4daef6dd14fd0d67d3 emul-linux-x86-java-1.4.2.03-r1.ebuild 3098 -RMD160 4cd5ee03d4bb9898da9a9f0e3fb6bf4e4f3be29c emul-linux-x86-java-1.4.2.03-r1.ebuild 3098 -SHA256 44c0f286fb1bf112ed4f5c53d4f294dbbe34a8f0d53507a297d7c6f5665af59e emul-linux-x86-java-1.4.2.03-r1.ebuild 3098 -MD5 2a55a901a16ac79c083cac89012ccca2 files/digest-emul-linux-x86-java-1.4.2.03-r1 75 -RMD160 d07acf29af6a45ab2b3c72ed1ae9eaa79d366367 files/digest-emul-linux-x86-java-1.4.2.03-r1 75 -SHA256 af1a006b30e562c51e47ba92bf56cee4c98944cdaecaa6c43c9f4c79df51ece7 files/digest-emul-linux-x86-java-1.4.2.03-r1 75 +AUX emul-linux-x86-java-1.4.2.env 727 RMD160 29279e5fe51f87a7f76dba2022f2c171745c789a SHA1 31f31314571306b8d260f851e24341e4551792a3 SHA256 cafc42b6936f13bf329554028330280d3bbe26ac811cdedac253990a4cb67708 +MD5 626f8534952d8a9f795ab09a5ca6ca6f files/emul-linux-x86-java-1.4.2.env 727 +RMD160 29279e5fe51f87a7f76dba2022f2c171745c789a files/emul-linux-x86-java-1.4.2.env 727 +SHA256 cafc42b6936f13bf329554028330280d3bbe26ac811cdedac253990a4cb67708 files/emul-linux-x86-java-1.4.2.env 727 +AUX javasettings_Linux_x86.xml 1601 RMD160 e87fe605d34fd6060f58f511deea5a935697be9f SHA1 39c5f9693db821b038f47f1f27c995caa9bcac5b SHA256 832b7aa00beb330c655e1503061785e2069fcc1a2ec36830948613f02c4d7585 MD5 40fcbcc585ad443b5bf473228c8ef18d files/javasettings_Linux_x86.xml 1601 RMD160 e87fe605d34fd6060f58f511deea5a935697be9f files/javasettings_Linux_x86.xml 1601 SHA256 832b7aa00beb330c655e1503061785e2069fcc1a2ec36830948613f02c4d7585 files/javasettings_Linux_x86.xml 1601 +DIST j2re-1.4.2-03-linux-i586.bin 13541431 RMD160 82c707956dc65e9640fda97587ac7426e4f7be98 SHA1 30b37bc8dcb5617971d2ae95e2f7227359d39991 SHA256 636c414583f22d7d9f12f56855bfcb84227cec100ed0108a2b8f0e5f6b7025ef +EBUILD emul-linux-x86-java-1.4.2.03-r1.ebuild 3098 RMD160 4cd5ee03d4bb9898da9a9f0e3fb6bf4e4f3be29c SHA1 81ae71ef019662a5667e88c445da5f7c3b681fb4 SHA256 44c0f286fb1bf112ed4f5c53d4f294dbbe34a8f0d53507a297d7c6f5665af59e +MD5 3068277991ae1d4daef6dd14fd0d67d3 emul-linux-x86-java-1.4.2.03-r1.ebuild 3098 +RMD160 4cd5ee03d4bb9898da9a9f0e3fb6bf4e4f3be29c emul-linux-x86-java-1.4.2.03-r1.ebuild 3098 +SHA256 44c0f286fb1bf112ed4f5c53d4f294dbbe34a8f0d53507a297d7c6f5665af59e emul-linux-x86-java-1.4.2.03-r1.ebuild 3098 +EBUILD emul-linux-x86-java-1.4.2.03-r2.ebuild 3115 RMD160 eb0fb472ee215cc02272db1bbf4b267762790587 SHA1 205da4294d1299f3ef050d84d4484b4e901997d8 SHA256 239dcce021f71e9a740c06daeb956cfc2a68ec0184f368e689b87fd6517000c7 +MD5 ec8038db2586a77596cf4bb26328fd62 emul-linux-x86-java-1.4.2.03-r2.ebuild 3115 +RMD160 eb0fb472ee215cc02272db1bbf4b267762790587 emul-linux-x86-java-1.4.2.03-r2.ebuild 3115 +SHA256 239dcce021f71e9a740c06daeb956cfc2a68ec0184f368e689b87fd6517000c7 emul-linux-x86-java-1.4.2.03-r2.ebuild 3115 +MISC ChangeLog 2302 RMD160 85d1910cc61ccd5fdbd1f883091ddc3fbb2e19d9 SHA1 34a6891a2a21e8351c6915250fcca64129283523 SHA256 cd91d67a526e76c8dcd2c1b50b7d9d48e2a3e69fab2736c028fcbbb44284d415 +MD5 5f2165b6ea93e229cd54c83a0e8b0c0a ChangeLog 2302 +RMD160 85d1910cc61ccd5fdbd1f883091ddc3fbb2e19d9 ChangeLog 2302 +SHA256 cd91d67a526e76c8dcd2c1b50b7d9d48e2a3e69fab2736c028fcbbb44284d415 ChangeLog 2302 +MISC metadata.xml 223 RMD160 5334a75802c04f73f2bbe2e5c133178728cc9bba SHA1 5f31c7deef3b32e6ed5126a4c40800419bc867f0 SHA256 90a4ae3bb1a82ba35e2971274b7c2437d3f717075382f02ece1b1c79421c1282 MD5 ef1a1d0bbdb241725417e87002ec4d16 metadata.xml 223 RMD160 5334a75802c04f73f2bbe2e5c133178728cc9bba metadata.xml 223 SHA256 90a4ae3bb1a82ba35e2971274b7c2437d3f717075382f02ece1b1c79421c1282 metadata.xml 223 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.2 (GNU/Linux) - -iD8DBQFEGvtq2G5bA0cA/ScRAhTGAJ9qcmrYI8VXVYuMvs+Mp5sTo7EXEgCcD98Y -ifVTTX4UuVdkIIyxuphe2h0= -=EO/0 ------END PGP SIGNATURE----- +MD5 132c52c1b863a8946fb168f79619e91d files/digest-emul-linux-x86-java-1.4.2.03-r1 271 +RMD160 3788f95de69c44708182938ec98e905da0b44922 files/digest-emul-linux-x86-java-1.4.2.03-r1 271 +SHA256 6789ba158a0706630e8bc169dc0242f9639582c9b73cf01ae4840c862f6140b1 files/digest-emul-linux-x86-java-1.4.2.03-r1 271 +MD5 132c52c1b863a8946fb168f79619e91d files/digest-emul-linux-x86-java-1.4.2.03-r2 271 +RMD160 3788f95de69c44708182938ec98e905da0b44922 files/digest-emul-linux-x86-java-1.4.2.03-r2 271 +SHA256 6789ba158a0706630e8bc169dc0242f9639582c9b73cf01ae4840c862f6140b1 files/digest-emul-linux-x86-java-1.4.2.03-r2 271 diff --git a/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.4.2.03-r2.ebuild b/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.4.2.03-r2.ebuild new file mode 100644 index 000000000000..288ac493f5b2 --- /dev/null +++ b/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.4.2.03-r2.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.4.2.03-r2.ebuild,v 1.1 2006/09/12 05:04:21 nichoj Exp $ + +inherit multilib java-vm-2 versionator + +JREV="03" + +JV="${PV}" +JV=$(get_version_component_range 1-3 ${JV}) +DESCRIPTION="32bit java emulation for amd64" +J_URI="mirror://blackdown.org/JDK-${JV}" +SRC_URI="${J_URI}/i386/${JREV}/j2re-${JV}-${JREV}-linux-i586.bin" + +HOMEPAGE="http://www.blackdown.org" + +SLOT="1.4.2" +LICENSE="sun-bcla-java-vm" +KEYWORDS="-* ~amd64" +IUSE="nsplugin" +DEPEND="virtual/libc + >=sys-apps/sed-4" +RDEPEND="virtual/libc + app-emulation/emul-linux-x86-xlibs + app-emulation/emul-linux-x86-soundlibs" + +S="${WORKDIR}/j2re${JV}" + +JAVAHOME="${D}/opt/java32" + +# 32bit binary package +pkg_setup() { + ABI="x86" +} + +RESTRICT="nostrip" + +# Extract the 'skip' value (offset of tarball) we should pass to tail +get_offset() { + [ ! -f "$1" ] && return + + local offset="`gawk ' + /^[[:space:]]*skip[[:space:]]*=/ { + + sub(/^[[:space:]]*skip[[:space:]]*=/, "") + SKIP = $0 + } + + END { print SKIP } + ' $1`" + + eval echo $offset +} + +src_unpack () { + local offset="`get_offset ${DISTDIR}/${A}`" + + if [ -z "${offset}" ] ; then + eerror "Failed to get offset of tarball!" + die "Failed to get offset of tarball!" + fi + + echo ">>> Unpacking ${A}..." + tail -n +${offset} ${DISTDIR}/${A} | tar --no-same-owner -jxpf - +} + +unpack_jars() { + # New to 1.4.2 + local PACKED_JARS="lib/tools.jar lib/rt.jar lib/jsse.jar lib/charsets.jar lib/ext/localedata.jar lib/plugin.jar javaws/javaws.jar" + local UNPACK_CMD="" + if [ -f "$JAVAHOME/lib/unpack" ]; then + UNPACK_CMD="$JAVAHOME/lib/unpack" + chmod +x "$UNPACK_CMD" + #packerror="" + sed -i 's#/tmp/unpack.log#/dev/null\x00\x00\x00\x00\x00\x00#g' $UNPACK_CMD + for i in $PACKED_JARS; do + if [ -f "$JAVAHOME/${i%.jar}.pack" ]; then + einfo "Creating ${JAVAHOME}/${i}" + "$UNPACK_CMD" "$JAVAHOME/${i%.jar}.pack" "$JAVAHOME/$i" + if [ ! -f "$JAVAHOME/$i" ]; then + die "Failed to unpack jar files ${i}." # Please refer\n" + #ewarn "to the Troubleshooting section of the Installation\n" + #ewarn "Instructions on the download page for more information.n" + #packerror="1" + fi + rm -f "$JAVAHOME/${i%.jar}.pack" + fi + done + fi + rm -f "$UNPACK_CMD" +} + +src_install() { + typeset platform + + dodir /opt/java32 + + cp -pPR ${S}/{bin,lib,man,plugin,javaws} ${JAVAHOME} || die "failed to copy" + + dodoc COPYRIGHT README + dohtml README.html + + # Install mozilla plugin + if use nsplugin ; then + install_mozilla_plugin /opt/java32/plugin/i386/mozilla/libjavaplugin_oji.so + fi + + sed -i "s/standard symbols l/symbol/g" ${D}/opt/java32/lib/font.properties + + find ${JAVAHOME} -type f -name "*.so" -exec chmod +x \{\} \; + + unpack_jars + + # Install java settings file for openoffice so that it will not try + # to use the native 64bit jre and cause 2 minute startup... + dodir /usr/$(get_libdir)/openoffice/share/config + insinto /usr/$(get_libdir)/openoffice/share/config + doins ${FILESDIR}/javasettings_Linux_x86.xml + + set_java_env +} diff --git a/app-emulation/emul-linux-x86-java/files/digest-emul-linux-x86-java-1.4.2.03-r1 b/app-emulation/emul-linux-x86-java/files/digest-emul-linux-x86-java-1.4.2.03-r1 index 38e4c02be965..6903ab4b3355 100644 --- a/app-emulation/emul-linux-x86-java/files/digest-emul-linux-x86-java-1.4.2.03-r1 +++ b/app-emulation/emul-linux-x86-java/files/digest-emul-linux-x86-java-1.4.2.03-r1 @@ -1 +1,3 @@ MD5 cf4f3c8c86f64fd532f074943b432285 j2re-1.4.2-03-linux-i586.bin 13541431 +RMD160 82c707956dc65e9640fda97587ac7426e4f7be98 j2re-1.4.2-03-linux-i586.bin 13541431 +SHA256 636c414583f22d7d9f12f56855bfcb84227cec100ed0108a2b8f0e5f6b7025ef j2re-1.4.2-03-linux-i586.bin 13541431 diff --git a/app-emulation/emul-linux-x86-java/files/digest-emul-linux-x86-java-1.4.2.03-r2 b/app-emulation/emul-linux-x86-java/files/digest-emul-linux-x86-java-1.4.2.03-r2 new file mode 100644 index 000000000000..6903ab4b3355 --- /dev/null +++ b/app-emulation/emul-linux-x86-java/files/digest-emul-linux-x86-java-1.4.2.03-r2 @@ -0,0 +1,3 @@ +MD5 cf4f3c8c86f64fd532f074943b432285 j2re-1.4.2-03-linux-i586.bin 13541431 +RMD160 82c707956dc65e9640fda97587ac7426e4f7be98 j2re-1.4.2-03-linux-i586.bin 13541431 +SHA256 636c414583f22d7d9f12f56855bfcb84227cec100ed0108a2b8f0e5f6b7025ef j2re-1.4.2-03-linux-i586.bin 13541431 diff --git a/app-emulation/emul-linux-x86-java/files/emul-linux-x86-java-1.4.2.env b/app-emulation/emul-linux-x86-java/files/emul-linux-x86-java-1.4.2.env new file mode 100644 index 000000000000..6770658e4a25 --- /dev/null +++ b/app-emulation/emul-linux-x86-java/files/emul-linux-x86-java-1.4.2.env @@ -0,0 +1,16 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/files/emul-linux-x86-java-1.4.2.env,v 1.1 2006/09/12 05:04:21 nichoj Exp $ + +VERSION="Blackdown 32bit JRE @PV@" +JAVA_HOME=/opt/java32 +JRE_HOME=/opt/java32 +PATH="${JAVA_HOME}/bin" +ROOTPATH="${JAVA_HOME}/bin" +LDPATH="/opt/java32lib/" +MANPATH=/opt/java32/man +PROVIDES_TYPE="JRE" +PROVIDES_VERSION="1.4" +BOOTCLASSPATH="${JAVA_HOME}/lib/rt.jar:${JAVA_HOME}/lib/i18n.jar:${JAVA_HOME}/lib/sunrsasign.jar:${JAVA_HOME}/lib/jsse.jar:${JAVA_HOME}/lib/jce.jar:${JAVA_HOME}/lib/charsets.jar" +GENERATION="2" +ENV_VARS="JAVA_HOME JRE_HOME PATH ROOTPATH LDPATH MANPATH" |