diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2022-06-15 18:57:59 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-06-17 11:15:33 +0300 |
commit | ffc74f6e03748a09db665fcd2d65af67d7db1b88 (patch) | |
tree | e0dd6df987f68a65a07d121cc1ded72618225dcc /dev-java | |
parent | dev-ruby/sassc: Fix quoting of ESYSROOT in sed expression (diff) | |
download | gentoo-ffc74f6e03748a09db665fcd2d65af67d7db1b88.tar.gz gentoo-ffc74f6e03748a09db665fcd2d65af67d7db1b88.tar.bz2 gentoo-ffc74f6e03748a09db665fcd2d65af67d7db1b88.zip |
dev-java/jna: drop 4.2.2-r3
Closes: https://bugs.gentoo.org/762940
Closes: https://bugs.gentoo.org/833325
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/25913
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jna/Manifest | 1 | ||||
-rw-r--r-- | dev-java/jna/files/4.2.2-build.xml.patch | 23 | ||||
-rw-r--r-- | dev-java/jna/jna-4.2.2-r3.ebuild | 87 | ||||
-rw-r--r-- | dev-java/jna/metadata.xml | 4 |
4 files changed, 0 insertions, 115 deletions
diff --git a/dev-java/jna/Manifest b/dev-java/jna/Manifest index 516edfa4d5b6..1d8ab37fde64 100644 --- a/dev-java/jna/Manifest +++ b/dev-java/jna/Manifest @@ -1,3 +1,2 @@ -DIST jna-4.2.2.tar.gz 58638853 BLAKE2B 3941202ad7839f748c65f1abf53a335f6de7959def06de27a30520457147af3f70f6de54d640718b8314f6e61ab61ee9b26c39812d5cb1f918b8ff714d6b902e SHA512 11ab524f87f6dc7fe3ac8eb0620f9ba392445147770304be7b7fa5cd49de8efed983ad30c16077bfa6419eaf1ff50311a3ded811a78fdcd09bc686ef93ad7f9f DIST jna-5.10.0.tar.gz 106258319 BLAKE2B f5605fd91bacc1e900e835494c27b0fdb4ba91b0c04bad1757133bed5938603264ce9fba89c5ce7e4644456b752b934f6e205d0131659e77bf0c58c2b44c61cd SHA512 93e1ab659a60d711557eb93620bcbd05f3dbe9c739b256cfb647d8ac2a4038d0bc638c614b58339b2875017ac18b219a4ddeb0d92e5ca25fef2e326bc14ae256 DIST jna-5.11.0.tar.gz 107424072 BLAKE2B 9f79a0b0e643c8213c159785814dffaeee2dc3b332647c5c887aa5a6e707be5241d392e75730b803b21362fcbdcee82d7049bcdfb7956039f1534e3cd8e170cf SHA512 0122b56c24125e5dea541bee71b43f127df50c8f90b2c240271c677a8d598d9640bb920bd3390856124e8b1bc89a9bd41d2b6c569ae7275f68a13c08fd07027d diff --git a/dev-java/jna/files/4.2.2-build.xml.patch b/dev-java/jna/files/4.2.2-build.xml.patch deleted file mode 100644 index de49c24b1912..000000000000 --- a/dev-java/jna/files/4.2.2-build.xml.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/build.xml 2016-03-16 14:37:28.000000000 +0000 -+++ b/build.xml 2016-04-16 22:22:27.692967205 +0100 -@@ -320,7 +320,9 @@ - <pathelement path="${build}/${jar}"/> - <pathelement path="${test.classes}"/> - <pathelement path="${build}/${testjar}"/> -+ <!-- - <pathelement path="lib/clover.jar"/> -+ --> - <path refid="test.libs"/> - </path> - </target> -@@ -909,8 +911,10 @@ - <mkdir dir="${build}/jws"/> - <copy todir="${build}/jws" file="${build}/${jar}"/> - <copy todir="${build}/jws" file="${build}/${testjar}"/> -+ <!-- - <copy todir="${build}/jws" file="lib/junit.jar"/> - <copy todir="${build}/jws" file="lib/clover.jar"/> -+ --> - <jar jarfile="${build}/jws/jnidispatch.jar"> - <fileset dir="${build.native}" includes="*jnidispatch.*"/> - </jar> diff --git a/dev-java/jna/jna-4.2.2-r3.ebuild b/dev-java/jna/jna-4.2.2-r3.ebuild deleted file mode 100644 index 2950dfd0edbf..000000000000 --- a/dev-java/jna/jna-4.2.2-r3.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source" -MAVEN_ID="net.java.dev.jna:jna:4.2.2" - -inherit java-pkg-2 java-ant-2 toolchain-funcs - -DESCRIPTION="Java Native Access (JNA)" -HOMEPAGE="https://github.com/java-native-access/jna" -SRC_URI="https://github.com/java-native-access/jna/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="4" -KEYWORDS="amd64 ppc64 x86" -IUSE="+awt +nio-buffers test" - -REQUIRED_USE="test? ( awt nio-buffers )" - -# The tests stall immediately on some systems (not current stable?) when -# the sandbox is active but pass successfully otherwise. Chewi has not -# been able to determine why. This began in 4.2.0 as 4.1.0 worked -# fine. Someone bisect it please. :) -RESTRICT="test" - -CDEPEND="dev-libs/libffi:=" -DEPEND="${CDEPEND} - virtual/jdk:1.8 - x11-libs/libXt - test? ( - dev-java/ant-junit:0 - dev-java/guava:20 - dev-java/javassist:3 - dev-java/reflections:0 - )" -RDEPEND="${CDEPEND} - virtual/jre:1.8" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PV}-build.xml.patch - "${FILESDIR}"/${PV}-makefile-flags.patch -) - -JAVA_ANT_REWRITE_CLASSPATH="true" -EANT_BUILD_TARGET="native jar contrib-jars" -EANT_EXTRA_ARGS="-Ddynlink.native=true" -EANT_TEST_EXTRA_ARGS="-Dheadless=true -Djava.io.tmpdir=${T}" -EANT_TEST_GENTOO_CLASSPATH="guava-20,javassist-3,reflections" - -src_prepare() { - default - - # delete bundled jars and copy of libffi - # except native jars because build.xml needs them all - find ! -path "./lib/native/*" -name "*.jar" -delete || die - rm -r native/libffi || die - - if ! use awt ; then - sed -i -E "s/^(CDEFINES=.*)/\1 -DNO_JAWT/g" native/Makefile || die - fi - - if ! use nio-buffers ; then - sed -i -E "s/^(CDEFINES=.*)/\1 -DNO_NIO_BUFFERS/g" native/Makefile || die - fi - - java-pkg-2_src_prepare -} - -src_configure() { - tc-export CC -} - -src_install() { - java-pkg_newjar build/${PN}-min.jar - java-pkg_dojar contrib/platform/dist/${PN}-platform.jar - java-pkg_doso build/native-*/libjnidispatch.so - - use source && java-pkg_dosrc src/* - use doc && java-pkg_dojavadoc doc/javadoc -} - -src_test() { - java-pkg-2_src_test -} diff --git a/dev-java/jna/metadata.xml b/dev-java/jna/metadata.xml index 6a68a977dd25..3966f68718c9 100644 --- a/dev-java/jna/metadata.xml +++ b/dev-java/jna/metadata.xml @@ -5,10 +5,6 @@ <email>java@gentoo.org</email> <name>Java</name> </maintainer> - <use> - <flag name="awt">Enables support for Java AWT</flag> - <flag name="nio-buffers">Enables support for NIO buffers</flag> - </use> <upstream> <remote-id type="github">twall/jna</remote-id> </upstream> |