summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bock <nicolasbock@gentoo.org>2014-03-18 03:34:27 +0000
committerNicolas Bock <nicolasbock@gentoo.org>2014-03-18 03:34:27 +0000
commitb4480afb2f62d35dc4fed94c41470710d35c3060 (patch)
tree50b0b3794c69d27c1e67efcd58025e3dff5ffa9e /dev-java/glazedlists
parentNew upstream release: 1.9.1. (diff)
downloadgentoo-2-b4480afb2f62d35dc4fed94c41470710d35c3060.tar.gz
gentoo-2-b4480afb2f62d35dc4fed94c41470710d35c3060.tar.bz2
gentoo-2-b4480afb2f62d35dc4fed94c41470710d35c3060.zip
dev-java/glazedlists-1.8.0: Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key AC91CA52)
Diffstat (limited to 'dev-java/glazedlists')
-rw-r--r--dev-java/glazedlists/ChangeLog11
-rw-r--r--dev-java/glazedlists/files/glazedlists-1.8.0-build.xml.patch57
-rw-r--r--dev-java/glazedlists/glazedlists-1.8.0.ebuild50
3 files changed, 115 insertions, 3 deletions
diff --git a/dev-java/glazedlists/ChangeLog b/dev-java/glazedlists/ChangeLog
index e84fff525a2f..b95a10a9e913 100644
--- a/dev-java/glazedlists/ChangeLog
+++ b/dev-java/glazedlists/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/glazedlists
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/glazedlists/ChangeLog,v 1.21 2010/05/22 12:46:59 caster Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/glazedlists/ChangeLog,v 1.22 2014/03/18 03:34:27 nicolasbock Exp $
+
+*glazedlists-1.8.0 (18 Mar 2014)
+
+ 18 Mar 2014; Nicolas Bock <nicolasbock@gentoo.org>
+ +files/glazedlists-1.8.0-build.xml.patch, +glazedlists-1.8.0.ebuild:
+ dev-java/glazedlists-1.8.0: Version bump.
22 May 2010; Vlastimil Babka <caster@gentoo.org>
-glazedlists-1.5.0.ebuild, -files/glazedlists-1.5.0-build.xml.patch,
@@ -90,4 +96,3 @@
20 Apr 2005; Chris Aniszczyk <zx@gentoo.org> +glazedlists-0.9.6.ebuild:
Initial Import. Closes #70136
Thanks to Eddy Mulyono <eddymulyono@mail.com> for initial ebuild.
-
diff --git a/dev-java/glazedlists/files/glazedlists-1.8.0-build.xml.patch b/dev-java/glazedlists/files/glazedlists-1.8.0-build.xml.patch
new file mode 100644
index 000000000000..624df5ee9c76
--- /dev/null
+++ b/dev-java/glazedlists/files/glazedlists-1.8.0-build.xml.patch
@@ -0,0 +1,57 @@
+--- build.xml.orig 2009-01-25 18:14:28.000000000 -0700
++++ build.xml 2014-02-20 11:22:45.000000000 -0700
+@@ -164,14 +164,18 @@
+
+ <mkdir dir="tools"/>
+ <!--download the BND library for creating entries in the manifest.mf file which make it a compliant OSGi bundle. See http://www.osgi.org/ -->
++ <!--
+ <java classname="ca.odell.glazedlists.impl.HttpClient">
+ <classpath path="${classes.dir}"/>
+ <arg value="https://glazedlists.dev.java.net/files/documents/1073/110958/bnd.jar"/>
+ <arg value="tools/bnd.jar"/>
+ </java>
++ -->
+
+ <!-- prepare the bnd task which generates OSGi bundle JARs -->
++ <!--
+ <taskdef resource="aQute/bnd/ant/taskdef.properties" classpath="tools/bnd.jar"/>
++ -->
+
+ <!-- create a normal jar file -->
+ <jar destfile="${target.dir}/${jar.file}" update="true" index="true">
+@@ -184,13 +188,19 @@
+ </jar>
+
+ <!-- use the BND tool to generate an OSGi jar from scratch, using the original JAR file as input -->
++ <!--
+ <bnd classpath="${target.dir}/${jar.file}" output="${target.dir}/${jar.file}.osgi" exceptions="true" files="glazedlists.bnd"/>
++ -->
+
+ <!-- delete the original jar file -->
++ <!--
+ <delete file="${target.dir}/${jar.file}"/>
++ -->
+
+ <!-- rename the OSGi Bundle to the orignal jar file's name -->
++ <!--
+ <move file="${target.dir}/${jar.file}.osgi" toFile="${target.dir}/${jar.file}"/>
++ -->
+ </target>
+
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+@@ -201,7 +211,7 @@
+ description="Compile the default components of the source.">
+ </target>
+
+- <target name="compileall" depends="core,migrationkit,swing,io,calculation,swt,ktable,issuesbrowser,swinglabs,hibernate,icu4j"
++ <target name="compileall" depends="core,migrationkit,swing,io"
+ description="Compile all components of the source.">
+ </target>
+
+@@ -1032,4 +1042,4 @@
+ </delete>
+ </target>
+
+-</project>
+\ No newline at end of file
++</project>
diff --git a/dev-java/glazedlists/glazedlists-1.8.0.ebuild b/dev-java/glazedlists/glazedlists-1.8.0.ebuild
new file mode 100644
index 000000000000..cfbc89136b56
--- /dev/null
+++ b/dev-java/glazedlists/glazedlists-1.8.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/glazedlists/glazedlists-1.8.0.ebuild,v 1.1 2014/03/18 03:34:27 nicolasbock Exp $
+
+EAPI="5"
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="A toolkit for list transformations"
+HOMEPAGE="http://publicobject.com/glazedlists/"
+SRC_URI="http://java.net/downloads/${PN}/${P}/${P}-source_java15.zip"
+LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
+SLOT="0"
+KEYWORDS="~amd64"
+# TODO: there are extensions, some supported in the java-experimental ebuild
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5"
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip"
+
+S="${WORKDIR}"
+
+JAVA_PKG_BSFIX="off"
+
+# tests seem to be buggy
+RESTRICT="test"
+
+java_prepare() {
+ # disable autodownloading of dependencies
+ # sort out test targets
+ epatch "${FILESDIR}/${P}-build.xml.patch"
+}
+
+EANT_DOC_TARGET="docs"
+
+src_install() {
+ java-pkg_newjar "target/${PN}_java15.jar"
+
+ 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
+}