diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-01-23 14:01:38 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-01-23 14:01:38 +0100 |
commit | 5c8177c18fdde2acebe783ae7b9a345c58f410fc (patch) | |
tree | 8c371da9c9a8d821561ada18a9f7e2a3e2a7eefb /dev-java | |
parent | sci-libs/jhdf5: remove old java package (diff) | |
download | sci-5c8177c18fdde2acebe783ae7b9a345c58f410fc.tar.gz sci-5c8177c18fdde2acebe783ae7b9a345c58f410fc.tar.bz2 sci-5c8177c18fdde2acebe783ae7b9a345c58f410fc.zip |
dev-java: cleanup old java packages
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-java')
71 files changed, 0 insertions, 3184 deletions
diff --git a/dev-java/flexdock/Manifest b/dev-java/flexdock/Manifest deleted file mode 100644 index 19976b9ca..000000000 --- a/dev-java/flexdock/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST flexdock-1.2.4.tar.gz 5977054 BLAKE2B f0057d4a09fa994297c437c8ecd3e0f96c922bec5f95b142f19279e154fd352628a342a8dce9dcaab4b5997665b10fc98c8daf59c766a7b83cd7adda50f2b00c SHA512 f20c92d33b0567ed1e779d4c7c843ac9d72e5ae0f0a145d69adf5066bd1dcc426cd8acfe7d0587bd36fc09cab63dd7217f27cd8eee1d5d9b522bec860df9b44f diff --git a/dev-java/flexdock/files/flexdock-1.1.1-nodemo.patch b/dev-java/flexdock/files/flexdock-1.1.1-nodemo.patch deleted file mode 100644 index 415301d20..000000000 --- a/dev-java/flexdock/files/flexdock-1.1.1-nodemo.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urN flexdock-orig/build.xml flexdock/build.xml ---- flexdock-orig/build.xml 2011-12-09 11:11:26.000000000 -0500 -+++ flexdock/build.xml 2011-12-20 18:47:57.277051174 -0500 -@@ -145,8 +145,6 @@ - <src path="${java.src.drag}"/> - <src path="${java.src.perspective}"/> - </javac> -- <javac classpathref="javac.classpath.demo" srcdir="${java.src.demo}" destdir="${bin.dir.demo}" debug="true" source="1.5" target="1.5" includeAntRuntime="no"/> -- <javac classpathref="javac.classpath.test" srcdir="${java.src.test}" destdir="${bin.dir.test}" debug="true" source="1.5" target="1.5" includeAntRuntime="no"/> - </target> - - diff --git a/dev-java/flexdock/files/flexdock-1.2.4-nodemo.patch b/dev-java/flexdock/files/flexdock-1.2.4-nodemo.patch deleted file mode 100644 index 415301d20..000000000 --- a/dev-java/flexdock/files/flexdock-1.2.4-nodemo.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urN flexdock-orig/build.xml flexdock/build.xml ---- flexdock-orig/build.xml 2011-12-09 11:11:26.000000000 -0500 -+++ flexdock/build.xml 2011-12-20 18:47:57.277051174 -0500 -@@ -145,8 +145,6 @@ - <src path="${java.src.drag}"/> - <src path="${java.src.perspective}"/> - </javac> -- <javac classpathref="javac.classpath.demo" srcdir="${java.src.demo}" destdir="${bin.dir.demo}" debug="true" source="1.5" target="1.5" includeAntRuntime="no"/> -- <javac classpathref="javac.classpath.test" srcdir="${java.src.test}" destdir="${bin.dir.test}" debug="true" source="1.5" target="1.5" includeAntRuntime="no"/> - </target> - - diff --git a/dev-java/flexdock/flexdock-1.2.4.ebuild b/dev-java/flexdock/flexdock-1.2.4.ebuild deleted file mode 100644 index 64898244e..000000000 --- a/dev-java/flexdock/flexdock-1.2.4.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="A Java docking framework for use in cross-platform Swing applications" -HOMEPAGE="https://forge.scilab.org/index.php/p/flexdock/" -SRC_URI="https://forge.scilab.org/index.php/p/flexdock/downloads/get/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=virtual/jre-1.5:= - dev-java/skinlf:0" -BDEPEND="app-arch/unzip" -DEPEND="${RDEPEND}" - -EANT_BUILD_TARGET="jar" -EANT_DOC_TARGET="doc" - -PATCHES=( - "${FILESDIR}/${P}-nodemo.patch" -) - -src_prepare() { - default - - #some cleanups - find . -name '*.so' -exec rm -v {} \;|| die - find . -name '*.dll' -exec rm -v {} \;|| die - - #remove built-in jars and use the system ones - cd lib || die - rm -rvf *.jar jmf|| die - java-pkg_jar-from skinlf -} - -src_install() { - java-pkg_newjar "build/${P}.jar" "${PN}.jar" - use doc && java-pkg_dojavadoc build/docs/api - use source && java-pkg_dosrc src -} diff --git a/dev-java/flexdock/metadata.xml b/dev-java/flexdock/metadata.xml deleted file mode 100644 index ae9640ffb..000000000 --- a/dev-java/flexdock/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/dev-java/freehep-graphicsio-emf/Manifest b/dev-java/freehep-graphicsio-emf/Manifest deleted file mode 100644 index 9ab19829d..000000000 --- a/dev-java/freehep-graphicsio-emf/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST freehep-vectorgraphics-2.4.tar.gz 4118379 BLAKE2B c8a5840ebab43398a6f87f97855a38f843b0e05267f5446b5f22a0c0124c98717c00801fe93ef3b541b2c53d07176ab1319a27ad26ed177b6dded11e3fa2e7bb SHA512 b5cf083cc6951e7c4b438d5e648f61ca20b23e02163a8cfc4669beaaec2fa9e33338b0ba6875bfe4a3864ac48f9774acfedc2a3b2f59a7488ef99a4817e39382 diff --git a/dev-java/freehep-graphicsio-emf/files/github-30.patch b/dev-java/freehep-graphicsio-emf/files/github-30.patch deleted file mode 100644 index c652ec6b8..000000000 --- a/dev-java/freehep-graphicsio-emf/files/github-30.patch +++ /dev/null @@ -1,34 +0,0 @@ -https://github.com/freehep/freehep-vectorgraphics/issues/30 - -diff -Naur freehep-vectorgraphics-freehep-vectorgraphics-2.4.orig/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/EMFConverter.java freehep-vectorgraphics-freehep-vectorgraphics-2.4/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/EMFConverter.java ---- freehep-vectorgraphics-freehep-vectorgraphics-2.4.orig/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/EMFConverter.java 2014-09-02 09:59:14.000000000 +0100 -+++ freehep-vectorgraphics-freehep-vectorgraphics-2.4/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/EMFConverter.java 2016-05-25 22:50:41.859734476 +0100 -@@ -4,6 +4,7 @@ - import org.freehep.graphicsbase.util.export.ExportFileType; - - import java.util.List; -+import java.util.Properties; - import java.io.FileInputStream; - import java.io.File; - -@@ -64,9 +65,10 @@ - destFileName += type.toLowerCase(); - } - -+ Properties p = new Properties(); -+ - // TODO there is no possibility to use Constants of base class! - /* create SVG properties -- Properties p = new Properties(); - p.put(SVGGraphics2D.EMBED_FONTS, Boolean.toString(false)); - p.put(SVGGraphics2D.CLIP, Boolean.toString(true)); - p.put(SVGGraphics2D.COMPRESS, Boolean.toString(false)); -@@ -82,7 +84,7 @@ - new File(destFileName), - emfPanel, - emfPanel, -- null, -+ p, - "Freehep EMF converter"); - } catch (Exception e) { - e.printStackTrace(); diff --git a/dev-java/freehep-graphicsio-emf/freehep-graphicsio-emf-2.4-r1.ebuild b/dev-java/freehep-graphicsio-emf/freehep-graphicsio-emf-2.4-r1.ebuild deleted file mode 100644 index 16fb74322..000000000 --- a/dev-java/freehep-graphicsio-emf/freehep-graphicsio-emf-2.4-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN="freehep-vectorgraphics" -MY_P="${MY_PN}-${PV}" -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="High Energy Physics Java library - FreeHEP Enhanced Metafile Format Driver" -HOMEPAGE="http://java.freehep.org/" -SRC_URI="https://github.com/freehep/${MY_PN}/archive/${MY_P}.tar.gz" - -LICENSE="Apache-2.0 LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="test" -RESTRICT="!test? ( test )" - -CDEPEND="~dev-java/freehep-graphics2d-${PV}:${SLOT} - ~dev-java/freehep-graphicsbase-${PV}:${SLOT} - ~dev-java/freehep-graphicsio-${PV}:${SLOT} - dev-java/freehep-io:0" - -DEPEND="${CDEPEND} - >=virtual/jdk-1.7 - test? ( - ~dev-java/freehep-graphicsio-tests-${PV}:${SLOT} - dev-java/junit:4 - )" - -RDEPEND="${CDEPEND} - >=virtual/jre-1.7" - -S="${WORKDIR}/${MY_PN}-${MY_P}/${PN}" -JAVA_SRC_DIR="src/main/java" -JAVA_GENTOO_CLASSPATH="freehep-graphics2d,freehep-graphicsbase,freehep-graphicsio,freehep-io" - -PATCHES=( "${FILESDIR}/github-30.patch" ) - -src_compile() { - java-pkg-simple_src_compile - java-pkg_addres ${PN}.jar src/main/resources -} - -src_install() { - java-pkg-simple_src_install - java-pkg_register-optional-dependency freehep-graphicsio-svg - java-pkg_dolauncher emf2svg --main org.freehep.graphicsio.emf.EMF2SVG -} - -src_test() { - local DIR=src/test/java - local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4,freehep-graphicsio-tests,${JAVA_GENTOO_CLASSPATH})" - - ejavac -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java") - ejunit4 -classpath "${CP}" org.freehep.graphicsio.emf.test.EMFTestSuite -} diff --git a/dev-java/freehep-graphicsio-emf/metadata.xml b/dev-java/freehep-graphicsio-emf/metadata.xml deleted file mode 100644 index 497d14c1c..000000000 --- a/dev-java/freehep-graphicsio-emf/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">freehep/freehep-vectorgraphics</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-java/gluegen/Manifest b/dev-java/gluegen/Manifest deleted file mode 100644 index 4e44921ef..000000000 --- a/dev-java/gluegen/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST gluegen-2.1.4.tar.gz 42235490 BLAKE2B 31e5a55c9cc983d0e1c7f53988b7cc0779e01d1c4c0df8a33ca817acd51d0d28e453e6a84e1be65ecfb62883e8900c62a2219f78035dc7a68c26412e7c2b5135 SHA512 196478de92686b168d6f35e2e7141a31f682d22a7f96b5bc84d46905c42eb5bf25bacd74ccc51975fc7894e2e0ba2e236a4a68c101bbabaaa5193e4bdc50f607 -DIST gluegen-2.2.4.tar.gz 43113191 BLAKE2B 8908cff19b4eeaac01eb91ecf51005433c60acbf35a2922e09f7bfe3d11dee46296b466ea22cf570cae5a1013ea6dd9b375fbaa5b0723509d0bad0926014b9fb SHA512 53e973ca8478f4513f9662d1375406af95f2181dae3fb3e3247e4752960e60e741f7eae36981967dba10ac7bc3dc0e85c159c193323c177ce733a9eb0540b98b diff --git a/dev-java/gluegen/files/2.1.4-dont-copy-jars.patch b/dev-java/gluegen/files/2.1.4-dont-copy-jars.patch deleted file mode 100644 index 6f51d6811..000000000 --- a/dev-java/gluegen/files/2.1.4-dont-copy-jars.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/make/build.xml b/make/build.xml -index 55ef270..bce6d12 100644 ---- a/make/build.xml -+++ b/make/build.xml -@@ -806,12 +806,6 @@ - </fileset> - </jar> - -- <!-- Copy antlr.jar into build directory for convenience so -- gluegen.jar can be run via "java -jar". antlr.jar is -- referenced via a Class-Path entry in the Manifest of -- gluegen.jar. --> -- <copy file="${antlr.jar}" todir="${build}" /> -- - <!-- copy a jnlp with empty codebase into build folder for local testing - overwrite property in gluegen.proerpties if desired --> - <property name="gluegen.jnlp.codebase" value=""/> diff --git a/dev-java/gluegen/files/2.1.4-dont-strip.patch b/dev-java/gluegen/files/2.1.4-dont-strip.patch deleted file mode 100644 index d64c742cd..000000000 --- a/dev-java/gluegen/files/2.1.4-dont-strip.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/make/gluegen-cpptasks-base.xml b/make/gluegen-cpptasks-base.xml -index 8b8b82e..ec39aeb 100755 ---- a/make/gluegen-cpptasks-base.xml -+++ b/make/gluegen-cpptasks-base.xml -@@ -1511,17 +1511,6 @@ - - Helper strip.libraries for stripping off debug information - --> - <target name="gluegen.cpptasks.striplibs" depends="gluegen.cpptasks.initialize" if="c.strip.libraries"> -- <echo message="Strip symbols from libs in ${libdir}" /> -- <apply dir="${libdir}" executable="${c.strip.tool}" parallel="false" -- failonerror="true"> -- <arg line="${c.strip.args}"/> -- <fileset dir="${libdir}"> -- <include name="**/*.so"/> <!-- unix --> -- <include name="**/*.dll"/> <!-- windows --> -- <include name="**/*.dylib"/> <!-- macosx --> -- <include name="**/*.jnilib"/> <!-- macosx --> -- </fileset> -- </apply> - </target> - - <!-- ================================================================== --> diff --git a/dev-java/gluegen/files/2.1.4-dont-test-archive.patch b/dev-java/gluegen/files/2.1.4-dont-test-archive.patch deleted file mode 100644 index f03a28399..000000000 --- a/dev-java/gluegen/files/2.1.4-dont-test-archive.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/make/build-test.xml b/make/build-test.xml -index 31dc773..e872a0a 100644 ---- a/make/build-test.xml -+++ b/make/build-test.xml -@@ -614,9 +614,11 @@ chmod 644 ${results}/* \${line.separator} - - <!-- updates / create the test results zip file --> - <target name="test-zip-archive" depends="init"> -+ <!-- - <archive.7z destfile="${build}/${test.archive.name}.7z" - basedir="${project.root}" - includes="${rootrel.build}/test/results ${rootrel.build}/test/results-x64 ${rootrel.build}/test/results-x32" /> -+ --> - </target> - - diff --git a/dev-java/gluegen/files/2.2.4-dont-copy-jars.patch b/dev-java/gluegen/files/2.2.4-dont-copy-jars.patch deleted file mode 100644 index 6f51d6811..000000000 --- a/dev-java/gluegen/files/2.2.4-dont-copy-jars.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/make/build.xml b/make/build.xml -index 55ef270..bce6d12 100644 ---- a/make/build.xml -+++ b/make/build.xml -@@ -806,12 +806,6 @@ - </fileset> - </jar> - -- <!-- Copy antlr.jar into build directory for convenience so -- gluegen.jar can be run via "java -jar". antlr.jar is -- referenced via a Class-Path entry in the Manifest of -- gluegen.jar. --> -- <copy file="${antlr.jar}" todir="${build}" /> -- - <!-- copy a jnlp with empty codebase into build folder for local testing - overwrite property in gluegen.proerpties if desired --> - <property name="gluegen.jnlp.codebase" value=""/> diff --git a/dev-java/gluegen/files/2.2.4-dont-strip.patch b/dev-java/gluegen/files/2.2.4-dont-strip.patch deleted file mode 100644 index d64c742cd..000000000 --- a/dev-java/gluegen/files/2.2.4-dont-strip.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/make/gluegen-cpptasks-base.xml b/make/gluegen-cpptasks-base.xml -index 8b8b82e..ec39aeb 100755 ---- a/make/gluegen-cpptasks-base.xml -+++ b/make/gluegen-cpptasks-base.xml -@@ -1511,17 +1511,6 @@ - - Helper strip.libraries for stripping off debug information - --> - <target name="gluegen.cpptasks.striplibs" depends="gluegen.cpptasks.initialize" if="c.strip.libraries"> -- <echo message="Strip symbols from libs in ${libdir}" /> -- <apply dir="${libdir}" executable="${c.strip.tool}" parallel="false" -- failonerror="true"> -- <arg line="${c.strip.args}"/> -- <fileset dir="${libdir}"> -- <include name="**/*.so"/> <!-- unix --> -- <include name="**/*.dll"/> <!-- windows --> -- <include name="**/*.dylib"/> <!-- macosx --> -- <include name="**/*.jnilib"/> <!-- macosx --> -- </fileset> -- </apply> - </target> - - <!-- ================================================================== --> diff --git a/dev-java/gluegen/files/2.2.4-dont-test-archive.patch b/dev-java/gluegen/files/2.2.4-dont-test-archive.patch deleted file mode 100644 index f03a28399..000000000 --- a/dev-java/gluegen/files/2.2.4-dont-test-archive.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/make/build-test.xml b/make/build-test.xml -index 31dc773..e872a0a 100644 ---- a/make/build-test.xml -+++ b/make/build-test.xml -@@ -614,9 +614,11 @@ chmod 644 ${results}/* \${line.separator} - - <!-- updates / create the test results zip file --> - <target name="test-zip-archive" depends="init"> -+ <!-- - <archive.7z destfile="${build}/${test.archive.name}.7z" - basedir="${project.root}" - includes="${rootrel.build}/test/results ${rootrel.build}/test/results-x64 ${rootrel.build}/test/results-x32" /> -+ --> - </target> - - diff --git a/dev-java/gluegen/gluegen-2.1.4.ebuild b/dev-java/gluegen/gluegen-2.1.4.ebuild deleted file mode 100644 index e98823dba..000000000 --- a/dev-java/gluegen/gluegen-2.1.4.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source test" -WANT_ANT_TASKS="ant-antlr ant-contrib dev-java/cpptasks:0" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Automatically generate the JNI code necessary to call C libraries" -HOMEPAGE="https://jogamp.org/gluegen/www/" -SRC_URI="https://github.com/sgothel/gluegen/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="2.1" -KEYWORDS="~amd64 ~x86" - -COMMON_DEP=" - dev-java/ant-core:0 - dev-java/antlr:0" -RDEPEND="${COMMON_DEP} - >=virtual/jre-1.5" - -DEPEND="${COMMON_DEP} - >=virtual/jdk-1.5 - dev-java/cpptasks:0 - test? ( - dev-java/junit:4 - dev-java/ant-junit4 - )" - -JAVA_ANT_REWRITE_CLASSPATH="yes" -EANT_BUILD_XML="make/build.xml" -EANT_BUILD_TARGET="all.no_junit" -EANT_DOC_TARGET="" -EANT_GENTOO_CLASSPATH="antlr,ant-core" -EANT_NEEDS_TOOLS="yes" -EANT_TEST_TARGET="junit.run" -EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4" -EANT_GENTOO_CLASSPATH_EXTRA="${S}/build/${PN}{,-rt}.jar" -EANT_EXTRA_ARGS="-Dc.strip.libraries=false" - -PATCHES=( - "${FILESDIR}/${PV}-dont-copy-jars.patch" - "${FILESDIR}/${PV}-dont-strip.patch" - "${FILESDIR}/${PV}-dont-test-archive.patch" -) - -src_prepare() { - rm -rf make/lib - default - java-ant_bsfix_files "${S}/make/build-test.xml" -} - -src_test() { - EANT_TASKS="ant-junit4" java-pkg-2_src_test -} - -src_install() { - java-pkg_dojar build/${PN}{,-rt}.jar - java-pkg_doso build/obj/*.so - - use doc && dodoc -r doc/manual - use source && java-pkg_dosrc src/java/* - - # for building jogl - insinto /usr/share/${PN}-${SLOT}/make - doins -r make/* - insinto /usr/share/${PN}-${SLOT}/build - doins build/artifact.properties -} diff --git a/dev-java/gluegen/gluegen-2.2.4.ebuild b/dev-java/gluegen/gluegen-2.2.4.ebuild deleted file mode 100644 index cd15a0c2a..000000000 --- a/dev-java/gluegen/gluegen-2.2.4.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source test" -WANT_ANT_TASKS="ant-antlr ant-contrib dev-java/cpptasks:0" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Automatically generate the JNI code necessary to call C libraries" -HOMEPAGE="https://jogamp.org/gluegen/www/" -SRC_URI="https://github.com/sgothel/gluegen/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="2.2" -KEYWORDS="~amd64 ~x86" - -COMMON_DEP=" - dev-java/ant-core:0 - dev-java/antlr:0" -RDEPEND="${COMMON_DEP} - >=virtual/jre-1.5" - -DEPEND="${COMMON_DEP} - >=virtual/jdk-1.5 - dev-java/cpptasks:0 - test? ( - dev-java/junit:4 - dev-java/ant-junit4 - )" - -JAVA_ANT_REWRITE_CLASSPATH="yes" -EANT_BUILD_XML="make/build.xml" -EANT_BUILD_TARGET="all.no_junit" -EANT_DOC_TARGET="" -EANT_GENTOO_CLASSPATH="antlr,ant-core" -EANT_NEEDS_TOOLS="yes" -EANT_TEST_TARGET="junit.run" -EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4" -EANT_GENTOO_CLASSPATH_EXTRA="${S}/build/${PN}{,-rt}.jar" -EANT_EXTRA_ARGS="-Dc.strip.libraries=false" - -PATCHES=( - "${FILESDIR}/${PV}-dont-copy-jars.patch" - "${FILESDIR}/${PV}-dont-strip.patch" - "${FILESDIR}/${PV}-dont-test-archive.patch" -) - -src_prepare() { - rm -rf make/lib - default - java-ant_bsfix_files "${S}/make/build-test.xml" -} - -src_test() { - EANT_TASKS="ant-junit4" java-pkg-2_src_test -} - -src_install() { - java-pkg_dojar build/${PN}{,-rt}.jar - java-pkg_doso build/obj/*.so - - use doc && dodoc -r doc/manual - use source && java-pkg_dosrc src/java/* - - # for building jogl - insinto /usr/share/${PN}-${SLOT}/make - doins -r make/* - insinto /usr/share/${PN}-${SLOT}/build - doins build/artifact.properties -} diff --git a/dev-java/gluegen/metadata.xml b/dev-java/gluegen/metadata.xml deleted file mode 100644 index b81144d5f..000000000 --- a/dev-java/gluegen/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> -GlueGen is a tool which automatically generates the Java and JNI code necessary -to call C libraries. It reads as input ANSI C header files and separate -configuration files which provide control over many aspects of the glue code -generation. GlueGen uses a complete ANSI C parser and an internal representation -(IR) capable of representing all C types to represent the APIs for which it -generates interfaces. It has the ability to perform significant transformations -on the IR before glue code emission. GlueGen is currently powerful enough to -bind even low-level APIs such as the Java Native Interface (JNI) and the AWT -Native Interface (JAWT) back up to the Java programming language. -</longdescription> - <upstream> - <remote-id type="github">sgothel/gluegen</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-java/htsjdk/Manifest b/dev-java/htsjdk/Manifest deleted file mode 100644 index ee5ea5e79..000000000 --- a/dev-java/htsjdk/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST htsjdk-2.19.0.tar.gz 15602200 BLAKE2B eee9e4cbed27122020b7ec9de50c301c3078cc995a9aa6f89061518f9fab823054759dc17c16fb71da231b7e19876743146116ee7398af04a8e65b7781c62924 SHA512 07af3f5a592ab519349bd8a47dc336fe8673232daeb1d4c1a120dd4dde1c42db443998948185e2b18f27a5ac578b0afa0d7d09b36a66f69eba156ac0912d96b5 -DIST htsjdk-2.3.0.tar.gz 11466439 BLAKE2B 5bdfb89f99767335c3e3e45b43a237d8e050c68f02f4816d9cb23d2fce78ec133a1c29ea297eba0224ec11a162d2b40b3ea486d834488b4369d24931fbcb72b6 SHA512 43029b59c039accd5ae5d7631d72a11bfab80c38fcbfb3fa02e9bc9e9b795ca86f048a34a7182325c4d7123a82d2b6c5094e11f7118c09fca222b3b2327f6249 diff --git a/dev-java/htsjdk/htsjdk-2.19.0.ebuild b/dev-java/htsjdk/htsjdk-2.19.0.ebuild deleted file mode 100644 index 349e56673..000000000 --- a/dev-java/htsjdk/htsjdk-2.19.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Java API for high-throughput sequencing data (HTS) formats" -HOMEPAGE="https://samtools.github.io/htsjdk/" -SRC_URI="https://github.com/samtools/htsjdk/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -IUSE="" -KEYWORDS="" - -CDEPEND="dev-java/commons-jexl:2 - dev-java/commons-compress:0 - dev-java/commons-logging:0 - dev-java/gradle-bin:*" - -DEPEND=">=virtual/jdk-1.8 - ${CDEPEND}" -RDEPEND=">=virtual/jre-1.8 - ${CDEPEND}" - -EANT_BUILD_TARGET="all" -EANT_NEEDS_TOOLS="true" -JAVA_ANT_REWRITE_CLASSPATH="true" -EANT_GENTOO_CLASSPATH="commons-jexl-2,commons-compress,commons-logging" - -java_prepare(){ - default -} - -src_compile(){ - # work around gradle writing $HOME/.gradle and $HOME/.git - # https://github.com/samtools/htsjdk/issues/660#issuecomment-232155965 - GRADLE_USER_HOME="${WORKDIR}" ./gradlew build || die -} - -src_install() { - cd dist || die - - for i in *.jar; do - java-pkg_newjar $i ${i/-[0-9]*.jar/.jar} - done - - use source && java-pkg_dosrc "${S}"/src/java/* - use doc && java-pkg_dojavadoc "${S}"/javadoc -} diff --git a/dev-java/htsjdk/htsjdk-2.3.0.ebuild b/dev-java/htsjdk/htsjdk-2.3.0.ebuild deleted file mode 100644 index c94f79781..000000000 --- a/dev-java/htsjdk/htsjdk-2.3.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Java API for high-throughput sequencing data (HTS) formats" -HOMEPAGE="https://samtools.github.io/htsjdk/" -SRC_URI="https://github.com/samtools/htsjdk/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -IUSE="" -KEYWORDS="~amd64 ~x86" - -CDEPEND="dev-java/commons-jexl:2 - dev-java/commons-compress:0 - dev-java/commons-logging:0" - -DEPEND=">=virtual/jdk-1.8 - ${CDEPEND}" -RDEPEND=">=virtual/jre-1.8 - ${CDEPEND}" - -EANT_BUILD_TARGET="all" -EANT_NEEDS_TOOLS="true" -JAVA_ANT_REWRITE_CLASSPATH="true" -EANT_GENTOO_CLASSPATH="commons-jexl-2,commons-compress,commons-logging" - -java_prepare() { - default - rm -v lib/{commons-compress,commons-jexl,commons-logging}*.jar || die -} - -src_install() { - cd dist || die - - for i in *.jar; do - java-pkg_newjar $i ${i/-[0-9]*.jar/.jar} - done - - use source && java-pkg_dosrc "${S}"/src/java/* - use doc && java-pkg_dojavadoc "${S}"/javadoc -} diff --git a/dev-java/htsjdk/htsjdk-9999.ebuild b/dev-java/htsjdk/htsjdk-9999.ebuild deleted file mode 100644 index 2123bbc55..000000000 --- a/dev-java/htsjdk/htsjdk-9999.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source" - -inherit git-r3 java-pkg-2 java-ant-2 - -DESCRIPTION="Java API for high-throughput sequencing data (HTS) formats" -HOMEPAGE="https://samtools.github.io/htsjdk/" -EGIT_REPO_URI="https://github.com/samtools/htsjdk.git" - -LICENSE="MIT" -SLOT="0" -IUSE="" -KEYWORDS="" - -CDEPEND="dev-java/commons-jexl:2 - dev-java/commons-compress:0 - dev-java/commons-logging:0 - dev-java/gradle-bin:*" - -DEPEND=">=virtual/jdk-1.8 - ${CDEPEND}" -RDEPEND=">=virtual/jre-1.8 - ${CDEPEND}" - -EANT_BUILD_TARGET="all" -EANT_NEEDS_TOOLS="true" -JAVA_ANT_REWRITE_CLASSPATH="true" -EANT_GENTOO_CLASSPATH="commons-jexl-2,commons-compress,commons-logging" - -java_prepare(){ - default -} - -src_compile(){ - # work around gradle writing $HOME/.gradle and $HOME/.git - # https://github.com/samtools/htsjdk/issues/660#issuecomment-232155965 - GRADLE_USER_HOME="${WORKDIR}" ./gradlew || die -} - -src_install() { - cd build/libs || die - - #for i in *-SNAPSHOT.jar; do - # java-pkg_newjar $i ${i/-[0-9]*.jar/.jar} - #done - java-pkg_newjar "${S}"/build/libs/*-SNAPSHOT.jar htsjdk.jar - use source && java-pkg_dosrc "${S}"/build/libs/*-sources.jar - use doc && java-pkg_dojavadoc "${S}"/build/libs/*-javadoc.jar -} diff --git a/dev-java/htsjdk/metadata.xml b/dev-java/htsjdk/metadata.xml deleted file mode 100644 index e18a4898a..000000000 --- a/dev-java/htsjdk/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>ercpe@gentoo.org</email> - <name>Johann Schmitz (ercpe)</name> - </maintainer> - <maintainer type="project"> - <email>sci-biology@gentoo.org</email> - <name>Gentoo Biology Project</name> - </maintainer> - <upstream> - <remote-id type="github">samtools/htsjdk</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-java/jcommon/Manifest b/dev-java/jcommon/Manifest deleted file mode 100644 index c7cdd4429..000000000 --- a/dev-java/jcommon/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST jcommon-1.0.23.zip 1373666 BLAKE2B 23c87cd18339ea8f5991933c1430464ca5a408d4d4afb42847ee8c3b941d8fd7ed9695af74ec9ff7fc5867758b826d49b5def73923e893910efc0a0d77f26f75 SHA512 c358239da8b1ddf53ce94bebb00b6518456aa921dd3aa84fc6a23144d499f14a85ba421cd71f3880e8d10153a6ab816f54c1fa872a4ab694ce3c7b8d69bc2a4b diff --git a/dev-java/jcommon/jcommon-1.0.23.ebuild b/dev-java/jcommon/jcommon-1.0.23.ebuild deleted file mode 100644 index 8005b903c..000000000 --- a/dev-java/jcommon/jcommon-1.0.23.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source test" - -inherit java-pkg-2 java-ant-2 - -MY_P=${PN}-$(ver_rs 3 -) -DESCRIPTION="A collection of useful classes used by JFreeChart, JFreeReport and others" -HOMEPAGE="http://www.jfree.org/jcommon" -SRC_URI="mirror://sourceforge/jfreechart/${MY_P}.zip" - -LICENSE="LGPL-2" -SLOT="1.0" -KEYWORDS="~amd64 ~x86" -IUSE="debug" - -BDEPEND=" - >=virtual/jdk-1.6 - app-arch/unzip - test? ( dev-java/junit:4 )" -RDEPEND=">=virtual/jre-1.6" - -S="${WORKDIR}"/"${MY_P}" - -src_prepare() { - default - find "${WORKDIR}" -name '*.jar' -print -delete || die - - if ! use debug; then - antflags="-Dbuild.debug=false -Dbuild.optimize=true" - fi -} - -src_compile() { - if ! use debug; then - antflags="-Dbuild.debug=false -Dbuild.optimize=true" - fi - eant -f ant/build.xml compile $(use_doc) $antflags -} - -# No tests defined in build.xml. Let's turn them off. -# src_test() { -# java-pkg_jar-from --into lib junit-4 -# eant -f ant/build.xml compile-junit-tests -# ejunit4 -cp "./lib/${P}-junit.jar:$(java-pkg_getjars junit-4)" \ -# org.jfree.junit.JCommonTestSuite -# } - -src_install() { - java-pkg_newjar ${P}.jar ${PN}.jar - dodoc README.md - use doc && java-pkg_dojavadoc javadoc - use source && java-pkg_dosrc src/main/java/com src/main/java/org -} diff --git a/dev-java/jcommon/metadata.xml b/dev-java/jcommon/metadata.xml deleted file mode 100644 index eae2d8963..000000000 --- a/dev-java/jcommon/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">jfreechart</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-java/jfreechart/Manifest b/dev-java/jfreechart/Manifest deleted file mode 100644 index b7458ca74..000000000 --- a/dev-java/jfreechart/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST jfreechart-1.0.19.zip 8050676 BLAKE2B be5ac67befd6a16c9771f50bca59c3543251984b60e00e8aef350cadb1121caf391a8dddc383fa08ed89b0346e2a057a8da6a70b224d7f843f19535a4df873b2 SHA512 6345e6a6b4a82862f3908794efb70a6f5413f313ba5bcff1dfb713d21948034d80c743a0cea61be81921c62736b07209ed4b942fedca0c76226b1202a4596b31 diff --git a/dev-java/jfreechart/files/jfreechart-1.0.19-build.xml.patch b/dev-java/jfreechart/files/jfreechart-1.0.19-build.xml.patch deleted file mode 100644 index ffe657b89..000000000 --- a/dev-java/jfreechart/files/jfreechart-1.0.19-build.xml.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- a/ant/build.xml 2011-11-20 22:40:13.000000000 +0100 -+++ b/ant/build.xml 2013-03-09 14:10:53.987970148 +0100 -@@ -40,10 +40,9 @@ - <available classname="java.lang.Annotation" property="src.version" value="1.5"/> - <available classname="java.lang.Annotation" property="target.version" value="1.5"/> - <path id="build.classpath"> -- <fileset dir="${basedir}/lib/"> -- <include name="${jcommon.name}-${jcommon.version}.jar"/> -- <include name="servlet.jar"/> -- </fileset> -+ <pathelement location="${jcommon.jar}"/> -+ <pathelement location="${servlet.jar}"/> -+ <pathelement location="${gnujaxp.jar}"/> - </path> - - </target> -@@ -321,7 +320,7 @@ - - <!-- COMPILE THE JUNIT TESTS. --> - <target name="compile-tests" -- depends="compile,compile-experimental" -+ depends="initialise" - description="Compile the test code"> - - <mkdir dir="${basedir}/build-tests"/> diff --git a/dev-java/jfreechart/files/jfreechart-1.0.19-fix-TimeSeriesCollectionTest.patch b/dev-java/jfreechart/files/jfreechart-1.0.19-fix-TimeSeriesCollectionTest.patch deleted file mode 100644 index ebb6c4aef..000000000 --- a/dev-java/jfreechart/files/jfreechart-1.0.19-fix-TimeSeriesCollectionTest.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/tests/org/jfree/data/time/TimeSeriesCollectionTest.java 2011-11-20 22:40:13.000000000 +0100 -+++ b/tests/org/jfree/data/time/TimeSeriesCollectionTest.java 2013-05-21 00:18:03.840041846 +0200 -@@ -339,6 +339,10 @@ - * java.util.List, boolean)} method. - */ - public void testFindDomainBounds() { -+ // store the current time zone -+ TimeZone saved = TimeZone.getDefault(); -+ TimeZone.setDefault(TimeZone.getTimeZone("Europe/Paris")); -+ - TimeSeriesCollection dataset = new TimeSeriesCollection(); - List visibleSeriesKeys = new java.util.ArrayList(); - Range r = DatasetUtilities.findDomainBounds(dataset, visibleSeriesKeys, -@@ -351,10 +355,6 @@ - r = DatasetUtilities.findDomainBounds(dataset, visibleSeriesKeys, true); - assertNull(r); - -- // store the current time zone -- TimeZone saved = TimeZone.getDefault(); -- TimeZone.setDefault(TimeZone.getTimeZone("Europe/Paris")); -- - s1.add(new Year(2008), 8.0); - r = DatasetUtilities.findDomainBounds(dataset, visibleSeriesKeys, true); - assertEquals(1199142000000.0, r.getLowerBound(), EPSILON); diff --git a/dev-java/jfreechart/jfreechart-1.0.19-r2.ebuild b/dev-java/jfreechart/jfreechart-1.0.19-r2.ebuild deleted file mode 100644 index e83f79d4b..000000000 --- a/dev-java/jfreechart/jfreechart-1.0.19-r2.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="JFreeChart is a free Java class library for generating charts" -HOMEPAGE="http://www.jfree.org/jfreechart" -SRC_URI="mirror://sourceforge/${PN}/${P}.zip" - -LICENSE="LGPL-2.1" -SLOT="1.0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -CDEPEND=" - dev-java/jfreesvg:2.1 - >=dev-java/jcommon-1.0.23:1.0 - java-virtuals/servlet-api:3.0" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.6" - -BDEPEND=" - ${CDEPEND} - test? ( - dev-java/ant-junit:0 - dev-java/junit:4 - ) - app-arch/unzip - >=virtual/jdk-1.6" - -RESTRICT="test" - -PATCHES=( - "${FILESDIR}/${PN}-1.0.19-build.xml.patch" - "${FILESDIR}/${PN}-1.0.19-fix-TimeSeriesCollectionTest.patch" -) - -JAVA_ANT_ENCODING="ISO-8859-1" -JAVA_ANT_REWRITE_CLASSPATH="yes" - -EANT_BUILD_XML="ant/build.xml" -EANT_BUILD_TARGET="compile-experimental" -EANT_GENTOO_CLASSPATH=" - jfreesvg-2.1 - jcommon-1.0 - servlet-api-3.0 -" - -EANT_DOC_TARGET="javadoc" - -src_prepare() { - default - - java-pkg_clean -} - -src_install() { - java-pkg_newjar "lib/${P}.jar" "${PN}.jar" - java-pkg_newjar "lib/${P}-experimental.jar" "${PN}-experimental.jar" - - dodoc README.txt ChangeLog NEWS - - use doc && java-pkg_dojavadoc javadoc - use source && java-pkg_dosrc source/org -} diff --git a/dev-java/jfreechart/metadata.xml b/dev-java/jfreechart/metadata.xml deleted file mode 100644 index eae2d8963..000000000 --- a/dev-java/jfreechart/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">jfreechart</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-java/jfreesvg/Manifest b/dev-java/jfreesvg/Manifest deleted file mode 100644 index e35008887..000000000 --- a/dev-java/jfreesvg/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST jfreesvg-2.1.zip 2042545 BLAKE2B 702ea55c6e51bca156a41c5e624452fdad8c1a5472c204cbf58f796134ed6027259abd0a48719bbb5f83f6891ab3aec5db58c8726b0275b894065148a07ec179 SHA512 6c1556c640e749778aeb969540db7724895fe2113a7ceea732793730301dd04a1beafef35249b27b75696271bcd67a59236a15c106f7717482561011a1a08bc4 -DIST jfreesvg-3.0.zip 1946062 BLAKE2B 58aa3c95db3a0472de1e2c184f1e8bc9aa72b86f508dd7d41f169f03c8f07380269a36d0a22a71378ab7c2d45427fb479994b907c4e25317794814da69f79d7c SHA512 7d0bdcbf56f0a7110058137d53e291c41e53040cbc19442989a0c6d28f5d6d3ed26ecedbfc947ce845b8a971729e2d784e8ce5a041f6f095ff626a3494a55715 diff --git a/dev-java/jfreesvg/jfreesvg-2.1-r1.ebuild b/dev-java/jfreesvg/jfreesvg-2.1-r1.ebuild deleted file mode 100644 index 62b6965cd..000000000 --- a/dev-java/jfreesvg/jfreesvg-2.1-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="JFreeSVG is a fast, light-weight, vector graphics library for the Java platform" -HOMEPAGE="http://www.jfree.org/jfreesvg/" -SRC_URI="mirror://sourceforge/jfreegraphics2d/${P}.zip" - -LICENSE="GPL-3" -SLOT="2.1" -KEYWORDS="~amd64 ~x86" -IUSE="debug" - -BDEPEND=" - app-arch/unzip - >=virtual/jdk-1.6" - -RDEPEND=" - >=virtual/jre-1.6" - -src_prepare() { - default - java-pkg_clean -} - -src_compile() { - if ! use debug; then - antflags="-Dbuild.debug=false -Dbuild.optimize=true" - fi - eant -f ant/build.xml compile $(use_doc) $antflags -} - -src_install() { - java-pkg_newjar "./lib/${P}.jar" ${PN}.jar - dodoc README.md - use doc && java-pkg_dojavadoc javadoc - use source && java-pkg_dosrc src/main/java -} diff --git a/dev-java/jfreesvg/jfreesvg-3.0.ebuild b/dev-java/jfreesvg/jfreesvg-3.0.ebuild deleted file mode 100644 index ec6f7ac34..000000000 --- a/dev-java/jfreesvg/jfreesvg-3.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="JFreeSVG is a fast, light-weight, vector graphics library for the Java platform" -HOMEPAGE="http://www.jfree.org/jfreesvg/" -SRC_URI="mirror://sourceforge/jfreegraphics2d/${P}.zip" - -LICENSE="GPL-3" -SLOT="3.0" -KEYWORDS="~amd64 ~x86" -IUSE="debug" - -BDEPEND=">=virtual/jdk-1.6 - app-arch/unzip" -RDEPEND=">=virtual/jre-1.6" - -src_prepare() { - default - find "${WORKDIR}" -name '*.jar' -print -delete || die -} - -src_compile() { - if ! use debug; then - antflags="-Dbuild.debug=false -Dbuild.optimize=true" - fi - eant -f ant/build.xml compile $(use_doc) $antflags -} - -src_install() { - java-pkg_newjar "./lib/${P}.jar" ${PN}.jar - dodoc README.md - use doc && java-pkg_dojavadoc javadoc - use source && java-pkg_dosrc src/main/java -} diff --git a/dev-java/jfreesvg/metadata.xml b/dev-java/jfreesvg/metadata.xml deleted file mode 100644 index bcad7a209..000000000 --- a/dev-java/jfreesvg/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <use> - <flag name="debug"> - Enable debugging during compilation. - </flag> - </use> - <upstream> - <remote-id type="sourceforge">jfreegraphics2d</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-java/jgraphx/Manifest b/dev-java/jgraphx/Manifest deleted file mode 100644 index 421fe6919..000000000 --- a/dev-java/jgraphx/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST jgraphx-4.2.2.tar.gz 3525225 BLAKE2B a716df6d843fdc3b0ef32ba9549701d658f1daa104fd90df00137753d837756a2008129cb449771ec8dac3731b3033b429a7758f7f2e3ca58f27b93c88732b5c SHA512 767c0972100c8ed41561304367cba4574d1ba1bcd5c5d57fa869dd0a1bc1b2d6d70253577a4d2a2f03641afec5bd0d4e81e52a13529681737de7918c0c24cee7 diff --git a/dev-java/jgraphx/jgraphx-4.2.2.ebuild b/dev-java/jgraphx/jgraphx-4.2.2.ebuild deleted file mode 100644 index de4e6ab36..000000000 --- a/dev-java/jgraphx/jgraphx-4.2.2.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source" -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Open-source graph component for Java" -HOMEPAGE="https://github.com/jgraph" -SRC_URI="https://github.com/jgraph/jgraphx/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="doc examples source" - -DEPEND=">=virtual/jdk-1.7" -RDEPEND=">=virtual/jre-1.7" - -src_prepare() { - default - # don't do javadoc always - sed -i \ - -e 's/depends="doc"/depends="compile"/' \ - build.xml || die "sed failed" - rm -rf doc/api lib/jgraphx.jar || die -} - -EANT_BUILD_TARGET="build" -EANT_DOC_TARGET="doc" - -src_install() { - java-pkg_dojar lib/${PN}.jar - - use doc && java-pkg_dojavadoc docs/api - use source && java-pkg_dosrc src/org - use examples && java-pkg_doexamples examples -} diff --git a/dev-java/jgraphx/metadata.xml b/dev-java/jgraphx/metadata.xml deleted file mode 100644 index 2a4062ae5..000000000 --- a/dev-java/jgraphx/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> -JGraph X is based on the mxGraph architecture, a re-designed core -based on JGraph experience. -Overall, JGraph X provides more features that JGraph, with a far -smaller code size and complexity. Redesigning the codebase from -scratch now means implementing common feature extensions are easier -and require less coding. A number of new loosely coupled -application-centric features have been added, making prototyping -even faster, without their usage restricting application -flexibility. -</longdescription> -</pkgmetadata> diff --git a/dev-java/jlatexmath-fop/Manifest b/dev-java/jlatexmath-fop/Manifest deleted file mode 100644 index d92e07cb2..000000000 --- a/dev-java/jlatexmath-fop/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST jlatexmath-fop-src-1.0.3.zip 115024 BLAKE2B c45d79c3b57c5439ab0f39fd17926e0cdb8bae4d5ef5bcec476c1daefefecbd197663beded3202dd53f25a3dee71c096f536b0c52b8d366c557c5ed89897abfe SHA512 92e81ab2c2a14cd9ac935028f6cd4370de5925f919e41fb94290a331660e2ea983ab3ca7a5fe7e5fd7c6a2caf34a4bae7ee45c0efc33b4ac0f154f16465c37f8 diff --git a/dev-java/jlatexmath-fop/files/jlatexmath-fop-1.0.3-fixpaths.patch b/dev-java/jlatexmath-fop/files/jlatexmath-fop-1.0.3-fixpaths.patch deleted file mode 100644 index 1cd5b69eb..000000000 --- a/dev-java/jlatexmath-fop/files/jlatexmath-fop-1.0.3-fixpaths.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -urN a/build.xml b/build.xml ---- a/build.xml 2013-04-23 20:42:19.776644942 -0400 -+++ b/build.xml 2013-04-23 20:42:36.821646638 -0400 -@@ -1,7 +1,7 @@ - <?xml version="1.0" encoding="ISO-8859-1"?> - <project name="jlatexmath-fop" basedir="." default="buildJar"> -- <import file="${basedir}/../../version.xml"/> -- <property file="../../fop.properties"/> -+ <import file="${basedir}/version.xml"/> -+ <property file="fop.properties"/> - - <path id="libs-build-classpath"> - <pathelement location="${fop.jar}"/> diff --git a/dev-java/jlatexmath-fop/files/version.xml b/dev-java/jlatexmath-fop/files/version.xml deleted file mode 100644 index b538b79a3..000000000 --- a/dev-java/jlatexmath-fop/files/version.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project name="version_jlm"> - <property name="version" value="1.0.3" /> - <property name="java_version" value="5" /> -</project> diff --git a/dev-java/jlatexmath-fop/jlatexmath-fop-1.0.3.ebuild b/dev-java/jlatexmath-fop/jlatexmath-fop-1.0.3.ebuild deleted file mode 100644 index 1782fb0b1..000000000 --- a/dev-java/jlatexmath-fop/jlatexmath-fop-1.0.3.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="examples source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="jlatexmath plugin for dev-java/fop" -HOMEPAGE="http://forge.scilab.org/index.php/p/jlatexmath" -SRC_URI="http://forge.scilab.org/upload/jlatexmath/files/${PN}-src-${PV}.zip" - -LICENSE="GPL-2" -SLOT="1" -KEYWORDS="~amd64 ~x86" - -CDEPEND="dev-java/jlatexmath:1 - dev-java/xmlgraphics-commons:2 - >=dev-java/fop-2.0-r1:0" -DEPEND="${CDEPEND} - >=virtual/jdk-1.5" -BDEPEND="app-arch/unzip" -RDEPEND=">=virtual/jre-1.5 - ${CDEPEND}" - -EANT_BUILD_TARGET="buildJar" - -S="${WORKDIR}" - -PATCHES=( - "${FILESDIR}/${P}-fixpaths.patch" -) - -src_prepare() { - default - cp "${FILESDIR}/version.xml" "${S}" || die - echo "fop.jar=$(java-pkg_getjar fop fop.jar) -xmlgraphics-commons.jar=$(java-pkg_getjar xmlgraphics-commons-2 xmlgraphics-commons.jar) -jlatexmath.jar=$(java-pkg_getjar jlatexmath-1 jlatexmath.jar)" \ - >>fop.properties || die -} - -src_install() { - java-pkg_newjar dist/${P}.jar ${PN}.jar - use source && java-pkg_dosrc src/org - use examples && java-pkg_doexamples examples -} diff --git a/dev-java/jlatexmath-fop/metadata.xml b/dev-java/jlatexmath-fop/metadata.xml deleted file mode 100644 index 9ded36c47..000000000 --- a/dev-java/jlatexmath-fop/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> -LaTeXmath library provides a set of Java classes for displaying -(complex) mathematical formulas as part of a Java application with -LateX style. This package installs the plugin for dev-java/fop. -</longdescription> -</pkgmetadata> diff --git a/dev-java/jlatexmath/Manifest b/dev-java/jlatexmath/Manifest deleted file mode 100644 index 44a2a7205..000000000 --- a/dev-java/jlatexmath/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST jlatexmath-src-1.0.3.zip 1086238 BLAKE2B 16e420326f5387bb6bae251032d6c3e262334adfa23083e38fc4d5e7552b415c03761172decc0c2a205d9fc3cd63190b949c44a32fa983f964d8a4557be82702 SHA512 85c71568b5bffd897338e7c3fd03be0c0f52fc0543b5d91f54453f20f3f4ec41225cb356667dbaca86df673db1b7ac8afc2b16e57db981ec8037143e26521e82 diff --git a/dev-java/jlatexmath/jlatexmath-1.0.3.ebuild b/dev-java/jlatexmath/jlatexmath-1.0.3.ebuild deleted file mode 100644 index a9945c021..000000000 --- a/dev-java/jlatexmath/jlatexmath-1.0.3.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc examples source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="A Java API to render LaTeX" -HOMEPAGE="http://forge.scilab.org/index.php/p/jlatexmath" -SRC_URI="http://forge.scilab.org/upload/jlatexmath/files/${PN}-src-${PV}.zip" - -LICENSE="GPL-2" -SLOT="1" -KEYWORDS="~amd64 ~x86" - -DEPEND=">=virtual/jdk-1.5" -BDEPEND="app-arch/unzip" -RDEPEND=">=virtual/jre-1.5" - -EANT_BUILD_TARGET="buildJar" -EANT_DOC_TARGET="doc" - -src_install() { - java-pkg_newjar dist/"${P}.jar" "${PN}.jar" - use doc && java-pkg_dojavadoc doc - use source && java-pkg_dosrc src/org - use examples && java-pkg_doexamples examples -} diff --git a/dev-java/jlatexmath/metadata.xml b/dev-java/jlatexmath/metadata.xml deleted file mode 100644 index 7ad985657..000000000 --- a/dev-java/jlatexmath/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> -LaTeXmath library provides a set of Java classes for displaying -(complex) mathematical formulas as part of a Java application with -LateX style. -</longdescription> -</pkgmetadata> diff --git a/dev-java/jogl/Manifest b/dev-java/jogl/Manifest deleted file mode 100644 index 09b10e415..000000000 --- a/dev-java/jogl/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST jogl-2.2.4.tar.gz 50214295 BLAKE2B 984d32e4bd43e33807dca1d0222aae9a9ca453d616002865d4a6b80ec9a8f3e8f833669067daa545103a391af8db6e5c75cfc45501053b3d850c5a28ac311a7e SHA512 79fb054d65e8aa532a75e8c8911f43987d877f7b71584ea24cc0f9152f8aaaddabd4afef7f7504b3df73c4d240bedc123bb8aeb8670d9ae2bd165bd0490e420e diff --git a/dev-java/jogl/files/1.1.0/fix-solaris-compiler.patch b/dev-java/jogl/files/1.1.0/fix-solaris-compiler.patch deleted file mode 100644 index 6d77bc3fe..000000000 --- a/dev-java/jogl/files/1.1.0/fix-solaris-compiler.patch +++ /dev/null @@ -1,41 +0,0 @@ -diff -Naur gluegen.orig/make/gluegen-cpptasks.xml gluegen/make/gluegen-cpptasks.xml ---- gluegen.orig/make/gluegen-cpptasks.xml 2007-03-14 23:09:20.000000000 +1300 -+++ gluegen/make/gluegen-cpptasks.xml 2007-03-14 23:09:40.000000000 +1300 -@@ -397,16 +397,16 @@ - <compilerarg value="-fPIC"/> - </compiler> - -- <compiler id="compiler.cfg.solaris" name="suncc"> -+ <compiler id="compiler.cfg.solaris" name="gcc"> - </compiler> - -- <compiler id="compiler.cfg.solaris.sparcv9" name="suncc"> -+ <compiler id="compiler.cfg.solaris.sparcv9" name="gcc"> - <compilerarg value="-fast" /> - <compilerarg value="-xchip=ultra" /> - <compilerarg value="-xarch=v9a" /> - </compiler> - -- <compiler id="compiler.cfg.solaris.amd64" name="suncc"> -+ <compiler id="compiler.cfg.solaris.amd64" name="gcc"> - <compilerarg value="-fast" /> - <compilerarg value="-xchip=opteron" /> - <compilerarg value="-xarch=amd64" /> -@@ -492,14 +492,14 @@ - <linker id="linker.cfg.linux.amd64" name="gcc"> - </linker> - -- <linker id="linker.cfg.solaris" name="suncc"> -+ <linker id="linker.cfg.solaris" name="gcc"> - </linker> - -- <linker id="linker.cfg.solaris.sparcv9" name="suncc"> -+ <linker id="linker.cfg.solaris.sparcv9" name="gcc"> - <linkerarg value="-xarch=v9a" /> - </linker> - -- <linker id="linker.cfg.solaris.amd64" name="suncc"> -+ <linker id="linker.cfg.solaris.amd64" name="gcc"> - <linkerarg value="-xarch=amd64" /> - </linker> - diff --git a/dev-java/jogl/files/1.1.0/uncouple-gluegen.patch b/dev-java/jogl/files/1.1.0/uncouple-gluegen.patch deleted file mode 100644 index a508c610f..000000000 --- a/dev-java/jogl/files/1.1.0/uncouple-gluegen.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -Naur jogl.orig/make/build.xml jogl/make/build.xml ---- jogl.orig/make/build.xml 2007-02-13 17:45:16.000000000 +1300 -+++ jogl/make/build.xml 2007-03-14 22:55:50.000000000 +1300 -@@ -127,7 +127,18 @@ - <property name="gluegen.build.xml" value="${gluegen.make.dir}/build.xml" /> - <property name="gluegen.jar" value="../../gluegen/build/gluegen.jar" /> - <property name="gluegen-rt.jar" value="../../gluegen/build/gluegen-rt.jar" /> -- -+ <!-- This property is used to skip building gluegen if the jar files -+ - are already available on the system and have been overridden -+ - by the user. The purpose is to allow linux distro's to uncouple -+ - gluegen from jogl. -+ --> -+ <condition property="gluegen.prebuilt" > -+ <and> -+ <available file="${gluegen.jar}" /> -+ <available file="${gluegen-rt.jar}" /> -+ </and> -+ </condition> -+ - <!-- Names of directories relative to the project root. - Some of these are used in FileMappers later for dependence information - and need exact string matching, which is why they use file.separator -@@ -479,7 +490,7 @@ - <!-- - - Build GlueGen - --> -- <target name="build.gluegen" depends="init"> -+ <target name="build.gluegen" depends="init" unless="gluegen.prebuilt"> - <!-- Run the GlueGen build to ensure that the GlueGen ANT task - - has been built. --> - <!-- FIXME: remove passing down of antlr.jar when gluegen.properties is on all diff --git a/dev-java/jogl/jogl-2.2.4.ebuild b/dev-java/jogl/jogl-2.2.4.ebuild deleted file mode 100644 index 9d2345b53..000000000 --- a/dev-java/jogl/jogl-2.2.4.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source" -WANT_ANT_TASKS="ant-antlr ant-contrib dev-java/cpptasks:0" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Java(TM) Binding fot the OpenGL(TM) API" -HOMEPAGE="https://jogamp.org/jogl/www/" -SRC_URI="https://github.com/sgothel/jogl/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="2.2" -KEYWORDS="~amd64 ~x86" -IUSE="cg" - -CDEPEND=" - ~dev-java/gluegen-${PV}:${SLOT} - dev-java/antlr:0 - dev-java/ant-core:0 - x11-libs/libX11 - x11-libs/libXxf86vm - dev-java/swt:3.7 - virtual/opengl - cg? ( media-gfx/nvidia-cg-toolkit )" - -RDEPEND="${CDEPEND} - >=virtual/jre-1.5" -DEPEND="${CDEPEND} - >=virtual/jdk-1.5" - -# upstream has a crude way to call the junit tests, which cause a lot of trouble to pass -# our test classpath... -RESTRICT="test" - -JAVA_PKG_BSFIX_NAME+=" build-jogl.xml build-nativewindow.xml build-newt.xml" -JAVA_ANT_REWRITE_CLASSPATH="yes" -EANT_BUILD_XML="make/build.xml" -EANT_BUILD_TARGET="init build.nativewindow build.jogl build.newt build.oculusvr one.dir tag.build" -EANT_DOC_TARGET="" -EANT_GENTOO_CLASSPATH="gluegen-${SLOT},antlr,ant-core,swt-3.7" -EANT_GENTOO_CLASSPATH_EXTRA="${S}/build/${PN}/*.jar:${S}/build/nativewindow/*.jar" -EANT_NEEDS_TOOLS="yes" - -src_prepare() { - default - #we keep make/lib/plugin3/puglin3-public.jar - find -name 'make/lib/swt/*.jar' -delete -print || die - - # Empty filesets are never out of date! - sed -i -e 's/<outofdate>/<outofdate force="true">/' make/build*xml || die - - EANT_EXTRA_ARGS+=" -Dcommon.gluegen.build.done=true" - EANT_EXTRA_ARGS+=" -Dgluegen.root=/usr/share/gluegen-${SLOT}/" - EANT_EXTRA_ARGS+=" -Dgluegen.jar=$(java-pkg_getjar gluegen-${SLOT} gluegen.jar)" - EANT_EXTRA_ARGS+=" -Dgluegen-rt.jar=$(java-pkg_getjar gluegen-${SLOT} gluegen-rt.jar)" - - use cg && EANT_EXTRA_ARGS+=" -Djogl.cg=1 -Dx11.cg.lib=/usr/lib" -} - -src_install() { - java-pkg_dojar build/jar/*.jar - java-pkg_doso build/lib/*.so - - use doc && dodoc -r doc - use source && java-pkg_dosrc src/jogl/classes/* -} diff --git a/dev-java/jogl/metadata.xml b/dev-java/jogl/metadata.xml deleted file mode 100644 index 7751e096e..000000000 --- a/dev-java/jogl/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> -JOGL provides Java with a Binding for the OpenGL® API (JSR-231), and is designed -to provide hardware-supported 3D graphics to applications written in Java. -</longdescription> - <use> - <flag name="cg">Enable NVidia Cg binding.</flag> - </use> - <upstream> - <remote-id type="github">sgothel/jogl</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-java/jrosetta/Manifest b/dev-java/jrosetta/Manifest deleted file mode 100644 index 3cb51fd1d..000000000 --- a/dev-java/jrosetta/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST jrosetta-1.0.4-sources.jar 94931 BLAKE2B 205a3bf9c9be9f361902f59f7f1756161ba436a29cf5650bf7173f8e431818cab235754cbbc031eb69604bf8857150a17df069bc3f87fff8a1f5f75c2d136f4d SHA512 84b613a0dc6e3ca80414aba8f7c8cf044f013d27ed27c0f18fdbea056a6358c849ee193e3ab7320ffa7368fa17f255d4390fc306e8aa2c0ad70de51f36b6e878 diff --git a/dev-java/jrosetta/files/api-build.xml b/dev-java/jrosetta/files/api-build.xml deleted file mode 100644 index 6627122ab..000000000 --- a/dev-java/jrosetta/files/api-build.xml +++ /dev/null @@ -1,262 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- ====================================================================== --> -<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> -<!-- ====================================================================== --> - -<!-- ====================================================================== --> -<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> -<!-- ====================================================================== --> -<!-- --> -<!-- Any modifications will be overwritten. --> -<!-- --> -<!-- Generated by Maven Ant Plugin on 4/12/12 2:43 PM --> -<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> -<!-- --> -<!-- ====================================================================== --> - -<project name="jrosetta-api-from-maven" default="package" basedir="."> - - <!-- ====================================================================== --> - <!-- Build environment properties --> - <!-- ====================================================================== --> - - <property file="${user.home}/.m2/maven.properties"/> - <property file="maven-build.properties"/> - - <property name="maven.build.finalName" value="jrosetta-api-1.0.4"/> - <property name="maven.build.dir" value="target"/> - <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/> - <property name="maven.build.srcDir.0" value="src/main/java"/> - <property name="maven.build.resourceDir.0" value="src/main/resources"/> - <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/> - <property name="maven.build.testDir.0" value="src/test/java"/> - <property name="maven.build.testResourceDir.0" value="src/test/resources"/> - <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/> - <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/> - - <property name="maven.repo.local" value="${user.home}/.m2/repository"/> - <property name="maven.settings.offline" value="true"/> - <property name="maven.settings.interactiveMode" value="true"/> - - <!-- ====================================================================== --> - <!-- Defining classpaths --> - <!-- ====================================================================== --> - - <path id="build.classpath"/> - <path id="build.test.classpath"> - <pathelement location="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar"/> - <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"/> - </path> - - <!-- ====================================================================== --> - <!-- Cleaning up target --> - <!-- ====================================================================== --> - - <target name="clean" description="Clean the output directory"> - <delete dir="${maven.build.dir}"/> - </target> - - <!-- ====================================================================== --> - <!-- Compilation target --> - <!-- ====================================================================== --> - - <target name="compile" depends="get-deps" description="Compile the code"> - <mkdir dir="${maven.build.outputDir}"/> - <javac destdir="${maven.build.outputDir}" - nowarn="false" - debug="true" - optimize="false" - deprecation="true" - target="1.6" - verbose="false" - fork="false" - source="1.6"> - <src> - <pathelement location="${maven.build.srcDir.0}"/> - </src> - <classpath refid="build.classpath"/> - </javac> - <copy todir="${maven.build.outputDir}"> - <fileset dir="${maven.build.resourceDir.0}"/> - </copy> - </target> - - <!-- ====================================================================== --> - <!-- Test-compilation target --> - <!-- ====================================================================== --> - - <target name="compile-tests" - depends="compile" - description="Compile the test code" - unless="maven.test.skip"> - <mkdir dir="${maven.build.testOutputDir}"/> - <javac destdir="${maven.build.testOutputDir}" - nowarn="false" - debug="true" - optimize="false" - deprecation="true" - target="1.6" - verbose="false" - fork="false" - source="1.6"> - <src> - <pathelement location="${maven.build.testDir.0}"/> - </src> - <classpath> - <path refid="build.test.classpath"/> - <pathelement location="${maven.build.outputDir}"/> - </classpath> - </javac> - <copy todir="${maven.build.testOutputDir}"> - <fileset dir="${maven.build.testResourceDir.0}"/> - </copy> - </target> - - <!-- ====================================================================== --> - <!-- Run all tests --> - <!-- ====================================================================== --> - - <target name="test" - depends="compile-tests, junit-missing" - unless="junit.skipped" - description="Run the test cases"> - <mkdir dir="${maven.test.reports}"/> - <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> - <sysproperty key="basedir" value="."/> - <formatter type="xml"/> - <formatter type="plain" usefile="false"/> - <classpath> - <path refid="build.test.classpath"/> - <pathelement location="${maven.build.outputDir}"/> - <pathelement location="${maven.build.testOutputDir}"/> - </classpath> - <batchtest todir="${maven.test.reports}" unless="test"> - <fileset dir="${maven.build.testDir.0}"> - <include name="**/Test*.java"/> - <include name="**/*Test.java"/> - <include name="**/*TestCase.java"/> - <exclude name="**/*Abstract*Test.java"/> - </fileset> - </batchtest> - <batchtest todir="${maven.test.reports}" if="test"> - <fileset dir="${maven.build.testDir.0}"> - <include name="**/${test}.java"/> - <exclude name="**/*Abstract*Test.java"/> - </fileset> - </batchtest> - </junit> - </target> - - <target name="test-junit-present"> - <available classname="junit.framework.Test" property="junit.present"/> - </target> - - <target name="test-junit-status" - depends="test-junit-present"> - <condition property="junit.missing"> - <and> - <isfalse value="${junit.present}"/> - <isfalse value="${maven.test.skip}"/> - </and> - </condition> - <condition property="junit.skipped"> - <or> - <isfalse value="${junit.present}"/> - <istrue value="${maven.test.skip}"/> - </or> - </condition> - </target> - - <target name="junit-missing" - depends="test-junit-status" - if="junit.missing"> - <echo>=================================== WARNING ===================================</echo> - <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> - <echo>===============================================================================</echo> - </target> - - <!-- ====================================================================== --> - <!-- Javadoc target --> - <!-- ====================================================================== --> - - <target name="javadoc" description="Generates the Javadoc of the application"> - <javadoc sourcepath="${maven.build.srcDir.0}" - packagenames="*" - destdir="${maven.reporting.outputDirectory}/apidocs" - access="protected" - old="false" - verbose="false" - version="true" - use="true" - author="true" - splitindex="false" - nodeprecated="false" - nodeprecatedlist="false" - notree="false" - noindex="false" - nohelp="false" - nonavbar="false" - serialwarn="false" - charset="ISO-8859-1" - linksource="false" - breakiterator="false"/> - </target> - - <!-- ====================================================================== --> - <!-- Package target --> - <!-- ====================================================================== --> - - <target name="package" depends="compile,test" description="Package the application"> - <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" - compress="true" - index="false" - basedir="${maven.build.outputDir}" - excludes="**/package.html"> - <manifest> - </manifest> - </jar> - </target> - - <!-- ====================================================================== --> - <!-- A dummy target for the package named after the type it creates --> - <!-- ====================================================================== --> - - <target name="jar" depends="package" description="Builds the jar for the application"/> - - <!-- ====================================================================== --> - <!-- Download dependencies target --> - <!-- ====================================================================== --> - - <target name="test-offline"> - <condition property="maven.mode.offline"> - <equals arg1="${maven.settings.offline}" arg2="true"/> - </condition> - </target> - - <target name="get-deps" - depends="test-offline" - description="Download all dependencies" - unless="maven.mode.offline"> - <mkdir dir="${maven.repo.local}"/> - <mkdir dir="${maven.repo.local}/junit/junit/4.10"/> - <get src="http://maven.artenum.com/content/groups/public/junit/junit/4.10/junit-4.10.jar" - dest="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/junit/junit/4.10/junit-4.10.jar" - dest="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar" - usetimestamp="false" - ignoreerrors="true"/> - <mkdir dir="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1"/> - <get src="http://maven.artenum.com/content/groups/public/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" - dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" - dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" - usetimestamp="false" - ignoreerrors="true"/> - </target> - -</project> diff --git a/dev-java/jrosetta/files/build.xml b/dev-java/jrosetta/files/build.xml deleted file mode 100644 index c6959deb0..000000000 --- a/dev-java/jrosetta/files/build.xml +++ /dev/null @@ -1,74 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- ====================================================================== --> -<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> -<!-- ====================================================================== --> - -<!-- ====================================================================== --> -<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> -<!-- ====================================================================== --> -<!-- --> -<!-- Any modifications will be overwritten. --> -<!-- --> -<!-- Generated by Maven Ant Plugin on 4/12/12 2:43 PM --> -<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> -<!-- --> -<!-- ====================================================================== --> - -<project name="jrosetta-from-maven" default="package" basedir="."> - - <!-- ====================================================================== --> - <!-- Cleaning up target --> - <!-- ====================================================================== --> - - <target name="clean" description="Clean the output directory"> - <ant antfile="build.xml" dir="modules/jrosetta-api" target="clean"/> - <ant antfile="build.xml" dir="modules/jrosetta-engine" target="clean"/> - </target> - - <!-- ====================================================================== --> - <!-- Compilation target --> - <!-- ====================================================================== --> - - <target name="compile" description="Compile the code"> - <ant antfile="build.xml" dir="modules/jrosetta-api" target="compile"/> - <ant antfile="build.xml" dir="modules/jrosetta-engine" target="compile"/> - </target> - - <!-- ====================================================================== --> - <!-- Test-compilation target --> - <!-- ====================================================================== --> - - <target name="compile-tests" description="Compile the test code"> - <ant antfile="build.xml" dir="modules/jrosetta-api" target="compile-tests"/> - <ant antfile="build.xml" dir="modules/jrosetta-engine" target="compile-tests"/> - </target> - - <!-- ====================================================================== --> - <!-- Run all tests --> - <!-- ====================================================================== --> - - <target name="test" description="Run the test cases"> - <ant antfile="build.xml" dir="modules/jrosetta-api" target="test"/> - <ant antfile="build.xml" dir="modules/jrosetta-engine" target="test"/> - </target> - - <!-- ====================================================================== --> - <!-- Javadoc target --> - <!-- ====================================================================== --> - - <target name="javadoc" description="Generates the Javadoc of the application"> - <ant antfile="build.xml" dir="modules/jrosetta-api" target="javadoc"/> - <ant antfile="build.xml" dir="modules/jrosetta-engine" target="javadoc"/> - </target> - - <!-- ====================================================================== --> - <!-- Package target --> - <!-- ====================================================================== --> - - <target name="package" description="Package the application"> - <ant antfile="build.xml" dir="modules/jrosetta-api" target="package"/> - <ant antfile="build.xml" dir="modules/jrosetta-engine" target="package"/> - </target> - -</project> diff --git a/dev-java/jrosetta/files/engine-build.xml b/dev-java/jrosetta/files/engine-build.xml deleted file mode 100644 index 9ee8429f4..000000000 --- a/dev-java/jrosetta/files/engine-build.xml +++ /dev/null @@ -1,274 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- ====================================================================== --> -<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> -<!-- ====================================================================== --> - -<!-- ====================================================================== --> -<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> -<!-- ====================================================================== --> -<!-- --> -<!-- Any modifications will be overwritten. --> -<!-- --> -<!-- Generated by Maven Ant Plugin on 4/12/12 2:43 PM --> -<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> -<!-- --> -<!-- ====================================================================== --> - -<project name="jrosetta-engine-from-maven" default="package" basedir="."> - - <!-- ====================================================================== --> - <!-- Build environment properties --> - <!-- ====================================================================== --> - - <property file="${user.home}/.m2/maven.properties"/> - <property file="maven-build.properties"/> - - <property name="maven.build.finalName" value="jrosetta-engine-1.0.4"/> - <property name="maven.build.dir" value="target"/> - <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/> - <property name="maven.build.srcDir.0" value="src/main/java"/> - <property name="maven.build.resourceDir.0" value="src/main/resources"/> - <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/> - <property name="maven.build.testDir.0" value="src/test/java"/> - <property name="maven.build.testResourceDir.0" value="src/test/resources"/> - <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/> - <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/> - - <property name="maven.repo.local" value="${user.home}/.m2/repository"/> - <property name="maven.settings.offline" value="true"/> - <property name="maven.settings.interactiveMode" value="true"/> - - <!-- ====================================================================== --> - <!-- Defining classpaths --> - <!-- ====================================================================== --> - - <path id="build.classpath"> - <pathelement location="../jrosetta-api/target/classes"/> - </path> - <path id="build.test.classpath"> - <pathelement location="${maven.repo.local}/com/artenum/jrosetta/jrosetta-api/1.0.4/jrosetta-api-1.0.4.jar"/> - <pathelement location="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar"/> - <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"/> - </path> - - <!-- ====================================================================== --> - <!-- Cleaning up target --> - <!-- ====================================================================== --> - - <target name="clean" description="Clean the output directory"> - <delete dir="${maven.build.dir}"/> - </target> - - <!-- ====================================================================== --> - <!-- Compilation target --> - <!-- ====================================================================== --> - - <target name="compile" depends="get-deps" description="Compile the code"> - <mkdir dir="${maven.build.outputDir}"/> - <javac destdir="${maven.build.outputDir}" - nowarn="false" - debug="true" - optimize="false" - deprecation="true" - target="1.6" - verbose="false" - fork="false" - source="1.6"> - <src> - <pathelement location="${maven.build.srcDir.0}"/> - </src> - <classpath refid="build.classpath"/> - </javac> - <copy todir="${maven.build.outputDir}"> - <fileset dir="${maven.build.resourceDir.0}"/> - </copy> - </target> - - <!-- ====================================================================== --> - <!-- Test-compilation target --> - <!-- ====================================================================== --> - - <target name="compile-tests" - depends="compile" - description="Compile the test code" - unless="maven.test.skip"> - <mkdir dir="${maven.build.testOutputDir}"/> - <javac destdir="${maven.build.testOutputDir}" - nowarn="false" - debug="true" - optimize="false" - deprecation="true" - target="1.6" - verbose="false" - fork="false" - source="1.6"> - <src> - <pathelement location="${maven.build.testDir.0}"/> - </src> - <classpath> - <path refid="build.test.classpath"/> - <pathelement location="${maven.build.outputDir}"/> - </classpath> - </javac> - <copy todir="${maven.build.testOutputDir}"> - <fileset dir="${maven.build.testResourceDir.0}"/> - </copy> - </target> - - <!-- ====================================================================== --> - <!-- Run all tests --> - <!-- ====================================================================== --> - - <target name="test" - depends="compile-tests, junit-missing" - unless="junit.skipped" - description="Run the test cases"> - <mkdir dir="${maven.test.reports}"/> - <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> - <sysproperty key="basedir" value="."/> - <formatter type="xml"/> - <formatter type="plain" usefile="false"/> - <classpath> - <path refid="build.test.classpath"/> - <pathelement location="${maven.build.outputDir}"/> - <pathelement location="${maven.build.testOutputDir}"/> - </classpath> - <batchtest todir="${maven.test.reports}" unless="test"> - <fileset dir="${maven.build.testDir.0}"> - <include name="**/Test*.java"/> - <include name="**/*Test.java"/> - <include name="**/*TestCase.java"/> - <exclude name="**/*Abstract*Test.java"/> - </fileset> - </batchtest> - <batchtest todir="${maven.test.reports}" if="test"> - <fileset dir="${maven.build.testDir.0}"> - <include name="**/${test}.java"/> - <exclude name="**/*Abstract*Test.java"/> - </fileset> - </batchtest> - </junit> - </target> - - <target name="test-junit-present"> - <available classname="junit.framework.Test" property="junit.present"/> - </target> - - <target name="test-junit-status" - depends="test-junit-present"> - <condition property="junit.missing"> - <and> - <isfalse value="${junit.present}"/> - <isfalse value="${maven.test.skip}"/> - </and> - </condition> - <condition property="junit.skipped"> - <or> - <isfalse value="${junit.present}"/> - <istrue value="${maven.test.skip}"/> - </or> - </condition> - </target> - - <target name="junit-missing" - depends="test-junit-status" - if="junit.missing"> - <echo>=================================== WARNING ===================================</echo> - <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> - <echo>===============================================================================</echo> - </target> - - <!-- ====================================================================== --> - <!-- Javadoc target --> - <!-- ====================================================================== --> - - <target name="javadoc" description="Generates the Javadoc of the application"> - <javadoc sourcepath="${maven.build.srcDir.0}" - packagenames="*" - destdir="${maven.reporting.outputDirectory}/apidocs" - access="protected" - old="false" - verbose="false" - version="true" - use="true" - author="true" - splitindex="false" - nodeprecated="false" - nodeprecatedlist="false" - notree="false" - noindex="false" - nohelp="false" - nonavbar="false" - serialwarn="false" - charset="ISO-8859-1" - linksource="false" - breakiterator="false"/> - </target> - - <!-- ====================================================================== --> - <!-- Package target --> - <!-- ====================================================================== --> - - <target name="package" depends="compile,test" description="Package the application"> - <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" - compress="true" - index="false" - basedir="${maven.build.outputDir}" - excludes="**/package.html"> - <manifest> - </manifest> - </jar> - </target> - - <!-- ====================================================================== --> - <!-- A dummy target for the package named after the type it creates --> - <!-- ====================================================================== --> - - <target name="jar" depends="package" description="Builds the jar for the application"/> - - <!-- ====================================================================== --> - <!-- Download dependencies target --> - <!-- ====================================================================== --> - - <target name="test-offline"> - <condition property="maven.mode.offline"> - <equals arg1="${maven.settings.offline}" arg2="true"/> - </condition> - </target> - - <target name="get-deps" - depends="test-offline" - description="Download all dependencies" - unless="maven.mode.offline"> - <mkdir dir="${maven.repo.local}"/> - <mkdir dir="${maven.repo.local}/com/artenum/jrosetta/jrosetta-api/1.0.4"/> - <get src="http://maven.artenum.com/content/groups/public/com/artenum/jrosetta/jrosetta-api/1.0.4/jrosetta-api-1.0.4.jar" - dest="${maven.repo.local}/com/artenum/jrosetta/jrosetta-api/1.0.4/jrosetta-api-1.0.4.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/com/artenum/jrosetta/jrosetta-api/1.0.4/jrosetta-api-1.0.4.jar" - dest="${maven.repo.local}/com/artenum/jrosetta/jrosetta-api/1.0.4/jrosetta-api-1.0.4.jar" - usetimestamp="false" - ignoreerrors="true"/> - <mkdir dir="${maven.repo.local}/junit/junit/4.10"/> - <get src="http://maven.artenum.com/content/groups/public/junit/junit/4.10/junit-4.10.jar" - dest="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/junit/junit/4.10/junit-4.10.jar" - dest="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar" - usetimestamp="false" - ignoreerrors="true"/> - <mkdir dir="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1"/> - <get src="http://maven.artenum.com/content/groups/public/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" - dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" - dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" - usetimestamp="false" - ignoreerrors="true"/> - </target> - -</project> diff --git a/dev-java/jrosetta/jrosetta-1.0.4.ebuild b/dev-java/jrosetta/jrosetta-1.0.4.ebuild deleted file mode 100644 index bf0f72e79..000000000 --- a/dev-java/jrosetta/jrosetta-1.0.4.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Common base for graphical component to build a graphical console" -HOMEPAGE="http://dev.artenum.com/projects/JRosetta" -#currently down -#SRC_URI="http://maven.artenum.com/content/groups/public/com/artenum/${PN}/${PV}/${P}-sources.jar" -SRC_URI="http://pkgs.fedoraproject.org/repo/pkgs/${PN}/${P}-sources.jar/5c3589d4207f71bad6eeefd4857bce50/${P}-sources.jar" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - >=virtual/jdk-1.5:*" -BDEPEND="app-arch/unzip" -RDEPEND=">=virtual/jre-1.5:*" - -EANT_BUILD_TARGET="compile package" -JAVA_ANT_BSFIX_EXTRA_ARGS="--maven-cleaning" - -src_prepare () { - default - cp "${FILESDIR}/api-build.xml" modules/jrosetta-api/build.xml || die - cp "${FILESDIR}/engine-build.xml" modules/jrosetta-engine/build.xml || die - cp "${FILESDIR}/build.xml" . || die - echo "${PV}" > modules/jrosetta-engine/src/main/resources/version.txt || die -} - -src_install () { - java-pkg_newjar "modules/jrosetta-api/target/jrosetta-api-${PV}.jar" \ - jrosetta-api.jar - java-pkg_newjar "modules/jrosetta-engine/target/jrosetta-engine-${PV}.jar" \ - jrosetta-engine.jar -} diff --git a/dev-java/jrosetta/metadata.xml b/dev-java/jrosetta/metadata.xml deleted file mode 100644 index ae9640ffb..000000000 --- a/dev-java/jrosetta/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/dev-java/lucene/Manifest b/dev-java/lucene/Manifest deleted file mode 100644 index 514721f91..000000000 --- a/dev-java/lucene/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST lucene-3.6.2-src.tgz 32139784 BLAKE2B 48fe88efeae8396e084f827aa66530480f40aee3a2e59c8524420059f004a73be4c1e50c98345ad0ad4808ff8a0a996f9406523bf5c124616657ec91f9797f70 SHA512 e9a08a1b5303c44e4feecc0bb6e7013e4a9420517ae4e98999bd318ec25b5b2ff3b6de8b51db8f68afc0fdc3149829297023a95b103d4f99e7db68deee4c3965 -DIST lucene-5.2.1-src.tgz 29669184 BLAKE2B ec69a85ddf7870c760aedf9e79d93dad623d3dd759b1b6d992f64a169a86ff5f7992c0af9bd1692b78bb2c9d2abd7ca57d7c43bd507dfd0a672d31db06a30514 SHA512 294f4a0b2d1d11a8da6db0b577b962037beb4331c1ddee3e65a54e9f3155e44c3aa945b8b8f04631eb42d9bee94c1bcc468d12278fd06f2740512b9375880a02 -DIST lucene-8.4.0-src.tgz 43420829 BLAKE2B df9f34ece8d6b477950ba22d3883d81652f0a6b43adcd55152d465fa99679520314edd61500dedc3ecab85ea8410948d91c37e27bfd774dce9b6281c782b5ff0 SHA512 3848372cc0ef914502bff8f139fdd3f3c2dda68ed69492b1b189ebdc734a9a14f2b1d9f00273f7794368ccc13be304c083029d2333cc2cf61e568f04d8e91936 diff --git a/dev-java/lucene/files/lucene-3.6.2-ant-1.10.patch b/dev-java/lucene/files/lucene-3.6.2-ant-1.10.patch deleted file mode 100644 index 8d70c406f..000000000 --- a/dev-java/lucene/files/lucene-3.6.2-ant-1.10.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/lucene/test-framework/src/java/org/apache/lucene/util/LuceneJUnitDividingSelector.java b/lucene/test-framework/src/java/org/apache/lucene/util/LuceneJUnitDividingSelector.java -index 5a9509c..beecebe 100644 ---- a/test-framework/src/java/org/apache/lucene/util/LuceneJUnitDividingSelector.java -+++ b/test-framework/src/java/org/apache/lucene/util/LuceneJUnitDividingSelector.java -@@ -21,6 +21,7 @@ import java.io.File; - import org.apache.tools.ant.BuildException; - import org.apache.tools.ant.types.Parameter; - import org.apache.tools.ant.types.selectors.BaseExtendSelector; -+import org.apache.tools.ant.types.Resource; - - /** Divides filesets into equal groups */ - public class LuceneJUnitDividingSelector extends BaseExtendSelector { -@@ -30,6 +31,11 @@ public class LuceneJUnitDividingSelector extends BaseExtendSelector { - /** Current part to accept. */ - private int part; - -+ @Override -+ public boolean isSelected(Resource r) { -+ return false; -+ } -+ - @Override - public void setParameters(Parameter[] pParameters) { - super.setParameters(pParameters); diff --git a/dev-java/lucene/files/lucene_contrib_icu4j_v50.patch b/dev-java/lucene/files/lucene_contrib_icu4j_v50.patch deleted file mode 100644 index 8c3dd8a01..000000000 --- a/dev-java/lucene/files/lucene_contrib_icu4j_v50.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/contrib/icu/src/java/org/apache/lucene/analysis/icu/segmentation/BreakIteratorWrapper.java -+++ b/contrib/icu/src/java/org/apache/lucene/analysis/icu/segmentation/BreakIteratorWrapper.java -@@ -21,7 +21,6 @@ import java.text.CharacterIterator; - - import com.ibm.icu.lang.UCharacter; - import com.ibm.icu.text.BreakIterator; --import com.ibm.icu.text.DictionaryBasedBreakIterator; - import com.ibm.icu.text.RuleBasedBreakIterator; - import com.ibm.icu.text.UTF16; - -@@ -67,8 +66,7 @@ abstract class BreakIteratorWrapper { - * it like a generic BreakIterator. - */ - static BreakIteratorWrapper wrap(BreakIterator breakIterator) { -- if (breakIterator instanceof RuleBasedBreakIterator -- && !(breakIterator instanceof DictionaryBasedBreakIterator)) -+ if (breakIterator instanceof RuleBasedBreakIterator) - return new RBBIWrapper((RuleBasedBreakIterator) breakIterator); - else - return new BIWrapper(breakIterator); diff --git a/dev-java/lucene/lucene-3.6.2-r2.ebuild b/dev-java/lucene/lucene-3.6.2-r2.ebuild deleted file mode 100644 index bdec54f4c..000000000 --- a/dev-java/lucene/lucene-3.6.2-r2.ebuild +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source test contrib" -JAVA_PKG_BSFIX_ALL="no" -JAVA_PKG_BSFIX_NAME="build.xml common-build.xml contrib-build.xml" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" -HOMEPAGE="https://lucene.apache.org" -SRC_URI="mirror://apache/lucene/java/${PV}/${P}-src.tgz" - -LICENSE="Apache-2.0" -SLOT="3.6" -KEYWORDS="~amd64 ~x86" - -CDEPEND=" - dev-java/ant-core:0 - dev-java/ant-junit:0 - dev-java/hamcrest-core:0 - dev-java/jflex:0 - contrib? ( - dev-java/junit:4 - dev-java/jakarta-regexp:1.4 - dev-java/commons-compress:0 - dev-java/commons-collections:0 - dev-java/commons-digester:0 - dev-java/commons-logging:0 - dev-java/commons-beanutils:1.7 - dev-java/commons-codec:0 - dev-java/icu4j:70 - )" - -DEPEND=" - ${CDEPEND} - >=virtual/jdk-1.6" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.6" - -DOCS=( - CHANGES.txt README.txt - NOTICE.txt CHANGES.txt - JRE_VERSION_MIGRATION.txt -) - -# [0]: Patch so that we can compile the package against ICU 50 and above -PATCHES=( - "${FILESDIR}"/lucene_contrib_icu4j_v50.patch - "${FILESDIR}"/${P}-ant-1.10.patch -) - -EANT_GENTOO_CLASSPATH=" - ant-core - ant-junit - junit-4 - hamcrest-core - jflex - " -EANT_EXTRA_ARGS="-Dversion=${PV} -Dfailonjavadocwarning=false" -EANT_DOC_TARGET="javadocs-core" - -EANT_TEST_TARGET="test-core" -EANT_TEST_EXTRA_ARGS="-Dheadless=true -Djava.io.tmpdir=${T}" -EANT_TEST_GENTOO_CLASSPATH=" - ant-core - ant-junit - junit-4 - " -EANT_TEST_ANT_TASKS="ant-junit" - -JAVA_ANT_REWRITE_CLASSPATH="yes" - -# All tests in contrib/icu/test fail. -RESTRICT="test" - -src_prepare() { - default - - sed -i \ - -e '/-Xmax/ d' \ - -e '/property="ivy.available"/s,resource="${ivy.resource}",file="." type="dir",g' \ - -e '/<ivy:retrieve/d' \ - common-build.xml || die - - # FIXME: docs do not build if behind a proxy, -autoproxy does not work - java-ant_xml-rewrite -f common-build.xml \ - -c -e javadoc \ - -a failonerror \ - -v "false" \ - -a additionalparam \ - -v "-Xdoclint:none" - - # There are some JS in the javadocs's bootom and in VM >= 1.8 the --allow-script-in-comments - # is needed so docs could be built - if java-pkg_is-vm-version-ge "1.8" ; then - java-ant_xml-rewrite -f common-build.xml \ - -c -e javadoc \ - -a additionalparam \ - -v "-Xdoclint:none --allow-script-in-comments" - fi - - java-pkg-2_src_prepare -} - -src_compile() { - EANT_BUILD_TARGET="jar-core" - - if use contrib; then - EANT_GENTOO_CLASSPATH+=" - jakarta-regexp-1.4 - commons-compress - commons-collections - commons-digester - commons-logging - commons-beanutils-1.7 - commons-codec - icu4j-70 - " - EANT_BUILD_TARGET+=" build-contrib" - EANT_DOC_TARGET+=" javadocs-all" - fi - - java-ant_rewrite-classpath common-build.xml - - default - java-pkg-2_src_compile -} - -src_test() { - if use contrib; then - EANT_TEST_GENTOO_CLASSPATH+=" commons-codec ${EANT_GENTOO_CLASSPATH}" - EANT_TEST_TARGET+=" test-contrib" - fi - - java-pkg-2_src_test -} - -src_install() { - einstalldocs - java-pkg_newjar build/core/${PN}-core-${PV}.jar ${PN}-core.jar - - if use contrib; then - local i j - for i in $(find build/contrib -name \*-${PV}.jar); do - j=${i##*/} - java-pkg_newjar $i ${j%%-${PV}.jar}.jar - done - fi - if use doc; then - dodoc -r docs - java-pkg_dohtml -r build/docs/api - fi - if use source; then - java-pkg_dosrc core/src/java/org - use contrib && java-pkg_dosrc contrib - fi -} diff --git a/dev-java/lucene/lucene-5.2.1.ebuild b/dev-java/lucene/lucene-5.2.1.ebuild deleted file mode 100644 index e6cea2888..000000000 --- a/dev-java/lucene/lucene-5.2.1.ebuild +++ /dev/null @@ -1,211 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source test modules" -JAVA_PKG_BSFIX_ALL="no" -JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" -HOMEPAGE="https://lucene.apache.org" -SRC_URI="https://archive.apache.org/dist/lucene/java/${PV}/${P}-src.tgz" - -LICENSE="Apache-2.0" -SLOT="5.2" -KEYWORDS="~amd64 ~x86" - -CDEPEND=" - dev-java/ant-core:0 - dev-java/ant-junit:0 - dev-java/hamcrest-core:0 - dev-java/jflex:0 - modules? ( - dev-java/ant-apache-log4j:0 - dev-java/antlr:3.5 - dev-java/asm:9 - dev-java/asm-commons:9 - dev-java/junit:4 - dev-java/jakarta-regexp:1.4 - dev-java/commons-compress:0 - dev-java/commons-collections:0 - dev-java/commons-digester:0 - dev-java/commons-logging:0 - dev-java/commons-beanutils:1.7 - dev-java/commons-codec:0 - dev-java/icu4j:70 - dev-java/log4j:0 - )" - -DEPEND=" - ${CDEPEND} - >=virtual/jdk-1.7" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.7" - -DOCS=( - CHANGES.txt README.txt - NOTICE.txt CHANGES.txt - JRE_VERSION_MIGRATION.txt -) - -EANT_GENTOO_CLASSPATH=" - ant-core - ant-junit - junit-4 - hamcrest-core - jflex - " -EANT_EXTRA_ARGS="-Dversion=${PV} -Dfailonjavadocwarning=false" -EANT_DOC_TARGET="javadocs-lucene-core" - -EANT_TEST_TARGET="test-core" -EANT_TEST_EXTRA_ARGS="-Dheadless=true -Djava.io.tmpdir=${T}" -EANT_TEST_GENTOO_CLASSPATH=" - ant-core - ant-junit - junit-4 - " -EANT_TEST_ANT_TASKS="ant-junit" - -JAVA_ANT_REWRITE_CLASSPATH="yes" - -# All tests in contrib/icu/test fail. -RESTRICT="test" - -src_prepare() { - default - - sed -i \ - -e '/-Xmax/ d' \ - -e '/property="ivy.available"/s,resource="${ivy.resource}",file="." type="dir",g' \ - -e '/<ivy:retrieve/d' \ - -e '/conf="${ivy.default.configuration}" sync="${ivy.sync}"/d' \ - -e '/<fail>Ivy is not available<\/fail>/d' \ - -e '/ivy:configure/d' \ - -e '/svnversion.exe/d' \ - common-build.xml || die - - # do not build tests if modules enabled, we are missing a dependency - sed -i \ - -e 's/<target name="build-modules" depends="compile-test"/<target name="build-modules"/g' \ - build.xml - - # FIXME: docs do not build if behind a proxy, -autoproxy does not work - java-ant_xml-rewrite -f common-build.xml \ - -c -e javadoc \ - -a failonerror \ - -v "false" \ - -a additionalparam \ - -v "-Xdoclint:none" - - # There are some JS in the javadocs's bootom and in VM >= 1.8 the --allow-script-in-comments - # is needed so docs could be built - if java-pkg_is-vm-version-ge "1.8" ; then - java-ant_xml-rewrite -f common-build.xml \ - -c -e javadoc \ - -a additionalparam \ - -v "-Xdoclint:none --allow-script-in-comments" - fi - - if use modules; then - mkdir -p analysis/icu/lib - java-pkg_jar-from --into analysis/icu/lib icu4j-70 - # disable morfologik, dependency does not build - # disable uima, dependency does not build - # disable phonetic, dependency does not exist - sed -i \ - -e 's/morfologik,//g' \ - -e 's/,uima//g' \ - -e 's/phonetic,//g' \ - -e 's/,compile-test//g' \ - analysis/build.xml || die - rm -r analysis/morfologik || die - rm -r analysis/uima || die - rm -r analysis/phonetic || die - # do not compile all the tests just because we want the modules - sed -i \ - -e 's/name="build-modules" depends="compile-test"/name="build-modules"/g' \ - build.xml || die - sed -i \ - -e 's/, compile-test//g' \ - module-build.xml || die - mkdir -p expressions/lib - # facet requires hppc which does not compile - sed -i \ - -e '/<ant dir="${common.dir}\/facet" target="jar-core" inheritall="false">/,+2d' \ - module-build.xml || die - rm -r facet || die - # requires spatial4j, which does not exist - sed -i \ - -e '/<ant dir="${common.dir}\/spatial" target="jar-core" inheritAll="false">/,+2d' \ - module-build.xml || die - rm -r spatial || die - # these require modules which we have disabled - rm -r benchmark || die - rm -r demo || die - # fails to build for unknown reasons - rm -r replicator || die - fi - - java-pkg-2_src_prepare -} - -src_compile() { - EANT_BUILD_TARGET="jar-core" - - if use modules; then - EANT_GENTOO_CLASSPATH+=" - ant-apache-log4j - antlr-3.5 - asm-9 - asm-commons-9 - jakarta-regexp-1.4 - commons-compress - commons-collections - commons-digester - commons-logging - commons-beanutils-1.7 - commons-codec - icu4j-70 - log4j - " - EANT_BUILD_TARGET+=" build-modules" - EANT_DOC_TARGET+=" javadocs-modules" - fi - - java-ant_rewrite-classpath common-build.xml - - default - java-pkg-2_src_compile -} - -src_test() { - if use modules; then - EANT_TEST_GENTOO_CLASSPATH+=" commons-codec ${EANT_GENTOO_CLASSPATH}" - EANT_TEST_TARGET+=" test-modules" - fi - - java-pkg-2_src_test -} - -src_install() { - einstalldocs - local i j - for i in $(find build -name \*-${PV}.jar); do - j=${i##*/} - java-pkg_newjar $i ${j%%-${PV}.jar}.jar - done - if use doc; then - dodoc -r docs - java-pkg_dohtml -r build/docs - fi - if use source; then - java-pkg_dosrc core/src/java/org - use modules && java-pkg_dosrc */src */*/src - fi -} diff --git a/dev-java/lucene/lucene-8.4.0.ebuild b/dev-java/lucene/lucene-8.4.0.ebuild deleted file mode 100644 index 9d58ad6e6..000000000 --- a/dev-java/lucene/lucene-8.4.0.ebuild +++ /dev/null @@ -1,223 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source test modules" -JAVA_PKG_BSFIX_ALL="no" -JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" -HOMEPAGE="https://lucene.apache.org" -SRC_URI="https://archive.apache.org/dist/lucene/java/${PV}/${P}-src.tgz" - -LICENSE="Apache-2.0" -SLOT="8.4" -KEYWORDS="~amd64 ~x86" - -CDEPEND=" - dev-java/ant-core:0 - dev-java/ant-junit:0 - dev-java/hamcrest-core:0 - dev-java/jflex:0 - modules? ( - dev-java/ant-apache-log4j:0 - dev-java/antlr:4 - dev-java/asm:9 - dev-java/asm-commons:9 - dev-java/junit:4 - dev-java/jakarta-regexp:1.4 - dev-java/commons-compress:0 - dev-java/commons-collections:0 - dev-java/commons-digester:0 - dev-java/commons-logging:0 - dev-java/commons-beanutils:1.7 - dev-java/commons-codec:0 - dev-java/icu4j:70 - dev-java/log4j:0 - )" - -DEPEND=" - ${CDEPEND} - >=virtual/jdk-1.8" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.8" - -DOCS=( - CHANGES.txt README.txt - NOTICE.txt CHANGES.txt - JRE_VERSION_MIGRATION.txt -) - -EANT_GENTOO_CLASSPATH=" - ant-core - ant-junit - junit-4 - hamcrest-core - jflex - " -EANT_EXTRA_ARGS="-Dversion=${PV} -Dfailonjavadocwarning=false" -EANT_DOC_TARGET="javadocs-lucene-core" - -EANT_TEST_TARGET="test-core" -EANT_TEST_EXTRA_ARGS="-Dheadless=true -Djava.io.tmpdir=${T}" -EANT_TEST_GENTOO_CLASSPATH=" - ant-core - ant-junit - junit-4 - " -EANT_TEST_ANT_TASKS="ant-junit" - -JAVA_ANT_REWRITE_CLASSPATH="yes" - -# All tests in contrib/icu/test fail. -RESTRICT="test" - -src_prepare() { - default - - sed -i \ - -e '/-Xmax/ d' \ - -e '/property="ivy.available"/s,resource="${ivy.resource}",file="." type="dir",g' \ - -e '/<ivy:retrieve/d' \ - -e '/conf="${ivy.default.configuration}" sync="${ivy.sync}"/d' \ - -e '/<fail>Ivy is not available<\/fail>/d' \ - -e '/ivy:configure/d' \ - -e '/<groovy /d' \ - -e '/svnversion.exe/d' \ - -e 's/depends="ivy-availability-check,/depends="/g' \ - -e 's/ivy-availability-check,//g' \ - -e 's/resolve-groovy,//g' \ - -e 's/depends="resolve-groovy"//g' \ - -e '/<ivy:cachepath/,/\/>/d' \ - -e '/<ivy:cachepath/,/\/ivy:cachepath>/d' \ - -e '/<ivy:dependency/d' \ - -e '/<\/ivy:cachepath>/d' \ - -e '/<taskdef name="groovy"/,/\/>/d' \ - common-build.xml || die - - # do not build tests if modules enabled, we are missing a dependency - sed -i \ - -e 's/<target name="build-modules" depends="compile-test"/<target name="build-modules"/g' \ - build.xml - - # FIXME: docs do not build if behind a proxy, -autoproxy does not work - java-ant_xml-rewrite -f common-build.xml \ - -c -e javadoc \ - -a failonerror \ - -v "false" \ - -a additionalparam \ - -v "-Xdoclint:none" - - # There are some JS in the javadocs's bootom and in VM >= 1.8 the --allow-script-in-comments - # is needed so docs could be built - if java-pkg_is-vm-version-ge "1.8" ; then - java-ant_xml-rewrite -f common-build.xml \ - -c -e javadoc \ - -a additionalparam \ - -v "-Xdoclint:none --allow-script-in-comments" - fi - - if use modules; then - mkdir -p analysis/icu/lib - java-pkg_jar-from --into analysis/icu/lib icu4j-70 - # disable morfologik, dependency does not build - # disable opennlp, dependency does not exist - # disable phonetic, dependency does not exist - sed -i \ - -e 's/morfologik,//g' \ - -e 's/opennlp,//g' \ - -e 's/phonetic,//g' \ - -e 's/,compile-test//g' \ - analysis/build.xml || die - rm -r analysis/morfologik || die - rm -r analysis/opennlp || die - rm -r analysis/phonetic || die - # do not compile all the tests just because we want the modules - sed -i \ - -e 's/name="build-modules" depends="compile-test"/name="build-modules"/g' \ - build.xml || die - sed -i \ - -e 's/, compile-test//g' \ - module-build.xml || die - mkdir -p expressions/lib - # facet requires hppc which does not compile - sed -i \ - -e '/<ant dir="${common.dir}\/facet" target="jar-core" inheritall="false">/,+2d' \ - module-build.xml || die - rm -r facet || die - # requires spatial4j, which does not exist - sed -i \ - -e '/<ant dir="${common.dir}\/spatial-extras" target="jar-core" inheritAll="false">/,+2d' \ - module-build.xml || die - rm -r spatial-extras || die - # these require modules which we have disabled - rm -r benchmark || die - rm -r demo || die - # this fails due to missing log4j, even though it is included in classpath - rm -r luke || die - # fails to build for unknown reasons - rm -r replicator || die - fi - - java-pkg-2_src_prepare -} - -src_compile() { - EANT_BUILD_TARGET="jar-core" - - if use modules; then - EANT_GENTOO_CLASSPATH+=" - ant-apache-log4j - antlr-4 - asm-9 - asm-commons-9 - jakarta-regexp-1.4 - commons-compress - commons-collections - commons-digester - commons-logging - commons-beanutils-1.7 - commons-codec - icu4j-70 - log4j - " - EANT_BUILD_TARGET+=" build-modules" - EANT_DOC_TARGET+=" javadocs-modules" - fi - - java-ant_rewrite-classpath common-build.xml - - default - java-pkg-2_src_compile -} - -src_test() { - if use modules; then - EANT_TEST_GENTOO_CLASSPATH+=" commons-codec ${EANT_GENTOO_CLASSPATH}" - EANT_TEST_TARGET+=" test-modules" - fi - - java-pkg-2_src_test -} - -src_install() { - einstalldocs - local i j - for i in $(find build -name \*-${PV}.jar); do - j=${i##*/} - java-pkg_newjar $i ${j%%-${PV}.jar}.jar - done - if use doc; then - dodoc -r docs - java-pkg_dohtml -r build/docs - fi - if use source; then - java-pkg_dosrc core/src/java/org - use modules && java-pkg_dosrc */src */*/src - fi -} diff --git a/dev-java/lucene/metadata.xml b/dev-java/lucene/metadata.xml deleted file mode 100644 index 8bfdfa59a..000000000 --- a/dev-java/lucene/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <use> - <flag name="contrib">Include extra functionality from contrib/</flag> - <flag name="modules">Also build optional modules</flag> - </use> -</pkgmetadata> diff --git a/dev-java/skinlf/Manifest b/dev-java/skinlf/Manifest deleted file mode 100644 index 725284f44..000000000 --- a/dev-java/skinlf/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST skinlf-6.7.10.tar.gz 185870 BLAKE2B 4534f4d463ad3c9604d21a7113c12b5bbe1aecd7cdd80610644ce668821cd2bd1e47d0b926550014301f84e20d52f63f16bee817c339fbdc1631f57f2d74a082 SHA512 24cb44f709c5202fff1a9ca58e8cdda4de0d5e9bad8c2a7579694eabcd590993ebd5d60e200a3ff67078627502c592da2e8a021faff8f95de4ab4f8bf4945899 diff --git a/dev-java/skinlf/files/skinlf-6.7.10-build.xml b/dev-java/skinlf/files/skinlf-6.7.10-build.xml deleted file mode 100644 index 42b4c1145..000000000 --- a/dev-java/skinlf/files/skinlf-6.7.10-build.xml +++ /dev/null @@ -1,276 +0,0 @@ -<!DOCTYPE project [ - <!ENTITY build-COMMON SYSTEM "common.xml"> -]> - -<!-- - Skin Look And Feel Build ---> -<project name="skinlf" default="compile.java" basedir="."> - - <!-- Allow user to override settings --> - <property file="${user.home}/skinlf-ant.properties" /> - <property file="build.properties" /> - - <!-- Project Identification --> - <property name="project" value="skinlf"/> - <property name="version" value="6.7"/> - <property name="year" value="2000-2006"/> - <property name="project.fullname" value="Skin Look And Feel"/> - <property name="project.nativeskin" value="nativeskin"/> - - <property name="javadoc.packagenames" value="com.l2fprod.gui,com.l2fprod.gui.plaf.skin,com.l2fprod.gui.region,com.l2fprod.gui.nativeskin"/> - - - - <path id="classpath"> - <fileset dir="lib" includes="**/*.jar"/> - </path> - - <property name="classpath.asprop" refid="classpath"/> - - &build-COMMON; - - <target name="compile.javacc" depends="init"> - <javacc target="src/com/l2fprod/gui/plaf/skin/impl/gtk/parser/GtkParser.jj" - outputdirectory="src/com/l2fprod/gui/plaf/skin/impl/gtk/parser" - javacchome="lib" - static="false" - javaunicodeescape="true" /> - </target> - - <target name="compile" depends="init"> - </target> - - <!-- - Utility targets to use the style converters - --> - <target name="convert.msstyles"> - <fail unless="msstyle" message="Specify path to msstyle xml -Dmsstyle=pathtoxml"/> - <fail unless="skin" message="Specify themepack folder -Dskin=pathtothemepackdir"/> - <java classname="com.l2fprod.tools.msstyles.MsStylesToSkinLF" - classpath="${classpath.asprop}:${java.src.dir}:${build.classes}" - fork="yes"> - <arg value="${msstyle}" /> - <arg value="${msstyle}.xml" /> - <arg value="${skin}" /> - </java> - <copy todir="${skin}"> - <fileset dir="src/themepacks/skeletonthemepack" includes="**"/> - </copy> - </target> - - <!-- - Start Demos - --> - <target name="demo"> - <java classname="examples.demo" - classpath="${classpath.asprop}:${java.src.dir}:${build.classes}" - fork="yes"> - <arg value="${skin}" /> - </java> - </target> - - <!-- Dist targets --> - <target name="jar" depends="compile.java"> - <jar destfile="${build.dir}/${project}.jar"> - <fileset dir="${build.classes}" includes="*.class,com/**/*.class" excludes="**/region/**,**/nativeskin/**"/> - <fileset dir="${java.src.dir}" includes="com/**/*.properties"/> - <fileset dir="${java.src.dir}" includes="com/**/*.template"/> - <fileset dir="${java.src.dir}" includes="com/**/*.gif"/> - <manifest> - <attribute name="Built-by" value="${user.name}"/> - <attribute name="Main-Class" value="com.l2fprod.gui.plaf.skin.Skinit"/> - <attribute name="Class-Path" value="laf-plugin.jar"/> - <section name="com/l2fprod/gui/plaf/skin"> - <attribute name="Specification-Title" value="${project.fullname}"/> - <attribute name="Specification-Version" value="${version}"/> - <attribute name="Specification-Vendor" value="L2FProd.com"/> - <attribute name="Implementation-Title" value="${project.fullname}"/> - <attribute name="Implementation-Version" value="${version}"/> - <attribute name="Implementation-Vendor" value="L2FProd.com"/> - </section> - </manifest> - </jar> - </target> - - <target name="obfuscate" depends="jar"> - <taskdef name="proguard" - classname="proguard.ant.ProGuardTask" - classpath="lib/proguard.jar"/> - <move file="${build.dir}/${project}.jar" - tofile="${build.dir}/${project}-toobfuscate.jar"/> - <proguard - outjar="${build.dir}/${project}.jar" - obfuscate="yes" - usemixedclassnames="no" - overloadaggressively="yes" - printmapping="obfuscatemapping.txt" - printusage="obfuscateusage.txt"> - <libraryjar name="${java.home}/lib/rt.jar"/> - <injar name="${build.dir}/${project}-toobfuscate.jar"/> - <keep access="public" type="class" name="Skinit"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.SkinApplet"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.SkinChooser"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.WindowSnapping"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.nativeskin.**"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.CompoundSkin"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.IncorrectVersionException"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.LinuxLookAndFeel"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.Skin"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.SkinButton"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.SkinFrame"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.Skinit"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.SkinLookAndFeel"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.SkinPersonality"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.SkinPreviewWindow"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.SkinProgress"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.SkinScrollbar"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.SkinSeparator"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.SkinSlider"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.SkinSplitPane"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.SkinTab"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.impl.*"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.impl.gtk.GtkSkin"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.plaf.skin.impl.kde.KdeSkin"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.gui.region.*"> - <method name="*"/> - </keep> - <keep access="public" type="class" name="com.l2fprod.tools.**"> - <method name="*"/> - </keep> - <keep type="class" name="com.l2fprod.util.**"> - <method name="*"/> - </keep> - </proguard> - </target> - - <target name="dist.pre" depends="jar"> - <!-- examples.jar --> - <jar destfile="${build.dist.lib}/examples.jar"> - <fileset dir="${build.classes}" includes="examples/**.class"/> - <fileset dir="${java.src.dir}" includes="examples/**.properties,examples/**.gif,examples/**.jpg"/> - </jar> - <!-- nativeskin.jar --> - <jar jarfile="${build.dist.lib}/nativeskin.jar"> - <fileset dir="${build.classes}" - includes="com/l2fprod/gui/region/**,com/l2fprod/gui/nativeskin/**,com/l2fprod/util/OS**,,com/l2fprod/util/Access**" - excludes="**/*.html"/> - </jar> - <!-- batch files --> - <copy todir="${build.dist.bin}" - flatten="yes" - preservelastmodified="yes"> - <fileset dir="src" includes="**/*.bat"/> - </copy> - <!-- dlls --> - <copy todir="${build.dist.lib}"> - <fileset dir="src/native/win32" includes="*.dll"/> - </copy> - <!-- default theme --> - <zip destfile="${build.dist.lib}/themepack.zip"> - <zipfileset dir="src/themepacks/whistlerthemepack"/> - </zip> - </target> - - <!-- - Publish the new version of SKinLF - --> - <target name="publish" depends="init"> - <!-- copy zip to dist folder --> - <copy todir="${publish.download.dir}" - file="${project}-${version}-${build.version}.zip"/> - - <filter token="WEB" value="${publish.web.url}"/> - <!-- update the jnlp website with the new release --> - <!-- put skinlf.jar in jnlp folder --> - <copy todir="${publish.skinlf.home}/jnlp/" filtering="on" overwrite="yes"> - <fileset dir="src/jnlp" includes="*.jnlp"/> - </copy> - <copy file="${build.dist.lib}/${project}.jar" todir="${publish.skinlf.home}/jnlp/"/> - <copy file="${build.dist.lib}/examples.jar" todir="${publish.skinlf.home}/jnlp/"/> - <copy file="${build.dist.lib}/themepack.zip" todir="${publish.skinlf.home}/jnlp/"/> - <copy file="${build.dist.lib}/nativeskin.jar" todir="${publish.skinlf.home}/jnlp"/> - <jar destfile="${publish.skinlf.home}/jnlp/nativeskinlibs.jar" - basedir="${build.dist.lib}" includes="*.dll"/> - - <!-- copy the documentation - <copy todir="${web.skinlf.home}/documentation"> - <fileset dir="${javadoc.destdir}"/> - </copy> - --> - <!-- Sign all Jars --> - <signjar keystore="../common/keystore" alias="L2FProd.com" storepass="L2FProd.com"> - <fileset dir="${publish.skinlf.home}/jnlp" includes="*.jar"/> - </signjar> - - </target> - - <target name="themes"> - <zip destfile="${build.www.themedir}/cellshadedthemepack.zip" - basedir="src/themepacks/cellshadedthemepack"/> - <zip destfile="${build.www.themedir}/whistlerthemepack.zip" - basedir="src/themepacks/whistlerthemepack"/> - <zip destfile="${build.www.themedir}/xplunathemepack.zip" - basedir="src/themepacks/xplunathemepack"/> - <zip destfile="${build.www.themedir}/toxicthemepack.zip" - basedir="src/themepacks/toxicthemepack"/> - <zip destfile="${build.www.themedir}/beigeazulthemepack.zip" - basedir="src/themepacks/beigeazulthemepack"/> - - - <!-- png for these themepacks are not in cvs --> - <zip destfile="${build.www.themedir}/aquathemepack.zip" - basedir="src/themepacks/aquathemepack"/> - <zip destfile="${build.www.themedir}/alloythemepack.zip" - basedir="src/themepacks/alloythemepack"/> - </target> - -</project> diff --git a/dev-java/skinlf/files/skinlf-6.7.10-common.xml b/dev-java/skinlf/files/skinlf-6.7.10-common.xml deleted file mode 100644 index c2803acc5..000000000 --- a/dev-java/skinlf/files/skinlf-6.7.10-common.xml +++ /dev/null @@ -1,171 +0,0 @@ -<!-- - Common Target which could be reused by other projects later. ---> - -<!-- COMMON PROPERTIES --> - - <property name="debug" value="true"/> - <property name="optimize" value="false"/> - - <!-- Java Related --> - <property name="java.src.dir" value="src"/> - <property name="javac.compiler" value="modern"/> - - <!-- Destination Directory for the build --> - <property name="build.dir" value="build"/> - <property name="build.classes" value="${build.dir}/classes"/> - <property name="build.src" value="${build.dir}/src"/> - <property name="build.dist.dir" value="${project}-${version}"/> - <property name="build.dist.src" value="${build.dist.dir}/src"/> - <property name="build.dist.lib" value="${build.dist.dir}/lib"/> - <property name="build.dist.bin" value="${build.dist.dir}/bin"/> - <property name="build.www.dir" value="${build.dir}/www"/> - -<!-- COMMON TARGETS --> - - <target name="init.properties"> - <tstamp> - <format property="build.time" pattern="MM/dd/yyyy hh:mm aa" locale="en"/> - <format property="build.version" pattern="yyyyMMdd" locale="en"/> - </tstamp> - <filter token="VERSION" value="${version}"/> - <filter token="PROJECT.FULLNAME" value="${project.fullname}"/> - <filter token="DATE" value="${build.time}"/> - <filter token="YEAR" value="${year}"/> - </target> - - <target name="init.directories"> - <mkdir dir="${build.dir}"/> - <mkdir dir="${build.classes}"/> - <mkdir dir="${build.dist.dir}"/> - <mkdir dir="${build.dist.src}"/> - <mkdir dir="${build.dist.lib}"/> - <mkdir dir="${build.dist.bin}"/> - </target> - - <target name="init" depends="init.properties,init.directories"> - </target> - - <target name="clean"> - <delete dir="${build.dir}"/> - <delete dir="${build.dist.dir}"/> - </target> - - <target name="fixcrlf"> - <fixcrlf srcdir="${basedir}" eol="cr"> - <include name="AUTHORS,LICENSE*,README,THANKS" /> - <include name="**/*.java" /> - </fixcrlf> - </target> - -<!-- Java Related Targets --> - - <target name="compile.java" depends="init"> - <depend srcdir="${java.src.dir}" - destdir="${build.classes}" - cache="${build.dir}/dependcache" - closure="yes"/> - - <copy todir="${build.src}" filtering="yes"> - <fileset dir="${java.src.dir}"> - <include name="**/*.java"/> - </fileset> - </copy> - <javac srcdir="${build.src}" - destdir="${build.classes}" - classpathref="classpath" - compiler="${javac.compiler}" - includeAntRuntime="false" - includeJavaRuntime="false" - debug="${debug}" - optimize="${optimize}" - target="1.3" source="1.3"> - </javac> - </target> - -<!-- Distribution Target --> - - <target name="dist" depends="jar,dist.pre"> - <!-- project.jar --> - <copy todir="${build.dist.lib}" - file="${build.dir}/${project}.jar" - preservelastmodified="yes"/> - <!-- source code --> - <copy todir="${build.dist.src}" - preservelastmodified="yes"> - <fileset dir="${build.src}" includes="**/*.java"/> - <fileset dir="${java.src.dir}" includes="**/*.properties"/> - </copy> - <!-- regular files --> - <copy todir="${build.dist.dir}" - filtering="yes" - preservelastmodified="yes"> - <fileset dir="${basedir}"> - <include name="AUTHORS"/> - <include name="INSTALL"/> - <include name="README"/> - <include name="THANKS"/> - <include name="LICENSE"/> - <include name="LICENSE_*"/> - </fileset> - </copy> - <xslt in="xdocs/CHANGES.xml" - out="${build.dist.dir}/CHANGES" - style="xdocs/xsl/text.xsl"/> - <!-- zip file --> - <zip destfile="${project}-${version}-${build.version}.zip"> - <zipfileset dir="${build.dist.dir}" - prefix="${project}-${version}" /> - </zip> - </target> - -<!-- Source code formatting --> - - <target name="jalopy" depends="init"> - </target> - -<!-- Project Web Documentation --> - - <target name="www" depends="init"> - <mkdir dir="${build.www.dir}"/> - <xslt in="xdocs/www.xml" - out="${build.www.dir}/empty.html" - style="xdocs/xsl/tohtml.xsl"> - <param name="output.dir" expression="${build.www.dir}"/> - <param name="timestamp" expression="${build.time}"/> - </xslt> - <copy todir="${build.www.dir}"> - <fileset dir="xdocs"> - <include name="images/**"/> - <include name="**.java"/> - </fileset> - </copy> - <mkdir dir="${build.www.dir}/javadoc"/> - <javadoc sourcepath="${java.src.dir}" - classpath="${classpath}" - destdir="${build.www.dir}/javadoc" - packagenames="${javadoc.packagenames}" - private="false" protected="true" - windowtitle="${project.fullname} ${version} API" - doctitle="${project.fullname} ${version}" - version="false" author="false" use="false" - stylesheetfile="xdocs/javadoc.css" - splitindex="true" - bottom="Copyright © ${year} L2FProd.com. All Rights Reserved."/> - <delete file="${build.www.dir}/empty.html"/> - </target> - - <target name="www.sync" depends="init"> - <ftp server="${build.www.server}" - userid="${build.www.userid}" - password="${build.www.password}" - remotedir="${build.www.remotedir}" - action="put" - verbose="yes" - depends="yes"> - <fileset dir="${build.www.dir}"> - <include name="**/**"/> - </fileset> - </ftp> - </target> - diff --git a/dev-java/skinlf/files/skinlf-6.7.10-image-utils-without-jimi.patch b/dev-java/skinlf/files/skinlf-6.7.10-image-utils-without-jimi.patch deleted file mode 100644 index 123335241..000000000 --- a/dev-java/skinlf/files/skinlf-6.7.10-image-utils-without-jimi.patch +++ /dev/null @@ -1,77 +0,0 @@ -diff -ru skinlf-1.2.12-orig/src/com/l2fprod/tools/ImageUtils.java skinlf-1.2.12/src/com/l2fprod/tools/ImageUtils.java ---- a/src/com/l2fprod/tools/ImageUtils.java 2006-01-24 20:09:36.000000000 +0100 -+++ b/src/com/l2fprod/tools/ImageUtils.java 2006-01-24 20:19:19.000000000 +0100 -@@ -6,15 +6,12 @@ -
- import javax.swing.ImageIcon;
-
--import com.ibm.imageconversion.*;
--import com.sun.jimi.core.*;
-+import javax.imageio.*;
-
- public class ImageUtils {
-
- public static Component bitmapCreator = new javax.swing.JLabel();
-
-- static BMPDecoder decoder = new BMPDecoder();
-- static BMPEncoder encoder = new BMPEncoder();
-
- public static Image loadPng(String pathToImage) throws Exception {
- ImageIcon icon = new ImageIcon(new File(pathToImage).toURL());
-@@ -22,29 +19,33 @@ - }
-
- public static void savePng(Image image, String pathToImage) throws Exception {
-- Jimi.putImage(image, pathToImage);
-+ ImageIO.write((RenderedImage)image, "png", new File(pathToImage));
- }
-
-+ private static String getFileFmt(String pathToImage) throws Exception {
-+ String fmt;
-+ if (pathToImage.toLowerCase().endsWith(".png")) {
-+ return "png";
-+ }
-+ if (pathToImage.toLowerCase().endsWith(".gif")) {
-+ return "gif";
-+ }
-+ if (pathToImage.toLowerCase().endsWith(".bmp")) {
-+ return "bmp";
-+ }
-+ return "";
-+ }
-+
- public static void createPicture(String pathToImage, int index, int maxParts,
- String filename, boolean horizontal) {
- try {
- System.out.println("working with " + pathToImage);
- Image image = null;
--
-- if (pathToImage.toLowerCase().endsWith(".png") ||
-- pathToImage.toLowerCase().endsWith(".gif")) {
-- image = loadPng(pathToImage);
-- } else if (pathToImage.toLowerCase().endsWith(".bmp")) {
-- decoder.setInputFilename(pathToImage);
-- decoder.triggerAction();
-- image = decoder.getResult();
-- } else {
-- throw new Error("do not know how to load " + pathToImage);
-- }
-+ image = Toolkit.getDefaultToolkit().getImage(pathToImage);
-
- // if only one image, dump it as it
-- if (index == 0 && maxParts == 1) {
-- Jimi.putImage(image, filename);
-+ if (index == 0 && maxParts == 1) {
-+ ImageIO.write((RenderedImage)image, getFileFmt(pathToImage), new File(pathToImage));
- } else {
- if (horizontal) {
- int partHeight = image.getHeight(bitmapCreator) / maxParts;
-@@ -55,7 +56,7 @@ - image = grab(image, partWidth * index, 0,
- partWidth, image.getHeight(bitmapCreator));
- }
-- Jimi.putImage(image, filename);
-+ ImageIO.write((RenderedImage)image, getFileFmt(pathToImage), new File(pathToImage));
- }
- } catch (Exception e) {
- System.out.println("error while working with " + pathToImage);
diff --git a/dev-java/skinlf/metadata.xml b/dev-java/skinlf/metadata.xml deleted file mode 100644 index ae9640ffb..000000000 --- a/dev-java/skinlf/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/dev-java/skinlf/skinlf-6.7.10.ebuild b/dev-java/skinlf/skinlf-6.7.10.ebuild deleted file mode 100644 index a63320a6d..000000000 --- a/dev-java/skinlf/skinlf-6.7.10.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -JAVA_PKG_IUSE="examples source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Skin Look and Feel - Skinning Engine for the Swing toolkit" -HOMEPAGE="http://skinlf.l2fprod.com/" -# Upstream is gone, use this url from ubuntu/debian instead -SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/libskinlf-java/$(ver_rs 2 -)/libskinlf-java_$(ver_cut 1-2).orig.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-1.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -CDEPEND="dev-java/laf-plugin:0 - dev-java/xalan:0" - -RDEPEND=">=virtual/jre-1.4 - ${CDEPEND}" - -DEPEND=">=virtual/jdk-1.4 - ${CDEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-image-utils-without-jimi.patch" -) - -S="${WORKDIR}/${PN}-$(ver_cut 1-2)" - -src_prepare() { - default - - cp "${FILESDIR}/${P}-build.xml" build.xml || die - cp "${FILESDIR}/${P}-common.xml" common.xml || die - - cd lib || die - - java-pkg_jar-from xalan,laf-plugin -} - -src_install() { - java-pkg_dojar build/${PN}.jar - - # laf-plugin.jar is referenced in manifest's Class-Path - # doesn't work without it due to class loader trickery - # upstream solved this by absorbing laf-plugin in own jar... - java-pkg_dojar lib/laf-plugin.jar - - use examples && java-pkg_doexamples src/examples - use source && java-pkg_dosrc src/com src/*.java - - dodoc CHANGES README -} |