From caf125e329b80267e803ad6a200c72d9a6c040d2 Mon Sep 17 00:00:00 2001 From: Vlastimil Babka Date: Sat, 11 Oct 2008 22:01:18 +0000 Subject: 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 . (Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1-perfctr x86_64) --- dev-java/glazedlists/ChangeLog | 13 ++- .../files/glazedlists-1.7.0-build.xml.patch | 116 +++++++++++++++++++++ dev-java/glazedlists/glazedlists-1.7.0.ebuild | 60 +++++++++++ 3 files changed, 187 insertions(+), 2 deletions(-) create mode 100644 dev-java/glazedlists/files/glazedlists-1.7.0-build.xml.patch create mode 100644 dev-java/glazedlists/glazedlists-1.7.0.ebuild (limited to 'dev-java') 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 + +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 + . 03 Aug 2007; Petteri Räty 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 @@ + + + +- ++ + + + Glazed Lists 1.7.0]]> +@@ -130,7 +130,7 @@ + description="Compile the default components of the source."> + + +- + + +@@ -178,11 +178,13 @@ + + + ++ + + + +@@ -207,11 +209,13 @@ + + + ++ + + + +@@ -223,11 +227,13 @@ + + ++ + + + +@@ -237,11 +243,13 @@ + + + ++ + + + +@@ -255,6 +263,7 @@ + + + ++ + + + +@@ -535,7 +545,6 @@ + + + +- + + + +@@ -546,15 +555,11 @@ + + + +- +- +- + + + + + +- + + + 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 +} -- cgit v1.2.3-65-gdbad