diff options
author | Dylan Carlson <absinthe@gentoo.org> | 2004-02-29 01:14:26 +0000 |
---|---|---|
committer | Dylan Carlson <absinthe@gentoo.org> | 2004-02-29 01:14:26 +0000 |
commit | 4e5394cdc1acb61adb59c962576b3840a50e6839 (patch) | |
tree | 83a7230b840e6b45ccd825f6bac6c07f1a585b3d /dev-java | |
parent | version bump. workaround missing .so extensions with libtool version (#42955) (diff) | |
download | historical-4e5394cdc1acb61adb59c962576b3840a50e6839.tar.gz historical-4e5394cdc1acb61adb59c962576b3840a50e6839.tar.bz2 historical-4e5394cdc1acb61adb59c962576b3840a50e6839.zip |
Fix to close bug #43222.
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jswat/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/jswat/Manifest | 5 | ||||
-rw-r--r-- | dev-java/jswat/files/2.21/jswat2 | 43 | ||||
-rw-r--r-- | dev-java/jswat/jswat-2.21.ebuild | 6 |
4 files changed, 56 insertions, 6 deletions
diff --git a/dev-java/jswat/ChangeLog b/dev-java/jswat/ChangeLog index 3be43e308f99..eb5e4c460f43 100644 --- a/dev-java/jswat/ChangeLog +++ b/dev-java/jswat/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/jswat # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jswat/ChangeLog,v 1.8 2004/02/25 08:08:07 absinthe Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jswat/ChangeLog,v 1.9 2004/02/29 01:14:26 absinthe Exp $ + +*jswat-2.21 (28 Feb 2004) + + 28 Feb 2004; Dylan Carlson <absinthe@gentoo.org> jswat-2.21.ebuild, + files/2.21/jswat2: + Fix to close bug #43222. 25 Feb 2004; Dylan Carlson <absinthe@gentoo.org> : Version bump. diff --git a/dev-java/jswat/Manifest b/dev-java/jswat/Manifest index 726044edc243..469b1db71e95 100644 --- a/dev-java/jswat/Manifest +++ b/dev-java/jswat/Manifest @@ -1,11 +1,12 @@ -MD5 f3254174d68116d7b19a765dcbfb9948 ChangeLog 1900 +MD5 932ee193941abe1c92b534ae6d0f40b4 ChangeLog 2046 MD5 2e6fc5083f7e4355086708d660be1172 jswat-1.7.1.ebuild 860 MD5 316c4fe47b3b9e4b22326c0dccb39a38 jswat-2.17-r1.ebuild 1396 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 -MD5 767a8c9db8303d34748ff3df71f9b03a jswat-2.21.ebuild 1429 +MD5 e387ec778c6cbc40daddbfd755ccc0e3 jswat-2.21.ebuild 1432 MD5 b7b3e490432793c593c9694f882a2163 files/digest-jswat-1.7.1 64 MD5 118ed7a87e5e670070676eaaa139f77a files/digest-jswat-2.17-r1 67 MD5 cd73b809ca54bfad49d364a277bcf1ae files/jswat 1420 MD5 c52b5e917a5ec237a0b62111506885ca files/jswat2 1258 MD5 52d53eb4cc81c586df4ba5b11dc5a682 files/digest-jswat-2.21 67 MD5 bfb56f46fc6c46eb188c7153cc81c2b4 files/jswat-2.21.diff 747 +MD5 0f5b8ae1984dc2e574f92ffde39fe818 files/2.21/jswat2 1228 diff --git a/dev-java/jswat/files/2.21/jswat2 b/dev-java/jswat/files/2.21/jswat2 new file mode 100644 index 000000000000..6b877058cf3e --- /dev/null +++ b/dev-java/jswat/files/2.21/jswat2 @@ -0,0 +1,43 @@ +#!/bin/sh +# jswat Launch Script +# $Header: /var/cvsroot/gentoo-x86/dev-java/jswat/files/2.21/jswat2,v 1.1 2004/02/29 01:14:26 absinthe Exp $ + +JSWAT_VER="2.21" + +JAVA_HOME=`/usr/bin/java-config --jdk-home` +if [ -z "${JAVA_HOME}" ] ; then + JAVA_HOME=`/usr/bin/java-config --jre-home` +fi +CLASSPATH="${JAVA_HOME}/lib/tools.jar:`/usr/bin/java-config --classpath=jswat-${JSWAT_VER}`:${CLASSPATH}" + +if [ ! -f ${JAVA_HOME}/bin/java ] ; then + echo " " + echo "I tried using the following Java Runtime:" + echo "${JAVA_HOME}/bin/java" + echo " " + echo "Java Runtime missing. Please run java-config(1) and ensure" + echo "your environment is configured properly." + exit 1 +else + echo " " + echo "Using Java Runtime:" + echo "${JAVA_HOME}/bin/java" + echo " " + echo "Using CLASSPATH:" + echo "${CLASSPATH}" + echo " " +fi + +# Make sure we're using 1.4 JDK + +if [ -z `echo ${JAVA_HOME} | grep "1.4"` ] ; then + echo "!!! JDK 1.4 is required for this version of " + echo "!!! jswat (${JSWAT_VER}). " + echo "!!! " + echo "!!! Please run java-config(1) and configure " + echo "!!! your system to use a 1.4 or later JDK. " + echo " " + exit 1 +fi + +${JAVA_HOME}/bin/java com.bluemarsh.jswat.Main $@ diff --git a/dev-java/jswat/jswat-2.21.ebuild b/dev-java/jswat/jswat-2.21.ebuild index cc2c98f553d9..39c16ee67c90 100644 --- a/dev-java/jswat/jswat-2.21.ebuild +++ b/dev-java/jswat/jswat-2.21.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jswat/jswat-2.21.ebuild,v 1.1 2004/02/25 08:08:08 absinthe Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jswat/jswat-2.21.ebuild,v 1.2 2004/02/29 01:14:26 absinthe Exp $ inherit java-pkg @@ -37,12 +37,12 @@ src_compile() { src_install () { # install jswat classes java-pkg_dojar \ - build/dist/${P}/*.jar \ + build/dist/*/*.jar \ classes/ext/parser.jar \ classes/ext/jclasslib.jar # prepare and install jswat script - dobin ${FILESDIR}/jswat2 + dobin ${FILESDIR}/${PV}/jswat2 # install documents dodoc AUTHORS.txt BUGS.txt HISTORY.txt LICENSE.txt OLD_HISTORY.txt TODO.txt |