summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/jclasslib
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/jclasslib')
-rw-r--r--dev-java/jclasslib/Manifest1
-rw-r--r--dev-java/jclasslib/files/3.0-browser.patch12
-rw-r--r--dev-java/jclasslib/files/3.0-pre1
-rw-r--r--dev-java/jclasslib/files/jclasslib-3.0-buildxml.patch15
-rw-r--r--dev-java/jclasslib/jclasslib-3.0-r1.ebuild47
-rw-r--r--dev-java/jclasslib/metadata.xml8
6 files changed, 84 insertions, 0 deletions
diff --git a/dev-java/jclasslib/Manifest b/dev-java/jclasslib/Manifest
new file mode 100644
index 000000000000..f39d35a0dd2e
--- /dev/null
+++ b/dev-java/jclasslib/Manifest
@@ -0,0 +1 @@
+DIST jclasslib_unix_3_0.tar.gz 1774938 SHA256 eec6d971b913802904e1f76758ff9b739680489bdaced18543a359308390405c SHA512 0bd46f5a1c837f888d9b570f49085bb04d71e401d89b74880bd4af765cf27493b56e17ff065b155672bf6de6edb14006c619b3afe8bc6c488dc16e2fc97131ab WHIRLPOOL c15bf9a2457b72c517c83109b8cf1c88a4d0343d3f7a82de40e20f63d518ece9f53255181e9e5cf04cae640a663bb10e7c33049bfbbd8c05a792407ae1a2db9b
diff --git a/dev-java/jclasslib/files/3.0-browser.patch b/dev-java/jclasslib/files/3.0-browser.patch
new file mode 100644
index 000000000000..33635d693e74
--- /dev/null
+++ b/dev-java/jclasslib/files/3.0-browser.patch
@@ -0,0 +1,12 @@
+diff -ur jclasslib.old/src/org/gjt/jclasslib/browser/BrowserMDIFrame.java jclasslib/src/org/gjt/jclasslib/browser/BrowserMDIFrame.java
+--- jclasslib.old/src/org/gjt/jclasslib/browser/BrowserMDIFrame.java 2007-02-27 22:37:56.000000000 +0200
++++ jclasslib/src/org/gjt/jclasslib/browser/BrowserMDIFrame.java 2007-02-27 22:47:48.000000000 +0200
+@@ -633,7 +633,7 @@
+ if (System.getProperty("os.name").startsWith("Windows")) {
+ commandLine = "rundll32.exe url.dll,FileProtocolHandler " + urlSpec;
+ } else {
+- commandLine = "netscape " + urlSpec;
++ commandLine = System.getProperty("gentoo.browser", "firefox") + " " + urlSpec;
+ }
+ try {
+ Runtime.getRuntime().exec(commandLine);
diff --git a/dev-java/jclasslib/files/3.0-pre b/dev-java/jclasslib/files/3.0-pre
new file mode 100644
index 000000000000..b84f5b9d705a
--- /dev/null
+++ b/dev-java/jclasslib/files/3.0-pre
@@ -0,0 +1 @@
+[[ ${BROWSER} ]] && gjl_java_args="${gjl_java_args} -Dgentoo.browser=${BROWSER}"
diff --git a/dev-java/jclasslib/files/jclasslib-3.0-buildxml.patch b/dev-java/jclasslib/files/jclasslib-3.0-buildxml.patch
new file mode 100644
index 000000000000..3ca3d0d0f168
--- /dev/null
+++ b/dev-java/jclasslib/files/jclasslib-3.0-buildxml.patch
@@ -0,0 +1,15 @@
+--- build.xml.orig 2005-05-16 14:43:46.000000000 +0200
++++ build.xml 2005-05-16 14:44:27.000000000 +0200
+@@ -59,10 +59,10 @@
+ <pathelement location="${lib-compile.dir}/java.jar"/>
+ </path>
+
+- <taskdef name="makenbm" classname="org.netbeans.nbbuild.MakeNBM" classpath="${lib-compile.dir}/antnbm.jar"/>
++ <!-- <taskdef name="makenbm" classname="org.netbeans.nbbuild.MakeNBM" classpath="${lib-compile.dir}/antnbm.jar"/>
+ <taskdef name="install4j"
+ classname="com.install4j.Install4JTask"
+- classpath="/opt/install4j/bin/install4j.jar:/Program Files/install4j/bin/install4j.jar:/Programme/install4j/bin/install4j.jar"/>
++ classpath="/opt/install4j/bin/install4j.jar:/Program Files/install4j/bin/install4j.jar:/Programme/install4j/bin/install4j.jar"/> -->
+
+ <!-- Make all standard directories -->
+ <target name="init">
diff --git a/dev-java/jclasslib/jclasslib-3.0-r1.ebuild b/dev-java/jclasslib/jclasslib-3.0-r1.ebuild
new file mode 100644
index 000000000000..e99feea0682b
--- /dev/null
+++ b/dev-java/jclasslib/jclasslib-3.0-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+MY_PV=${PV/./_}
+DESCRIPTION="A bytecode viewer is a tool"
+HOMEPAGE="http://www.ej-technologies.com/products/jclasslib/overview.html"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_unix_${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+DEPEND=">=virtual/jdk-1.4"
+RDEPEND=">=virtual/jre-1.4"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -v bin/*.jar lib-compile/*.jar .install4j/*.jar || die
+ epatch "${FILESDIR}/${PN}-3.0-buildxml.patch"
+ epatch "${FILESDIR}/3.0-browser.patch"
+}
+
+src_install() {
+ java-pkg_dojar build/${PN}.jar
+
+ #-pre relies on -java_args not being used
+ #if you need that, patch java-utils-2.eclass
+ java-pkg_dolauncher ${PN} \
+ -pre "${FILESDIR}/3.0-pre"
+
+ # has stuff other than javadoc too
+ use doc && java-pkg_dohtml -r doc/*
+ use source && java-pkg_dosrc src/*
+}
+
+pkg_postinst() {
+ elog "jclasslib by default uses firefox as the browser."
+ elog "Use the BROWSER environment variable to use something else."
+}
diff --git a/dev-java/jclasslib/metadata.xml b/dev-java/jclasslib/metadata.xml
new file mode 100644
index 000000000000..53357752d126
--- /dev/null
+++ b/dev-java/jclasslib/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <upstream>
+ <remote-id type="sourceforge">jclasslib</remote-id>
+ </upstream>
+</pkgmetadata>