summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2006-10-28 23:32:32 +0000
committerVlastimil Babka <caster@gentoo.org>2006-10-28 23:32:32 +0000
commita6d3c631a6350fcb2d2dcdde54a25e553f732afb (patch)
treeab9187a83261f6873ac1db4d1bd841b5c0ef783a /dev-java
parentFix dependency over GTK+ (it needs gtk+1.2). Thanks to Patrick Lauer in bug #... (diff)
downloadgentoo-2-a6d3c631a6350fcb2d2dcdde54a25e553f732afb.tar.gz
gentoo-2-a6d3c631a6350fcb2d2dcdde54a25e553f732afb.tar.bz2
gentoo-2-a6d3c631a6350fcb2d2dcdde54a25e553f732afb.zip
Version bump as dependency of new jabref, bug #122085.There are sources for both 1.4 and 1.5 jdk, this uses 1.4 for now.
(Portage version: 2.1.2_pre3-r9)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/glazedlists/ChangeLog11
-rw-r--r--dev-java/glazedlists/files/digest-glazedlists-1.5.03
-rw-r--r--dev-java/glazedlists/files/glazedlists-1.5.0-build.xml.patch60
-rw-r--r--dev-java/glazedlists/glazedlists-1.5.0.ebuild55
4 files changed, 127 insertions, 2 deletions
diff --git a/dev-java/glazedlists/ChangeLog b/dev-java/glazedlists/ChangeLog
index 824cc00d4a06..8f4b3920e98b 100644
--- a/dev-java/glazedlists/ChangeLog
+++ b/dev-java/glazedlists/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/glazedlists
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/glazedlists/ChangeLog,v 1.2 2005/07/16 13:26:48 axxo Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/glazedlists/ChangeLog,v 1.3 2006/10/28 23:32:32 caster Exp $
+
+*glazedlists-1.5.0 (28 Oct 2006)
+
+ 28 Oct 2006; Vlastimil Babka <caster@gentoo.org>
+ +files/glazedlists-1.5.0-build.xml.patch, +glazedlists-1.5.0.ebuild:
+ Version bump as dependency of new jabref, bug #122085.There are sources for
+ both 1.4 and 1.5 jdk, this uses 1.4 for now.
16 Jul 2005; Thomas Matthijs <axxo@gentoo.org> glazedlists-0.9.6.ebuild:
disable junit, needs X
diff --git a/dev-java/glazedlists/files/digest-glazedlists-1.5.0 b/dev-java/glazedlists/files/digest-glazedlists-1.5.0
new file mode 100644
index 000000000000..736217deba89
--- /dev/null
+++ b/dev-java/glazedlists/files/digest-glazedlists-1.5.0
@@ -0,0 +1,3 @@
+MD5 b22bb8867e7324a99a0317c761b4b890 glazedlists-1.5.0-source_java14.zip 466926
+RMD160 136cdb9c4275ab5b59f3581bff2434bb10209c4c glazedlists-1.5.0-source_java14.zip 466926
+SHA256 de9867224252fac85833d6ad7c2452160208a89386345a628f84e38d27bee445 glazedlists-1.5.0-source_java14.zip 466926
diff --git a/dev-java/glazedlists/files/glazedlists-1.5.0-build.xml.patch b/dev-java/glazedlists/files/glazedlists-1.5.0-build.xml.patch
new file mode 100644
index 000000000000..ac432f356cc5
--- /dev/null
+++ b/dev-java/glazedlists/files/glazedlists-1.5.0-build.xml.patch
@@ -0,0 +1,60 @@
+--- build.xml.orig 2005-12-21 23:19:00.000000000 +0100
++++ build.xml 2006-10-29 01:18:44.000000000 +0200
+@@ -144,11 +144,13 @@
+
+ <target name="swt" depends="core">
+ <mkdir dir="extensions/swt/lib"/>
++ <!--
+ <java classname="ca.odell.glazedlists.impl.HttpClient">
+ <classpath path="classes"/>
+ <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" srcdir="extensions/swt/source" debug="on" source="${java.target.version}" target="${java.target.version}" deprecation="on">
+ <classpath>
+ <fileset dir="extensions/swt/lib/" includes="*.jar"/>
+@@ -158,11 +160,13 @@
+
+ <target name="ktable" depends="core,swt,issuesbrowser">
+ <mkdir dir="extensions/ktable/lib"/>
++ <!--
+ <java classname="ca.odell.glazedlists.impl.HttpClient">
+ <classpath path="classes"/>
+ <arg value="https://glazedlists.dev.java.net/files/documents/1073/24419/ktable.jar"/>
+ <arg value="extensions/ktable/lib/ktable.jar"/>
+ </java>
++ -->
+ <javac destdir="classes" srcdir="extensions/ktable/source" debug="on" source="${java.target.version}" target="${java.target.version}" deprecation="on">
+ <classpath>
+ <fileset dir="extensions/ktable/lib/" includes="*.jar"/>
+@@ -318,16 +322,13 @@
+
+ <target name="test" depends="compiletests"
+ description="Compile unit tests and run them using JUnit.">
+- <!-- 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"/>
+ <!-- Execute JUnit tests -->
+ <junit printsummary="true" showoutput="false" fork="true"
+ errorProperty="test.failed" failureProperty="test.failed">
+ <assertions>
+ <enable/>
+ </assertions>
+- <classpath path="classes:${ant.home}/lib/junit.jar"/>
++ <classpath path="classes"/>
+ <formatter type="brief" usefile="false"/>
+ <batchtest>
+ <fileset dir="classes/" includes="**/**Test.class"/>
+@@ -338,11 +339,9 @@
+
+ <target name="compiletests" depends="compileall">
+ <!-- Compile the test classes from source/ into classes/ -->
+- <echo>${ant.home}</echo>
+ <javac destdir="classes" srcdir="test" debug="on" source="${java.target.version}" target="${java.target.version}" deprecation="on">
+ <classpath>
+ <fileset dir="extensions" includes="**/*.jar"/>
+- <fileset file="${ant.home}/lib/junit.jar"/>
+ </classpath>
+ </javac>
+ </target>
diff --git a/dev-java/glazedlists/glazedlists-1.5.0.ebuild b/dev-java/glazedlists/glazedlists-1.5.0.ebuild
new file mode 100644
index 000000000000..35b5dde62944
--- /dev/null
+++ b/dev-java/glazedlists/glazedlists-1.5.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/glazedlists/glazedlists-1.5.0.ebuild,v 1.1 2006/10/28 23:32:32 caster Exp $
+
+# java-ant-2 not needed - build.xml sets source/target properly
+inherit java-pkg-2 eutils
+
+DESCRIPTION="A toolkit for list transformations"
+HOMEPAGE="http://publicobject.com/${PN}/"
+# there's also 1.5 source available, potential java5 useflag
+SRC_URI="https://${PN}.dev.java.net/files/documents/1073/26115/${P}-source_java14.zip"
+LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc source test"
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core
+ test? ( dev-java/junit )
+ app-arch/unzip"
+S="${WORKDIR}"
+
+# looks like tests are not 1.4 ready (expect autoboxing)
+RESTRICT="test"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # disable autodownloading of dependencies
+ # sort out test targets
+ epatch "${FILESDIR}/${P}-build.xml.patch"
+
+ if use test; then
+ cd extensions
+ java-pkg_jar-from junit junit.jar
+ fi
+}
+
+src_compile() {
+ eant jar $(use_doc docs)
+}
+
+src_test() {
+ eant test
+}
+
+src_install() {
+ java-pkg_newjar "${PN}_java14.jar" "${PN}.jar"
+ if use doc; then
+ dohtml readme.html
+ java-pkg_dohtml -r docs/api
+ fi
+ use source && java-pkg_dosrc "source/ca"
+}