public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
Date: Mon, 10 Apr 2023 06:53:08 +0000 (UTC)	[thread overview]
Message-ID: <1681109585.cc6b3e0000ab10392e40c276a8cf28e3a418321b.fordfrog@gentoo> (raw)

commit:     cc6b3e0000ab10392e40c276a8cf28e3a418321b
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Apr  9 19:35:11 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Apr 10 06:53:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc6b3e00

dev-java/jffi: drop 1.3.9-r1

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/jffi/Manifest             |   1 -
 dev-java/jffi/jffi-1.3.9-r1.ebuild | 122 -------------------------------------
 2 files changed, 123 deletions(-)

diff --git a/dev-java/jffi/Manifest b/dev-java/jffi/Manifest
index 6dfe7544ed64..8a641aa1521d 100644
--- a/dev-java/jffi/Manifest
+++ b/dev-java/jffi/Manifest
@@ -1,2 +1 @@
 DIST jffi-1.3.10.tar.gz 3304571 BLAKE2B a2ce4901d05b31cffcbe750e9a9294413057ae26426ae381f08ab07a085507afe38d447a60d4698d0878760ba1fe18bfdc31ce9b737676a70c93689d2e4533a7 SHA512 9e7d9aa1c16d7fa2486c75b71fd23465a3069ea3f314bc1b536115c982333d7cffa93f75a06ec86b740b83f4fca3be0c32cf99222d90bf1e6b45a9744ead1268
-DIST jffi-1.3.9.tar.gz 3193992 BLAKE2B bcd2dba3f9528c293aebb13a8fbd0b2fd7afcbae0cc5fa231f7e8ab190b834adc9e3f40bfc1211d0019a34a9edbaf8810f44b88f3c44b1e3b8065b2b80ccc6dc SHA512 21bf6997c64c0764c1fe86c9ab9b854037241489789f443a3337253ecc95100c94723a57165c85eed7a6c3837b8c04751af4a1fb5873a9c9fcd9a4535b68fc10

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
-}


             reply	other threads:[~2023-04-10  6:53 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-10  6:53 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-09 19:24 [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/ Arthur Zamarin
2023-04-09 19:09 Arthur Zamarin
2023-04-09 19:09 Arthur Zamarin
2023-03-29 11:33 Sam James
2023-02-27  8:57 Florian Schmaus
2022-09-02 17:24 Arthur Zamarin
2022-09-02 17:23 Arthur Zamarin
2022-08-25 18:52 Arthur Zamarin
2022-08-25  3:33 Sam James
2022-08-24  7:04 Sam James
2022-08-24  5:25 Agostino Sarubbo
2022-08-23 17:07 Arthur Zamarin
2022-07-25  0:28 Sam James
2022-07-09  9:37 Arthur Zamarin
2022-07-08  6:45 Agostino Sarubbo
2022-07-08  6:43 Agostino Sarubbo
2021-12-27 16:32 Arthur Zamarin
2021-11-23 17:02 Sam James
2021-11-23 10:48 Sam James
2021-11-22 13:44 Sam James
2021-11-20 19:20 Miroslav Šulc
2021-01-07  8:20 Fabian Groffen
2020-11-16 22:53 Sergei Trofimovich
2017-07-13 17:27 Alexis Ballier
2015-12-05 19:49 Patrice Clement
2015-12-05 19:49 Patrice Clement
2015-12-05 19:49 Patrice Clement
2015-09-01  8:07 Patrice Clement
2015-09-01  7:52 Patrice Clement
2015-09-01  7:28 Agostino Sarubbo
2015-09-01  7:27 Agostino Sarubbo
2015-08-31 22:30 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1681109585.cc6b3e0000ab10392e40c276a8cf28e3a418321b.fordfrog@gentoo \
    --to=fordfrog@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox