summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2008-10-11 22:01:18 +0000
committerVlastimil Babka <caster@gentoo.org>2008-10-11 22:01:18 +0000
commitcaf125e329b80267e803ad6a200c72d9a6c040d2 (patch)
tree4b6fcdf0b580ffd136907641831f32fb09780b73 /dev-java
parentAdded cmake to info_pkgs to get the cmake version on emerge --info output. (diff)
downloadgentoo-2-caf125e329b80267e803ad6a200c72d9a6c040d2.tar.gz
gentoo-2-caf125e329b80267e803ad6a200c72d9a6c040d2.tar.bz2
gentoo-2-caf125e329b80267e803ad6a200c72d9a6c040d2.zip
Version bump, bug #198101. Only minimal version with java5 support for now, to allow bumping jabref. Some extensions supported by ebuild in java-experimental overlay. Thanks to Bernhard Frauendienst <gentoo@obeliks.de>.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1-perfctr x86_64)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/glazedlists/ChangeLog13
-rw-r--r--dev-java/glazedlists/files/glazedlists-1.7.0-build.xml.patch116
-rw-r--r--dev-java/glazedlists/glazedlists-1.7.0.ebuild60
3 files changed, 187 insertions, 2 deletions
diff --git a/dev-java/glazedlists/ChangeLog b/dev-java/glazedlists/ChangeLog
index 1621acd2b59d..f86feacbcee1 100644
--- a/dev-java/glazedlists/ChangeLog
+++ b/dev-java/glazedlists/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-java/glazedlists
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/glazedlists/ChangeLog,v 1.12 2008/02/26 13:31:37 opfer Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/glazedlists/ChangeLog,v 1.13 2008/10/11 22:01:18 caster Exp $
+
+*glazedlists-1.7.0 (11 Oct 2008)
+
+ 11 Oct 2008; Vlastimil Babka <caster@gentoo.org>
+ +files/glazedlists-1.7.0-build.xml.patch, +glazedlists-1.7.0.ebuild:
+ Version bump, bug #198101. Only minimal version with java5 support for
+ now, to allow bumping jabref. Some extensions supported by ebuild in
+ java-experimental overlay. Thanks to Bernhard Frauendienst
+ <gentoo@obeliks.de>.
03 Aug 2007; Petteri Räty <betelgeuse@gentoo.org>
glazedlists-1.5.0.ebuild:
diff --git a/dev-java/glazedlists/files/glazedlists-1.7.0-build.xml.patch b/dev-java/glazedlists/files/glazedlists-1.7.0-build.xml.patch
new file mode 100644
index 000000000000..a4e715bf8125
--- /dev/null
+++ b/dev-java/glazedlists/files/glazedlists-1.7.0-build.xml.patch
@@ -0,0 +1,116 @@
+--- build.xml.orig 2007-11-04 23:22:54.000000000 +0100
++++ build.xml 2007-11-04 23:23:58.000000000 +0100
+@@ -84,7 +84,7 @@
+ <link href="http://help.eclipse.org/help31/nftopic/org.eclipse.platform.doc.isv/reference/api/"/>
+ <link href="http://www.jdocs.com/formlayout/1.0.4/api/" packagelistloc="extensions/jgoodiesforms/lib"/>
+ <link href="http://nachocalendar.sourceforge.net/doc/"/>
+- <link href="http://www.jfree.org/jfreechart/javadoc/"/>
++ <link href="http://www.jfree.org/jfreechart/api/javadoc/"/>
+ <link href="http://download.java.net/javadesktop/swinglabs/releases/0.8/docs/api/"/>
+
+ <doctitle><![CDATA[<h1>Glazed Lists 1.7.0</h1>]]></doctitle>
+@@ -130,7 +130,7 @@
+ description="Compile the default components of the source.">
+ </target>
+
+- <target name="compileall" depends="core,migrationkit,swing,io,swt,ktable,jfreechart,issuesbrowser,swinglabs,treetable"
++ <target name="compileall" depends="core,migrationkit,swing,io,treetable"
+ description="Compile all components of the source.">
+ </target>
+
+@@ -178,11 +178,13 @@
+
+ <target name="swt" depends="core">
+ <mkdir dir="extensions/swt/lib"/>
++ <!--
+ <java classname="ca.odell.glazedlists.impl.HttpClient">
+ <classpath path="${classes.dir}"/>
+ <arg value="https://glazedlists.dev.java.net/files/documents/1073/25145/swt-api.jar"/>
+ <arg value="extensions/swt/lib/swt-api.jar"/>
+ </java>
++ -->
+ <javac destdir="${classes.dir}" srcdir="extensions/swt/source" debug="on" source="${java.target.version}" target="${java.target.version}" deprecation="on">
+ <classpath>
+ <fileset dir="extensions/swt/lib/" includes="*.jar"/>
+@@ -207,11 +209,13 @@
+
+ <target name="jgoodiesforms" depends="core,swing">
+ <mkdir dir="extensions/jgoodiesforms/lib"/>
++ <!--
+ <java classname="ca.odell.glazedlists.impl.HttpClient">
+ <classpath path="${classes.dir}"/>
+ <arg value="https://glazedlists.dev.java.net/files/documents/1073/27334/forms.jar"/>
+ <arg value="extensions/jgoodiesforms/lib/forms.jar"/>
+ </java>
++ -->
+ <javac destdir="${classes.dir}" srcdir="extensions/jgoodiesforms/source" debug="on" source="${java.target.version}" target="${java.target.version}" deprecation="on">
+ <classpath>
+ <fileset dir="extensions/jgoodiesforms/lib/" includes="*.jar"/>
+@@ -223,11 +227,13 @@
+ <!-- the swinglabs .jar is Java 1.5+ only, so we do not bother to run
+ this code through our Java 1.5 to Java 1.4 source code translator -->
+ <mkdir dir="extensions/swinglabs/lib"/>
++ <!--
+ <java classname="ca.odell.glazedlists.impl.HttpClient">
+ <classpath path="${classes.dir}"/>
+ <arg value="https://glazedlists.dev.java.net/files/documents/1073/32966/swingx.jar"/>
+ <arg value="extensions/swinglabs/lib/swingx.jar"/>
+ </java>
++ -->
+ <javac destdir="${classes.dir}" srcdir="extensions/swinglabs/source" debug="on" source="${java.target.version}" target="${java.target.version}" deprecation="on">
+ <classpath>
+ <fileset dir="extensions/swinglabs/lib/" includes="*.jar"/>
+@@ -237,11 +243,13 @@
+
+ <target name="nachocalendar" depends="core,swing">
+ <mkdir dir="extensions/nachocalendar/lib"/>
++ <!--
+ <java classname="ca.odell.glazedlists.impl.HttpClient">
+ <classpath path="${classes.dir}"/>
+ <arg value="https://glazedlists.dev.java.net/files/documents/1073/29958/nachocalendar.jar"/>
+ <arg value="extensions/nachocalendar/lib/nachocalendar.jar"/>
+ </java>
++ -->
+ <javac destdir="${classes.dir}" srcdir="extensions/nachocalendar/source" debug="on" source="${java.target.version}" target="${java.target.version}" deprecation="on">
+ <classpath>
+ <fileset dir="extensions/nachocalendar/lib/" includes="*.jar"/>
+@@ -255,6 +263,7 @@
+
+ <target name="jfreechart" depends="swing">
+ <mkdir dir="extensions/jfreechart/lib"/>
++ <!--
+ <java classname="ca.odell.glazedlists.impl.HttpClient">
+ <classpath path="${classes.dir}"/>
+ <arg value="https://glazedlists.dev.java.net/files/documents/1073/26197/jcommon.jar"/>
+@@ -265,6 +274,7 @@
+ <arg value="https://glazedlists.dev.java.net/files/documents/1073/26198/jfreechart.jar"/>
+ <arg value="extensions/jfreechart/lib/jfreechart.jar"/>
+ </java>
++ -->
+ <javac destdir="${classes.dir}" srcdir="extensions/jfreechart/source" debug="on" source="${java.target.version}" target="${java.target.version}" deprecation="on">
+ <classpath>
+ <fileset dir="extensions/jfreechart/lib/" includes="*.jar"/>
+@@ -535,7 +545,6 @@
+ <pathelement location="${classes.dir}"/>
+ <pathelement location="${testclasses.dir}"/>
+ <fileset dir="extensions" includes="**/*.jar"/>
+- <fileset file="${ant.home}/lib/junit.jar"/>
+ </classpath>
+ <formatter type="brief" usefile="false"/>
+ <batchtest>
+@@ -546,15 +555,11 @@
+ </target>
+
+ <target name="compiletests" depends="compileall">
+- <!-- Verify that JUnit is available on the classpath -->
+- <available classname="junit.framework.TestCase" property="junit.present"/>
+- <fail unless="junit.present" message="To run this task, install junit.jar and optional.jar into ${ant.home}/lib/ JUnit is available free at http://www.junit.org"/>
+ <mkdir dir="${testclasses.dir}"/>
+ <javac destdir="${testclasses.dir}" srcdir="test" debug="on" source="${java.target.version}" target="${java.target.version}" deprecation="on">
+ <classpath>
+ <pathelement location="${classes.dir}"/>
+ <fileset dir="extensions" includes="**/*.jar"/>
+- <fileset file="${ant.home}/lib/junit.jar"/>
+ </classpath>
+ </javac>
+ </target>
diff --git a/dev-java/glazedlists/glazedlists-1.7.0.ebuild b/dev-java/glazedlists/glazedlists-1.7.0.ebuild
new file mode 100644
index 000000000000..b6c0fab00757
--- /dev/null
+++ b/dev-java/glazedlists/glazedlists-1.7.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/glazedlists/glazedlists-1.7.0.ebuild,v 1.1 2008/10/11 22:01:18 caster Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+HOMEPAGE="http://publicobject.com/glazedlists/"
+SRC_DOCUMENT_ID_JAVA5="1073/38679"
+SRC_DOCUMENT_ID_JAVA4="1073/38683"
+SRC_URI="java5? ( https://${PN}.dev.java.net/files/documents/${SRC_DOCUMENT_ID_JAVA5}/${P}-source_java15.zip )
+ !java5? ( https://${PN}.dev.java.net/files/documents/${SRC_DOCUMENT_ID_JAVA4}/${P}-source_java14.zip )"
+LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+# TODO: there are extensions, some supported in the java-experimental ebuild
+IUSE="java5"
+
+RDEPEND="java5? ( >=virtual/jre-1.5 )
+ !java5? ( >=virtual/jre-1.4 )"
+DEPEND="java5? ( >=virtual/jdk-1.5 )
+ !java5? ( >=virtual/jdk-1.4 )
+ app-arch/unzip"
+
+S="${WORKDIR}"
+
+# tests seem to be buggy
+RESTRICT="test"
+
+# build file already has correct target version
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # disable autodownloading of dependencies
+ # sort out test targets
+ epatch "${FILESDIR}/${P}-build.xml.patch"
+}
+
+EANT_DOC_TARGET="docs"
+
+src_install() {
+ if use java5; then
+ java-pkg_newjar "target/${PN}_java15.jar"
+ else
+ java-pkg_newjar "target/${PN}_java14.jar"
+ fi
+ if use doc; then
+ dohtml readme.html || die
+ java-pkg_dojavadoc "target/docs/api"
+ fi
+ if use source; then
+ # collect source folders for all the used extensions
+ local source_folders="source/ca extensions/treetable/source/*"
+ java-pkg_dosrc ${source_folders}
+ fi
+}