diff options
author | Herbie Hopkins <herbs@gentoo.org> | 2006-03-17 18:09:34 +0000 |
---|---|---|
committer | Herbie Hopkins <herbs@gentoo.org> | 2006-03-17 18:09:34 +0000 |
commit | 58784b9bc47bc09d9ab6bb6e2cfe17e90a698689 (patch) | |
tree | c5c05da00534ee19f9f63a6225c6beb638ea980e /app-emulation/emul-linux-x86-java | |
parent | Prune old version. (diff) | |
download | gentoo-2-58784b9bc47bc09d9ab6bb6e2cfe17e90a698689.tar.gz gentoo-2-58784b9bc47bc09d9ab6bb6e2cfe17e90a698689.tar.bz2 gentoo-2-58784b9bc47bc09d9ab6bb6e2cfe17e90a698689.zip |
Prune old versions.
(Portage version: 2.1_pre6-r2)
Diffstat (limited to 'app-emulation/emul-linux-x86-java')
5 files changed, 6 insertions, 239 deletions
diff --git a/app-emulation/emul-linux-x86-java/ChangeLog b/app-emulation/emul-linux-x86-java/ChangeLog index 4e98686118e9..e0ff4ffa7e77 100644 --- a/app-emulation/emul-linux-x86-java/ChangeLog +++ b/app-emulation/emul-linux-x86-java/ChangeLog @@ -1,6 +1,11 @@ # 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.9 2006/03/09 01:49:19 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v 1.10 2006/03/17 18:09:34 herbs Exp $ + + 17 Mar 2006; Herbie Hopkins <herbs@gentoo.org> + -emul-linux-x86-java-1.4.2.02.ebuild, + -emul-linux-x86-java-1.4.2.03.ebuild: + Prune old versions 09 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> emul-linux-x86-java-1.4.2.02.ebuild, emul-linux-x86-java-1.4.2.03.ebuild, diff --git a/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.4.2.02.ebuild b/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.4.2.02.ebuild deleted file mode 100644 index 7860d593b23c..000000000000 --- a/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.4.2.02.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# 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.02.ebuild,v 1.5 2006/03/09 01:49:19 flameeyes Exp $ - -inherit multilib java versionator - -JREV="02" - -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 -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/`dirname $i`/`basename $i .jar`.pack" ]; then - einfo "Creating ${JAVAHOME}/${i}\n" - "$UNPACK_CMD" "$JAVAHOME/`dirname $i`/`basename $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/`dirname $i`/`basename $i .jar`.pack" - fi - done - fi - rm -f "$UNPACK_CMD" -} - -src_install() { - typeset platform - - dodir /opt/java32 - - cp -pPR ${S}/{bin,lib,man,plugin} ${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 -} - diff --git a/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.4.2.03.ebuild b/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.4.2.03.ebuild deleted file mode 100644 index 3f2db773f92a..000000000000 --- a/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.4.2.03.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# 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.ebuild,v 1.4 2006/03/09 01:49:19 flameeyes Exp $ - -inherit multilib java 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 -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/`dirname $i`/`basename $i .jar`.pack" ]; then - einfo "Creating ${JAVAHOME}/${i}\n" - "$UNPACK_CMD" "$JAVAHOME/`dirname $i`/`basename $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/`dirname $i`/`basename $i .jar`.pack" - fi - done - fi - rm -f "$UNPACK_CMD" -} - -src_install() { - typeset platform - - dodir /opt/java32 - - cp -pPR ${S}/{bin,lib,man,plugin} ${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 -} - diff --git a/app-emulation/emul-linux-x86-java/files/digest-emul-linux-x86-java-1.4.2.02 b/app-emulation/emul-linux-x86-java/files/digest-emul-linux-x86-java-1.4.2.02 deleted file mode 100644 index c831d5bbd54e..000000000000 --- a/app-emulation/emul-linux-x86-java/files/digest-emul-linux-x86-java-1.4.2.02 +++ /dev/null @@ -1 +0,0 @@ -MD5 c209c959ce4ab0188e77d065ec57901a j2re-1.4.2-02-linux-i586.bin 13523250 diff --git a/app-emulation/emul-linux-x86-java/files/digest-emul-linux-x86-java-1.4.2.03 b/app-emulation/emul-linux-x86-java/files/digest-emul-linux-x86-java-1.4.2.03 deleted file mode 100644 index 38e4c02be965..000000000000 --- a/app-emulation/emul-linux-x86-java/files/digest-emul-linux-x86-java-1.4.2.03 +++ /dev/null @@ -1 +0,0 @@ -MD5 cf4f3c8c86f64fd532f074943b432285 j2re-1.4.2-03-linux-i586.bin 13541431 |