diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-02-17 13:38:50 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-02-17 13:38:50 +0000 |
| commit | ff0204fd4ae1f34c8da8f600c5b0fc62f60bb4c5 (patch) | |
| tree | e891da1f5a6eae70114b5d9467f43f8e9fdfc77f /dev-java | |
| parent | eeba4b72e5630426691716a292c0105aa051cdc6 (diff) | |
| download | baldeagleos-repo-ff0204fd4ae1f34c8da8f600c5b0fc62f60bb4c5.tar.gz baldeagleos-repo-ff0204fd4ae1f34c8da8f600c5b0fc62f60bb4c5.tar.xz baldeagleos-repo-ff0204fd4ae1f34c8da8f600c5b0fc62f60bb4c5.zip | |
Adding metadata
Diffstat (limited to 'dev-java')
68 files changed, 178 insertions, 2730 deletions
diff --git a/dev-java/avalon-framework/avalon-framework-4.2.0-r4.ebuild b/dev-java/avalon-framework/avalon-framework-4.2.0-r4.ebuild new file mode 100644 index 000000000000..27fbd1ae42ef --- /dev/null +++ b/dev-java/avalon-framework/avalon-framework-4.2.0-r4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +# The tests themselves are JUnit 3 tests, but using +# junit-4 here causes 61 additional tests to be run +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Avalon Framework" +HOMEPAGE="https://avalon.apache.org/" +SRC_URI="mirror://apache/avalon/avalon-framework/source/${P}-src.tar.gz" + +LICENSE="Apache-2.0" +SLOT="4.2" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" + +CP_DEPEND=" + dev-java/avalon-logkit:2.0 + dev-java/log4j-12-api:2 +" + +DEPEND=" + >=virtual/jdk-1.8:* + ${CP_DEPEND} + test? ( + dev-java/junit:0 + ) +" + +RDEPEND=" + >=virtual/jre-1.8:* + ${CP_DEPEND} +" + +S="${WORKDIR}/${PN}" + +PATCHES=( "${FILESDIR}/4.2.0-enum.patch" ) +DOCS=( NOTICE.TXT ) + +JAVA_SRC_DIR=( {api,impl}/src/java ) + +JAVA_TEST_GENTOO_CLASSPATH="junit" +JAVA_TEST_SRC_DIR=( {api,impl}/src/test ) + +src_prepare() { + default # https://bugs.gentoo.org/780585 +} + +src_install() { + java-pkg-simple_src_install + einstalldocs # https://bugs.gentoo.org/789582 +} diff --git a/dev-java/avalon-logkit/avalon-logkit-2.1-r11.ebuild b/dev-java/avalon-logkit/avalon-logkit-2.1-r11.ebuild new file mode 100644 index 000000000000..fd49d86024bc --- /dev/null +++ b/dev-java/avalon-logkit/avalon-logkit-2.1-r11.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +# NB: this project is dead and we should look into removing it from the tree. +# Take a look at the homepage. +# As of February 2022, dev-java/commons-logging is the only consumer of this +# package besides dev-java/avalon-framework. However, commons-logging is still +# used by many other consumers and does not have an updated version that do not +# depend on this package. +DESCRIPTION="Easy-to-use Java logging toolkit" +HOMEPAGE="https://avalon.apache.org/closed.html" +SRC_URI="https://archive.apache.org/dist/excalibur/avalon-logkit/source/avalon-logkit-${PV}-src.tar.gz" + +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +LICENSE="Apache-2.0" +SLOT="2.0" + +CP_DEPEND=" + dev-java/log4j-12-api:2 + java-virtuals/jms:0 + dev-java/javax-mail:0 + java-virtuals/servlet-api:3.0" +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:* + test? ( + dev-java/ant-junit:0 + )" + +src_prepare() { + default + + # Unfortunately, LogFactor5 support is no longer provided by the Log4j 1.x + # bridge in Log4j 2. But it seems that LogFactor5 merely consists of a + # Swing-based GUI that is neither checked by this package's tests nor used + # by reverse dependencies in ::gentoo. If virtually nobody would use + # LogFactor5, components in this package pertaining to it could be simply + # removed to make the migration to Log4j 2 feasible. + # http://people.apache.org/~carnold/log4j/docs/x/logging-log4j-1.2.10/docs/lf5/overview.html + rm -rv src/java/org/apache/log/output/lf5 || + die "Failed to remove support for stale LogFactor5 project" + + # Doesn't like 1.6 / 1.7 changes to JDBC + eapply "${FILESDIR}/${P}-java7.patch" + + java-ant_ignore-system-classes + + java-ant_xml-rewrite \ + -f build.xml \ + -c -e available \ + -a classpathref \ + -v 'build.classpath' || die + + java-pkg_filter-compiler jikes +} + +JAVA_ANT_REWRITE_CLASSPATH="yes" +JAVA_ANT_ENCODING="UTF-8" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_newjar "target/${P}.jar" + use doc && java-pkg_dojavadoc dist/docs/api + use source && java-pkg_dosrc src/java/* +} + +pkg_postinst() { + # Display a message about LogFactor5 support drop upon first install + # or upgrade from a version before the drop + local changed_ver="2.1-r11" + local should_show_msg replaced_ver + [[ -z "${REPLACING_VERSIONS}" ]] && should_show_msg=1 # First install + for replaced_ver in ${REPLACING_VERSIONS}; do + if ver_test "${replaced_ver}" -lt "${changed_ver}"; then + should_show_msg=1 + break + fi + done + [[ "${should_show_msg}" ]] || return + ewarn "Due to migration to Log4j 2, this package has to drop LogFactor5" + ewarn "support. As a result, the org.apache.log.output.lf5 Java package" + ewarn "is not available in the JAR installed by this package." +} diff --git a/dev-java/colt/Manifest b/dev-java/colt/Manifest deleted file mode 100644 index 90c27a167a80..000000000000 --- a/dev-java/colt/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST colt-1.2.0.tar.gz 2545695 BLAKE2B be5a1e2ca50650a3dfe003855801350f4b01b931b11b59f41e635c4daeb011b7a761a7db8532168157bfbfac5a4473a39e0b49698d9ccd32e0099149dd7d4adb SHA512 a5e88e0cf671faeb336241d120daeb1ad90f1e2061827d06c0c2dc507cd3ae2ab45f2b80451aaedca0f5a8b3de66c13533178e3b6352ed8b2df886d25a924ce0 diff --git a/dev-java/colt/colt-1.2.0-r3.ebuild b/dev-java/colt/colt-1.2.0-r3.ebuild deleted file mode 100644 index 24cb77f19188..000000000000 --- a/dev-java/colt/colt-1.2.0-r3.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -JAVA_PKG_IUSE="source doc" - -inherit java-pkg-2 java-ant-2 epatch - -DESCRIPTION="Java Libraries for High Performance Scientific and Technical Computing" -SRC_URI="http://dsd.lbl.gov/~hoschek/colt-download/releases/${P}.tar.gz" -HOMEPAGE="http://www-itg.lbl.gov/~hoschek/colt/" - -LICENSE="colt" -IUSE="" -SLOT="0" -KEYWORDS="amd64 ~ppc64 x86" - -DEPEND=">=virtual/jdk-1.7" -RDEPEND=">=virtual/jre-1.7" - -S="${WORKDIR}/${PN}" - -EANT_BUILD_TARGET="javac jar" -JAVA_ANT_ENCODING="ISO-8859-1" - -# [0]: I don't know but it must be useful. -# [1]: Monkey patch manually some classes to get rid of the -# oswego.edu.concurrent.util imports. -PATCHES=( - "${FILESDIR}/${P}-benchmark-no-deprecation.patch" - "${FILESDIR}/${P}-remove-concurrent-util-imports.patch" -) - -java_prepare() { - epatch "${PATCHES[@]}" - java-pkg_clean -} - -src_install() { - java-pkg_dojar "lib/${PN}.jar" - - dohtml README.html - use doc && java-pkg_dojavadoc doc/api - use source && java-pkg_dosrc src/* -} diff --git a/dev-java/colt/files/colt-1.2.0-benchmark-no-deprecation.patch b/dev-java/colt/files/colt-1.2.0-benchmark-no-deprecation.patch deleted file mode 100644 index 2617dc49ad57..000000000000 --- a/dev-java/colt/files/colt-1.2.0-benchmark-no-deprecation.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- src/cern/colt/matrix/impl/BenchmarkMatrix2D.java 2005-12-13 00:57:28.000000000 -0600 -+++ src/cern/colt/matrix/impl/BenchmarkMatrix2D.java 2005-12-13 01:20:09.000000000 -0600 -@@ -331,6 +331,8 @@ - cern.colt.Timer timer1 = new cern.colt.Timer();
- cern.colt.Timer timer2 = new cern.colt.Timer();
-
-+ cern.jet.math.Functions F = cern.jet.math.Functions.functions;
-+
- long size = (((long)rows)*columns)*runs;
-
- DoubleMatrix2D matrix = null;
-@@ -344,7 +346,8 @@ - //if (kind.equals("sparse")) ((SparseDoubleMatrix2D)matrix).elements.hashCollisions = 0;
- for (int i=0; i<runs; i++) {
- timer1.start();
-- cern.colt.matrix.doublealgo.Transform.mult(matrix, 3);
-+ //cern.colt.matrix.doublealgo.Transform.mult(matrix, 3);
-+ matrix.assign(F.mult(3));
- timer1.stop();
- }
- timer1.display();
-@@ -366,7 +369,8 @@ - //if (kind.equals("sparse")) ((SparseDoubleMatrix2D)matrix).elements.hashCollisions = 0;
- for (int i=0; i<runs; i++) {
- timer2.start();
-- cern.colt.matrix.doublealgo.Transform.mult(matrix,3);
-+ // cern.colt.matrix.doublealgo.Transform.mult(matrix,3);
-+ matrix.assign(F.mult(3));
- timer2.stop();
- }
- timer2.display();
diff --git a/dev-java/colt/files/colt-1.2.0-remove-concurrent-util-imports.patch b/dev-java/colt/files/colt-1.2.0-remove-concurrent-util-imports.patch deleted file mode 100644 index 2cfbef761baf..000000000000 --- a/dev-java/colt/files/colt-1.2.0-remove-concurrent-util-imports.patch +++ /dev/null @@ -1,210 +0,0 @@ ---- src/cern/colt/matrix/linalg/SmpBlas.java.orig 2015-10-07 22:23:44.969486000 +0000 -+++ src/cern/colt/matrix/linalg/SmpBlas.java 2015-10-07 22:29:15.475486000 +0000 -@@ -10,7 +10,8 @@ -
- import cern.colt.matrix.DoubleMatrix1D;
- import cern.colt.matrix.DoubleMatrix2D;
--import EDU.oswego.cs.dl.util.concurrent.FJTask;
-+
-+import java.util.concurrent.ForkJoinTask;
- /**
- Parallel implementation of the Basic Linear Algebra System for symmetric multi processing boxes.
- Currently only a few algorithms are parallelised; the others are fully functional, but run in sequential mode.
-@@ -198,7 +199,7 @@ -
- // set up concurrent tasks
- int span = width/noOfTasks;
-- final FJTask[] subTasks = new FJTask[noOfTasks];
-+ final ForkJoinTask[] subTasks = new ForkJoinTask[noOfTasks];
- for (int i=0; i<noOfTasks; i++) {
- final int offset = i*span;
- if (i==noOfTasks-1) span = width - span*i; // last span may be a bit larger
-@@ -217,24 +218,30 @@ - CC = C.viewPart(offset,0,span,p);
- }
-
-- subTasks[i] = new FJTask() {
-+ subTasks[i] = new ForkJoinTask() {
- public void run() {
- seqBlas.dgemm(transposeA,transposeB,alpha,AA,BB,beta,CC);
- //System.out.println("Hello "+offset);
- }
-+
-+ public boolean exec() { return true; }
-+ public void setRawResult(Object o) {}
-+ public Object getRawResult() {return null;}
- };
- }
-
- // run tasks and wait for completion
-- try {
-- this.smp.taskGroup.invoke(
-- new FJTask() {
-- public void run() {
-- coInvoke(subTasks);
-- }
-- }
-- );
-- } catch (InterruptedException exc) {}
-+ this.smp.taskGroup.invoke(
-+ new ForkJoinTask() {
-+ public void run() {
-+ invokeAll(subTasks);
-+ }
-+
-+ public boolean exec() { return true; }
-+ public void setRawResult(Object o) {}
-+ public Object getRawResult() {return null;}
-+ }
-+ );
- }
- public void dgemv(final boolean transposeA, final double alpha, DoubleMatrix2D A, final DoubleMatrix1D x, final double beta, DoubleMatrix1D y) {
- /*
-@@ -271,7 +278,7 @@ -
- // set up concurrent tasks
- int span = width/noOfTasks;
-- final FJTask[] subTasks = new FJTask[noOfTasks];
-+ final ForkJoinTask[] subTasks = new ForkJoinTask[noOfTasks];
- for (int i=0; i<noOfTasks; i++) {
- final int offset = i*span;
- if (i==noOfTasks-1) span = width - span*i; // last span may be a bit larger
-@@ -280,24 +287,30 @@ - final DoubleMatrix2D AA = A.viewPart(offset,0,span,n);
- final DoubleMatrix1D yy = y.viewPart(offset,span);
-
-- subTasks[i] = new FJTask() {
-+ subTasks[i] = new ForkJoinTask() {
- public void run() {
- seqBlas.dgemv(transposeA,alpha,AA,x,beta,yy);
- //System.out.println("Hello "+offset);
- }
-+
-+ public boolean exec() { return true; }
-+ public void setRawResult(Object o) {}
-+ public Object getRawResult() {return null;}
- };
- }
-
- // run tasks and wait for completion
-- try {
-- this.smp.taskGroup.invoke(
-- new FJTask() {
-- public void run() {
-- coInvoke(subTasks);
-- }
-- }
-- );
-- } catch (InterruptedException exc) {}
-+ this.smp.taskGroup.invoke(
-+ new ForkJoinTask() {
-+ public void run() {
-+ invokeAll(subTasks);
-+ }
-+
-+ public boolean exec() { return true; }
-+ public void setRawResult(Object o) {}
-+ public Object getRawResult() {return null;}
-+ }
-+ );
- }
- public void dger(double alpha, DoubleMatrix1D x, DoubleMatrix1D y, DoubleMatrix2D A) {
- seqBlas.dger(alpha,x,y,A);
-@@ -369,9 +382,6 @@ - /**
- * Prints various snapshot statistics to System.out; Simply delegates to {@link EDU.oswego.cs.dl.util.concurrent.FJTaskRunnerGroup#stats}.
- */
--public void stats() {
-- if (this.smp!=null) this.smp.stats();
--}
- private double xsum(DoubleMatrix2D A) {
- double[] sums = run(A,true,
- new Matrix2DMatrix2DFunction() {
---- src/cern/colt/matrix/linalg/Smp.java.orig 2015-10-07 21:08:19.443486000 +0000 -+++ src/cern/colt/matrix/linalg/Smp.java 2015-10-07 22:28:24.722486000 +0000 -@@ -9,12 +9,13 @@ - package cern.colt.matrix.linalg;
-
- import cern.colt.matrix.DoubleMatrix2D;
--import EDU.oswego.cs.dl.util.concurrent.FJTask;
--import EDU.oswego.cs.dl.util.concurrent.FJTaskRunnerGroup;
-+import java.util.concurrent.ForkJoinTask;
-+import java.util.concurrent.ForkJoinPool;
-+
- /*
- */
- class Smp {
-- protected FJTaskRunnerGroup taskGroup; // a very efficient and light weight thread pool
-+ protected ForkJoinPool taskGroup; // a very efficient and light weight thread pool
-
- protected int maxThreads;
- /**
-@@ -24,41 +25,39 @@ - maxThreads = Math.max(1,maxThreads);
- this.maxThreads = maxThreads;
- if (maxThreads>1) {
-- this.taskGroup = new FJTaskRunnerGroup(maxThreads);
-+ this.taskGroup = new ForkJoinPool(maxThreads);
- }
- else { // avoid parallel overhead
- this.taskGroup = null;
- }
- }
--/**
-- * Clean up deamon threads, if necessary.
-- */
--public void finalize() {
-- if (this.taskGroup!=null) this.taskGroup.interruptAll();
--}
- protected void run(final DoubleMatrix2D[] blocksA, final DoubleMatrix2D[] blocksB, final double[] results, final Matrix2DMatrix2DFunction function) {
-- final FJTask[] subTasks = new FJTask[blocksA.length];
-+ final ForkJoinTask[] subTasks = new ForkJoinTask[blocksA.length];
- for (int i=0; i<blocksA.length; i++) {
- final int k = i;
-- subTasks[i] = new FJTask() {
-+ subTasks[i] = new ForkJoinTask() {
- public void run() {
- double result = function.apply(blocksA[k],blocksB != null ? blocksB[k] : null);
- if (results!=null) results[k] = result;
- //System.out.print(".");
- }
-+ public boolean exec() { return true; }
-+ public void setRawResult(Object o) {}
-+ public Object getRawResult() {return null;}
- };
- }
-
- // run tasks and wait for completion
-- try {
-- this.taskGroup.invoke(
-- new FJTask() {
-- public void run() {
-- coInvoke(subTasks);
-- }
-- }
-- );
-- } catch (InterruptedException exc) {}
-+ this.taskGroup.invoke(
-+ new ForkJoinTask() {
-+ public void run() {
-+ invokeAll(subTasks);
-+ }
-+ public boolean exec() { return true; }
-+ public void setRawResult(Object o) {}
-+ public Object getRawResult() {return null;}
-+ }
-+ );
- }
- protected DoubleMatrix2D[] splitBlockedNN(DoubleMatrix2D A, int threshold, long flops) {
- /*
-@@ -186,10 +185,4 @@ - }
- return blocks;
- }
--/**
-- * Prints various snapshot statistics to System.out; Simply delegates to {@link EDU.oswego.cs.dl.util.concurrent.FJTaskRunnerGroup#stats}.
-- */
--public void stats() {
-- if (this.taskGroup!=null) this.taskGroup.stats();
--}
- }
diff --git a/dev-java/colt/metadata.xml b/dev-java/colt/metadata.xml deleted file mode 100644 index e25b5c52aab3..000000000000 --- a/dev-java/colt/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/commons-digester/Manifest b/dev-java/commons-digester/Manifest index 494d592f3dbf..8edb21e22425 100644 --- a/dev-java/commons-digester/Manifest +++ b/dev-java/commons-digester/Manifest @@ -1,4 +1,3 @@ DIST commons-digester-1.8.1-src.tar.gz 303266 BLAKE2B 618885c812a9bf40c080bc5736b8b4be4e18fe4d2f732d2a44d39369ae6cf3beb3af0cf500da3d103d7aa8c18b41b84d06907b6fc90f7f10d30840d6cfc83012 SHA512 0a39069662b4792d4856b79b5cedc2b44cb70303a19045d21c233d45ae4dde9e80662bd242a381e759d7cdb5adaf0b9fa6206bb8397b53348fa9eac12e9a4e96 DIST commons-digester-2.1-src.tar.gz 304060 BLAKE2B 2360f6f8ab77b20ad6b4058e0437aa792bf3886ddec2e09b6db259bc142c070965ce066ef224e92fb91614075631a2af1358ae4b4fc065fe9118e1d2559bb9bb SHA512 6bdb63431ed1e17f5e8ba24951762750a0e59b70c76eabecbf13f5fe6974864825456beed615c8f2c16f9a2f1404f2e56bdbc3ba335656c3661d5f368c708b88 DIST commons-digester-3.2.tar.gz 324555 BLAKE2B 7b8bdaa70eeafb069e9ecbfe697ab86f5167ae3b9933e8aa306f0080de0ec99d12bd023067678b7b904329178f553fd6d4d98141ab329154a1c27385b33e449f SHA512 6d5ed9a1cc7612244747dcbd5c713349f27d63d1cef39fa368b4e91eaa3b1fe7043ab2fb498a73e8afde8081b8ff26a966e5b87b8b6dc68a3d907e9b25aa7cad -DIST commons-digester3-3.2-src.tar.gz 324555 BLAKE2B 7b8bdaa70eeafb069e9ecbfe697ab86f5167ae3b9933e8aa306f0080de0ec99d12bd023067678b7b904329178f553fd6d4d98141ab329154a1c27385b33e449f SHA512 6d5ed9a1cc7612244747dcbd5c713349f27d63d1cef39fa368b4e91eaa3b1fe7043ab2fb498a73e8afde8081b8ff26a966e5b87b8b6dc68a3d907e9b25aa7cad diff --git a/dev-java/commons-digester/commons-digester-2.1-r1.ebuild b/dev-java/commons-digester/commons-digester-2.1-r1.ebuild deleted file mode 100644 index 9b7a718b000e..000000000000 --- a/dev-java/commons-digester/commons-digester-2.1-r1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -JAVA_PKG_IUSE="doc examples source test" -MAVEN_ID="commons-digester:commons-digester:2.1" - -inherit java-pkg-2 java-ant-2 - -MY_P="${P}-src" - -DESCRIPTION="Reads XML configuration files to provide initialization of various Java objects" -HOMEPAGE="https://commons.apache.org/digester/" -SRC_URI="mirror://apache/commons/digester/source/${MY_P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="2.1" -KEYWORDS="amd64 ppc64 x86" - -CDEPEND="dev-java/commons-beanutils:1.7 - >=dev-java/commons-collections-2.1:0 - >=dev-java/commons-logging-1.0.2:0" - -RDEPEND=">=virtual/jre-1.6 - ${CDEPEND}" - -DEPEND=">=virtual/jdk-1.6 - ${CDEPEND} - test? ( - dev-java/junit:0 - dev-java/ant-junit:0 - )" - -S="${WORKDIR}/${P}-src" - -JAVA_ANT_REWRITE_CLASSPATH="true" -EANT_GENTOO_CLASSPATH="commons-beanutils-1.7,commons-collections,commons-logging" - -java_prepare() { - cp "${FILESDIR}"/${P}-build.xml build.xml || die -} - -EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit" - -src_test() { - java-pkg-2_src_test -} - -src_install() { - java-pkg_newjar target/${PN}.jar - - dodoc RELEASE-NOTES.txt - - use doc && java-pkg_dojavadoc target/site/apidocs - use source && java-pkg_dosrc src/main/java/org - use examples && java-pkg_doexamples src/examples -} diff --git a/dev-java/commons-digester/commons-digester-2.1-r2.ebuild b/dev-java/commons-digester/commons-digester-2.1-r2.ebuild index 7db4511aecd1..2999e8c31357 100644 --- a/dev-java/commons-digester/commons-digester-2.1-r2.ebuild +++ b/dev-java/commons-digester/commons-digester-2.1-r2.ebuild @@ -18,7 +18,7 @@ SRC_URI="mirror://apache/commons/digester/source/commons-digester-2.1-src.tar.gz LICENSE="Apache-2.0" SLOT="2.1" -KEYWORDS="~amd64 ~ppc64 ~x86" +KEYWORDS="amd64 ppc64 x86" # Common dependencies # POM: pom.xml diff --git a/dev-java/commons-digester/commons-digester-3.2-r2.ebuild b/dev-java/commons-digester/commons-digester-3.2-r2.ebuild deleted file mode 100644 index 9a503626e1c2..000000000000 --- a/dev-java/commons-digester/commons-digester-3.2-r2.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -JAVA_PKG_IUSE="doc examples source test" - -inherit java-pkg-2 java-ant-2 - -MY_P="${PN}3-${PV}-src" - -DESCRIPTION="Reads XML configuration files to provide initialization of various Java objects" -HOMEPAGE="https://commons.apache.org/digester/" -SRC_URI="mirror://apache/commons/digester/source/${MY_P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="3.2" -KEYWORDS="amd64 ppc64 x86" - -CDEPEND="dev-java/cglib:3 - dev-java/commons-beanutils:1.7 - >=dev-java/commons-logging-1.0.2:0" - -RDEPEND=">=virtual/jre-1.6 - ${CDEPEND}" - -DEPEND=">=virtual/jdk-1.6 - ${CDEPEND} - test? ( - dev-java/junit:4 - dev-java/ant-junit:0 - )" - -S="${WORKDIR}/${MY_P}" - -JAVA_ANT_REWRITE_CLASSPATH="true" -EANT_GENTOO_CLASSPATH="commons-beanutils-1.7,commons-logging,cglib-3" - -java_prepare() { - cp "${FILESDIR}"/${PN}-2.1-build.xml build.xml || die - - # Doesn't work. - rm -v src/test/java/org/apache/commons/digester3/Digester153TestCase.java -} - -EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4" - -src_test() { - java-pkg-2_src_test -} - -src_install() { - java-pkg_newjar target/${PN}.jar - - dodoc RELEASE-NOTES.txt - - use doc && java-pkg_dojavadoc target/site/apidocs - use source && java-pkg_dosrc src/main/java/org - use examples && java-pkg_doexamples src/examples -} diff --git a/dev-java/commons-digester/commons-digester-3.2-r3.ebuild b/dev-java/commons-digester/commons-digester-3.2-r3.ebuild index 45e85fb373f2..14a7ba03b87c 100644 --- a/dev-java/commons-digester/commons-digester-3.2-r3.ebuild +++ b/dev-java/commons-digester/commons-digester-3.2-r3.ebuild @@ -18,7 +18,7 @@ SRC_URI="mirror://apache/commons/digester/source/${PN}3-${PV}-src.tar.gz -> ${P} LICENSE="Apache-2.0" SLOT="3.2" -KEYWORDS="~amd64 ~ppc64 ~x86" +KEYWORDS="amd64 ppc64 x86" # 1) atomWithNamespaceParse(org.apache.commons.digester3.xmlrules.SetNamespaceURITestCase) # java.net.UnknownHostException: commons.apache.org diff --git a/dev-java/ecj-gcj/Manifest b/dev-java/ecj-gcj/Manifest deleted file mode 100644 index 739acba16b78..000000000000 --- a/dev-java/ecj-gcj/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ecjsrc-4.4.2.jar 1764959 BLAKE2B 402bcbb040c28fa10dad07c4223daed9976f3246d6984ac74d95087a6cdcd5a742072126a999435eb2d49d49bb2884474461ae8439a9839617b2891297cd7c07 SHA512 53e850fc64994b104d45f58c22f1302ceb1f23bcf69300940be5689dfa6278bea14b4506746fec7b14db6f48c24ccbee16755943fffcdd7f6ad4fe5d9ddc1f20 diff --git a/dev-java/ecj-gcj/ecj-gcj-4.4.2.ebuild b/dev-java/ecj-gcj/ecj-gcj-4.4.2.ebuild deleted file mode 100644 index 9f3ec5665c73..000000000000 --- a/dev-java/ecj-gcj/ecj-gcj-4.4.2.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit java-pkg-2 prefix toolchain-funcs - -MY_PN="ecj" -DMF="R-${PV}-201502041700" - -DESCRIPTION="Subset of Eclipse Compiler for Java compiled by gcj, serving as javac in gcj-jdk" -HOMEPAGE="http://www.eclipse.org/" -SRC_URI="http://download.eclipse.org/eclipse/downloads/drops4/${DMF}/${MY_PN}src-${PV}.jar" - -LICENSE="EPL-1.0" -SLOT="4.4" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="+native" - -RDEPEND="sys-devel/gcc:*[gcj] - app-eselect/eselect-java" -DEPEND="${RDEPEND} - app-arch/unzip - !dev-java/eclipse-ecj:3.5[gcj]" - -JAVA_PKG_WANT_SOURCE=1.6 -JAVA_PKG_WANT_TARGET=1.6 - -MY_PS="${MY_PN}-${SLOT}" -S="${WORKDIR}" - -java_prepare() { - # We don't need the ant adapter here - rm org/eclipse/jdt/core/JDTCompilerAdapter.java || die - rm -r org/eclipse/jdt/internal/antadapter || die - - # upstream build.xml excludes this - rm META-INF/eclipse.inf || die - - # these java6 specific classes cannot compile with gcj - rm -r org/eclipse/jdt/internal/compiler/{apt,tool}/ || die -} - -src_compile() { - local gccbin=$(gcc-config -B) - local gcj="${gccbin}/gcj" - - find org/ -name "*.java" > sources.lst || die - - einfo "bootstrapping ${MY_PN} with gcj ..." - "${gcj}" -w -C -fsource=${JAVA_PKG_WANT_SOURCE} -d bootstrap @sources.lst || die - - einfo "building ${MY_PN} with bootstrapped ${MY_PN} ..." - "${gccbin}/gij" -cp bootstrap:. org.eclipse.jdt.internal.compiler.batch.Main -nowarn $(java-pkg_javac-args) @sources.lst || die - find org/ META-INF/ -type f ! -name "*.java" -exec "${gccbin}/gjar" cf ${MY_PN}.jar {} + || die - - if use native; then - einfo "building native ${MY_PS} library, patience needed ..." - "${gcj}" ${CFLAGS} ${LDFLAGS} -findirect-dispatch -shared -fPIC -Wl,-Bsymbolic \ - -o ${MY_PS}.so ${MY_PN}.jar || die - fi -} - -src_install() { - java-pkg_dojar ${MY_PN}.jar - - sed -e "s|@SLOT@|${SLOT}|" \ - "${FILESDIR}/${PN}.in" \ - > "${T}"/${PN}-${SLOT} || die - eprefixify "${T}/${PN}-${SLOT}" - dobin "${T}/${PN}-${SLOT}" - - use native && dolib.so ${MY_PS}.so -} - -pkg_postinst() { - if use native; then - local dbtool="$(gcc-config -B)/gcj-dbtool" - - "${dbtool}" -a $("${dbtool}" -p) \ - "${EROOT}usr/share/${PN}-${SLOT}/lib/ecj.jar" \ - "${EROOT}usr/$(get_libdir)/${MY_PN}-${SLOT}.so" - fi - - einfo "To select between slots of ECJ..." - einfo " # eselect ecj" - - eselect ecj update ${PN}-${SLOT} -} - -pkg_postrm() { - eselect ecj update -} diff --git a/dev-java/ecj-gcj/files/ecj-gcj.in b/dev-java/ecj-gcj/files/ecj-gcj.in deleted file mode 100644 index 4f838d5de240..000000000000 --- a/dev-java/ecj-gcj/files/ecj-gcj.in +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -# /usr/bin/gij was installed by gcj-jdk in the past and is now handled by -# gcc-config, fall back to gcc-config to locate the binary should the -# symlink/wrapper-binary not yet exists. -GIJ_BIN="@GENTOO_PORTAGE_EPREFIX@/usr/bin/gij" -if [[ ! -f ${GIJ_BIN} ]]; then - GIJ_BIN="$(gcc-config -B)/gij" -fi -if [[ ! -f ${GIJ_BIN} ]]; then - echo "gij not found! check that gcc is compiled with gcj flag" - exit 1 -fi -# calling java-config would be an unnecessary slowdown here - -# we need to append user CLASSPATH otherwise it will be overriden by the -classpath parameter -# this breaks e.g. bootstrap of ant-core -ecj_cp="@GENTOO_PORTAGE_EPREFIX@/usr/share/ecj-gcj-@SLOT@/lib/ecj.jar" -if [[ -n "${CLASSPATH}" ]]; then - ecj_cp="${ecj_cp}:${CLASSPATH}" -fi - -${GIJ_BIN} -classpath "${ecj_cp}" org.eclipse.jdt.internal.compiler.batch.Main "${@}" diff --git a/dev-java/ecj-gcj/metadata.xml b/dev-java/ecj-gcj/metadata.xml deleted file mode 100644 index f0474e784053..000000000000 --- a/dev-java/ecj-gcj/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - - <use> - <flag name="native">Build a native binary along with the jar. Provides faster execution time, but needs about 1G memory and some patience to compile.</flag> - </use> - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/felix-shell/Manifest b/dev-java/felix-shell/Manifest deleted file mode 100644 index 54ffdd842fbc..000000000000 --- a/dev-java/felix-shell/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST org.apache.felix.shell-1.4.3-source-release.tar.gz 75190 BLAKE2B 338658ec6b490bfca2ce6d15089810f8db421ea89a5931201d3ae8de71e7181dead6b811f4ffcf4b876f92362e375715b34dd73e982969a022eae5248a64e562 SHA512 fe1b3927789a18626715e52a634fa069fdd1505f425a48d76ec6abbb181f511ff5a3af176c70f634241830b185d32cd7eb71a271d62a754366141cd959cb54a4 diff --git a/dev-java/felix-shell/felix-shell-1.4.3.ebuild b/dev-java/felix-shell/felix-shell-1.4.3.ebuild deleted file mode 100644 index 2b1ce8e60499..000000000000 --- a/dev-java/felix-shell/felix-shell-1.4.3.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit java-pkg-2 java-ant-2 java-osgi - -DESCRIPTION="Felix Shell" -HOMEPAGE="http://felix.apache.org/" -LICENSE="Apache-2.0" - -MY_PN="org.apache.felix.shell" -MY_P="${MY_PN}-${PV}" -SRC_URI="mirror://apache/felix/${MY_P}-source-release.tar.gz" -SLOT="0" -KEYWORDS="amd64" - -DEPEND=">=virtual/jdk-1.6 - dev-java/felix-gogo-runtime:0 - dev-java/felix-utils:0 - dev-java/osgi-compendium:0 - dev-java/osgi-core-api:0" - -RDEPEND=">=virtual/jre-1.6" - -S="${WORKDIR}/${MY_P}" - -java_prepare() { - cp "${FILESDIR}"/${P}-build.xml build.xml || die -} - -JAVA_ANT_REWRITE_CLASSPATH="true" - -src_compile() { - EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjar --build-only osgi-core-api osgi-core-api.jar):$(java-pkg_getjar --build-only osgi-compendium osgi-compendium.jar):$(java-pkg_getjar --build-only felix-gogo-runtime felix-gogo-runtime.jar):$(java-pkg_getjar --build-only felix-utils felix-utils.jar)" - - java-pkg-2_src_compile -} - -src_install() { - mv "${S}"/target/{${MY_P},${PN}}.jar || die - - java-osgi_dojar "${S}"/target/${PN}.jar ${MY_PN} ${MY_PN} "Export-Package: ${MY_PN}" -} diff --git a/dev-java/felix-shell/files/felix-shell-1.4.3-build.xml b/dev-java/felix-shell/files/felix-shell-1.4.3-build.xml deleted file mode 100644 index 6bab51781bd1..000000000000 --- a/dev-java/felix-shell/files/felix-shell-1.4.3-build.xml +++ /dev/null @@ -1,299 +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 5/13/13 2:41 PM --> -<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> -<!-- --> -<!-- ====================================================================== --> - -<project name="org.apache.felix.shell-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="org.apache.felix.shell-1.4.3"/> - <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.resourceDir.1" value="."/> - <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="false"/> - <property name="maven.settings.interactiveMode" value="true"/> - - <!-- ====================================================================== --> - <!-- Defining classpaths --> - <!-- ====================================================================== --> - - <path id="build.classpath"> - <pathelement location="${maven.repo.local}/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar"/> - <pathelement location="${maven.repo.local}/org/osgi/org.osgi.compendium/4.0.0/org.osgi.compendium-4.0.0.jar"/> - </path> - <path id="build.test.classpath"> - <pathelement location="${maven.repo.local}/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar"/> - <pathelement location="${maven.repo.local}/org/osgi/org.osgi.compendium/4.0.0/org.osgi.compendium-4.0.0.jar"/> - <pathelement location="${maven.repo.local}/junit/junit/4.0/junit-4.0.jar"/> - <pathelement location="${maven.repo.local}/org/easymock/easymock/2.4/easymock-2.4.jar"/> - <pathelement location="${maven.repo.local}/org/mockito/mockito-all/1.7/mockito-all-1.7.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}" - encoding="UTF-8" - nowarn="false" - debug="true" - optimize="false" - deprecation="true" - target="1.3" - verbose="false" - fork="false" - source="1.3"> - <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> - <mkdir dir="${maven.build.outputDir}/META-INF"/> - <copy todir="${maven.build.outputDir}/META-INF"> - <fileset dir="${maven.build.resourceDir.1}"> - <include name="changelog.txt"/> - </fileset> - </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}" - encoding="UTF-8" - nowarn="false" - debug="true" - optimize="false" - deprecation="true" - target="1.3" - verbose="false" - fork="false" - source="1.3"> - <src> - <pathelement location="${maven.build.testDir.0}"/> - </src> - <classpath> - <path refid="build.test.classpath"/> - <pathelement location="${maven.build.outputDir}"/> - </classpath> - </javac> - </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"> - </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}/org/osgi/org.osgi.core/4.1.0"/> - <get src="http://repository.apache.org/snapshots/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar" - dest="${maven.repo.local}/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar" - dest="${maven.repo.local}/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar" - usetimestamp="false" - ignoreerrors="true"/> - <mkdir dir="${maven.repo.local}/org/osgi/org.osgi.compendium/4.0.0"/> - <get src="http://repository.apache.org/snapshots/org/osgi/org.osgi.compendium/4.0.0/org.osgi.compendium-4.0.0.jar" - dest="${maven.repo.local}/org/osgi/org.osgi.compendium/4.0.0/org.osgi.compendium-4.0.0.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/org/osgi/org.osgi.compendium/4.0.0/org.osgi.compendium-4.0.0.jar" - dest="${maven.repo.local}/org/osgi/org.osgi.compendium/4.0.0/org.osgi.compendium-4.0.0.jar" - usetimestamp="false" - ignoreerrors="true"/> - <mkdir dir="${maven.repo.local}/junit/junit/4.0"/> - <get src="http://repository.apache.org/snapshots/junit/junit/4.0/junit-4.0.jar" - dest="${maven.repo.local}/junit/junit/4.0/junit-4.0.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/junit/junit/4.0/junit-4.0.jar" - dest="${maven.repo.local}/junit/junit/4.0/junit-4.0.jar" - usetimestamp="false" - ignoreerrors="true"/> - <mkdir dir="${maven.repo.local}/org/easymock/easymock/2.4"/> - <get src="http://repository.apache.org/snapshots/org/easymock/easymock/2.4/easymock-2.4.jar" - dest="${maven.repo.local}/org/easymock/easymock/2.4/easymock-2.4.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/org/easymock/easymock/2.4/easymock-2.4.jar" - dest="${maven.repo.local}/org/easymock/easymock/2.4/easymock-2.4.jar" - usetimestamp="false" - ignoreerrors="true"/> - <mkdir dir="${maven.repo.local}/org/mockito/mockito-all/1.7"/> - <get src="http://repository.apache.org/snapshots/org/mockito/mockito-all/1.7/mockito-all-1.7.jar" - dest="${maven.repo.local}/org/mockito/mockito-all/1.7/mockito-all-1.7.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/org/mockito/mockito-all/1.7/mockito-all-1.7.jar" - dest="${maven.repo.local}/org/mockito/mockito-all/1.7/mockito-all-1.7.jar" - usetimestamp="false" - ignoreerrors="true"/> - </target> - -</project> diff --git a/dev-java/felix-shell/metadata.xml b/dev-java/felix-shell/metadata.xml deleted file mode 100644 index e25b5c52aab3..000000000000 --- a/dev-java/felix-shell/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/felix-utils/Manifest b/dev-java/felix-utils/Manifest deleted file mode 100644 index 816ac0dee404..000000000000 --- a/dev-java/felix-utils/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST org.apache.felix.utils-1.2.0-source-release.tar.gz 36109 BLAKE2B 5c7032986ce2e859236fcf9c9d4eefeb03c7bd8bad579c6e37423434f9095f8817d980cb5ddaaa2056632fe4ce9469f2fd955233fdbac7d48cd0fe0502b04904 SHA512 4b3a16abc92963c16c363791423483c14eb02792cc65d58a884777c6be25b05a226492280cf2f77183ad5b86cb5710076a118a58af34f6c717273bfdf93bc171 diff --git a/dev-java/felix-utils/felix-utils-1.2.0.ebuild b/dev-java/felix-utils/felix-utils-1.2.0.ebuild deleted file mode 100644 index 67872db2be2c..000000000000 --- a/dev-java/felix-utils/felix-utils-1.2.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit java-pkg-2 java-ant-2 java-osgi - -DESCRIPTION="Felix Utils" -HOMEPAGE="http://felix.apache.org/" -LICENSE="Apache-2.0" - -MY_PN="org.apache.felix.utils" -MY_P="${MY_PN}-${PV}" -SRC_URI="mirror://apache/felix/${MY_P}-source-release.tar.gz" -SLOT="0" -KEYWORDS="amd64" - -DEPEND=">=virtual/jdk-1.6 - dev-java/felix-gogo-runtime:0 - dev-java/osgi-compendium:0 - dev-java/osgi-core-api:0" - -RDEPEND=">=virtual/jre-1.6" - -S="${WORKDIR}/${MY_P}" - -java_prepare() { - cp "${FILESDIR}"/${P}-build.xml build.xml || die - - epatch "${FILESDIR}"/${P}-java-fixes.patch -} - -JAVA_ANT_REWRITE_CLASSPATH="true" - -src_compile() { - EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjar --build-only osgi-core-api osgi-core-api.jar):$(java-pkg_getjar --build-only osgi-compendium osgi-compendium.jar):$(java-pkg_getjar --build-only felix-gogo-runtime felix-gogo-runtime.jar)" - - java-pkg-2_src_compile -} - -src_install() { - mv "${S}"/target/{${MY_P},${PN}}.jar || die - - java-osgi_dojar "${S}"/target/${PN}.jar ${MY_PN} ${MY_PN} "Export-Package: ${MY_PN}" -} diff --git a/dev-java/felix-utils/files/felix-utils-1.2.0-build.xml b/dev-java/felix-utils/files/felix-utils-1.2.0-build.xml deleted file mode 100644 index cfe95ef2c6cf..000000000000 --- a/dev-java/felix-utils/files/felix-utils-1.2.0-build.xml +++ /dev/null @@ -1,299 +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 5/13/13 2:09 PM --> -<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> -<!-- --> -<!-- ====================================================================== --> - -<project name="org.apache.felix.utils-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="org.apache.felix.utils-1.2.0"/> - <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.resourceDir.1" value="."/> - <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="false"/> - <property name="maven.settings.interactiveMode" value="true"/> - - <!-- ====================================================================== --> - <!-- Defining classpaths --> - <!-- ====================================================================== --> - - <path id="build.classpath"> - <pathelement location="${maven.repo.local}/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar"/> - <pathelement location="${maven.repo.local}/org/osgi/org.osgi.compendium/4.1.0/org.osgi.compendium-4.1.0.jar"/> - </path> - <path id="build.test.classpath"> - <pathelement location="${maven.repo.local}/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar"/> - <pathelement location="${maven.repo.local}/org/osgi/org.osgi.compendium/4.1.0/org.osgi.compendium-4.1.0.jar"/> - <pathelement location="${maven.repo.local}/junit/junit/4.0/junit-4.0.jar"/> - <pathelement location="${maven.repo.local}/org/easymock/easymock/2.4/easymock-2.4.jar"/> - <pathelement location="${maven.repo.local}/org/mockito/mockito-all/1.7/mockito-all-1.7.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}" - encoding="UTF-8" - nowarn="false" - debug="true" - optimize="false" - deprecation="true" - target="jsr14" - verbose="false" - fork="false" - source="1.5"> - <src> - <pathelement location="${maven.build.srcDir.0}"/> - </src> - <classpath refid="build.classpath"/> - </javac> - <mkdir dir="${maven.build.outputDir}/META-INF"/> - <copy todir="${maven.build.outputDir}/META-INF"> - <fileset dir="${maven.build.resourceDir.1}"> - <include name="changelog.txt"/> - </fileset> - </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}" - encoding="UTF-8" - nowarn="false" - debug="true" - optimize="false" - deprecation="true" - target="jsr14" - verbose="false" - fork="false" - source="1.5"> - <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"> - </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}/org/osgi/org.osgi.core/4.1.0"/> - <get src="http://repository.apache.org/snapshots/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar" - dest="${maven.repo.local}/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar" - dest="${maven.repo.local}/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar" - usetimestamp="false" - ignoreerrors="true"/> - <mkdir dir="${maven.repo.local}/org/osgi/org.osgi.compendium/4.1.0"/> - <get src="http://repository.apache.org/snapshots/org/osgi/org.osgi.compendium/4.1.0/org.osgi.compendium-4.1.0.jar" - dest="${maven.repo.local}/org/osgi/org.osgi.compendium/4.1.0/org.osgi.compendium-4.1.0.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/org/osgi/org.osgi.compendium/4.1.0/org.osgi.compendium-4.1.0.jar" - dest="${maven.repo.local}/org/osgi/org.osgi.compendium/4.1.0/org.osgi.compendium-4.1.0.jar" - usetimestamp="false" - ignoreerrors="true"/> - <mkdir dir="${maven.repo.local}/junit/junit/4.0"/> - <get src="http://repository.apache.org/snapshots/junit/junit/4.0/junit-4.0.jar" - dest="${maven.repo.local}/junit/junit/4.0/junit-4.0.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/junit/junit/4.0/junit-4.0.jar" - dest="${maven.repo.local}/junit/junit/4.0/junit-4.0.jar" - usetimestamp="false" - ignoreerrors="true"/> - <mkdir dir="${maven.repo.local}/org/easymock/easymock/2.4"/> - <get src="http://repository.apache.org/snapshots/org/easymock/easymock/2.4/easymock-2.4.jar" - dest="${maven.repo.local}/org/easymock/easymock/2.4/easymock-2.4.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/org/easymock/easymock/2.4/easymock-2.4.jar" - dest="${maven.repo.local}/org/easymock/easymock/2.4/easymock-2.4.jar" - usetimestamp="false" - ignoreerrors="true"/> - <mkdir dir="${maven.repo.local}/org/mockito/mockito-all/1.7"/> - <get src="http://repository.apache.org/snapshots/org/mockito/mockito-all/1.7/mockito-all-1.7.jar" - dest="${maven.repo.local}/org/mockito/mockito-all/1.7/mockito-all-1.7.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/org/mockito/mockito-all/1.7/mockito-all-1.7.jar" - dest="${maven.repo.local}/org/mockito/mockito-all/1.7/mockito-all-1.7.jar" - usetimestamp="false" - ignoreerrors="true"/> - </target> - -</project> diff --git a/dev-java/felix-utils/files/felix-utils-1.2.0-java-fixes.patch b/dev-java/felix-utils/files/felix-utils-1.2.0-java-fixes.patch deleted file mode 100644 index a973ca56a862..000000000000 --- a/dev-java/felix-utils/files/felix-utils-1.2.0-java-fixes.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- a/src/main/java/org/apache/felix/utils/filter/FilterImpl.java 2012-06-12 08:56:50.000000000 +0200 -+++ b/src/main/java/org/apache/felix/utils/filter/FilterImpl.java 2013-05-13 14:25:58.601527069 +0200 -@@ -25,6 +25,7 @@ - import java.security.AccessController; - import java.security.PrivilegedAction; - import java.util.*; -+import java.util.Map.Entry; - - import org.apache.felix.utils.version.VersionTable; - import org.osgi.framework.Filter; -@@ -111,6 +111,19 @@ - converted = conv; - } - -+ @Override -+ public boolean matches(Map<String, ?> map) -+ { -+ Map nonGenericMap = new HashMap(); -+ -+ for(Entry<String, ?> entry : map.entrySet()) -+ { -+ nonGenericMap.put(entry.getKey(), entry.getValue()); -+ } -+ -+ return match0(nonGenericMap); -+ } -+ - - /** - * Filter using a service's properties. -@@ -575,13 +587,13 @@ - switch (operation) { - case APPROX : - case EQUAL : { -- return ((Version) value1).compareTo(converted) == 0; -+ return ((Version) value1).compareTo((Version) converted) == 0; - } - case GREATER: { -- return ((Version) value1).compareTo(converted) >= 0; -+ return ((Version) value1).compareTo((Version) converted) >= 0; - } - case LESS: { -- return ((Version) value1).compareTo(converted) <= 0; -+ return ((Version) value1).compareTo((Version) converted) <= 0; - } - } - } else { diff --git a/dev-java/felix-utils/metadata.xml b/dev-java/felix-utils/metadata.xml deleted file mode 100644 index e25b5c52aab3..000000000000 --- a/dev-java/felix-utils/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/freehep-graphics2d/Manifest b/dev-java/freehep-graphics2d/Manifest deleted file mode 100644 index c46a7d1e42f7..000000000000 --- a/dev-java/freehep-graphics2d/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST freehep-chartable-converter-plugin-2.2.1.tar.gz 18159 BLAKE2B 3b0c166c00fb2fa86fbb13adf8855ac21907d7397bb62997457e8528c7fd2d88657f7bdd4c820e4561e4303a36730b3826806e0cbc76506d49f27d0a4d528996 SHA512 4caac8b83b9efdee59e2a801bb001fdf7bab144bb5734bdb89ef3e1163bc9ffd05b2c8c59d611665573c432045a854fba28eb4d24260baea5286b34ae298add1 -DIST freehep-vectorgraphics-2.4.tar.gz 4118379 BLAKE2B c8a5840ebab43398a6f87f97855a38f843b0e05267f5446b5f22a0c0124c98717c00801fe93ef3b541b2c53d07176ab1319a27ad26ed177b6dded11e3fa2e7bb SHA512 b5cf083cc6951e7c4b438d5e648f61ca20b23e02163a8cfc4669beaaec2fa9e33338b0ba6875bfe4a3864ac48f9774acfedc2a3b2f59a7488ef99a4817e39382 diff --git a/dev-java/freehep-graphics2d/freehep-graphics2d-2.4.ebuild b/dev-java/freehep-graphics2d/freehep-graphics2d-2.4.ebuild deleted file mode 100644 index 9b6f57c388c4..000000000000 --- a/dev-java/freehep-graphics2d/freehep-graphics2d-2.4.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -CHARTABLE_PN="freehep-chartable-converter-plugin" -CHARTABLE_P="${CHARTABLE_PN}-2.2.1" - -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 Graphics 2D Library" -HOMEPAGE="http://java.freehep.org/" -SRC_URI="https://github.com/freehep/${MY_PN}/archive/${MY_P}.tar.gz - https://github.com/freehep/${CHARTABLE_PN}/archive/${CHARTABLE_P}.tar.gz" -LICENSE="Apache-2.0 LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -CDEPEND="~dev-java/freehep-graphicsbase-${PV}:${SLOT}" - -DEPEND="${CDEPEND} - >=virtual/jdk-1.7 - test? ( 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-graphicsbase" - -src_compile() { - # This package uses a custom Maven plugin to generate some - # sources. We're not using Maven but we can run it manually. We - # could package the plugin separately but it's not used elsewhere. - - local SRC ENC CP="${WORKDIR}"/${CHARTABLE_PN}-${CHARTABLE_P}/src/main/java CLASS=org/freehep/graphics2d/font/encoding/CharTableConverter - ejavac "${CP}/${CLASS}.java" - - for SRC in src/main/encoding/{Expert,Symbol,Zapfdingbats}.utf-16; do - ebegin "Converting ${SRC}" - java -cp "${CP}" ${CLASS} ${JAVA_SRC_DIR} org.freehep.graphics2d.font ${SRC} || die - eend $? - done - - SRC=src/main/encoding/Latin.utf-16 - - for ENC in ISO MAC WIN PDF STD; do - ebegin "Converting ${SRC} (${ENC})" - java -cp "${CP}" ${CLASS} ${JAVA_SRC_DIR} org.freehep.graphics2d.font ${SRC} ${ENC} || die - eend $? - done - - java-pkg-simple_src_compile -} - -src_test() { - local DIR=src/test/java - local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4,${JAVA_GENTOO_CLASSPATH})" - local TESTS=$(find ${DIR} -name "Test*.java") - TESTS="${TESTS//src\/test\/java\/}" - TESTS="${TESTS//.java}" - TESTS="${TESTS//\//.}" - - ejavac -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java") - ejunit4 -classpath "${CP}" ${TESTS} -} diff --git a/dev-java/freehep-graphics2d/metadata.xml b/dev-java/freehep-graphics2d/metadata.xml deleted file mode 100644 index e25b5c52aab3..000000000000 --- a/dev-java/freehep-graphics2d/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/freehep-graphicsio-tests/Manifest b/dev-java/freehep-graphicsio-tests/Manifest deleted file mode 100644 index 9ab19829d002..000000000000 --- a/dev-java/freehep-graphicsio-tests/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-tests/freehep-graphicsio-tests-2.4.ebuild b/dev-java/freehep-graphicsio-tests/freehep-graphicsio-tests-2.4.ebuild deleted file mode 100644 index 6a523d03f9ac..000000000000 --- a/dev-java/freehep-graphicsio-tests/freehep-graphicsio-tests-2.4.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -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 GraphicsIO Test Library" -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" - -CDEPEND="~dev-java/freehep-graphics2d-${PV}:${SLOT} - ~dev-java/freehep-graphicsbase-${PV}:${SLOT} - ~dev-java/freehep-graphicsio-${PV}:${SLOT} - dev-java/freehep-io:0 - dev-java/junit:4" - -DEPEND="${CDEPEND} - >=virtual/jdk-1.7" - -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,junit-4" - -java_prepare() { - # Avoid additional deps for "extra" tests. - sed -i -r "/Test(Histogram|ScatterPlot)/d" \ - ${JAVA_SRC_DIR}/org/freehep/graphicsio/test/TestSuite.java || die -} - -src_compile() { - java-pkg-simple_src_compile - java-pkg_addres ${PN}.jar src/main/resources -} diff --git a/dev-java/freehep-graphicsio-tests/metadata.xml b/dev-java/freehep-graphicsio-tests/metadata.xml deleted file mode 100644 index e25b5c52aab3..000000000000 --- a/dev-java/freehep-graphicsio-tests/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/freehep-graphicsio/Manifest b/dev-java/freehep-graphicsio/Manifest deleted file mode 100644 index 9ab19829d002..000000000000 --- a/dev-java/freehep-graphicsio/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/freehep-graphicsio-2.4.ebuild b/dev-java/freehep-graphicsio/freehep-graphicsio-2.4.ebuild deleted file mode 100644 index 9e6123138882..000000000000 --- a/dev-java/freehep-graphicsio/freehep-graphicsio-2.4.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -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 GraphicsIO Base Library" -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-io:0" - -DEPEND="${CDEPEND} - >=virtual/jdk-1.7 - test? ( 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-io" - -src_compile() { - java-pkg-simple_src_compile - java-pkg_addres ${PN}.jar src/main/resources -} - -src_test() { - local DIR=src/test/java - local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4,${JAVA_GENTOO_CLASSPATH})" - local TESTS=$(find ${DIR} -name "*Test.java") - TESTS="${TESTS//src\/test\/java\/}" - TESTS="${TESTS//.java}" - TESTS="${TESTS//\//.}" - - ejavac -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java") - ejunit4 -classpath "${CP}" ${TESTS} -} diff --git a/dev-java/freehep-graphicsio/metadata.xml b/dev-java/freehep-graphicsio/metadata.xml deleted file mode 100644 index e25b5c52aab3..000000000000 --- a/dev-java/freehep-graphicsio/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/glassfish-transaction-api/Manifest b/dev-java/glassfish-transaction-api/Manifest deleted file mode 100644 index b9c3281c144d..000000000000 --- a/dev-java/glassfish-transaction-api/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST glassfish-v2ur2-b04-src.zip 39817113 BLAKE2B 4aeb0df44f838c91fa8dd52e2a4985e86457f75cec3cd5d527de54f672afcd2824cefaad9d9e67c5ce096515e389bb2fc0874d76ce2ec86a956233f2c3508439 SHA512 4ddf75ad1b81cfb8fc0b772fc75f9a81d74b6239282770d5da0ed70a7cd8b5fca2fd8c95782a2946ed054b43ee8e17edaf47d79c749e89280131bf1d15b1dcf8 diff --git a/dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04-r1.ebuild b/dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04-r1.ebuild deleted file mode 100644 index b8002d2c97ba..000000000000 --- a/dev-java/glassfish-transaction-api/glassfish-transaction-api-1.1.2.2.04-r1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -JAVA_PKG_IUSE="doc source" - -inherit versionator java-pkg-2 java-pkg-simple - -MAJOR=v$(get_version_component_range 3-4) -MAJOR=$(replace_version_separator 1 ur ${MAJOR}) -MY_PV=${MAJOR}-b$(get_version_component_range 5) -MY_PN=${PN/-//} -ZIP="glassfish-${MY_PV}-src.zip" - -DESCRIPTION="Java Transaction API" -HOMEPAGE="https://glassfish.dev.java.net/" - -SRC_URI="http://download.java.net/javaee5/${MAJOR}/promoted/source/${ZIP}" - -LICENSE="|| ( CDDL GPL-2 )" -SLOT="0" -KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux" - -RDEPEND=">=virtual/jre-1.6" -DEPEND=">=virtual/jdk-1.6" - -S="${WORKDIR}/${MY_PN}" - -src_unpack() { - default - unzip \ - -q -o -f \ - "${DISTDIR}/${ZIP}" \ - "${MY_PN}/*" "glassfish/bootstrap/*" || die "unpacking failed" -} - -src_install() { - java-pkg-simple_src_install -} diff --git a/dev-java/glassfish-transaction-api/metadata.xml b/dev-java/glassfish-transaction-api/metadata.xml deleted file mode 100644 index e25b5c52aab3..000000000000 --- a/dev-java/glassfish-transaction-api/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/jakarta-activation/jakarta-activation-2.0.1.ebuild b/dev-java/jakarta-activation/jakarta-activation-2.0.1.ebuild index d62e9ab9cc40..f7fe1163b923 100644 --- a/dev-java/jakarta-activation/jakarta-activation-2.0.1.ebuild +++ b/dev-java/jakarta-activation/jakarta-activation-2.0.1.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/eclipse-ee4j/jaf/archive/refs/tags/${PV}.tar.gz -> $ LICENSE="EPL-1.0" SLOT="2" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" DEPEND=" >=virtual/jdk-1.8:* diff --git a/dev-java/jaxb-api/jaxb-api-3.0.1.ebuild b/dev-java/jaxb-api/jaxb-api-3.0.1.ebuild index 7786e7b8b1b9..857f9ebaa6e0 100644 --- a/dev-java/jaxb-api/jaxb-api-3.0.1.ebuild +++ b/dev-java/jaxb-api/jaxb-api-3.0.1.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/eclipse-ee4j/${PN}/archive/refs/tags/${PV}.tar.gz -> LICENSE="EPL-1.0" SLOT="3" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" # Common dependencies # POM: pom.xml diff --git a/dev-java/jnlp-api/Manifest b/dev-java/jnlp-api/Manifest deleted file mode 100644 index 3e3fce18b542..000000000000 --- a/dev-java/jnlp-api/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST jnlp-api-6.0.18.tar.bz2 10518 BLAKE2B c5e9f1c3f14dac45c2bdd979844ff3a49f573c6a79010d3b412086a2496ca7429a8ecd6211224c934cba90f40f7cc903fe23715006570e5876a504070ac797d8 SHA512 e3b7ed5092255b665feac2c37341be81bd71c1f2c925851338f1dbfb05bf1e1a8f09f5fea63c08ca1e737db7072b6ee25ec55cfaa18789e40101d6930785209f diff --git a/dev-java/jnlp-api/jnlp-api-6.0.18.ebuild b/dev-java/jnlp-api/jnlp-api-6.0.18.ebuild deleted file mode 100644 index a5b656de4c1b..000000000000 --- a/dev-java/jnlp-api/jnlp-api-6.0.18.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="JNLP API classes, repackaged from the icedtea-web fork of netx" -HOMEPAGE="http://jcp.org/en/jsr/detail?id=56" -SRC_URI="https://dev.gentoo.org/~caster/distfiles/${P}.tar.bz2" - -LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="source" - -DEPEND=">=virtual/jdk-1.6" -RDEPEND=">=virtual/jre-1.6" - -src_install() { - java-pkg_dojar ${PN}.jar - use source && java-pkg_dosrc javax -} diff --git a/dev-java/jnlp-api/metadata.xml b/dev-java/jnlp-api/metadata.xml deleted file mode 100644 index e25b5c52aab3..000000000000 --- a/dev-java/jnlp-api/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/kxml/Manifest b/dev-java/kxml/Manifest deleted file mode 100644 index 83f9fcc407d3..000000000000 --- a/dev-java/kxml/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST kxml2-src-2.3.0.zip 354878 BLAKE2B 5e1a5f7d684493eac0b74ef1c2220075d85f2276dbd2b5ff4cba539571831045dad1a9e84f71596390adbcc34368f381318dd20ccd75968eb66abdb2805e50c8 SHA512 f4eeaa71fbe76b51cefb9a195d292c22c79c241920915fe8ddcf30dc11af39bbeb6b848a8c4dab9775fc8e327c5a29586ac53263a577de361312bbf45e25c1e5 diff --git a/dev-java/kxml/files/kxml-2.3.0-build.xml b/dev-java/kxml/files/kxml-2.3.0-build.xml deleted file mode 100644 index ee1280d24b1b..000000000000 --- a/dev-java/kxml/files/kxml-2.3.0-build.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project default="build" basedir="." name="kxml2" > - - <property name="version" value="2.3.0" ></property> - - - <target name="javadoc" > - <delete dir="www/kxml2/javadoc" ></delete> - <mkdir dir="www/kxml2/javadoc" ></mkdir> - <javadoc use="true" windowtitle="kxml API" author="true" sourcepath="src" classpath="" destdir="www/kxml2/javadoc" doctitle="kxml API" version="true" packagenames="org.kxml2.*" public="yes" source="1.4" ></javadoc> - </target> - - - <target depends="build_jar,javadoc" name="build_src" > - <zip zipfile="dist/kxml2-src-${version}.zip" > - <fileset dir="." > - <include name="*/**" ></include> - <exclude name=".*" ></exclude> - <exclude name="classes/**" ></exclude> - <exclude name="tmpclasses/**" ></exclude> - <exclude name="dist/kxml2-src-*.zip" ></exclude> - </fileset> - </zip> - - </target> - - - <target name="build_jar" > - - <delete dir="tmpclasses" ></delete> - <mkdir dir="tmpclasses" ></mkdir> - - <javac destdir="tmpclasses" debuglevel="none" srcdir="src" optimize="true" verbose="true" source="1.4" target="1.4" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> - - <mkdir dir="dist" ></mkdir> - - - <jar jarfile="dist/kxml2-${version}.jar" > - <fileset dir="tmpclasses" > - <include name="**/*.class" ></include> - <include name="META-INF/**" ></include> - </fileset> - <fileset dir="src" > - <include name="META-INF/**" ></include> - </fileset> - </jar> - - <jar jarfile="dist/kxml2-min-${version}.jar" > - <fileset dir="tmpclasses" > - <include name="org/kxml2/io/KXmlParser.class" ></include> - </fileset> - </jar> - - <delete dir="tmpclasses" ></delete> - </target> - - - <target depends="build_src" name="build" ></target> - - - -</project> diff --git a/dev-java/kxml/kxml-2.3.0.ebuild b/dev-java/kxml/kxml-2.3.0.ebuild deleted file mode 100644 index 434bf19f6533..000000000000 --- a/dev-java/kxml/kxml-2.3.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -JAVA_PKG_IUSE="doc examples source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Small XML Pull Parser" -HOMEPAGE="http://kxml.org/" -SRC_URI="mirror://sourceforge/${PN}/${PN}2-src-${PV}.zip" - -LICENSE="BSD" -SLOT="2" -KEYWORDS="amd64 ppc64 x86" - -CDEPEND="dev-java/xpp3:0" - -DEPEND=" - ${CDEPEND} - >=virtual/jdk-1.6 - app-arch/unzip" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.6" - -S="${WORKDIR}" - -java_prepare() { - java-pkg_clean - cp "${FILESDIR}"/${P}-build.xml build.xml || die -} - -JAVA_ANT_REWRITE_CLASSPATH="true" -EANT_BUILD_TARGET="build_jar" -EANT_GENTOO_CLASSPATH="xpp3" - -src_install() { - java-pkg_newjar dist/${PN}2-${PV}.jar ${PN}.jar - java-pkg_newjar dist/${PN}2-min-${PV}.jar ${PN}-min.jar - - use source && java-pkg_dosrc src/org - use doc && java-pkg_dojavadoc www/kxml2/javadoc - use examples && java-pkg_doexamples samples -} diff --git a/dev-java/kxml/metadata.xml b/dev-java/kxml/metadata.xml deleted file mode 100644 index e25b5c52aab3..000000000000 --- a/dev-java/kxml/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/log4j-core/log4j-core-2.17.1.ebuild b/dev-java/log4j-core/log4j-core-2.17.1-r1.ebuild index 15dd570d7f43..b3ab9ba0fe74 100644 --- a/dev-java/log4j-core/log4j-core-2.17.1.ebuild +++ b/dev-java/log4j-core/log4j-core-2.17.1-r1.ebuild @@ -20,7 +20,7 @@ LICENSE="Apache-2.0" SLOT="2" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -# We don't have junit-vintage and junit-jupiter +# We don't have junit-vintage and junit-jupiter RESTRICT="test" # Common dependencies @@ -143,6 +143,28 @@ JAVA_RESOURCE_DIRS=( # "${PN}/src/test/resources" # ) +src_compile() { + java-pkg-simple_src_compile + + # Process the @Plugin annotation used on Log4j 2 built-in plugins + # to generate a serialized plugin listing file + # https://logging.apache.org/log4j/2.x/manual/plugins.html + local processor="org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor" + local classes="target/classes" + local classpath="${JAVA_JAR_FILENAME}:$(\ + java-pkg_getjars --build-only --with-dependencies \ + "${JAVA_GENTOO_CLASSPATH},${JAVA_CLASSPATH_EXTRA}")" + # Just in case java-pkg-simple.eclass changes the path in the future + mkdir -p "${classes}" || die "Failed to create directory for classes" + ejavac -d "${classes}" -cp "${classpath}" \ + -proc:only -processor "${processor}" \ + $(find "${JAVA_SRC_DIR}" -name "*.java") + # Update the JAR to include the serialized plugin listing file + local jar="$(java-config -j)" + "${jar}" -uf "${JAVA_JAR_FILENAME}" -C "${classes}" . || + die "Failed to update JAR" +} + src_install() { default # https://bugs.gentoo.org/789582 java-pkg-simple_src_install diff --git a/dev-java/myfaces-builder-annotations/Manifest b/dev-java/myfaces-builder-annotations/Manifest deleted file mode 100644 index 29c6740f21f1..000000000000 --- a/dev-java/myfaces-builder-annotations/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST myfaces-builder-annotations-1.0.9-sources.jar 43051 BLAKE2B 72ea55574c863965465189fb38abfbefed51aec8b260d041b1cbfd8cd97bcdacbf8d2cafcd8589863a2c54f9e6eea7a0858abe35f91a75b160ad23c0a824fac0 SHA512 09bf3f9faaaae0545544b2195c8070689431bf28497afc9e317010243617137528a61be82f47123237e114b1a7f5f174a5e2cc2190abdff8beb5188e38feec04 diff --git a/dev-java/myfaces-builder-annotations/metadata.xml b/dev-java/myfaces-builder-annotations/metadata.xml deleted file mode 100644 index e25b5c52aab3..000000000000 --- a/dev-java/myfaces-builder-annotations/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/myfaces-builder-annotations/myfaces-builder-annotations-1.0.9.ebuild b/dev-java/myfaces-builder-annotations/myfaces-builder-annotations-1.0.9.ebuild deleted file mode 100644 index 10d59c6e606f..000000000000 --- a/dev-java/myfaces-builder-annotations/myfaces-builder-annotations-1.0.9.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Apache MyFaces API - Builder annotations package" -HOMEPAGE="http://myfaces.apache.org/" -SRC_URI="http://repo1.maven.org/maven2/org/apache/myfaces/buildtools/${PN}/${PV}/${P}-sources.jar" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" - -IUSE="" - -RDEPEND=">=virtual/jre-1.6" -DEPEND=">=virtual/jdk-1.6 - app-arch/unzip" diff --git a/dev-java/nanoxml/Manifest b/dev-java/nanoxml/Manifest deleted file mode 100644 index 56e112e3528b..000000000000 --- a/dev-java/nanoxml/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST nanoxml-2.2.3.tar.gz 426111 BLAKE2B ac9980502c8c6ec50c6aebd19c0d08319701a508eea2a58847b804dcb3a3a93ca8d41ee1f08f4ec48527e669fc1695ec945933688516775373458ac7b6564895 SHA512 6800b86039cb555efc05644db65c516fb242d4d081ea612969d6cc52a12ffd7571e012a7afe7962cd61c28b0ebb3b9d94af76f20013f3b4dd7d2aacdc552c6fc diff --git a/dev-java/nanoxml/files/nanoxml-2.2.3-enum.patch b/dev-java/nanoxml/files/nanoxml-2.2.3-enum.patch deleted file mode 100644 index f3992f845b85..000000000000 --- a/dev-java/nanoxml/files/nanoxml-2.2.3-enum.patch +++ /dev/null @@ -1,208 +0,0 @@ ---- a/Sources/Java/net/n3/nanoxml/XMLElement.java.orig 2016-03-04 09:21:07.908000000 +0000 -+++ a/Sources/Java/net/n3/nanoxml/XMLElement.java 2016-03-04 09:35:16.283000000 +0000 -@@ -484,9 +484,9 @@ - * @return the child element, or null if no such child was found. - */ - public IXMLElement getFirstChildNamed(String name) { -- Enumeration enum = this.children.elements(); -- while (enum.hasMoreElements()) { -- IXMLElement child = (IXMLElement) enum.nextElement(); -+ Enumeration myEnum = this.children.elements(); -+ while (myEnum.hasMoreElements()) { -+ IXMLElement child = (IXMLElement) myEnum.nextElement(); - String childName = child.getFullName(); - if ((childName != null) && childName.equals(name)) { - return child; -@@ -506,9 +506,9 @@ - */ - public IXMLElement getFirstChildNamed(String name, - String namespace) { -- Enumeration enum = this.children.elements(); -- while (enum.hasMoreElements()) { -- IXMLElement child = (IXMLElement) enum.nextElement(); -+ Enumeration myEnum = this.children.elements(); -+ while (myEnum.hasMoreElements()) { -+ IXMLElement child = (IXMLElement) myEnum.nextElement(); - String str = child.getName(); - boolean found = (str != null) && (str.equals(name)); - str = child.getNamespace(); -@@ -534,9 +534,9 @@ - */ - public Vector getChildrenNamed(String name) { - Vector result = new Vector(this.children.size()); -- Enumeration enum = this.children.elements(); -- while (enum.hasMoreElements()) { -- IXMLElement child = (IXMLElement) enum.nextElement(); -+ Enumeration myEnum = this.children.elements(); -+ while (myEnum.hasMoreElements()) { -+ IXMLElement child = (IXMLElement) myEnum.nextElement(); - String childName = child.getFullName(); - if ((childName != null) && childName.equals(name)) { - result.addElement(child); -@@ -557,9 +557,9 @@ - public Vector getChildrenNamed(String name, - String namespace) { - Vector result = new Vector(this.children.size()); -- Enumeration enum = this.children.elements(); -- while (enum.hasMoreElements()) { -- IXMLElement child = (IXMLElement) enum.nextElement(); -+ Enumeration myEnum = this.children.elements(); -+ while (myEnum.hasMoreElements()) { -+ IXMLElement child = (IXMLElement) myEnum.nextElement(); - String str = child.getName(); - boolean found = (str != null) && (str.equals(name)); - str = child.getNamespace(); -@@ -585,9 +585,9 @@ - * @return the attribute, or null if the attribute does not exist. - */ - private XMLAttribute findAttribute(String fullName) { -- Enumeration enum = this.attributes.elements(); -- while (enum.hasMoreElements()) { -- XMLAttribute attr = (XMLAttribute) enum.nextElement(); -+ Enumeration myEnum = this.attributes.elements(); -+ while (myEnum.hasMoreElements()) { -+ XMLAttribute attr = (XMLAttribute) myEnum.nextElement(); - if (attr.getFullName().equals(fullName)) { - return attr; - } -@@ -606,9 +606,9 @@ - */ - private XMLAttribute findAttribute(String name, - String namespace) { -- Enumeration enum = this.attributes.elements(); -- while (enum.hasMoreElements()) { -- XMLAttribute attr = (XMLAttribute) enum.nextElement(); -+ Enumeration myEnum = this.attributes.elements(); -+ while (myEnum.hasMoreElements()) { -+ XMLAttribute attr = (XMLAttribute) myEnum.nextElement(); - boolean found = attr.getName().equals(name); - if (namespace == null) { - found &= (attr.getNamespace() == null); -@@ -860,9 +860,9 @@ - */ - public Enumeration enumerateAttributeNames() { - Vector result = new Vector(); -- Enumeration enum = this.attributes.elements(); -- while (enum.hasMoreElements()) { -- XMLAttribute attr = (XMLAttribute) enum.nextElement(); -+ Enumeration myEnum = this.attributes.elements(); -+ while (myEnum.hasMoreElements()) { -+ XMLAttribute attr = (XMLAttribute) myEnum.nextElement(); - result.addElement(attr.getFullName()); - } - return result.elements(); -@@ -897,9 +897,9 @@ - */ - public Properties getAttributes() { - Properties result = new Properties(); -- Enumeration enum = this.attributes.elements(); -- while (enum.hasMoreElements()) { -- XMLAttribute attr = (XMLAttribute) enum.nextElement(); -+ Enumeration myEnum = this.attributes.elements(); -+ while (myEnum.hasMoreElements()) { -+ XMLAttribute attr = (XMLAttribute) myEnum.nextElement(); - result.put(attr.getFullName(), attr.getValue()); - } - return result; -@@ -915,9 +915,9 @@ - */ - public Properties getAttributesInNamespace(String namespace) { - Properties result = new Properties(); -- Enumeration enum = this.attributes.elements(); -- while (enum.hasMoreElements()) { -- XMLAttribute attr = (XMLAttribute) enum.nextElement(); -+ Enumeration myEnum = this.attributes.elements(); -+ while (myEnum.hasMoreElements()) { -+ XMLAttribute attr = (XMLAttribute) myEnum.nextElement(); - if (namespace == null) { - if (attr.getNamespace() == null) { - result.put(attr.getName(), attr.getValue()); -@@ -1007,9 +1007,9 @@ - if (this.attributes.size() != elt.getAttributeCount()) { - return false; - } -- Enumeration enum = this.attributes.elements(); -- while (enum.hasMoreElements()) { -- XMLAttribute attr = (XMLAttribute) enum.nextElement(); -+ Enumeration myEnum = this.attributes.elements(); -+ while (myEnum.hasMoreElements()) { -+ XMLAttribute attr = (XMLAttribute) myEnum.nextElement(); - if (! elt.hasAttribute(attr.getName(), attr.getNamespace())) { - return false; - } ---- a/Sources/Java/net/n3/nanoxml/NonValidator.java.orig 2016-03-04 09:36:05.247000000 +0000 -+++ a/Sources/Java/net/n3/nanoxml/NonValidator.java 2016-03-04 09:36:25.195000000 +0000 -@@ -587,10 +587,10 @@ - int lineNr) - { - Properties props = (Properties) this.currentElements.pop(); -- Enumeration enum = props.keys(); -+ Enumeration myEnum = props.keys(); - -- while (enum.hasMoreElements()) { -- String key = (String) enum.nextElement(); -+ while (myEnum.hasMoreElements()) { -+ String key = (String) myEnum.nextElement(); - extraAttributes.put(key, props.get(key)); - } - } ---- a/Sources/Java/net/n3/nanoxml/XMLWriter.java.orig 2016-03-04 09:36:53.616000000 +0000 -+++ a/Sources/Java/net/n3/nanoxml/XMLWriter.java 2016-03-04 09:38:11.868000000 +0000 -@@ -182,10 +182,10 @@ - } - } - -- Enumeration enum = xml.enumerateAttributeNames(); -+ Enumeration myEnum = xml.enumerateAttributeNames(); - -- while (enum.hasMoreElements()) { -- String key = (String) enum.nextElement(); -+ while (myEnum.hasMoreElements()) { -+ String key = (String) myEnum.nextElement(); - int index = key.indexOf(':'); - - if (index >= 0) { -@@ -203,10 +203,10 @@ - } - } - -- enum = xml.enumerateAttributeNames(); -+ myEnum = xml.enumerateAttributeNames(); - -- while (enum.hasMoreElements()) { -- String key = (String) enum.nextElement(); -+ while (myEnum.hasMoreElements()) { -+ String key = (String) myEnum.nextElement(); - String value = xml.getAttribute(key, null); - this.writer.print(" " + key + "=\""); - this.writeEncoded(value); -@@ -229,10 +229,10 @@ - writer.println(); - } - -- enum = xml.enumerateChildren(); -+ myEnum = xml.enumerateChildren(); - -- while (enum.hasMoreElements()) { -- IXMLElement child = (IXMLElement) enum.nextElement(); -+ while (myEnum.hasMoreElements()) { -+ IXMLElement child = (IXMLElement) myEnum.nextElement(); - this.write(child, prettyPrint, indent + 4, - collapseEmptyElements); - } ---- a/Sources/Java/net/n3/nanoxml/StdXMLParser.java.orig 2016-03-04 09:38:44.521000000 +0000 -+++ a/Sources/Java/net/n3/nanoxml/StdXMLParser.java 2016-03-04 09:39:08.028000000 +0000 -@@ -492,10 +492,10 @@ - extraAttributes, - this.reader.getSystemID(), - this.reader.getLineNr()); -- Enumeration enum = extraAttributes.keys(); -+ Enumeration myEnum = extraAttributes.keys(); - -- while (enum.hasMoreElements()) { -- String key = (String) enum.nextElement(); -+ while (myEnum.hasMoreElements()) { -+ String key = (String) myEnum.nextElement(); - String value = extraAttributes.getProperty(key); - attrNames.addElement(key); - attrValues.addElement(value); diff --git a/dev-java/nanoxml/files/nanoxml-2.2.3-lite-enum.patch b/dev-java/nanoxml/files/nanoxml-2.2.3-lite-enum.patch deleted file mode 100644 index 602cd9f87909..000000000000 --- a/dev-java/nanoxml/files/nanoxml-2.2.3-lite-enum.patch +++ /dev/null @@ -1,53 +0,0 @@ ---- a/Sources/Lite/nanoxml/XMLElement.java.orig 2016-03-04 09:16:52.339000000 +0000 -+++ a/Sources/Lite/nanoxml/XMLElement.java 2016-03-04 09:19:03.213000000 +0000 -@@ -63,8 +63,8 @@ - * The following example shows how to list the attributes of an element: - * <UL><CODE> - * XMLElement element = ...;<BR> -- * Enumeration enum = element.getAttributeNames();<BR> -- * while (enum.hasMoreElements()) {<BR> -+ * Enumeration myEnum = element.getAttributeNames();<BR> -+ * while (myEnum.hasMoreElements()) {<BR> - * String key = (String) enum.nextElement();<BR> - * String value = element.getStringAttribute(key);<BR> - * System.out.println(key + " = " + value);<BR> -@@ -478,9 +478,9 @@ - this.children = new Vector(); - this.entities = entities; - this.lineNr = 0; -- Enumeration enum = this.entities.keys(); -- while (enum.hasMoreElements()) { -- Object key = enum.nextElement(); -+ Enumeration myEnum = this.entities.keys(); -+ while (myEnum.hasMoreElements()) { -+ Object key = myEnum.nextElement(); - Object value = this.entities.get(key); - if (value instanceof String) { - value = ((String) value).toCharArray(); -@@ -2168,10 +2168,10 @@ - writer.write('<'); - writer.write(this.name); - if (! this.attributes.isEmpty()) { -- Enumeration enum = this.attributes.keys(); -- while (enum.hasMoreElements()) { -+ Enumeration myEnum = this.attributes.keys(); -+ while (myEnum.hasMoreElements()) { - writer.write(' '); -- String key = (String) enum.nextElement(); -+ String key = (String) myEnum.nextElement(); - String value = (String) this.attributes.get(key); - writer.write(key); - writer.write('='); writer.write('"'); -@@ -2189,9 +2189,9 @@ - writer.write('/'); writer.write('>'); - } else { - writer.write('>'); -- Enumeration enum = this.enumerateChildren(); -- while (enum.hasMoreElements()) { -- XMLElement child = (XMLElement) enum.nextElement(); -+ Enumeration myEnum = this.enumerateChildren(); -+ while (myEnum.hasMoreElements()) { -+ XMLElement child = (XMLElement) myEnum.nextElement(); - child.write(writer); - } - writer.write('<'); writer.write('/'); diff --git a/dev-java/nanoxml/metadata.xml b/dev-java/nanoxml/metadata.xml deleted file mode 100644 index e25b5c52aab3..000000000000 --- a/dev-java/nanoxml/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/nanoxml/nanoxml-2.2.3-r4.ebuild b/dev-java/nanoxml/nanoxml-2.2.3-r4.ebuild deleted file mode 100644 index fb78db838106..000000000000 --- a/dev-java/nanoxml/nanoxml-2.2.3-r4.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -JAVA_PKG_IUSE="doc source" - -MY_P="NanoXML-${PV}" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="NanoXML is a small non-validating parser for Java" -HOMEPAGE="http://nanoxml.sourceforge.net/" -SRC_URI="http://pkgs.fedoraproject.org/repo/pkgs/nanoxml/${MY_P}.tar.gz/357c7136417ea996cf714278ea84f2df/${MY_P}.tar.gz -> ${P}.tar.gz" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" - -CDEPEND="dev-java/sax:0" - -DEPEND=" - ${CDEPEND} - >=virtual/jdk-1.6" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.6" - -S="${WORKDIR}/${MY_P}" - -JAVA_GENTOO_CLASSPATH="sax" - -JAVA_SRC_DIR="Sources" - -PATCHES=( - "${FILESDIR}"/"${P}-lite-enum.patch" - "${FILESDIR}"/"${P}-enum.patch" -) - -src_prepare() { - default - java-pkg_clean - rm -rf Test || die -} diff --git a/dev-java/osgi-obr/Manifest b/dev-java/osgi-obr/Manifest deleted file mode 100644 index d3c3e967645a..000000000000 --- a/dev-java/osgi-obr/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST org.osgi.service.obr-1.0.2-project.tar.gz 7939 BLAKE2B 6499f12ab5a63bd8f178d4a6be0d9ca8a75ef0a843b73962b3e71bdfaed77edef2f307ce80fba418580ae0a6c507f97103cf8acb292e79c301422cd7134b8fec SHA512 2af278c6309f8e2fd64c86c5e28a32935ee88e43489b2ca89be94bd2b996acbfcbf93a439f4e3c5f61d5d98df8d0897485982cd749f57d80574a3eb1fbb8ad21 diff --git a/dev-java/osgi-obr/files/osgi-obr-1.0.2-build.xml b/dev-java/osgi-obr/files/osgi-obr-1.0.2-build.xml deleted file mode 100644 index 4b933209494d..000000000000 --- a/dev-java/osgi-obr/files/osgi-obr-1.0.2-build.xml +++ /dev/null @@ -1,233 +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 5/13/13 7:05 PM --> -<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> -<!-- --> -<!-- ====================================================================== --> - -<project name="org.osgi.service.obr-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="org.osgi.service.obr-1.0.2"/> - <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.resourceDir.1" value="."/> - <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="false"/> - <property name="maven.settings.interactiveMode" value="true"/> - - <!-- ====================================================================== --> - <!-- Defining classpaths --> - <!-- ====================================================================== --> - - <path id="build.classpath"> - <pathelement location="${maven.repo.local}/org/apache/felix/org.osgi.core/1.0.1/org.osgi.core-1.0.1.jar"/> - </path> - <path id="build.test.classpath"> - <pathelement location="${maven.repo.local}/org/apache/felix/org.osgi.core/1.0.1/org.osgi.core-1.0.1.jar"/> - <pathelement location="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar"/> - <pathelement location="${maven.repo.local}/easymock/easymock/1.2_Java1.3/easymock-1.2_Java1.3.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.3" - verbose="false" - fork="false" - source="1.3"> - <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> - <mkdir dir="${maven.build.outputDir}/META-INF"/> - <copy todir="${maven.build.outputDir}/META-INF"> - <fileset dir="${maven.build.resourceDir.1}"> - <include name="LICENSE*"/> - <include name="NOTICE*"/> - </fileset> - </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}"/> - </target> - - <!-- ====================================================================== --> - <!-- Run all tests --> - <!-- ====================================================================== --> - - <target name="test" - depends="compile-tests, junit-missing" - unless="junit.skipped" - description="Run the test cases"/> - - <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"/> - </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}/org/apache/felix/org.osgi.core/1.0.1"/> - <get src="http://people.apache.org/repo/m2-snapshot-repository/org/apache/felix/org.osgi.core/1.0.1/org.osgi.core-1.0.1.jar" - dest="${maven.repo.local}/org/apache/felix/org.osgi.core/1.0.1/org.osgi.core-1.0.1.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/org/apache/felix/org.osgi.core/1.0.1/org.osgi.core-1.0.1.jar" - dest="${maven.repo.local}/org/apache/felix/org.osgi.core/1.0.1/org.osgi.core-1.0.1.jar" - usetimestamp="false" - ignoreerrors="true"/> - <mkdir dir="${maven.repo.local}/junit/junit/3.8.1"/> - <get src="http://people.apache.org/repo/m2-snapshot-repository/junit/junit/3.8.1/junit-3.8.1.jar" - dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar" - dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar" - usetimestamp="false" - ignoreerrors="true"/> - <mkdir dir="${maven.repo.local}/easymock/easymock/1.2_Java1.3"/> - <get src="http://people.apache.org/repo/m2-snapshot-repository/easymock/easymock/1.2_Java1.3/easymock-1.2_Java1.3.jar" - dest="${maven.repo.local}/easymock/easymock/1.2_Java1.3/easymock-1.2_Java1.3.jar" - usetimestamp="false" - ignoreerrors="true"/> - <get src="http://repo.maven.apache.org/maven2/easymock/easymock/1.2_Java1.3/easymock-1.2_Java1.3.jar" - dest="${maven.repo.local}/easymock/easymock/1.2_Java1.3/easymock-1.2_Java1.3.jar" - usetimestamp="false" - ignoreerrors="true"/> - </target> - -</project> diff --git a/dev-java/osgi-obr/metadata.xml b/dev-java/osgi-obr/metadata.xml deleted file mode 100644 index e25b5c52aab3..000000000000 --- a/dev-java/osgi-obr/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/osgi-obr/osgi-obr-1.0.2.ebuild b/dev-java/osgi-obr/osgi-obr-1.0.2.ebuild deleted file mode 100644 index 4397353a0207..000000000000 --- a/dev-java/osgi-obr/osgi-obr-1.0.2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -MY_PN="org.osgi.service.obr" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="OSGi Service OBR by Apache" -HOMEPAGE="http://felix.apache.org" -SRC_URI="mirror://apache/dist/felix/${MY_P}-project.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64" - -CDEPEND="dev-java/osgi-core-api:0" - -DEPEND=">=virtual/jdk-1.6 - ${CDEPEND} - app-arch/unzip" - -RDEPEND=">=virtual/jre-1.6 - ${CDEPEND}" - -S="${WORKDIR}/${MY_P}" - -java_prepare() { - cp "${FILESDIR}"/${P}-build.xml build.xml || die -} - -JAVA_ANT_REWRITE_CLASSPATH="true" -EANT_GENTOO_CLASSPATH="osgi-core-api" - -src_install() { - java-pkg_newjar target/${MY_P}.jar -} diff --git a/dev-java/sax/sax-2.2.1-r3.ebuild b/dev-java/sax/sax-2.2.1-r3.ebuild deleted file mode 100644 index 7e77a681194a..000000000000 --- a/dev-java/sax/sax-2.2.1-r3.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -JAVA_PKG_IUSE="doc source" - -MY_PN="sax2r3" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="SAX: Simple API for XML in Java" -HOMEPAGE="http://sax.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${MY_PN}.zip -> ${P}.zip" -LICENSE="public-domain" - -SLOT="0" -KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" - -RDEPEND=">=virtual/jre-1.6" -DEPEND=">=virtual/jdk-1.6" - -S="${WORKDIR}/sax2r3" - -java_prepare() { - java-pkg_clean -} - -src_install() { - java-pkg-simple_src_install - dodoc ChangeLog CHANGES README -} diff --git a/dev-java/sax/sax-2.2.1-r5.ebuild b/dev-java/sax/sax-2.2.1-r5.ebuild index 8273c0771e06..d367d673cb21 100644 --- a/dev-java/sax/sax-2.2.1-r5.ebuild +++ b/dev-java/sax/sax-2.2.1-r5.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}.zip -> ${P}.zip" LICENSE="public-domain" SLOT="0" -KEYWORDS="amd64 ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" DEPEND=" >=virtual/jdk-1.8:*" diff --git a/dev-java/tomcat-jstl-spec/Manifest b/dev-java/tomcat-jstl-spec/Manifest deleted file mode 100644 index 801b1f5ed155..000000000000 --- a/dev-java/tomcat-jstl-spec/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST tomcat-jstl-spec-1.2.5.zip 615779 BLAKE2B f5c307625a84a7170659683913282df1cf7e8b6a021ffed9895aa0e770a35d8db5351660c96668091ed59e5be35d2e8ad9359f524cbfe5a380e89ebe4fe08b43 SHA512 ad4122cd75c66df901034e333c2b38ac3d2d8f5b0299abd36d0fd1c8f5975eacc71d66a475fc05638dd562ab0670ea532fe6a3ccb5497dfbeb9d859b03b659d0 diff --git a/dev-java/tomcat-jstl-spec/files/tomcat-jstl-spec-1.2.5-build.xml b/dev-java/tomcat-jstl-spec/files/tomcat-jstl-spec-1.2.5-build.xml deleted file mode 100644 index 27ba9e5bcb07..000000000000 --- a/dev-java/tomcat-jstl-spec/files/tomcat-jstl-spec-1.2.5-build.xml +++ /dev/null @@ -1,225 +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 5/25/15 5:16 PM --> -<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> -<!-- --> -<!-- ====================================================================== --> - -<project name="taglibs-standard-spec-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="taglibs-standard-spec-1.2.5"/> - <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="false"/> - <property name="maven.settings.interactiveMode" value="true"/> - - <!-- ====================================================================== --> - <!-- Defining classpaths --> - <!-- ====================================================================== --> - - <path id="build.classpath"> - </path> - <path id="build.test.classpath"> - </path> - - <!-- ====================================================================== --> - <!-- Cleaning up target --> - <!-- ====================================================================== --> - - <target name="clean" description="Clean the output directory"> - <delete dir="${maven.build.dir}"/> - </target> - - <!-- ====================================================================== --> - <!-- Compilation target --> - <!-- ====================================================================== --> - - <target name="compile" description="Compile the code"> - <mkdir dir="${maven.build.outputDir}"/> - <javac destdir="${maven.build.outputDir}" - encoding="UTF-8" - nowarn="false" - debug="true" - optimize="false" - deprecation="true" - target="1.5" - verbose="false" - fork="false" - source="1.5"> - <src> - <pathelement location="${maven.build.srcDir.0}"/> - </src> - <classpath refid="build.classpath"/> - </javac> - </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}" - encoding="UTF-8" - nowarn="false" - debug="true" - optimize="false" - deprecation="true" - target="1.5" - verbose="false" - fork="false" - source="1.5"> - <src> - <pathelement location="${maven.build.testDir.0}"/> - </src> - <classpath> - <path refid="build.test.classpath"/> - <pathelement location="${maven.build.outputDir}"/> - </classpath> - </javac> - </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" classpathref="build.test.classpath"/> - </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 the test classpath or 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"> - <link href="http://download.oracle.com/javase/1.5.0/docs/api"/> - </javadoc> - </target> - - <!-- ====================================================================== --> - <!-- Package target --> - <!-- ====================================================================== --> - - <target name="package" depends="compile" 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> - <attribute name="Main-Class" value="Main"/> - </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"/> - -</project> diff --git a/dev-java/tomcat-jstl-spec/metadata.xml b/dev-java/tomcat-jstl-spec/metadata.xml deleted file mode 100644 index e25b5c52aab3..000000000000 --- a/dev-java/tomcat-jstl-spec/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/tomcat-jstl-spec/tomcat-jstl-spec-1.2.5-r1.ebuild b/dev-java/tomcat-jstl-spec/tomcat-jstl-spec-1.2.5-r1.ebuild deleted file mode 100644 index f765fd0acbcd..000000000000 --- a/dev-java/tomcat-jstl-spec/tomcat-jstl-spec-1.2.5-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -MY_PN="taglibs-standard" -MY_P="${MY_PN}-${PV}" -MY_SPEC="${MY_PN}-spec" - -DESCRIPTION="JSP Standard Tag Library (JSTL) - Specification jar" -HOMEPAGE="https://tomcat.apache.org/taglibs/standard/" -SRC_URI="http://apache.mirrors.ovh.net/ftp.apache.org/dist/tomcat/taglibs/${MY_P}/${MY_P}-source-release.zip -> ${P}.zip" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="test" -RESTRICT="!test? ( test )" - -CDEPEND="java-virtuals/servlet-api:3.0" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.6" - -DEPEND=" - ${CDEPEND} - test? ( - dev-java/ant-junit:0 - dev-java/easymock:3.2 - ) - >=virtual/jdk-1.6" - -S="${WORKDIR}/${MY_P}" - -JAVA_ANT_REWRITE_CLASSPATH="yes" -EANT_GENTOO_CLASSPATH="servlet-api-3.0" -EANT_BUILD_TARGET="package" -EANT_BUILD_XML="spec/build.xml" - -java_prepare() { - cp "${FILESDIR}"/${P}-build.xml "${S}"/spec/build.xml || die -} - -EANT_TEST_TARGET="test" -EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},easymock-3.2" - -src_test() { - java-pkg-2_src_test -} - -src_install() { - java-pkg_newjar "${S}"/spec/target/${MY_SPEC}-${PV}.jar ${MY_SPEC}.jar - - if use doc; then - java-pkg_dohtml -r "${S}"/spec/target/site/apidocs/ - fi - - if use source; then - java-pkg_dosrc "${S}"/spec/src/* - fi -} diff --git a/dev-java/treelayout/Manifest b/dev-java/treelayout/Manifest index 4410cb6512f8..9176fd3dcfb2 100644 --- a/dev-java/treelayout/Manifest +++ b/dev-java/treelayout/Manifest @@ -1,2 +1 @@ -DIST treelayout-1.0.2.tar.gz 1007086 BLAKE2B c5ef3f0bc2a7c99a983f648efcca65a4a4fd9d72710b7a1a8263629435da6a79a328778983475565dfc23738978bf658067e3e63e7c36db84a54189821c0da07 SHA512 89a627d8ab2f248bb9b22139de0a28f310deb555f78825f29f4acfd0df7b4c212c8df241b004f8452a4be8a0f7717ee996df3eef4dd88ca905f4ad211df92655 DIST treelayout-1.0.3.tar.gz 965389 BLAKE2B 5fb893ca0176e245778cf115a3c537d7a0ae4bcaf8119be41aa214dcf3887f5c286445d3d289134193a1b28269a2ba4952c6b9e81e3e462163bead188768f919 SHA512 5fb6a70206978c6bf8ea3c70603f38049cad21038bcedfd5a7f4dde1e4f8b080bfa78ca6dc2e43a7d0771ded39d5793f0c5340cf60ce63348d28a9be6abc3be4 diff --git a/dev-java/treelayout/treelayout-1.0.2.ebuild b/dev-java/treelayout/treelayout-1.0.2.ebuild deleted file mode 100644 index a055bd951140..000000000000 --- a/dev-java/treelayout/treelayout-1.0.2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Efficiently create compact tree layouts in Java" -SRC_URI="https://github.com/abego/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -HOMEPAGE="https://github.com/abego/treelayout" -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ppc64 x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=">=virtual/jre-1.6" - -DEPEND=">=virtual/jdk-1.6 - test? ( dev-java/ant-junit:0 )" - -S="${WORKDIR}/${P}/org.abego.${PN}" -JAVA_ANT_REWRITE_CLASSPATH="true" -JAVA_PKG_BSFIX_NAME="build-impl.xml" -EANT_BUILD_XML="nbproject/build-impl.xml" - -src_configure() { - EANT_EXTRA_ARGS="-Dplatform.home=${JAVA_HOME}" -} - -src_install() { - java-pkg_newjar dist/org.abego.${PN}.core.jar - dodoc CHANGES.txt doc/abegoTreeLayout.pdf - use doc && java-pkg_dojavadoc dist/javadoc - use source && java-pkg_dosrc src/main/java/* -} - -src_test() { - java-pkg-2_src_test -} diff --git a/dev-java/treelayout/treelayout-1.0.3-r1.ebuild b/dev-java/treelayout/treelayout-1.0.3-r1.ebuild index 06fd69d24b18..9a359f393dd7 100644 --- a/dev-java/treelayout/treelayout-1.0.3-r1.ebuild +++ b/dev-java/treelayout/treelayout-1.0.3-r1.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/abego/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" # LICENSE="!!!equivalentPortageLicenseName-not-found!!!" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm ~arm64 ppc64 x86" DEPEND=" >=virtual/jdk-1.8:* |
