summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Carlson <absinthe@gentoo.org>2003-05-24 10:45:50 +0000
committerDylan Carlson <absinthe@gentoo.org>2003-05-24 10:45:50 +0000
commit2545d61d0a2ee2bcd79f63541aa2a1ca6a4c61e3 (patch)
tree34f86f778a5bb8d8a68a5083c0fd803499731cce /dev-java/jswat
parentInitial import of 1.7.1 to support JDK 1.3. Fixed package descriptions as ap... (diff)
downloadgentoo-2-2545d61d0a2ee2bcd79f63541aa2a1ca6a4c61e3.tar.gz
gentoo-2-2545d61d0a2ee2bcd79f63541aa2a1ca6a4c61e3.tar.bz2
gentoo-2-2545d61d0a2ee2bcd79f63541aa2a1ca6a4c61e3.zip
Initial import of 1.7.1 to support JDK 1.3. Fixed package descriptions as appropriate.
Diffstat (limited to 'dev-java/jswat')
-rw-r--r--dev-java/jswat/ChangeLog14
-rw-r--r--dev-java/jswat/Manifest8
-rw-r--r--dev-java/jswat/files/digest-jswat-1.7.11
-rw-r--r--dev-java/jswat/files/jswat48
-rw-r--r--dev-java/jswat/jswat-1.7.1.ebuild33
-rw-r--r--dev-java/jswat/jswat-2.17-r1.ebuild4
6 files changed, 101 insertions, 7 deletions
diff --git a/dev-java/jswat/ChangeLog b/dev-java/jswat/ChangeLog
index 0009bbaf0334..2fb62c59beca 100644
--- a/dev-java/jswat/ChangeLog
+++ b/dev-java/jswat/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for dev-java/jswat
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jswat/ChangeLog,v 1.6 2003/05/24 10:24:45 absinthe Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jswat/ChangeLog,v 1.7 2003/05/24 10:45:47 absinthe Exp $
+
+*jswat-1.7.1 (24 May 2003)
+
+ 24 May 2003; Dylan Carlson <absinthe@gentoo.org> jswat-1.7.1.ebuild
+
+ Support for the JDK 1.3 version of jswat has been added.
+
+ /usr/bin/jswat is for jswat-1.* (JDK 1.3)
+ /usr/bin/jswat2 is for jswat-2.* (JDK 1.4)
+
+ No solid support for JDK 1.2 is in the tree (yet), so jswat will be fixed
+ whenever that happens.
*jswat-2.17-r1 (24 May 2003)
diff --git a/dev-java/jswat/Manifest b/dev-java/jswat/Manifest
index 7208b1d479af..28188ad4c382 100644
--- a/dev-java/jswat/Manifest
+++ b/dev-java/jswat/Manifest
@@ -1,7 +1,7 @@
-MD5 6832ea3df6e5d1c43d37aae716306834 jswat-1.7.1.ebuild 876
-MD5 33149f9d1d3b6c4f957da931444f3d5b jswat-2.17-r1.ebuild 1412
-MD5 7e7cef68c8c47bbb0dc4db116f4a466f ChangeLog 1770
-MD5 669098a547fc8bba8ef46f9152a94e64 files/jswat 1421
+MD5 904c915f8fa543ecd1eac23dab88618a jswat-1.7.1.ebuild 874
+MD5 17529a79fb3863c37c560e1357003af1 jswat-2.17-r1.ebuild 1412
+MD5 cfee037d09cf83c5a3ee000fefc31f32 ChangeLog 1770
+MD5 cd73b809ca54bfad49d364a277bcf1ae files/jswat 1420
MD5 c52b5e917a5ec237a0b62111506885ca files/jswat2 1258
MD5 b7b3e490432793c593c9694f882a2163 files/digest-jswat-1.7.1 64
MD5 118ed7a87e5e670070676eaaa139f77a files/digest-jswat-2.17-r1 67
diff --git a/dev-java/jswat/files/digest-jswat-1.7.1 b/dev-java/jswat/files/digest-jswat-1.7.1
new file mode 100644
index 000000000000..3ac8034b783f
--- /dev/null
+++ b/dev-java/jswat/files/digest-jswat-1.7.1
@@ -0,0 +1 @@
+MD5 26e2792f7faee7ae4ededc2485d0277f jswat-1.7.1.tar.gz 1167433
diff --git a/dev-java/jswat/files/jswat b/dev-java/jswat/files/jswat
new file mode 100644
index 000000000000..50e63921c2ec
--- /dev/null
+++ b/dev-java/jswat/files/jswat
@@ -0,0 +1,48 @@
+#!/bin/sh
+# jswat Launch Script
+# Author: Dylan Carlson
+# May 2003
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jswat/files/jswat,v 1.1 2003/05/24 10:45:47 absinthe Exp $
+
+JSWAT_VER="1.7.1"
+
+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.3 JDK
+
+if [ -z `echo ${JAVA_HOME} | grep "1.3"` ] ; then
+ echo "!!! JDK 1.2 or 1.3 is required for this "
+ echo "!!! version of jswat (${JSWAT_VER}). "
+ echo "!!! "
+ echo "!!! Please run java-config(1) and configure "
+ echo "!!! your system to use a 1.2 or 1.3 JDK. "
+ echo "!!! "
+ echo "!!! Emerge jswat-2.* for 1.4 JDKs, and use "
+ echo "!!! jswat2 to launch. "
+ echo " "
+ exit 1
+fi
+
+${JAVA_HOME}/bin/java com.bluemarsh.jswat.Main $@
diff --git a/dev-java/jswat/jswat-1.7.1.ebuild b/dev-java/jswat/jswat-1.7.1.ebuild
new file mode 100644
index 000000000000..4366bdd09646
--- /dev/null
+++ b/dev-java/jswat/jswat-1.7.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jswat/jswat-1.7.1.ebuild,v 1.1 2003/05/24 10:45:47 absinthe Exp $
+
+inherit java-pkg
+
+S="${WORKDIR}/${PN}-${PV}"
+DESCRIPTION="Extensible graphical Java debugger for JDK 1.3"
+HOMEPAGE="http://www.bluemarsh.com/java/jswat"
+SRC_URI="mirror://sourceforge/jswat/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS="x86 sparc ppc"
+DEPEND=""
+RDEPEND=">=virtual/jdk-1.3"
+IUSE="doc"
+
+src_compile() {
+ einfo " This is a binary (bytecode) only ebuild."
+}
+
+src_install () {
+ # install jswat classes
+ java-pkg_dojar jswat.jar parser.jar
+
+ # prepare and install jswat script
+ dobin ${FILESDIR}/jswat
+
+ # install documents
+ dodoc AUTHORS.txt BUGS.txt HISTORY.txt LICENSE.txt TODO.txt
+ dohtml README.html
+ use doc && dohtml -r docs
+}
diff --git a/dev-java/jswat/jswat-2.17-r1.ebuild b/dev-java/jswat/jswat-2.17-r1.ebuild
index 72cd7fc4c6eb..639b9c3c8b69 100644
--- a/dev-java/jswat/jswat-2.17-r1.ebuild
+++ b/dev-java/jswat/jswat-2.17-r1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jswat/jswat-2.17-r1.ebuild,v 1.1 2003/05/24 10:24:45 absinthe Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jswat/jswat-2.17-r1.ebuild,v 1.2 2003/05/24 10:45:47 absinthe Exp $
inherit java-pkg
S="${WORKDIR}/${PN}-${PV}"
-DESCRIPTION="Extensible graphical Java debugger"
+DESCRIPTION="Extensible graphical Java debugger for JDK 1.4"
HOMEPAGE="http://www.bluemarsh.com/java/jswat"
SRC_URI="mirror://sourceforge/jswat/${PN}-src-${PV}.tar.gz"
LICENSE="GPL-2"