summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Baidakou <the.dmol@gmail.com>2012-08-05 22:22:01 +0300
committerIvan Baidakou <the.dmol@gmail.com>2012-08-05 22:22:01 +0300
commite31fb5b62b6bda4321d4ca17059d4a3f52f5b7b9 (patch)
tree7596e5d3f00d028816d5700fe6c9ef80ba8576c4
parentpdfbox-1.7.1.ebuild version bump wrt#430054 (diff)
downloaddmol-e31fb5b62b6bda4321d4ca17059d4a3f52f5b7b9.tar.gz
dmol-e31fb5b62b6bda4321d4ca17059d4a3f52f5b7b9.tar.bz2
dmol-e31fb5b62b6bda4321d4ca17059d4a3f52f5b7b9.zip
fontbox-1.7.1 ebuild wrt#430062
-rw-r--r--dev-java/glazedlists/Manifest4
-rw-r--r--dev-java/glazedlists/files/glazedlists-1.8.0-build.xml.patch51
-rw-r--r--dev-java/glazedlists/glazedlists-1.8.0.ebuild50
-rw-r--r--dev-java/glazedlists/metadata.xml7
4 files changed, 112 insertions, 0 deletions
diff --git a/dev-java/glazedlists/Manifest b/dev-java/glazedlists/Manifest
new file mode 100644
index 0000000..6130bc7
--- /dev/null
+++ b/dev-java/glazedlists/Manifest
@@ -0,0 +1,4 @@
+AUX glazedlists-1.8.0-build.xml.patch 2080 RMD160 8c60a066afe04100f149cdc00a5037382928fae4 SHA1 2e2c0878779babd704cb77d7125503d621c608fe SHA256 81594a208745146146fd6ab3ce8f5ef84bbae0cfcee7ce42b15afa4a430b2ec0
+DIST glazedlists-1.8.0-source_java15.zip 1169436 RMD160 b84f64ebfa8aa0d701e9cf8b324987fed1067aee SHA1 136e50507720e81c66234614c96ab524294a741c SHA256 1afbded7118d3026a666622c8a6aa46bc41ae09c9e832125fe3dc3a3dba5d42b
+EBUILD glazedlists-1.8.0.ebuild 1151 RMD160 15c82d11e2ad2dbc4f291e51036142473f549d11 SHA1 3904a6e1bd17a0c8835cfccadeedeef4dcaa4475 SHA256 bc69df30d81ceb48936277138bd23b5bfe02a7027bb583b2c670a463f6d30666
+MISC metadata.xml 205 RMD160 4923bb2153d0eb925ffc86f91fdd806110e016c0 SHA1 da9437a648cf7dd5fcfca1c45c60c4053fed15c4 SHA256 2ff0740a5424b0e10c7888541a248d1bd363a60911b0921b4cfe5c36590498ce
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 0000000..213d77d
--- /dev/null
+++ b/dev-java/glazedlists/files/glazedlists-1.8.0-build.xml.patch
@@ -0,0 +1,51 @@
+diff -Nru /tmp/glazedlists-1.8.0.orig/build.xml ./build.xml
+--- /tmp/glazedlists-1.8.0.orig/build.xml 2012-08-05 22:05:47.554073234 +0300
++++ ./build.xml 2012-08-05 22:19:20.921847815 +0300
+@@ -164,14 +164,17 @@
+
+ <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 +187,17 @@
+ </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 +208,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>
+
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 0000000..e2ccebe
--- /dev/null
+++ b/dev-java/glazedlists/glazedlists-1.8.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+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="1.8"
+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
+}
diff --git a/dev-java/glazedlists/metadata.xml b/dev-java/glazedlists/metadata.xml
new file mode 100644
index 0000000..80859ae
--- /dev/null
+++ b/dev-java/glazedlists/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>the.dmol@gmail.com</email>
+ </maintainer>
+</pkgmetadata>