diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2022-07-09 11:47:37 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-07-09 14:15:39 +0300 |
commit | d4842e912cca55b92e24188983878aff444a0820 (patch) | |
tree | 44341134e4cb738ce6ab02782e7eaebc7cff6c57 /dev-java/jffi | |
parent | dev-python/botocore: Stabilize 1.27.17 ALLARCHES, #857132 (diff) | |
download | gentoo-d4842e912cca55b92e24188983878aff444a0820.tar.gz gentoo-d4842e912cca55b92e24188983878aff444a0820.tar.bz2 gentoo-d4842e912cca55b92e24188983878aff444a0820.zip |
dev-java/jffi: drop 1.3.6
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-java/jffi')
-rw-r--r-- | dev-java/jffi/Manifest | 1 | ||||
-rw-r--r-- | dev-java/jffi/files/jffi-1.3.6-GNUmakefile.patch | 26 | ||||
-rw-r--r-- | dev-java/jffi/jffi-1.3.6.ebuild | 98 |
3 files changed, 0 insertions, 125 deletions
diff --git a/dev-java/jffi/Manifest b/dev-java/jffi/Manifest index 46f96ebc4d8b..40f970c22ac6 100644 --- a/dev-java/jffi/Manifest +++ b/dev-java/jffi/Manifest @@ -1,3 +1,2 @@ DIST jffi-1.2.9.tar.gz 1952668 BLAKE2B 320329b02ee9e93153fc334b73a6216da74ac2d924a64c8a1569f1f1507e1196d0b922f7d158ea91f6bc7164979b2ac12de239adbe98664a3708dd29c8d40f96 SHA512 2fd9a95cce9a3406a09856761d1318d4c6b976b1f9b66c7c5b0b5e95d44b19ba654ab8288f396782c7bb53e6d9949e7cfa9c46763f2a0761c6e86f102cd202e4 -DIST jffi-1.3.6.tar.gz 3187269 BLAKE2B 87a98c752440e336948923e73e2756cb0f88cbb111775f7fcc176152c60a050dad2b8d312bf0e6cda9e499b06fa64f6eda0659a6635010cb2da6ade4471225b9 SHA512 0259e59daa438572e94737efc126ab631be5f92e9ac2bf2bfdcdf92bcf9709ef930d68250b7fcaee3126a97c705c112d02bdfb0a800e8eb3b3f2fde6381f7a9f DIST jffi-1.3.9.tar.gz 3193992 BLAKE2B bcd2dba3f9528c293aebb13a8fbd0b2fd7afcbae0cc5fa231f7e8ab190b834adc9e3f40bfc1211d0019a34a9edbaf8810f44b88f3c44b1e3b8065b2b80ccc6dc SHA512 21bf6997c64c0764c1fe86c9ab9b854037241489789f443a3337253ecc95100c94723a57165c85eed7a6c3837b8c04751af4a1fb5873a9c9fcd9a4535b68fc10 diff --git a/dev-java/jffi/files/jffi-1.3.6-GNUmakefile.patch b/dev-java/jffi/files/jffi-1.3.6-GNUmakefile.patch deleted file mode 100644 index 2dd5e9d8791a..000000000000 --- a/dev-java/jffi/files/jffi-1.3.6-GNUmakefile.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/jni/GNUmakefile b/jni/GNUmakefile -index c0f298c..457626f 100755 ---- a/jni/GNUmakefile -+++ b/jni/GNUmakefile -@@ -278,16 +278,16 @@ debug: - @echo "OBJS=$(OBJS)" - - $(LIBJFFI): $(OBJS) $(LIBFFI_LIBS) -- $(CC) -o $@ $(LDFLAGS) $(SOFLAGS) $(OBJS) $(LIBFFI) $(LIBS) -+ $(CC) -o $@ $(LDFLAGS) $(SOFLAGS) $(OBJS) $(LIBFFI) $(LIBS) $(LIBFFI_LIBS) - $(STRIP) $@ - - $(BUILD_DIR)/%.o : $(SRC_DIR)/%.c $(wildcard $(JFFI_SRC_DIR)/*.h) -- @mkdir -p $(@D) -- @$(CCACHE) $(CC) $(CFLAGS) -c $< -o $@ -+ mkdir -p $(@D) -+ $(CCACHE) $(CC) $(CFLAGS) -c $< -o $@ - - $(BUILD_DIR)/%.o : $(SRC_DIR)/%.S $(wildcard $(JFFI_SRC_DIR)/*.h) -- @mkdir -p $(@D) -- @$(CC) $(CFLAGS) -o $@ -c $< -+ mkdir -p $(@D) -+ $(CC) $(CFLAGS) -o $@ -c $< - - $(OBJS) : $(LIBFFI) - diff --git a/dev-java/jffi/jffi-1.3.6.ebuild b/dev-java/jffi/jffi-1.3.6.ebuild deleted file mode 100644 index f34b51d92cc2..000000000000 --- a/dev-java/jffi/jffi-1.3.6.ebuild +++ /dev/null @@ -1,98 +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/jffi/archive/refs/tags/jffi-1.3.6.tar.gz --slot 1.3 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild jffi-1.3.6.ebuild - -EAPI=7 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="com.github.jnr:jffi:1.3.6" -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.2" -KEYWORDS="amd64 arm64 ~ppc64 x86" - -DEPEND=">=virtual/jdk-1.8:*" -RDEPEND=">=virtual/jre-1.8:*" - -PATCHES=( "${FILESDIR}"/jffi-1.3.6-GNUmakefile.patch ) -DOCS=( LICENSE README.md ) - -S="${WORKDIR}/${PN}-${P}" - -JAVA_SRC_DIR="src/main/java" - -# https://github.com/jnr/jffi/blob/eabdf09c3ec4fc8a54b684ff326e36b36b74e0da/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 -} - -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 -} |