diff options
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/Manifest.gz | bin | 57498 -> 57486 bytes | |||
-rw-r--r-- | dev-java/jffi/Manifest | 2 | ||||
-rw-r--r-- | dev-java/jffi/jffi-1.3.9-r1.ebuild | 122 | ||||
-rw-r--r-- | dev-java/jnr-constants/Manifest | 2 | ||||
-rw-r--r-- | dev-java/jnr-constants/jnr-constants-0.10.3.ebuild | 35 | ||||
-rw-r--r-- | dev-java/jnr-posix/Manifest | 3 | ||||
-rw-r--r-- | dev-java/jnr-posix/files/jnr-posix-3.1.15-FileTest.patch | 38 | ||||
-rw-r--r-- | dev-java/jnr-posix/jnr-posix-3.1.15.ebuild | 102 |
8 files changed, 0 insertions, 304 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz Binary files differindex c97e8a0e816b..b41cfd1d7321 100644 --- a/dev-java/Manifest.gz +++ b/dev-java/Manifest.gz diff --git a/dev-java/jffi/Manifest b/dev-java/jffi/Manifest index a820b222b9ea..8dd31beb8b45 100644 --- a/dev-java/jffi/Manifest +++ b/dev-java/jffi/Manifest @@ -1,6 +1,4 @@ AUX jffi-1.3.8-GNUmakefile.patch 1052 BLAKE2B 724db39c11184668d0380ba0a6ba2079b5036d1b79121b024678dca30152916fddbb0c23955446bd7998b0cf8fc8a148fb6b8a62a7f1880e706053c6b601c7c1 SHA512 60f0647d5b16f3e1e736bbab47ea9b5e95b84cd052aae3bc67300cf2a6455b4f063296101723367a69d36ac83cfd0b98ce5d1b9b9a4a627c9c84adc014e0caf4 DIST jffi-1.3.10.tar.gz 3304571 BLAKE2B a2ce4901d05b31cffcbe750e9a9294413057ae26426ae381f08ab07a085507afe38d447a60d4698d0878760ba1fe18bfdc31ce9b737676a70c93689d2e4533a7 SHA512 9e7d9aa1c16d7fa2486c75b71fd23465a3069ea3f314bc1b536115c982333d7cffa93f75a06ec86b740b83f4fca3be0c32cf99222d90bf1e6b45a9744ead1268 -DIST jffi-1.3.9.tar.gz 3193992 BLAKE2B bcd2dba3f9528c293aebb13a8fbd0b2fd7afcbae0cc5fa231f7e8ab190b834adc9e3f40bfc1211d0019a34a9edbaf8810f44b88f3c44b1e3b8065b2b80ccc6dc SHA512 21bf6997c64c0764c1fe86c9ab9b854037241489789f443a3337253ecc95100c94723a57165c85eed7a6c3837b8c04751af4a1fb5873a9c9fcd9a4535b68fc10 EBUILD jffi-1.3.10.ebuild 3111 BLAKE2B 0a92dc40a930e51861b0ba9860c4f327d54bda4a18083c41426b4f153669d638ba58ae9b3dd65b2985c7161bdbda6630f19784f5330a5d9274176494e48894fa SHA512 da4f8d0bbfaa1f0ce1d94fbd385575d695cff8e1755f3ece8b2e8dc29bee60be10fc637cd784142a5d4c9b49e6a68ea0bcfdfe5d11590806f88a7bccb02a470f -EBUILD jffi-1.3.9-r1.ebuild 3285 BLAKE2B df02b9374bbc00966b973dc761d28f6f635a92d0c619c2777559e299c2bc30cec58ff2813d92cce13c950685dd05bee3de9be8b0058363b3ebf65b3c1cf1c948 SHA512 d02a840a1182cb3de7a0a82a9dd804d6f7237e61fa50f4cd2055aaf43aa945dcce74a2e9e7a315a5c2e51ff85b6cabe0ad7236665865fef0880235fd64c70e37 MISC metadata.xml 320 BLAKE2B 4b1ac90322eb9faf01b397b7b4eea9167648abf3a89693a3bb28b27f5015b03c20c3b1b7843509686c8a827be8d4ea37f40fdf6ddaae418eec2dfa3b1797ffae SHA512 0daa4f9c85c906fdbd2fb652257c4d8ff52d88738e8e37e6bed49fdee6bb8aecefcd06e39fbe1262a3a0af73d2e1f4cfc8d0fc56b109bc686975ed41e54a68c9 diff --git a/dev-java/jffi/jffi-1.3.9-r1.ebuild b/dev-java/jffi/jffi-1.3.9-r1.ebuild deleted file mode 100644 index ee8168740ba4..000000000000 --- a/dev-java/jffi/jffi-1.3.9-r1.ebuild +++ /dev/null @@ -1,122 +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/jnr/jffi/archive/jffi-1.3.9.tar.gz --slot 1.3 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild jffi-1.3.9.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="com.github.jnr:jffi:1.3.9" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Java Foreign Function Interface" -HOMEPAGE="https://github.com/jnr/jffi" -SRC_URI="https://github.com/jnr/${PN}/archive/refs/tags/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="1.3" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -DEPEND=">=virtual/jdk-1.8:* - >=dev-libs/libffi-3.4.2-r2:=" -RDEPEND=">=virtual/jre-1.8:* - >=dev-libs/libffi-3.4.2-r2:=" - -PATCHES=( "${FILESDIR}"/jffi-1.3.8-GNUmakefile.patch ) - -S="${WORKDIR}/${PN}-${P}" - -JAVA_SRC_DIR="src/main/java" - -# https://github.com/jnr/jffi/blob/b6ad5c066a6346072ea04f8ffa8177204aadcb13/build.xml#L26 -JAVA_TEST_EXTRA_ARGS="-Djffi.library.path=${S}/build/jni -Djffi.boot.library.path=${S}/build/jni" -JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_SRC_DIR="src/test/java" - -src_prepare() { - default - cat > src/main/java/com/kenai/jffi/Version.java <<-EOF - package com.kenai.jffi; - import java.lang.annotation.Native; - public final class Version { - private Version() {} - @Native - public static final int MAJOR = $(ver_cut 1); - @Native - public static final int MINOR = $(ver_cut 2); - @Native - public static final int MICRO = $(ver_cut 3); - } - EOF - - # https://bugs.gentoo.org/829820 - if use arm; then - sed \ - -e '/import org.junit.Test/a import org.junit.Ignore;' \ - -e '/invokeHeapDO()/i @Ignore' \ - -e '/invokeHeapNO()/i @Ignore' \ - -e '/invokeHeapOD()/i @Ignore' \ - -e '/invokeHeapON()/i @Ignore' \ - -e '/invokeHeapOO()/i @Ignore' \ - -e '/invokeHeapO()/i @Ignore' \ - -e '/invokeNativeDO()/i @Ignore' \ - -e '/invokeNativeNO()/i @Ignore' \ - -e '/invokeNativeOD()/i @Ignore' \ - -e '/invokeNativeON()/i @Ignore' \ - -e '/invokeNativeOO()/i @Ignore' \ - -e '/invokeNativeO()/i @Ignore' \ - -i src/test/java/com/kenai/jffi/InvokerTest.java || die - sed \ - -e '/import org.junit.Test/a import org.junit.Ignore;' \ - -e '/returnDefaultF128HighPrecision/i @Ignore' \ - -i src/test/java/com/kenai/jffi/NumberTest.java || die - fi -} - -src_compile() { - java-pkg-simple_src_compile - - # generate headers - mkdir -p build/jni - javac -h build/jni -classpath target/classes \ - ${JAVA_SRC_DIR}/com/kenai/jffi/{Foreign,ObjectBuffer,Version}.java \ - || die - - #build native library. - local args=( - SRC_DIR=jni - JNI_DIR=jni - BUILD_DIR=build/jni - VERSION=$(ver_cut 1-2) - USE_SYSTEM_LIBFFI=1 - CCACHE= - -f jni/GNUmakefile - ) - emake "${args[@]}" -} - -src_test() { - # build native test library - emake BUILD_DIR=build -f libtest/GNUmakefile - - # https://github.com/jnr/jffi/issues/60 - LC_ALL=C java-pkg-simple_src_test -} - -src_install() { - default - - local libname=".so" - java-pkg_doso build/jni/lib${PN}-$(ver_cut 1-2)${libname} - - # must be after _doso to have JAVA_PKG_LIBDEST set - cat > boot.properties <<-EOF - jffi.boot.library.path = ${JAVA_PKG_LIBDEST} - EOF - jar -uf ${PN}.jar boot.properties || die - - java-pkg-simple_src_install -} diff --git a/dev-java/jnr-constants/Manifest b/dev-java/jnr-constants/Manifest index 62b78db4abec..de7e54cdc1f6 100644 --- a/dev-java/jnr-constants/Manifest +++ b/dev-java/jnr-constants/Manifest @@ -1,5 +1,3 @@ -DIST jnr-constants-0.10.3-sources.tar.gz 261921 BLAKE2B f8137455c067e774dd30d64fe457dd859692315f43415bdfbffa4870b981db26de23d73fa7682bbd924523ac17dec56caa7078580cf817d8df3eae4d87c61343 SHA512 f7cd6a3778670c9835f8dce87c8470c8b8cfeda6f30d68051c09dae40c4f7dd7db88bed016450c33ab5c8da9a802b4bd050adf358680d5ec6735467e398404dc DIST jnr-constants-0.10.4.tar.gz 261915 BLAKE2B 61ed310837a27cd5a03627db6d9a2c46874f9140d046ac653c6deb6409411ab69b6103c52aab64fff99a311fc9d9e85bf97bd361291e13685d836cdf7253993c SHA512 4ab82699e58523a5f3dbc5cfba333569a605e9d3fafe828fed726aa8fe08de0aba32af431d53565ed19b67f08a63b7a28d533617aa424f95b552e3d6ec3994cb -EBUILD jnr-constants-0.10.3.ebuild 986 BLAKE2B 1addcfa23240cea6fed31e32d2fd90eb7208a94dedc612b77eaac5c61e627f87525c57cc188bebde84303f1a92e1d836ebe3044b8af64911679e825ca088893a SHA512 0fc5493a6d907348db6ee86d8e1f03e9cb528dcc013f97ebed07029ec38751a5e20ee71d9147d1edc0775b94e92d229c07f3338d6e0464210ac4f8ca8c2fafde EBUILD jnr-constants-0.10.4.ebuild 744 BLAKE2B b9fa46d040771191e9645fbd1b50d4eb1864d24b6f1d18ee749c3e9cbfdd9bfd2857af949b2ea28e52d9612249846e11d1fd49bcf724160b192f59c252133c56 SHA512 f900ee07239d75d6178876fb651b94fb9f80e2a8de97390cc8ad1e10701e77a3ecdb1847a97f63222e9242d35f545e761c35234d7b020d5ad7a998faf2fce5ed MISC metadata.xml 329 BLAKE2B 6ab95abb16b9a4503c12cf6e06ae18a6ecbf217390f9ca6ba52516bedbe0c69c074aa3a01906974cca84efc02751afc2328d51245fce52d86996d64358f1fd08 SHA512 2e04327f332a4a421dcec67655242822cdd5f5ea5a8d2fdd37f24e68069320014a3bda438041f189831ef85087d53b4015c506fae40ec3a7494ef1f1efe41970 diff --git a/dev-java/jnr-constants/jnr-constants-0.10.3.ebuild b/dev-java/jnr-constants/jnr-constants-0.10.3.ebuild deleted file mode 100644 index 03889724207a..000000000000 --- a/dev-java/jnr-constants/jnr-constants-0.10.3.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 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/jnr/jnr-constants/archive/refs/tags/jnr-constants-0.10.3.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~x86" --ebuild jnr-constants-0.10.3.ebuild - -EAPI=7 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="com.github.jnr:jnr-constants:0.10.3" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="A set of platform constants (e.g. errno values)" -HOMEPAGE="https://github.com/jnr/jnr-constants" -SRC_URI="https://github.com/jnr/${PN}/archive/refs/tags/${P}.tar.gz -> ${P}-sources.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}/${PN}-${P}" - -JAVA_SRC_DIR="src/main/java" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_SRC_DIR="src/test/java" diff --git a/dev-java/jnr-posix/Manifest b/dev-java/jnr-posix/Manifest index 7223b6ca55d7..6665ee844ce0 100644 --- a/dev-java/jnr-posix/Manifest +++ b/dev-java/jnr-posix/Manifest @@ -1,6 +1,3 @@ -AUX jnr-posix-3.1.15-FileTest.patch 1195 BLAKE2B 57a88e8ce120954c7287dc063cc0ba5ebbb38eea404964c69f8f78a6b496b99bcffe2888e4b7ea895e5aa3cde95f52c11289f97f81201124d9234fb51fa546ff SHA512 0c180434266c1fe47d21d9412d8d13982fea6ea23b930b2c412200b9d2ce31bb15fc8e7785a3757f61be9841301e05aa7f84741f2cde70285ee039b91c35a5c8 -DIST jnr-posix-3.1.15.tar.gz 120573 BLAKE2B 8035308440e444876d8d955ec3dd0b9d41f770436b53f964795a183ed7bd676dda8787c37425c488af2aa0accc948b86d1773e7e97ee5bcdaf209383dfda24a6 SHA512 6c8cd6d43c509ef7c16901d02983b823464b3437019233021398b2a9dfc85923db87c585e2f8248f080447a990e308feff25bbbf2a7261019dcae66c22e14a91 DIST jnr-posix-3.1.16.tar.gz 120553 BLAKE2B b430d4699b84e9c4139291c34c328ade600adade68081167d3b47ce52caa6f96a818702dcb26652d186d7de825b32b00f2f1329b79f9c459cbbb6f6a4260d9f3 SHA512 988221a9a499db64c2bc3fe4e798fb77ce1bce44a31b51ace4f1e52b9a76a3af9a1521477a64413b44f36da9ab5446feb1b2ffd4e7dc50be055f6092d9e1f977 -EBUILD jnr-posix-3.1.15.ebuild 3188 BLAKE2B 19e9153ec95e8dfe2566b6b0016f4fd5507f8b1992f704fe7ae50aa1ea00047b385053f8e0980915595e5412ffd0ff851708a76a1078b31d86111929a494736e SHA512 3e5382da3536dd6b5ba0484d07cdc2b44cd8fe23a27ab6e6ed06384e9b82efb37602c6466cc3382a5b5949e5497032c23fb56f9ec1eb8f6223d64c6ee0da655a EBUILD jnr-posix-3.1.16.ebuild 2862 BLAKE2B 243d5743ed628271b8ea07bd7cd627d81574f601b703b2f495f013b9e13ca13d9e76708b7bb3d8aa5b1dc48b6350370e322722701dd24ad55883fe96ae21f0a2 SHA512 ddcd5a29cbfe4d3fa57f71ab082e5667379edb43e8586fddc318263b6f39d33121fc20492a2d9b189f18875f4b15a568a715b8f7718be771486c965998c843af MISC metadata.xml 325 BLAKE2B f40ca825a92205c1ef0e0be2e72c859b680593c0f852aec73c3d84356a9927f5f536ffcec7b7a365353ac56489677d7881f9f27431abc56cdf9cc24550493097 SHA512 ff2bae0526d5ae082ad290411e7d3cd95a197918e4d834a531cab016ff9a718197a27fb2c7a4f7426bb44a5b295e164a72dd36f5fac800bc20388fde0f52e0a4 diff --git a/dev-java/jnr-posix/files/jnr-posix-3.1.15-FileTest.patch b/dev-java/jnr-posix/files/jnr-posix-3.1.15-FileTest.patch deleted file mode 100644 index a186087c626d..000000000000 --- a/dev-java/jnr-posix/files/jnr-posix-3.1.15-FileTest.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- a/src/test/java/jnr/posix/FileTest.java -+++ b/src/test/java/jnr/posix/FileTest.java -@@ -215,7 +216,7 @@ public class FileTest { - dir.delete(); - } - -- @Test -+ @Ignore @Test - public void flockTest() throws Throwable { - if (!Platform.IS_WINDOWS) { - File tmp = File.createTempFile("flockTest", "tmp"); -@@ -236,7 +237,7 @@ public class FileTest { - } - } - -- @Test -+ @Ignore @Test - public void dupTest() throws Throwable { - File tmp = File.createTempFile("dupTest", "tmp"); - RandomAccessFile raf = new RandomAccessFile(tmp, "rw"); -@@ -303,7 +304,7 @@ public class FileTest { - } - } - -- @Test -+ @Ignore @Test - public void fcntlDupfdWithArgTest() throws Throwable { - if (!Platform.IS_WINDOWS) { - File tmp = File.createTempFile("dupTest", "tmp"); -@@ -327,7 +328,7 @@ public class FileTest { - } - } - -- @Test -+ @Ignore @Test - public void closeTest() throws Throwable { - File tmp = File.createTempFile("closeTest", "tmp"); - int fd = getFdFromDescriptor(JavaLibCHelper.getDescriptorFromChannel(new RandomAccessFile(tmp, "rw").getChannel())); diff --git a/dev-java/jnr-posix/jnr-posix-3.1.15.ebuild b/dev-java/jnr-posix/jnr-posix-3.1.15.ebuild deleted file mode 100644 index 0fd709bffe6a..000000000000 --- a/dev-java/jnr-posix/jnr-posix-3.1.15.ebuild +++ /dev/null @@ -1,102 +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/jnr/jnr-posix/archive/jnr-posix-3.1.15.tar.gz --slot 3.0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild jnr-posix-3.1.15.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="com.github.jnr:jnr-posix:3.1.15" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Common cross-project/cross-platform POSIX APIs" -HOMEPAGE="https://github.com/jnr/jnr-posix" -SRC_URI="https://github.com/jnr/${PN}/archive/${P}.tar.gz" - -LICENSE="EPL-2.0 GPL-2 LGPL-2.1" -SLOT="3.0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -CP_DEPEND=" - >=dev-java/jnr-ffi-2.2.12:2 - dev-java/jnr-constants:0 -" - -DEPEND="${CP_DEPEND} - >=virtual/jdk-11:*" - -RDEPEND="${CP_DEPEND} - >=virtual/jre-1.8:*" - -S="${WORKDIR}/${PN}-${P}" - -JAVA_SRC_DIR="src/main/java" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_SRC_DIR="src/test/java" - -src_test() { - sed \ - -e '/import org.junit.Test/a import org.junit.Ignore;' \ - -i src/test/java/jnr/posix/FileTest.java || die - - if use ppc64; then - # Ignore testMessageHdrMultipleControl - # https://bugs.gentoo.org/866199 - # https://github.com/jnr/jnr-posix/issues/178 - sed \ - -e '/testMessageHdrMultipleControl/i @Ignore' \ - -e '/import org.junit.Test/a import org.junit.Ignore;' \ - -i src/test/java/jnr/posix/LinuxPOSIXTest.java || die - fi - - if use arm; then - # https://bugs.gentoo.org/866692 - sed \ - -e '/utimensatRelativePath()/i @Ignore' \ - -e '/utimesDefaultValuesTest()/i @Ignore' \ - -e '/futimeTest()/i @Ignore' \ - -e '/utimesTest()/i @Ignore' \ - -e '/utimesPointerTest()/i @Ignore' \ - -e '/utimensatAbsolutePath()/i @Ignore' \ - -e '/futimens()/i @Ignore' \ - -i src/test/java/jnr/posix/FileTest.java || die - sed \ - -e '/import org.junit.Test/a import org.junit.Ignore;' \ - -e '/ioprioThreadedTest()/i @Ignore' \ - -e '/testPosixFadvise()/i @Ignore' \ - -i src/test/java/jnr/posix/LinuxPOSIXTest.java || die - sed \ - -e '/import org.junit.Test/a import org.junit.Ignore;' \ - -e '/testSetRlimitPointerLinux()/i @Ignore' \ - -e '/testGetRLimitPointer()/i @Ignore' \ - -i src/test/java/jnr/posix/ProcessTest.java || die - fi - - JAVA_TEST_EXCLUDES=( - # https://github.com/jnr/jnr-posix/blob/jnr-posix-3.1.15/pom.xml#L185 - # <exclude>**/windows/*Test.java</exclude> - "jnr.posix.windows.WindowsFileTest" - "jnr.posix.windows.WindowsHelpersTest" - # Next 3 tests need to run separately, otherwise would fail. - "jnr.posix.GroupTest" - "jnr.posix.NlLanginfoTest" - "jnr.posix.SpawnTest" - ) - local vm_version="$(java-config -g PROVIDES_VERSION)" - if [[ "${vm_version}" -ge "17" ]] ; then - JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.base/java.io=ALL-UNNAMED ) - # Some tests in jnr.posix.FileTest fail with jdk-17 - eapply "${FILESDIR}/jnr-posix-3.1.15-FileTest.patch" - fi - java-pkg-simple_src_test - JAVA_TEST_RUN_ONLY="jnr.posix.SpawnTest" - java-pkg-simple_src_test - JAVA_TEST_RUN_ONLY="jnr.posix.NlLanginfoTest" - java-pkg-simple_src_test - JAVA_TEST_RUN_ONLY="jnr.posix.GroupTest" - java-pkg-simple_src_test -} |