diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-01-29 00:51:18 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-01-29 00:51:18 +0000 |
| commit | c2ee96b0307df455d970dd1926c8652909ba767c (patch) | |
| tree | 5d8d13e2bbc6fe9003b2ec96a94d0e2f501b2987 /dev-java | |
| parent | c727ef413bd99c61e1775c18e542a4018b6743a7 (diff) | |
| download | baldeagleos-repo-c2ee96b0307df455d970dd1926c8652909ba767c.tar.gz baldeagleos-repo-c2ee96b0307df455d970dd1926c8652909ba767c.tar.xz baldeagleos-repo-c2ee96b0307df455d970dd1926c8652909ba767c.zip | |
Adding metadata
Diffstat (limited to 'dev-java')
| -rw-r--r-- | dev-java/error-prone-annotations/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/error-prone-annotations/error-prone-annotations-2.7.1.ebuild | 27 | ||||
| -rw-r--r-- | dev-java/guava-testlib/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/guava-testlib/guava-testlib-30.1.1.ebuild | 67 | ||||
| -rw-r--r-- | dev-java/guava/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/guava/guava-30.1.1.ebuild | 58 | ||||
| -rw-r--r-- | dev-java/java-dep-check/java-dep-check-0.5-r1.ebuild | 28 | ||||
| -rw-r--r-- | dev-java/jctools-core/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/jctools-core/jctools-core-3.3.0.ebuild | 69 | ||||
| -rw-r--r-- | dev-java/woodstox-core/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/woodstox-core/woodstox-core-6.3.1.ebuild | 89 | ||||
| -rw-r--r-- | dev-java/xmlgraphics-commons/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/xmlgraphics-commons/xmlgraphics-commons-2.7-r1.ebuild | 72 | ||||
| -rw-r--r-- | dev-java/zstd-jni/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild | 67 |
15 files changed, 28 insertions, 456 deletions
diff --git a/dev-java/error-prone-annotations/Manifest b/dev-java/error-prone-annotations/Manifest index fe18c7c5ac82..9cb3038bb4fa 100644 --- a/dev-java/error-prone-annotations/Manifest +++ b/dev-java/error-prone-annotations/Manifest @@ -1,2 +1 @@ DIST error-prone-2.16.tar.gz 2685946 BLAKE2B e10d38e5d0f6be102d64c4d24543f525c192300665a141d136d4bcb1db0e8553c16828411b60e2bca0d27a89fe7e094ac2fc2a367028091a4ad28b303c023a43 SHA512 c61d14e237ae45f3d1196e03ecdb5e77aa8aaa2f5983eee3667cc73951a12b1f0c85bd8a15c477c18fd517d486024d3b1f115928affb3697afc064d561b5f405 -DIST error-prone-2.7.1.tar.gz 1576363 BLAKE2B a204a6a0dfcc88e06ff4f9288764c33c72e1d0c692ba20ce34a1440025abbb96d510129e335a475ffecc037806c72a0e1a85f0ad55a5ee4402d7b731eabd057b SHA512 2e8ff78b2fc65a0a53244711a3b5dd3d42cd09c0c9cca8dde5c814ee3e9dbc6e2c44f8bdb778111c93cd867f9b85b8afae4fd0551eda9326c0a9b1aa1dcaaf92 diff --git a/dev-java/error-prone-annotations/error-prone-annotations-2.7.1.ebuild b/dev-java/error-prone-annotations/error-prone-annotations-2.7.1.ebuild deleted file mode 100644 index 2e15db67603f..000000000000 --- a/dev-java/error-prone-annotations/error-prone-annotations-2.7.1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://codeload.github.com/google/error-prone/tar.gz/v2.7.1 --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild error-prone-annotations-2.7.1-r1.ebuild - -EAPI=7 - -MY_PN="${PN%-annotations}" -MY_P="${MY_PN}-${PV}" -JAVA_PKG_IUSE="doc source" -MAVEN_ID="com.google.errorprone:error_prone_annotations:${PV}" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Java annotations for the Error Prone static analysis tool" -HOMEPAGE="http://errorprone.info" -SRC_URI="https://codeload.github.com/google/${MY_PN}/tar.gz/v${PV} -> ${MY_P}.tar.gz" -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -DEPEND=">=virtual/jdk-1.8:*" -RDEPEND=">=virtual/jre-1.8:*" - -S="${WORKDIR}/${MY_P}/annotations" -JAVA_SRC_DIR="src/main/java" diff --git a/dev-java/guava-testlib/Manifest b/dev-java/guava-testlib/Manifest index 532be5cbf826..e307a1f87e40 100644 --- a/dev-java/guava-testlib/Manifest +++ b/dev-java/guava-testlib/Manifest @@ -1,2 +1 @@ -DIST guava-30.1.1.tar.gz 5404546 BLAKE2B 818ef4b17c4f0c8e92c327f046434a3bb428ac35d6e95edd6d6be558c755d138a8ac7f8ad2032073cad131890d8f838e896fff84ba217f8305be8bd65c619a48 SHA512 23b30d886a3200b8f998897ca7bc424b2d223a4fecb03ab644e08a989a85f008e30ef093055e6305c4148a1eb8919c407e35d19f492c5b189830bd115e9484f2 DIST guava-31.1.tar.gz 5583483 BLAKE2B b430257b6a21e8cc85b11241be3abc463d13d29d85c6e7a3e4240977213428ec92af63afb66d0637f6b6dbbab1e3493cfc684a6be21ba4633cec7c6df5d0a8e7 SHA512 660b486d82d526ce722130f2968ea8ab9eb53f5915f80e53ef135a7bfcb6ced9b2f2a50ebdb8b316cc48a4f2553fa067a1d6fc0bc4498774a9f1990a535651b8 diff --git a/dev-java/guava-testlib/guava-testlib-30.1.1.ebuild b/dev-java/guava-testlib/guava-testlib-30.1.1.ebuild deleted file mode 100644 index 24c89a665ecc..000000000000 --- a/dev-java/guava-testlib/guava-testlib-30.1.1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom guava-testlib --download-uri https://codeload.github.com/google/guava/tar.gz/refs/tags/v30.1.1 --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild guava-testlib-30.1.1.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="com.google.guava:guava-testlib:30.1.1-jre" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="A set of java classes to assist the tests for Guava itself" -HOMEPAGE="https://github.com/google/guava" -SRC_URI="https://github.com/google/guava/archive/v${PV}.tar.gz -> guava-${PV}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -# error: package com.google.common.truth does not exist -RESTRICT="test" - -# Common dependencies -# POM: ${PN} -# com.google.code.findbugs:jsr305:3.0.2 -> !!!groupId-not-found!!! -# com.google.errorprone:error_prone_annotations:2.5.1 -> >=dev-java/error-prone-annotations-2.7.1:0 -# com.google.guava:guava:30.1.1-jre -> >=dev-java/guava-30.1.1:0 -# com.google.j2objc:j2objc-annotations:1.3 -> !!!groupId-not-found!!! -# junit:junit:4.13.2 -> >=dev-java/junit-4.13.2:4 -# org.checkerframework:checker-qual:3.8.0 -> >=dev-java/checker-framework-qual-3.14.0:0 - -CP_DEPEND=" - dev-java/checker-framework-qual:0 - dev-java/error-prone-annotations:0 - ~dev-java/guava-30.1.1:0 - dev-java/jsr305:0 - dev-java/junit:4 - dev-java/j2objc-annotations:0 -" - -# Compile dependencies -# POM: ${PN} -# test? com.google.truth:truth:1.1 -> !!!groupId-not-found!!! - -DEPEND=" - >=virtual/jdk-1.8:* - ${CP_DEPEND}" -# test? ( -# !!!groupId-not-found!!! -# ) -#" - -RDEPEND=" - >=virtual/jre-1.8:* - ${CP_DEPEND}" - -S="${WORKDIR}/guava-${PV}" - -JAVA_SRC_DIR=( "${PN}/src" ) -# JAVA_RESOURCE_DIRS="${PN}/src" - -# JAVA_TEST_GENTOO_CLASSPATH="!!!groupId-not-found!!!" -JAVA_TEST_SRC_DIR=( "${PN}/test" ) -JAVA_TEST_RESOURCE_DIRS=( "${PN}/test" ) diff --git a/dev-java/guava/Manifest b/dev-java/guava/Manifest index 532be5cbf826..e307a1f87e40 100644 --- a/dev-java/guava/Manifest +++ b/dev-java/guava/Manifest @@ -1,2 +1 @@ -DIST guava-30.1.1.tar.gz 5404546 BLAKE2B 818ef4b17c4f0c8e92c327f046434a3bb428ac35d6e95edd6d6be558c755d138a8ac7f8ad2032073cad131890d8f838e896fff84ba217f8305be8bd65c619a48 SHA512 23b30d886a3200b8f998897ca7bc424b2d223a4fecb03ab644e08a989a85f008e30ef093055e6305c4148a1eb8919c407e35d19f492c5b189830bd115e9484f2 DIST guava-31.1.tar.gz 5583483 BLAKE2B b430257b6a21e8cc85b11241be3abc463d13d29d85c6e7a3e4240977213428ec92af63afb66d0637f6b6dbbab1e3493cfc684a6be21ba4633cec7c6df5d0a8e7 SHA512 660b486d82d526ce722130f2968ea8ab9eb53f5915f80e53ef135a7bfcb6ced9b2f2a50ebdb8b316cc48a4f2553fa067a1d6fc0bc4498774a9f1990a535651b8 diff --git a/dev-java/guava/guava-30.1.1.ebuild b/dev-java/guava/guava-30.1.1.ebuild deleted file mode 100644 index 8b858ee7d259..000000000000 --- a/dev-java/guava/guava-30.1.1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://codeload.github.com/google/guava/tar.gz/refs/tags/v30.1.1 --slot 0 --keywords "" --ebuild guava-30.1.1.ebuild - -EAPI=7 - -JAVA_PKG_IUSE="doc source" -#JAVA_TESTING_FRAMEWORKS="junit-5" -MAVEN_ID="com.google.guava:guava:${PV}-jre" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="A collection of Google's core Java libraries" -HOMEPAGE="https://github.com/google/guava" -SRC_URI="https://codeload.github.com/google/guava/tar.gz/v${PV} -> ${P}.tar.gz" -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -# Common dependencies -# POM: pom.xml -# com.google.code.findbugs:jsr305:3.0.2 -> !!!groupId-not-found!!! -# com.google.errorprone:error_prone_annotations:2.5.1 -> >=dev-java/error-prone-annotations-2.7.1:0 -# com.google.guava:failureaccess:1.0.1 -> >=dev-java/failureaccess-30.1.1:0 -# com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava -> !!!artifactId-not-found!!! -# com.google.j2objc:j2objc-annotations:1.3 -> !!!groupId-not-found!!! -# org.checkerframework:checker-qual:3.8.0 -> >=dev-java/checker-framework-qual-3.14.0:0 - -CDEPEND=" - >=dev-java/error-prone-annotations-2.7.1:0 - >=dev-java/failureaccess-30.1.1:0 - dev-java/jsr305:0 -" - -DEPEND=" - >=dev-java/checker-framework-qual-3.14.0:0 - dev-java/j2objc-annotations:0 - >=virtual/jdk-1.8:* - ${CDEPEND} -" - -RDEPEND=">=virtual/jre-1.8:* - ${CDEPEND} -" - -S="${WORKDIR}/${P}" - -JAVA_GENTOO_CLASSPATH="error-prone-annotations,failureaccess,jsr305" - -src_configure() { - JAVA_GENTOO_CLASSPATH_EXTRA="$(java-pkg_getjars --build-only checker-framework-qual,j2objc-annotations)" -} - -JAVA_SRC_DIR="${PN}/src" - -JAVA_TEST_SRC_DIR="${PN}-tests/" diff --git a/dev-java/java-dep-check/java-dep-check-0.5-r1.ebuild b/dev-java/java-dep-check/java-dep-check-0.5-r1.ebuild new file mode 100644 index 000000000000..0678a35a78ae --- /dev/null +++ b/dev-java/java-dep-check/java-dep-check-0.5-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 2016-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java Dependency checker" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +CP_DEPEND=" + dev-java/commons-cli:1 + dev-java/asm:9" +RDEPEND=">=virtual/jre-1.8:* + ${CP_DEPEND}" +DEPEND=">=virtual/jdk-1.8:* + ${CP_DEPEND}" + +JAVA_LAUNCHER_FILENAME="${PN}" +JAVA_MAIN_CLASS="javadepchecker.Main" + +src_unpack() { + cp "${FILESDIR}/Main-${PV}.java" Main.java || die +} diff --git a/dev-java/jctools-core/Manifest b/dev-java/jctools-core/Manifest index 87afb73243e2..726154aa6a4f 100644 --- a/dev-java/jctools-core/Manifest +++ b/dev-java/jctools-core/Manifest @@ -1,2 +1 @@ -DIST jctools-3.3.0.tar.gz 4214717 BLAKE2B c9c5f5897ebf8bb7ac439b969f372c45b7652517cbc5369c07fe80d11f779eebe7fe5ffb5d93a18fe3df5d9ca9adf3cee7268c8c6ed962fccb4d84f5b0451c4b SHA512 ce212abacca6137a133f7a4e94370442d00bf73794fa7b9ce440631701a9a2fca31c4dda05e2a768fcf28f75e84f2a7f318a936e429c7f4ed20daa7b79d11a4a DIST jctools-4.0.1.tar.gz 4234647 BLAKE2B 652cfc70d92a37e04056e306050b156632ba92b2cacd9b759556ea92e1b9b6dda3d766e33936cdd92ec690abb6fb51a562305f82746f500f89d9d797e27f9c54 SHA512 9c8f55be4640f7b1315e7f93c20cf6b4b8d84c542103d69a2e34c0abe00c25fb362b6d8c4042feb4462559e5f6babd90ab0a59a66c3d407e13004ff02ce95c8f diff --git a/dev-java/jctools-core/jctools-core-3.3.0.ebuild b/dev-java/jctools-core/jctools-core-3.3.0.ebuild deleted file mode 100644 index a58d2f320e2d..000000000000 --- a/dev-java/jctools-core/jctools-core-3.3.0.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/JCTools/JCTools/archive/v3.3.0.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jctools-core-3.3.0.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="org.jctools:jctools-core:3.3.0" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Java Concurrency Tools Core Library" -HOMEPAGE="https://jctools.github.io/JCTools/" -SRC_URI="https://github.com/JCTools/JCTools/archive/v${PV}.tar.gz -> jctools-${PV}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="3" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -DEPEND=">=virtual/jdk-1.8:* - test? ( - dev-java/guava-testlib:0 - dev-java/hamcrest-library:1.3 - )" - -RDEPEND=">=virtual/jre-1.8:*" - -DOCS=( ../{README,RELEASE-NOTES}.md ) - -S="${WORKDIR}/JCTools-${PV}/jctools-core" - -JAVA_SRC_DIR="src/main/java" - -JAVA_TEST_GENTOO_CLASSPATH="guava-testlib,hamcrest-library-1.3,junit-4" -JAVA_TEST_SRC_DIR="src/test/java" - -# Using the defaults of java-pkg-simple would skip more than half the number of tests. -src_test() { - # org.jetbrains.kotlinx.lincheck is not yet packaged - rm -r src/test/java/org/jctools/maps/linearizability_test || die - # These tests would fail and are not run by "mvn test". - # "org.jctools.queues.MpqSanityTest" - # "org.jctools.queues.QueueSanityTest" - # "org.jctools.queues.ScQueueRemoveTest" - # "org.jctools.util.TestUtil" - # Test timeout on arm64, https://bugs.gentoo.org/863977 - # "org.jctools.queues.atomic.AtomicMpqSanityTestMpscLinked" - # "org.jctools.queues.MpqSanityTestMpscLinked" - pushd src/test/java || die - local JAVA_TEST_RUN_ONLY=$(find * \ - \( -name "*Test*.java" \ - -o -name "nbsi_tester.java" \ - -o -name "nbhs_tester.java" \)\ - ! -name "MpqSanityTest.java" \ - ! -name "QueueSanityTest.java" \ - ! -name "ScQueueRemoveTest.java" \ - ! -name "TestUtil.java" \ - ! -name "AtomicMpqSanityTestMpscLinked.java" \ - ! -name "MpqSanityTestMpscLinked.java" \ - ) - popd - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}" - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}" - java-pkg-simple_src_test - # OK (7226 tests) -} diff --git a/dev-java/woodstox-core/Manifest b/dev-java/woodstox-core/Manifest index b58cc4a47a7e..be5e4bc9c5ff 100644 --- a/dev-java/woodstox-core/Manifest +++ b/dev-java/woodstox-core/Manifest @@ -1,2 +1 @@ -DIST woodstox-core-6.3.1.tar.gz 6029586 BLAKE2B 04fcd7fd958cd3efa8a1e864786b88a1f8c3f0d6d6faecb5eb91a7cf755da4cef2664c0583702bf21dde741632638242131f0d46acb8f1b91bd00bf4c9a7af5b SHA512 fee1d8dc33aa2e3617b451fab285dbc91154738765eb9d93e8c1809a70f09ccb2f1cf2b70f57f836323d0a80bd5caeae0f5a4c5e2cee609c2a9d30106bf42acb DIST woodstox-core-6.4.0.tar.gz 6030457 BLAKE2B 0506a4af84eff8ac11bc6363581f8de737116bd254d0c3b2f68a9ce062325934188c5a05eeff918ae012330d885ba7940f9dc1afb01ee951ff58cdcd1c86b2c7 SHA512 ca8033084c0355c5a321ab51ab6cfee62737b49ab98106fab0abb3ac8950ddd773dc91d864e4e62bdddaca1b7ba98f3639d1a61d8c436892b35193a8c838659f diff --git a/dev-java/woodstox-core/woodstox-core-6.3.1.ebuild b/dev-java/woodstox-core/woodstox-core-6.3.1.ebuild deleted file mode 100644 index 3a6b3c2a149a..000000000000 --- a/dev-java/woodstox-core/woodstox-core-6.3.1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/FasterXML/woodstox/archive/woodstox-core-6.3.1.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild woodstox-core-6.3.1.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="com.fasterxml.woodstox:woodstox-core:6.3.1" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="An XML processor that implements Stax (JSR-173), SAX2 and Stax2 APIs" -HOMEPAGE="https://github.com/FasterXML/woodstox" -SRC_URI="https://github.com/FasterXML/woodstox/archive/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -# Common dependencies -# POM: pom.xml -# net.java.dev.msv:msv-core:2013.6.1 -> >=dev-java/msv-2022.7:0 -# net.java.dev.msv:xsdlib:2013.6.1 -> >=dev-java/xsdlib-2022.7:0 -# org.codehaus.woodstox:stax2-api:4.2.1 -> >=dev-java/stax2-api-4.2.1:0 -# relaxngDatatype:relaxngDatatype:20020414 -> >=dev-java/relaxng-datatype-20020414:0 - -CP_DEPEND=" - dev-java/msv:0 - dev-java/relaxng-datatype:0 - dev-java/stax2-api:0 - dev-java/xsdlib:0 -" - -# Compile dependencies -# POM: pom.xml -# biz.aQute.bnd:biz.aQute.bnd.annotation:6.3.1 -> >=dev-java/aqute-bnd-annotation-6.3.1:0 -# org.osgi:osgi.core:5.0.0 -> >=dev-java/osgi-core-8.0.0:0 -# POM: pom.xml -# test? junit:junit:4.13.2 -> >=dev-java/junit-4.13.2:4 - -DEPEND="${CP_DEPEND} - >=virtual/jdk-11:* - dev-java/aqute-bnd-annotation:0 - dev-java/osgi-core:0" - -RDEPEND="${CP_DEPEND} - >=virtual/jre-1.8:*" - -DOCS=( {README,SECURITY}.md release-notes/{CREDITS,VERSION} ) - -S="${WORKDIR}/woodstox-${P}" - -JAVA_CLASSPATH_EXTRA="aqute-bnd-annotation,osgi-core" -JAVA_SRC_DIR=( "src/main/java" "src/moditect" ) -JAVA_RESOURCE_DIRS="src/main/resources" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_SRC_DIR="src/test/java" -JAVA_TEST_RESOURCE_DIRS="src/test/resources" - -# https://github.com/FasterXML/woodstox/blob/woodstox-core-6.3.0/pom.xml#L229-L243 -src_test() { - pushd src/test/java > /dev/null || die - local JAVA_TEST_RUN_ONLY=$(find * \ - \( -wholename "**/Test*.java" \ - -o -wholename "**/*Test.java" \) \ - ! -wholename "failing/*.java" \ - ! -wholename "**/Abstract*.jav" \ - ! -wholename "**/Base*.java" \ - ) - popd > /dev/null - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}" - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}" - java-pkg-simple_src_test -} - -src_prepare() { - default - - # src/moditect/module-info.java:33: error: cannot find symbol - # provides org.codehaus.stax2.validation.XMLValidationSchemaFactory.dtd with com.ctc.wstx.dtd.DTDSchemaFactory; - # https://bugs.gentoo.org/858302 - sed -e '/com.ctc.wstx.shaded.msv/d' \ - -e '/org.codehaus.stax2.validation/d' \ - -i "src/moditect/module-info.java" || die -} diff --git a/dev-java/xmlgraphics-commons/Manifest b/dev-java/xmlgraphics-commons/Manifest index f21616af05c7..321305027c64 100644 --- a/dev-java/xmlgraphics-commons/Manifest +++ b/dev-java/xmlgraphics-commons/Manifest @@ -1,3 +1,2 @@ -DIST xmlgraphics-commons-2.7-src.tar.gz 2021218 BLAKE2B a16dda389662a38d5ebf6cbd015ac5bf8154b5e2df9e36fd3a33987b04a4de08cc1ebc71e940c05793ef045249c68e7dbb54c418a7c6888020a800e039b0a188 SHA512 7d3993fc920767512f94edef3342757f0ffc9c9dbad80695fe3d77b0ec162380d9b467682ae41238e7ee719601709edb41b2dab06c385dfd9fa898577d8d2c22 DIST xmlgraphics-commons-2.8-src.tar.gz 2243271 BLAKE2B 86456adf4b9610e580b3b4f87c362dc1259c2f2bb4d4abb0dc3d765ee2cc5fb3df54597f5a5fa620a813dee83cd7549771d2b4116d20077103e389f1942903a0 SHA512 3e6c397a7444c4ce1d1aeda96a7c9abfd3d8d57a0997d7d6ae2be36303dd17550b7b92fd86eac832566bbeefccdd06619e31c0d907cd6b953a8eb934d7fa618b DIST xmlgraphics-commons-2.8-src.tar.gz.asc 833 BLAKE2B d68b6fe36b44764c44b67baca02a50f01644aaf2e8ed6571caeffd7724b6284860bd81d5a2ddcbefde6411bd5c9ed072f853cd178f862541f9f49aea3e023e21 SHA512 6e17a628ddd253c44d62a7f08d615f5a484bb6433482e6e217e794620396150b327f2e89836f62aafde3050ac0677432e0b12b645c57ae74cc11e093d86ac43c diff --git a/dev-java/xmlgraphics-commons/xmlgraphics-commons-2.7-r1.ebuild b/dev-java/xmlgraphics-commons/xmlgraphics-commons-2.7-r1.ebuild deleted file mode 100644 index 967964f74e06..000000000000 --- a/dev-java/xmlgraphics-commons/xmlgraphics-commons-2.7-r1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri mirror://apache/xmlgraphics/commons/source/2.7-src.tar.gz --slot 2 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild xmlgraphics-commons-2.7.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="org.apache.xmlgraphics:xmlgraphics-commons:2.7" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="XML Graphics Commons" -HOMEPAGE="https://xmlgraphics.apache.org/commons/" -SRC_URI="mirror://apache/xmlgraphics/commons/source/${P}-src.tar.gz" - -LICENSE="Apache-2.0" -SLOT="2" -KEYWORDS="amd64 arm64 ppc64 x86" - -# Common dependencies -# POM: pom.xml -# commons-io:commons-io:1.3.2 -> >=dev-java/commons-io-2.11.0:1 -# commons-logging:commons-logging:1.2 -> >=dev-java/commons-logging-1.2:0 - -CP_DEPEND=" - dev-java/commons-io:1 - dev-java/commons-logging:0 -" - -# Compile dependencies -# POM: pom.xml -# test? junit:junit:4.11 -> >=dev-java/junit-4.13.2:4 -# test? org.mockito:mockito-core:2.28.2 -> !!!suitable-mavenVersion-not-found!!! -# test? xml-resolver:xml-resolver:1.2 -> >=dev-java/xml-commons-resolver-1.2:0 - -DEPEND="${CP_DEPEND} - >=virtual/jdk-1.8:* - test? ( - dev-java/mockito:4 - dev-java/xml-commons-resolver:0 - )" - -RDEPEND="${CP_DEPEND} - >=virtual/jre-1.8:*" - -DOCS=( NOTICE README ) - -S="${WORKDIR}/${P}" - -JAVA_SRC_DIR="src/main/java" -JAVA_RESOURCE_DIRS="src/main/resources" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito-4,xml-commons-resolver" -JAVA_TEST_SRC_DIR="src/test/java" -JAVA_TEST_RESOURCE_DIRS="src/test/resources" - -# There are test failures, bug #832058 -JAVA_TEST_EXCLUDES=( - "org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoderTestCase" - "org.apache.xmlgraphics.image.loader.impl.ImageLoaderImageIOTestCase" - "org.apache.xmlgraphics.io.XmlSourceUtilTestCase" - "org.apache.xmlgraphics.ps.dsc.ListenerTestCase" - "org.apache.xmlgraphics.xmp.XMPParserTestCase" -) - -src_install() { - java-pkg-simple_src_install - einstalldocs # https://bugs.gentoo.org/789582 -} diff --git a/dev-java/zstd-jni/Manifest b/dev-java/zstd-jni/Manifest index 22e87ae6df6c..058ed6af6eed 100644 --- a/dev-java/zstd-jni/Manifest +++ b/dev-java/zstd-jni/Manifest @@ -1,2 +1 @@ -DIST zstd-jni-1.5.2.4.tar.gz 9343792 BLAKE2B 8a446b229d49671b3f38d630ecf2c2688210176af95b66c788027de89986ad1f23615582d670f1d7a0b3866572b05c722ad6c71783d208401844287e8149f65c SHA512 bf67fc6573f2b1e45bd4985186814a54fb948a1b7280b5cf2f6d2577626c1f70626a58994291ffb228f097c91d60e3ed52d56ad92830c8f386b96b11fb6cf4a2 DIST zstd-jni-1.5.2.5.tar.gz 9342510 BLAKE2B 259f3087f06c567f2126dacfb90ecfcc1d20f389ff99ef48a6f8c558441b37b56f29b73ca55aad176116439c4ef47f9ad253116a968f74e527eb13a0fda98f7e SHA512 16f2aeee6005e2da366a849f0972b3ef9245d355ed875e633bf4013d340cc74445604710e7b628aefafa90f74dfaa82a93c741f06f633b8a6c2162e9da304850 diff --git a/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild deleted file mode 100644 index abfe3a755489..000000000000 --- a/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source" -MAVEN_ID="com.github.luben:zstd-jni:1.5.2-4" - -inherit java-pkg-2 java-pkg-simple cmake - -DESCRIPTION="JNI bindings for Zstd native library" -HOMEPAGE="https://github.com/luben/zstd-jni" -# Snapshop needed because this version is not tagged. -MY_COMMIT="37faee49643b2739457716e3752f44fcaa09005f" -SRC_URI="https://github.com/luben/zstd-jni/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -RDEPEND=">=virtual/jre-1.8:*" -DEPEND=">=virtual/jdk-1.8:*" - -S="${WORKDIR}/zstd-jni-${MY_COMMIT}" - -JAVA_AUTOMATIC_MODULE_NAME="com.github.luben.zstd_jni" -JAVA_RESOURCE_DIRS="resources" -JAVA_SRC_DIR="src/main/java" - -src_prepare() { - cmake_src_prepare - # https://github.com/luben/zstd-jni/blob/v1.5.2-3/build.gradle#L66 - cat > src/main/java/com/github/luben/zstd/util/ZstdVersion.java <<-EOF || die - package com.github.luben.zstd.util; - - public class ZstdVersion - { - public static final String VERSION = "$(ver_rs 3 -)"; - } - EOF - - mkdir -p resources/META-INF || die - cat > resources/META-INF/MANIFEST.MF <<-EOF || die - Implementation-Version: $(ver_rs 3 -) - Bundle-NativeCode: libzstd-jni.so;osname=Linux" - EOF -} - -src_configure() { - local mycmakeargs=( - -DJAVA_HOME="$(java-config -g JAVA_HOME)" - # Resolve bug #776910 - # Reference: https://stackoverflow.com/a/51764145 - -DJAVA_AWT_LIBRARY="NotNeeded" - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - java-pkg-simple_src_compile -} - -src_install() { - java-pkg_doso "${BUILD_DIR}/libzstd-jni-$(ver_rs 3 -).so" - java-pkg-simple_src_install -} |
