diff options
author | Adrian Almenar <strider@gentoo.org> | 2003-08-02 05:39:27 +0000 |
---|---|---|
committer | Adrian Almenar <strider@gentoo.org> | 2003-08-02 05:39:27 +0000 |
commit | 17c991e8f33f57849faa247d9d5d8c4630e364c7 (patch) | |
tree | 1ba320e8bb8e1456b105177a7254c623b961ae03 /dev-java | |
parent | New Bioperl version 1.2.2 - (diff) | |
download | gentoo-2-17c991e8f33f57849faa247d9d5d8c4630e364c7.tar.gz gentoo-2-17c991e8f33f57849faa247d9d5d8c4630e364c7.tar.bz2 gentoo-2-17c991e8f33f57849faa247d9d5d8c4630e364c7.zip |
Removing old ebuild files so it helps to keep a clean tree
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/commons-cli/Manifest | 2 | ||||
-rw-r--r-- | dev-java/commons-cli/commons-cli-1.0-r1.ebuild | 38 | ||||
-rw-r--r-- | dev-java/commons-cli/files/digest-commons-cli-1.0-r1 | 1 | ||||
-rw-r--r-- | dev-java/commons-logging/Manifest | 2 | ||||
-rw-r--r-- | dev-java/commons-logging/commons-logging-1.0.2-r1.ebuild | 45 | ||||
-rw-r--r-- | dev-java/commons-logging/files/digest-commons-logging-1.0.2-r1 | 1 | ||||
-rw-r--r-- | dev-java/jdom/Manifest | 4 | ||||
-rw-r--r-- | dev-java/jdom/files/digest-jdom-1.0_beta8-r1 | 1 | ||||
-rw-r--r-- | dev-java/jdom/files/digest-jdom-1.0_beta8-r2 | 1 | ||||
-rw-r--r-- | dev-java/jdom/jdom-1.0_beta8-r1.ebuild | 35 | ||||
-rw-r--r-- | dev-java/jdom/jdom-1.0_beta8-r2.ebuild | 37 | ||||
-rw-r--r-- | dev-java/log4j/Manifest | 2 | ||||
-rw-r--r-- | dev-java/log4j/files/digest-log4j-1.2.5 | 1 | ||||
-rw-r--r-- | dev-java/log4j/log4j-1.2.5.ebuild | 21 | ||||
-rw-r--r-- | dev-java/sun-j2sdk/Manifest | 2 | ||||
-rw-r--r-- | dev-java/sun-j2sdk/files/digest-sun-j2sdk-1.4.0-r2 | 1 | ||||
-rw-r--r-- | dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r2.ebuild | 201 |
17 files changed, 0 insertions, 395 deletions
diff --git a/dev-java/commons-cli/Manifest b/dev-java/commons-cli/Manifest index 7e59b4f35685..d05fc783e93f 100644 --- a/dev-java/commons-cli/Manifest +++ b/dev-java/commons-cli/Manifest @@ -1,7 +1,5 @@ -MD5 488147b324ff06e38ac94c3c59300698 commons-cli-1.0-r1.ebuild 1114 MD5 cf3c72796fa6c5cb9fb97dfe3e8e2434 commons-cli-1.0-r2.ebuild 909 MD5 3039f38455c43dff738c3383626d83e8 ChangeLog 1568 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 MD5 ff275165684fda9ed2a9d819df2399e1 files/commons-cli-1.0-gentoo.diff 538 -MD5 8e1e3125e998bf49313b7e5ac3a5b1a0 files/digest-commons-cli-1.0-r1 62 MD5 8e1e3125e998bf49313b7e5ac3a5b1a0 files/digest-commons-cli-1.0-r2 62 diff --git a/dev-java/commons-cli/commons-cli-1.0-r1.ebuild b/dev-java/commons-cli/commons-cli-1.0-r1.ebuild deleted file mode 100644 index fa05f832c3ed..000000000000 --- a/dev-java/commons-cli/commons-cli-1.0-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-cli/commons-cli-1.0-r1.ebuild,v 1.2 2003/04/26 05:36:58 strider Exp $ - -S=${WORKDIR}/${PN}-${PV} -DESCRIPTION="Jakarta-Commons library for working with command line arguments and options" -HOMEPAGE="http://jakarta.apache.org/commons/cli/index.html" -SRC_URI="mirror://apache/jakarta/commons/cli/source/cli-${PV}-src.tar.gz" -DEPEND=">=virtual/jdk-1.3 - >=ant-1.4 - >=dev-java/junit-3.7" -RDEPEND=">=virtual/jre-1.3" -LICENSE="Apache-1.1" -SLOT="0" -KEYWORDS="x86" -IUSE="jikes junit" - -src_compile() { - local myc - - patch -d ${S} -p0 < ${FILESDIR}/${PN}-${PV}-gentoo.diff || die "Could not correct version in build.xml" - - if [ -n "`use jikes`" ] ; then - myc="${myc} -Dbuild.compiler=jikes" - fi - - ANT_OPTS=${myc} ant jar || die "JAR compile failed" - - if [ -n "`use doc`" ] - then - ANT_OPTS=${myc} ant javadoc || die "Document compile failed" - fi -} - -src_install () { - dojar target/*.jar || die "Unable to Install" - use doc && dohtml -r target/docs/* -} diff --git a/dev-java/commons-cli/files/digest-commons-cli-1.0-r1 b/dev-java/commons-cli/files/digest-commons-cli-1.0-r1 deleted file mode 100644 index 9fa950d9ac6b..000000000000 --- a/dev-java/commons-cli/files/digest-commons-cli-1.0-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 ba34d585046b1f17dacbb13b377f4255 cli-1.0-src.tar.gz 37046 diff --git a/dev-java/commons-logging/Manifest b/dev-java/commons-logging/Manifest index f49ce5d3b1a3..9a1d125bec4b 100644 --- a/dev-java/commons-logging/Manifest +++ b/dev-java/commons-logging/Manifest @@ -1,8 +1,6 @@ MD5 7306041acd814ab544439aeacee3ea7f commons-logging-1.0.2-r2.ebuild 986 MD5 e7e2ecb0e36393fb5456de5ccc24e9cc ChangeLog 1725 -MD5 324c9dc379c62ab28ca28a4c9c70e173 commons-logging-1.0.2-r1.ebuild 1404 MD5 5644f81c18c694498542b137b3a42f00 commons-logging-1.0.3.ebuild 958 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 MD5 3d6fb50b9453c1e9c219a22a23345e23 files/digest-commons-logging-1.0.3 76 -MD5 6032390c4d5d4b32bf5221695d74fcf1 files/digest-commons-logging-1.0.2-r1 76 MD5 59cddf5d41c6f4a1173f8695239aaf7e files/digest-commons-logging-1.0.2-r2 150 diff --git a/dev-java/commons-logging/commons-logging-1.0.2-r1.ebuild b/dev-java/commons-logging/commons-logging-1.0.2-r1.ebuild deleted file mode 100644 index af044b1c18aa..000000000000 --- a/dev-java/commons-logging/commons-logging-1.0.2-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-logging/commons-logging-1.0.2-r1.ebuild,v 1.8 2003/04/26 05:36:58 strider Exp $ - -S="${WORKDIR}/${P}-src" -DESCRIPTION="The Jakarta-Commons Logging package is an ultra-thin bridge between different logging libraries." -HOMEPAGE="http://jakarta.apache.org/commons/logging.html" -SRC_URI="http://jakarta.apache.org/builds/jakarta-commons/release/${PN}/v${PV}/${P}-src.tar.gz" -DEPEND=">=virtual/jdk-1.3 - >=dev-java/log4j-1.2.5 - >=dev-java/ant-1.4" -RDEPEND=">=virtual/jdk-1.3" -LICENSE="Apache-1.1" -SLOT="0" -KEYWORDS="x86" -IUSE="jikes junit" - -src_compile() { - local myc - - cd logging - cp LICENSE.txt ../LICENSE - - if [ -n "`use jikes`" ] ; then - myc="${myc} -Dbuild.compiler=jikes" - fi - - if [ -n "`use junit`" ] ; then - echo "junit.jar=`java-config --classpath=junit`" | sed s/:.*// > build.properties - ANT_OPTS=${myc} ant test || die "Testing Classes Failed" - fi - - echo "log4j.jar=`java-config --classpath=log4j`" >> build.properties - - ANT_OPTS=${myc} ant dist || die "Compilation failed" -} - -src_install () { - cd logging - dojar dist/commons-logging-api.jar || die "Unable to install" - dojar dist/commons-logging.jar || die "Unable to install" - dodoc RELEASE-NOTES.txt - dohtml PROPOSAL.html STATUS.html usersguide.html - dohtml -r dist/docs/* -} diff --git a/dev-java/commons-logging/files/digest-commons-logging-1.0.2-r1 b/dev-java/commons-logging/files/digest-commons-logging-1.0.2-r1 deleted file mode 100644 index 608ab555e60d..000000000000 --- a/dev-java/commons-logging/files/digest-commons-logging-1.0.2-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 78bfaac25906a54b925bcc285872c9c9 commons-logging-1.0.2-src.tar.gz 33550 diff --git a/dev-java/jdom/Manifest b/dev-java/jdom/Manifest index 4f9152725e1a..a1076d626b2c 100644 --- a/dev-java/jdom/Manifest +++ b/dev-java/jdom/Manifest @@ -1,11 +1,7 @@ -MD5 b67bf3a5daf34dee811d992612979e53 jdom-1.0_beta8-r1.ebuild 841 MD5 e553a800c8c97afae688f0d396fe9cdb jdom-1.0_beta8-r3.ebuild 1112 -MD5 423d2d8add30ed188d812bd610560add jdom-1.0_beta8-r2.ebuild 991 MD5 ec39cbfc4b50127085bbea33abecbbd1 ChangeLog 1589 MD5 d9cadf6573a19fc634cd1b6c983d0648 jdom-1.0_beta8-r4.ebuild 1162 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 MD5 33c4f711c3cd26755c0226a88fddd422 files/jdom-1.0_beta8-nojdk1.1.patch 646 -MD5 03290a96b3c0f71a58db6620dd1b547f files/digest-jdom-1.0_beta8-r1 60 -MD5 03290a96b3c0f71a58db6620dd1b547f files/digest-jdom-1.0_beta8-r2 60 MD5 03290a96b3c0f71a58db6620dd1b547f files/digest-jdom-1.0_beta8-r3 60 MD5 03290a96b3c0f71a58db6620dd1b547f files/digest-jdom-1.0_beta8-r4 60 diff --git a/dev-java/jdom/files/digest-jdom-1.0_beta8-r1 b/dev-java/jdom/files/digest-jdom-1.0_beta8-r1 deleted file mode 100644 index ec6a24dede89..000000000000 --- a/dev-java/jdom/files/digest-jdom-1.0_beta8-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 8abd67fa4a227cb2abf2d2465de80248 jdom-b8.tar.gz 2534221 diff --git a/dev-java/jdom/files/digest-jdom-1.0_beta8-r2 b/dev-java/jdom/files/digest-jdom-1.0_beta8-r2 deleted file mode 100644 index ec6a24dede89..000000000000 --- a/dev-java/jdom/files/digest-jdom-1.0_beta8-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 8abd67fa4a227cb2abf2d2465de80248 jdom-b8.tar.gz 2534221 diff --git a/dev-java/jdom/jdom-1.0_beta8-r1.ebuild b/dev-java/jdom/jdom-1.0_beta8-r1.ebuild deleted file mode 100644 index e34804872548..000000000000 --- a/dev-java/jdom/jdom-1.0_beta8-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jdom/jdom-1.0_beta8-r1.ebuild,v 1.5 2003/02/13 10:11:20 vapier Exp $ - -IUSE="jikes" - -P="jdom-b8" -A="jdom-b8.tar.gz" - -DESCRIPTION="Java API to manipulate XML data" -SRC_URI="http://www.jdom.org/dist/source/${A}" -HOMEPAGE="http://www.jdom.org" -LICENSE="JDOM" -SLOT="0" -KEYWORDS="x86" -RDEPEND=">=virtual/jdk-1.3" -DEPEND="${RDEPEND} - >=dev-java/ant-1.4.1 - jikes? ( >=dev-java/jikes-1.15 )" - -src_compile() { - local antflags - - antflags="" - use jikes && antflags="${antflags} -Dbuild.compiler=jikes" - - ant ${antflags} || die "compile problem" -} - -src_install() { - dojar build/jdom*.jar lib/*.jar - - dodoc CHANGES.txt COMMITTERS.txt LICENSE.txt README.txt TODO.txt - dohtml -r build/apidocs/* -} diff --git a/dev-java/jdom/jdom-1.0_beta8-r2.ebuild b/dev-java/jdom/jdom-1.0_beta8-r2.ebuild deleted file mode 100644 index 12be91558337..000000000000 --- a/dev-java/jdom/jdom-1.0_beta8-r2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jdom/jdom-1.0_beta8-r2.ebuild,v 1.2 2003/02/13 10:11:26 vapier Exp $ - -IUSE="jikes" - -P="jdom-b8" -FOO="jdom-b8.tar.gz" - -DESCRIPTION="Java API to manipulate XML data" -SRC_URI="http://www.jdom.org/dist/source/${FOO}" -HOMEPAGE="http://www.jdom.org" -LICENSE="JDOM" -SLOT="0" -KEYWORDS="x86" -RDEPEND=">=virtual/jdk-1.3" -DEPEND="${RDEPEND} - >=dev-java/ant-1.4.1 - jikes? ( >=dev-java/jikes-1.15 )" - -src_compile() { - local antflags - - antflags="" - use jikes && antflags="${antflags} -Dbuild.compiler=jikes" - - ant ${antflags} || die "compile problem" -} - -src_install() { - # install everything except for the jdom11.jar and collections - # (pre-Java 2 support which interferes) - dojar `ls build/jdom*.jar lib/*.jar |grep -v jdk11 |grep -v collections` - - dodoc CHANGES.txt COMMITTERS.txt LICENSE.txt README.txt TODO.txt - dohtml -r build/apidocs/* -} diff --git a/dev-java/log4j/Manifest b/dev-java/log4j/Manifest index 4851e5a73abc..0ed45ec766ec 100644 --- a/dev-java/log4j/Manifest +++ b/dev-java/log4j/Manifest @@ -1,8 +1,6 @@ MD5 5d52a8220ad3d9174bca410ef00d2146 log4j-1.2.8.ebuild 569 -MD5 96d872b5444c7dc530c4860f66673b99 log4j-1.2.5.ebuild 569 MD5 b7ce025f882e08398d5660e3d4b414d9 ChangeLog 951 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 MD5 4911ec0207d1f348744f9244b13cc1c2 log4j-1.2.7.ebuild 566 -MD5 225dad7af35e55db8ba7b773de89d96f files/digest-log4j-1.2.5 72 MD5 2361abe712a52af366af80e573b5d7f4 files/digest-log4j-1.2.7 72 MD5 276671ae9ccf96d2b40482786f50071d files/digest-log4j-1.2.8 72 diff --git a/dev-java/log4j/files/digest-log4j-1.2.5 b/dev-java/log4j/files/digest-log4j-1.2.5 deleted file mode 100644 index 5e3b78ecc5e8..000000000000 --- a/dev-java/log4j/files/digest-log4j-1.2.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 56975464c62eeabad0fbfc2dbbbfb949 jakarta-log4j-1.2.5.tar.gz 2648061 diff --git a/dev-java/log4j/log4j-1.2.5.ebuild b/dev-java/log4j/log4j-1.2.5.ebuild deleted file mode 100644 index 59c6df709745..000000000000 --- a/dev-java/log4j/log4j-1.2.5.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/log4j/log4j-1.2.5.ebuild,v 1.6 2003/02/28 13:18:14 liquidx Exp $ - -S="${WORKDIR}/jakarta-${P}" - -DESCRIPTION="A low-overhead robust logging package for Java" -SRC_URI="http://jakarta.apache.org/log4j/jakarta-${P}.tar.gz" -HOMEPAGE="http://jakarta.apache.org" -LICENSE="Apache-1.1" -SLOT="1" -KEYWORDS="x86" - -RDEPEND=">=virtual/jdk-1.3" -DEPEND="${RDEPEND}" - -src_install() { - dojar dist/lib/*.jar - dohtml -r docs/* -} - diff --git a/dev-java/sun-j2sdk/Manifest b/dev-java/sun-j2sdk/Manifest index a6187fd4d37b..11df51966261 100644 --- a/dev-java/sun-j2sdk/Manifest +++ b/dev-java/sun-j2sdk/Manifest @@ -1,13 +1,11 @@ MD5 2a48530851735c5eca20b432602b5ddd sun-j2sdk-1.4.0-r3.ebuild 5179 MD5 f489a1c2897541c6023483fb03bbac98 sun-j2sdk-1.4.1.ebuild 4513 -MD5 b5a80b51792abdd679a53d5ed57fe178 sun-j2sdk-1.4.0-r2.ebuild 5764 MD5 1957aa57693c4467bacc2906d30e07d2 ChangeLog 2723 MD5 fe79a2be9c18972b16eac376fab6f5fa sun-j2sdk-1.4.1-r1.ebuild 4537 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 MD5 c147a3bf17e43d34055a763a266c2fe1 files/sun-j2sdk-1.4.0 603 MD5 d689a6b6d3c969dfd49a1d39e47ff769 files/sun-j2sdk-1.4.1 603 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-sun-j2sdk-1.4.1 0 -MD5 dd55b8f72a824c16a4d544b624c9eda1 files/digest-sun-j2sdk-1.4.0-r2 63 MD5 dd55b8f72a824c16a4d544b624c9eda1 files/digest-sun-j2sdk-1.4.0-r3 63 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-sun-j2sdk-1.4.1-r1 0 MD5 1592f54543a5a9c5b9ddd873bc1d5449 files/1.4.1/j2sdk-1.4.1-pthread.patch 1724 diff --git a/dev-java/sun-j2sdk/files/digest-sun-j2sdk-1.4.0-r2 b/dev-java/sun-j2sdk/files/digest-sun-j2sdk-1.4.0-r2 deleted file mode 100644 index ac97e5a21b50..000000000000 --- a/dev-java/sun-j2sdk/files/digest-sun-j2sdk-1.4.0-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 ea16358be41384870acbdc372f9db152 zlib-1.1.4.tar.bz2 147014 diff --git a/dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r2.ebuild b/dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r2.ebuild deleted file mode 100644 index fbe6270a593c..000000000000 --- a/dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r2.ebuild +++ /dev/null @@ -1,201 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# Maintainer: Stefan Jones <cretin@gentoo.org> -# Author: Stefan Jones <cretin@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r2.ebuild,v 1.5 2003/02/13 10:22:49 vapier Exp $ - -# Based on http://tushar.lfsforum.org/javafromscratch.txt (LFS) -# By Tushar Teredesai <Tush@Yahoo.Com> - -IUSE="" - -inherit java - -ZLIB_VERSION=1.1.4 - -JAVA_PATCHES="j2sdk-1.4.0-disable-sanity-check.patch.bz2 - j2sdk-1.4.0-fix-intl-files.patch.bz2 - j2sdk-1.4.0-gcc3-syntax.patch.bz2 - j2sdk-1.4.0-glibc-2.3.1-fixes.patch.bz2 - j2sdk-1.4.0-link-jpda-2-libjvm.patch.bz2 - j2sdk-1.4.0-remove-fixed-paths.patch.bz2" - -S=${WORKDIR}/j2sdk - -SRC_JAVA="j2sdk-1_4_0-src-scsl.zip" -SRC_MOZHEADERS="j2sdk-1_4_0-mozilla_headers-unix.zip" -SRC_SUNMOTIF="j2sdk-1_4_0-motif-linux-i386.zip" - -SRC_URI="http://www.gzip.org/zlib/zlib-${ZLIB_VERSION}.tar.bz2" - -DESCRIPTION="Sun's J2SE Development Kit, version 1.4.0" -HOMEPAGE="http://wwws.sun.com/software/java2/download.html" - -SLOT="0" -KEYWORDS="x86 -ppc -alpha -sparc " -LICENSE="sun-csl" - -RDEPEND="virtual/glibc - virtual/x11 - >=dev-java/java-config-0.1.3" -DEPEND="${RDEPEND} - app-arch/zip - app-arch/unzip - >=virtual/jdk-1.4 - !x11-libs/lesstif - !x11-libs/openmotif" - -PROVIDE="virtual/jre-1.4.0 - virtual/jdk-1.4.0 - virtual/java-scheme-2" - -pkg_setup() { - #Check if we have enough space - if [ `df ${PORTAGE_TMPDIR}/portage/ | tail -n 1 | awk '{ print $4 }'` -le 2097152 ] ; then - eerror "You need about 2G of disk space to compile this at ${PORTAGE_TMPDIR}/portage," - eerror "it seems you don't have that much, quiting, sorry!" - die "Not enough disk space" - fi - - #Check the Current java-version ~ 1.4 and is jdk - JAVAC=`java-config --javac` - if [ -z $JAVAC ] ; then - eerror "Set java-config to use a jdk not a jre" - die "The version of java set by java-config doesn't contain javac" - fi - - if [ `java-config --java-version 2>&1 | grep "1\.4\." | wc -l` -lt 1 ] ; then - eerror "JDK is too old, >= 1.4 is required" - die "The version of jdk pointed to by java-config is not >=1.4" - fi - -} - -src_unpack() { - die_flag="" - if [ ! -f ${DISTDIR}/${SRC_MOZHEADERS} ] ; then - eerror "Please download ${SRC_MOZHEADERS} from ${HOMEPAGE} to ${DISTDIR}" - die_flag=1 - fi - - if [ ! -f ${DISTDIR}/${SRC_JAVA} ] ; then - eerror "Please download ${SRC_JAVA} from ${HOMEPAGE} to ${DISTDIR}" - die_flag=1 - fi - - if [ ! -f ${DISTDIR}/${SRC_SUNMOTIF} ] ; then - eerror "Please download ${SRC_SUNMOTIF} from ${HOMEPAGE} to ${DISTDIR}" - die_flag=1 - fi - - [ ! -z ${die_flag} ] && die "Some source files were not found" - - mkdir ${S} - cd ${S} - unpack ${SRC_JAVA} - - mkdir mozilla - cd mozilla - unpack ${SRC_MOZHEADERS} - - cd ${S} - for patch in $JAVA_PATCHES ; do - bzip2 -dc ${FILESDIR}/patches/${patch} | patch -p1 || die "Failed to apply ${patch}" - done - - # Update zlib to avoid security problem with zlib-1.1.3 - cd ${S}/j2se/src/share/native/java/util/zip - rm -rf zlib-1.1.3 - unpack zlib-${ZLIB_VERSION}.tar.bz2 - cd zlib-${ZLIB_VERSION} - mv adler32.c zadler32.c - mv crc32.c zcrc32.c - cd ${S}/j2se/make/java/zip/ - cp Makefile Makefile.orig - chmod +w Makefile - sed -e "s:1.1.3:${ZLIB_VERSION}:" Makefile.orig > Makefile - - mkdir -p ${S}/motif - cd ${S}/motif - unpack ${SRC_SUNMOTIF} -} - -src_compile () { - cd ${S} - unset CLASSPATH JAVA_HOME JAVAC - - # Otherwise the command: - # (cd /var/tmp/portage/sun-j2sdk-1.4.0-r1/work/j2sdk/control/build/linux-i386/j2re-image; tar cf - .) | \ - # (cd /var/tmp/portage/sun-j2sdk-1.4.0-r1/work/j2sdk/control/build/linux-i386/j2sdk-image/jre; tar xf -) - # Will fail, you have been warned!!!! There are NO sandbox violations anyway - LD_PRELOAD_SAVE=$LD_PRELOAD - unset LD_PRELOAD - - # Any CFLAGS will cause the build to fail! - # If you don't believe me ... - #export OTHER_CFLAGS=${CFLAGS} - #export OTHER_CXXFLAGS=${CXXFLAGS} - unset CFLAGS CXXFLAGS - - export ALT_MOZILLA_PATH="${S}/mozilla" - export ALT_BOOTDIR=`java-config --jdk-home` - export ALT_MOTIF_DIR="${S}/motif" - export ALT_DEVTOOLS_PATH="/usr/bin" - export MILESTONE="gentoo" - export BUILD_NUMBER=`date +%s` - export INSANE=true - export MAKE_VERBOSE=true - export OTHER_LDFLAGS="-lpthread" - export DEV_ONLY=true - - cd ${S}/control/make - # MUST use make, we DONT want any -j options! - JOBS=`echo "${MAKEOPTS}" | sed -e "s/.*-j\([0-9]\+\).*/\1/"` - if [ -z "$JOBS" ]; then - JOBS=1 - fi - make HOTSPOT_BUILD_JOBS=${JOBS} || die - - export LD_PRELOAD=$LD_PRELOAD_SAVE -} - -src_install () { - dodir /opt/${P} - - cd ${S}/control/build/linux-*/j2sdk-image - local dirs="bin include jre lib" - dodir /opt/${P} - - for i in $dirs ; do - cp -a $i ${D}/opt/${P}/ - done - - dodoc COPYRIGHT README LICENSE - dohtml README.html - - doman man/man1/*.1 - - dodir /opt/${P}/share/ - cp -a demo src.zip ${D}/opt/${P}/share/ - - if [ "`use mozilla`" ] ; then - dodir /usr/lib/mozilla/plugins - dosym /opt/${P}/jre/plugin/i386/ns610/libjavaplugin_oji140.so /usr/lib/mozilla/plugins/ - fi - - set_java_env ${FILESDIR}/${VMHANDLE} - -} - -pkg_postinst () { - # Set as default VM if none exists - java_pkg_postinst - - if [ "`use mozilla`" ] ; then - einfo "The Mozilla browser plugin has been installed as /usr/lib/mozilla/plugins/libjavaplugin_oji140.so" - else - einfo "To install the Java plugin for Mozilla manually, do:" - einfo "ln -s /opt/${P}/jre/plugin/i386/ns610/libjavaplugin_oji140.so /usr/lib/mozilla/plugins/" - einfo "(Make certain the directory /usr/lib/mozilla/plugins exists first)" - fi -} |