* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2015-08-31 22:30 Patrice Clement
0 siblings, 0 replies; 33+ messages in thread
From: Patrice Clement @ 2015-08-31 22:30 UTC (permalink / raw
To: gentoo-commits
commit: ffd50ae2fc7ecadbf5905cbfd64cd5d009a57dbe
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 31 22:26:46 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Aug 31 22:29:42 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffd50ae2
dev-java/jffi: Version bump. Restrict tests for now. Keyword for ppc64.
Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
dev-java/jffi/Manifest | 1 +
dev-java/jffi/jffi-1.2.9.ebuild | 131 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 132 insertions(+)
diff --git a/dev-java/jffi/Manifest b/dev-java/jffi/Manifest
index e641906..e29364c 100644
--- a/dev-java/jffi/Manifest
+++ b/dev-java/jffi/Manifest
@@ -3,3 +3,4 @@ DIST jffi-1.2.5.tar.gz 1798081 SHA256 2101c48855558902f2e21baacd0b2c8b7098feb3ca
DIST jffi-1.2.6.tar.gz 1850410 SHA256 b568d832828bf0cb980c545e8fd16147034048ca2d3ffc62cae4f844c8cc6cec SHA512 df178691e6894599f2a45146950cca7e4c81e92c38fc751c40b39e660970c19d0dce41c9192053dddf07f42317d28033f59b7140c904784c477526e7471b6938 WHIRLPOOL adb57b9ac981177ae7d697aae41bbaaff3a38dab4c4364258b13272023076dacdd93a751eb24a339ae17a4162d4511685a4aa67afd5d8fab2f852e0403ee73f1
DIST jffi-1.2.7.tar.gz 1908203 SHA256 25f1930f294cec9651447edd08a51a990b7c92c69eca87257233e86e4dd5f979 SHA512 837ebb0085ec2acc5dc688c3e1883a7c986df62a32a41887196b88f5b5714ee667f918f2bdf005f019faae02df2f7903f291fa32c5ec3cabc360d9b1d8e4548d WHIRLPOOL 0e9824d54b21eb61142f4a868cd10122d9837c34732fc4ff9ba3093c0d4c11ee25dc0e045a40a4157faed201de9498e7cea28df85e7f14d07b58d2f4d1fb26e1
DIST jffi-1.2.8.tar.gz 1988785 SHA256 445263cd24dccc34e2bd7fb3c488aa182697b1bc3f86d3343e07183161e2986c SHA512 c6622a2cc0cd040d871417d66a074aeaad57f266559c8135692e2b76bb00f05287a4e4c4f17e8e4225c4d5e7e8941d9c883fbb4cfe5db920a79dd9a29ffea105 WHIRLPOOL 165f44b195310cf2826359d00ba74bb0eac66a47c566ec1a522df50627721c6564bd1730459098a8aa973433978fa815b3a418bbcf787b75ebf1cc3cd585909d
+DIST jffi-1.2.9.tar.gz 1952668 SHA256 1cb854a913d295cb9a41cdb1349f68efe3c5d750b3135a1fa07a365d6806f5ef SHA512 2fd9a95cce9a3406a09856761d1318d4c6b976b1f9b66c7c5b0b5e95d44b19ba654ab8288f396782c7bb53e6d9949e7cfa9c46763f2a0761c6e86f102cd202e4 WHIRLPOOL 79ed9433b2b475fd9f5ae228e54bef1d637c9cdac97e63bb16f5510933707c968a0989e6eb7f09a9a79f06bb725ab5267c2373657da1daddbbbe3b093479de3b
diff --git a/dev-java/jffi/jffi-1.2.9.ebuild b/dev-java/jffi/jffi-1.2.9.ebuild
new file mode 100644
index 0000000..1503a45
--- /dev/null
+++ b/dev-java/jffi/jffi-1.2.9.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit eutils java-pkg-2 java-ant-2 versionator
+
+DESCRIPTION="An optimized Java interface to libffi"
+HOMEPAGE="https://github.com/jnr/jffi"
+SRC_URI="https://github.com/jnr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( Apache-2.0 LGPL-3 )"
+SLOT="1.2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos"
+
+CDEPEND="virtual/libffi:0"
+
+RDEPEND="${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="${CDEPEND}
+ >=virtual/jdk-1.6
+ virtual/pkgconfig
+ test? (
+ dev-java/ant-junit4:0
+ dev-java/junit:4
+ )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.2.8-makefile.patch
+ "${FILESDIR}"/${PN}-1.2.8-junit-4.11.patch
+)
+
+RESTRICT="test"
+
+java_prepare() {
+ cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
+
+ epatch "${PATCHES[@]}"
+
+ # misc fixes for Darwin
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ local uarch
+ # don't do multiarch
+ # avoid using Xcode stuff
+ # use Prefix' headers
+ # don't mess with deployment target
+ # set install_name
+ use x64-macos && uarch=x86_64
+ use x86-macos && uarch=i386
+ use ppc-macos && uarch=ppc
+ sed -i \
+ -e "/ARCHES +=/s/=.*$/= ${uarch}/" \
+ -e "/XCODE=/s:=.*$:=${EPREFIX}:" \
+ -e "/MACSDK/s/^/#/" \
+ -e "/MACOSX_DEPLOYMENT_TARGET=/s/MAC/NOMAC/" \
+ -e "/SOFLAGS =/s:=.*:= -install_name ${EPREFIX}/usr/lib/jffi-${SLOT}/libjffi-${SLOT}.jnilib:" \
+ jni/GNUmakefile || die
+ fi
+
+ find "${WORKDIR}" -iname '*.jar' -delete || die
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
+
+src_compile() {
+ # generate Version.java
+ cat > src/main/java/com/kenai/jffi/Version.java <<-EOF
+ package com.kenai.jffi;
+ public final class Version {
+ private Version() {}
+ public static final int MAJOR = $(get_version_component_range 1);
+ public static final int MINOR = $(get_version_component_range 2);
+ public static final int MICRO = $(get_version_component_range 3);
+ }
+ EOF
+
+ java-pkg-2_src_compile
+
+ # generate headers
+ mkdir -p build/jni
+ javah -d build/jni -classpath target/classes \
+ com.kenai.jffi.Foreign \
+ com.kenai.jffi.ObjectBuffer \
+ com.kenai.jffi.Version \
+ || die
+
+ #build native library.
+ local args=(
+ SRC_DIR=jni
+ JNI_DIR=jni
+ BUILD_DIR=build/jni
+ VERSION=$(get_version_component_range 1-2)
+ USE_SYSTEM_LIBFFI=1
+ CCACHE=
+ -f jni/GNUmakefile
+ )
+ emake "${args[@]}"
+}
+
+EANT_TEST_GENTOO_CLASSPATH="ant-junit4,junit-4"
+
+src_test() {
+ # build native test library
+ emake BUILD_DIR=build -f libtest/GNUmakefile
+
+ _JAVA_OPTIONS="-Djffi.boot.library.path=${S}/build/jni" \
+ java-pkg-2_src_test
+}
+
+src_install() {
+ local libname=".so"
+
+ [[ ${CHOST} == *-darwin* ]] && libname=.jnilib
+ java-pkg_doso build/jni/lib${PN}-$(get_version_component_range 1-2)${libname}
+
+ # must by after _doso to have JAVA_PKG_LIBDEST set
+ cat > boot.properties <<-EOF
+ jffi.boot.library.path = ${JAVA_PKG_LIBDEST}
+ EOF
+ jar -uf target/${PN}.jar boot.properties || die
+
+ java-pkg_dojar target/${PN}.jar
+
+ use doc && java-pkg_dojavadoc target/site/apidocs
+ use source && java-pkg_dosrc src/main/java/*
+}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2015-09-01 7:27 Agostino Sarubbo
0 siblings, 0 replies; 33+ messages in thread
From: Agostino Sarubbo @ 2015-09-01 7:27 UTC (permalink / raw
To: gentoo-commits
commit: d3710560c2a286cb0e2b0931b4e299f86b10f8bd
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 1 07:27:14 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Sep 1 07:27:14 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3710560
dev-java/jffi: amd64 stable wrt bug #535080
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"
dev-java/jffi/jffi-1.2.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.2.9.ebuild b/dev-java/jffi/jffi-1.2.9.ebuild
index 1503a45..edd12c9 100644
--- a/dev-java/jffi/jffi-1.2.9.ebuild
+++ b/dev-java/jffi/jffi-1.2.9.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/jnr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( Apache-2.0 LGPL-3 )"
SLOT="1.2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos"
CDEPEND="virtual/libffi:0"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2015-09-01 7:28 Agostino Sarubbo
0 siblings, 0 replies; 33+ messages in thread
From: Agostino Sarubbo @ 2015-09-01 7:28 UTC (permalink / raw
To: gentoo-commits
commit: 63e373d36cadad022b274cb4ea33c5e5dfc0e58d
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 1 07:27:52 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Sep 1 07:27:52 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63e373d3
dev-java/jffi: x86 stable wrt bug #535080
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="x86"
dev-java/jffi/jffi-1.2.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.2.9.ebuild b/dev-java/jffi/jffi-1.2.9.ebuild
index edd12c9..d61c300 100644
--- a/dev-java/jffi/jffi-1.2.9.ebuild
+++ b/dev-java/jffi/jffi-1.2.9.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/jnr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( Apache-2.0 LGPL-3 )"
SLOT="1.2"
-KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="amd64 ~ppc ~ppc64 x86 ~ppc-macos ~x64-macos ~x86-macos"
CDEPEND="virtual/libffi:0"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2015-09-01 7:52 Patrice Clement
0 siblings, 0 replies; 33+ messages in thread
From: Patrice Clement @ 2015-09-01 7:52 UTC (permalink / raw
To: gentoo-commits
commit: 1a16f8de5d9bc1e309f03c47fc237cf61d37df0b
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 1 07:48:49 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Sep 1 07:48:49 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a16f8de
dev-java/jffi: Stable for ppc+ppc64. Fixes bug 535080.
Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
dev-java/jffi/jffi-1.2.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.2.9.ebuild b/dev-java/jffi/jffi-1.2.9.ebuild
index d61c300..393637b 100644
--- a/dev-java/jffi/jffi-1.2.9.ebuild
+++ b/dev-java/jffi/jffi-1.2.9.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/jnr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( Apache-2.0 LGPL-3 )"
SLOT="1.2"
-KEYWORDS="amd64 ~ppc ~ppc64 x86 ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="amd64 ppc ppc64 x86 ~ppc-macos ~x64-macos ~x86-macos"
CDEPEND="virtual/libffi:0"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2015-09-01 8:07 Patrice Clement
0 siblings, 0 replies; 33+ messages in thread
From: Patrice Clement @ 2015-09-01 8:07 UTC (permalink / raw
To: gentoo-commits
commit: dcc021917090e32e0ab054dd18d019c71a84c95a
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 1 08:05:54 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Sep 1 08:05:54 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcc02191
dev-java/jffi: Clean up old ebuilds.
Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
dev-java/jffi/Manifest | 4 --
dev-java/jffi/jffi-1.2.5.ebuild | 96 ----------------------------
dev-java/jffi/jffi-1.2.6.ebuild | 120 -----------------------------------
dev-java/jffi/jffi-1.2.7-r2.ebuild | 123 ------------------------------------
dev-java/jffi/jffi-1.2.7.ebuild | 122 ------------------------------------
dev-java/jffi/jffi-1.2.8.ebuild | 124 -------------------------------------
6 files changed, 589 deletions(-)
diff --git a/dev-java/jffi/Manifest b/dev-java/jffi/Manifest
index e29364c..9430782 100644
--- a/dev-java/jffi/Manifest
+++ b/dev-java/jffi/Manifest
@@ -1,6 +1,2 @@
DIST jffi-1.0.11.tar.gz 1899655 SHA256 b66781a07e095dbaf9d568b77762e06215da4458d963956ea22dd5adb5f3126a SHA512 0f98c1aa55dfd9fd9338399e173f118ef12d01a65429a49ed5264a23fa6700e7ebdf13ffb6b6318fcd8ea9dce66a47524c5cefa50f3f11a251ca44a4f38fd6aa WHIRLPOOL aa8c3f88b75a26221b3c41ed552fdd83c551ae05fc7455f072b8a3d7f3190cad26a638d1800a67b09d8074b5dfdd04f2be73287a7f22c0cfcc5dbc8df0d2ae12
-DIST jffi-1.2.5.tar.gz 1798081 SHA256 2101c48855558902f2e21baacd0b2c8b7098feb3ca1487a195c2bc3d9116ebd4 SHA512 2613a1874899e1a734ad54d68f7d969fe3bc12bd1ae1aaf5a63a17d63ac6ac6b9812740b7c7a771e66ba0e4ff02105c6a2427771d4571be40ae869f3d6f077e3 WHIRLPOOL 174303fc9f10cf295e009ef2320f9b13295f5e96187ab2ae4599de891b27e1279645ea47409eb8aec9a8b247a5568cddd6f8566950b64be37e399cb0eda0219f
-DIST jffi-1.2.6.tar.gz 1850410 SHA256 b568d832828bf0cb980c545e8fd16147034048ca2d3ffc62cae4f844c8cc6cec SHA512 df178691e6894599f2a45146950cca7e4c81e92c38fc751c40b39e660970c19d0dce41c9192053dddf07f42317d28033f59b7140c904784c477526e7471b6938 WHIRLPOOL adb57b9ac981177ae7d697aae41bbaaff3a38dab4c4364258b13272023076dacdd93a751eb24a339ae17a4162d4511685a4aa67afd5d8fab2f852e0403ee73f1
-DIST jffi-1.2.7.tar.gz 1908203 SHA256 25f1930f294cec9651447edd08a51a990b7c92c69eca87257233e86e4dd5f979 SHA512 837ebb0085ec2acc5dc688c3e1883a7c986df62a32a41887196b88f5b5714ee667f918f2bdf005f019faae02df2f7903f291fa32c5ec3cabc360d9b1d8e4548d WHIRLPOOL 0e9824d54b21eb61142f4a868cd10122d9837c34732fc4ff9ba3093c0d4c11ee25dc0e045a40a4157faed201de9498e7cea28df85e7f14d07b58d2f4d1fb26e1
-DIST jffi-1.2.8.tar.gz 1988785 SHA256 445263cd24dccc34e2bd7fb3c488aa182697b1bc3f86d3343e07183161e2986c SHA512 c6622a2cc0cd040d871417d66a074aeaad57f266559c8135692e2b76bb00f05287a4e4c4f17e8e4225c4d5e7e8941d9c883fbb4cfe5db920a79dd9a29ffea105 WHIRLPOOL 165f44b195310cf2826359d00ba74bb0eac66a47c566ec1a522df50627721c6564bd1730459098a8aa973433978fa815b3a418bbcf787b75ebf1cc3cd585909d
DIST jffi-1.2.9.tar.gz 1952668 SHA256 1cb854a913d295cb9a41cdb1349f68efe3c5d750b3135a1fa07a365d6806f5ef SHA512 2fd9a95cce9a3406a09856761d1318d4c6b976b1f9b66c7c5b0b5e95d44b19ba654ab8288f396782c7bb53e6d9949e7cfa9c46763f2a0761c6e86f102cd202e4 WHIRLPOOL 79ed9433b2b475fd9f5ae228e54bef1d637c9cdac97e63bb16f5510933707c968a0989e6eb7f09a9a79f06bb725ab5267c2373657da1daddbbbe3b093479de3b
diff --git a/dev-java/jffi/jffi-1.2.5.ebuild b/dev-java/jffi/jffi-1.2.5.ebuild
deleted file mode 100644
index d7b2899..0000000
--- a/dev-java/jffi/jffi-1.2.5.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit eutils java-pkg-2 java-ant-2 versionator vcs-snapshot
-
-DESCRIPTION="An optimized Java interface to libffi"
-HOMEPAGE="https://github.com/jnr/jffi"
-SRC_URI="https://github.com/jnr/jffi/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="|| ( Apache-2.0 LGPL-3 )"
-SLOT="1.2"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-COMMON_DEP="
- virtual/libffi"
-RDEPEND="${COMMON_DEP}
- >=virtual/jre-1.5"
-DEPEND="${COMMON_DEP}
- >=virtual/jdk-1.5
- virtual/pkgconfig
- test? (
- dev-java/ant-junit:0
- dev-java/junit:4
- )"
-
-java_prepare() {
- cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
- epatch "${FILESDIR}"/${P}_no-werror.patch
-
- find "${WORKDIR}" -iname '*.jar' -delete
-}
-
-JAVA_ANT_REWRITE_CLASSPATH="yes"
-
-EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
-src_compile() {
- # generate Version.java
- cat > src/main/java/com/kenai/jffi/Version.java <<-EOF
- package com.kenai.jffi;
- public final class Version {
- private Version() {}
- public static final int MAJOR = $(get_version_component_range 1);
- public static final int MINOR = $(get_version_component_range 2);
- public static final int MICRO = $(get_version_component_range 3);
- }
- EOF
-
- java-pkg-2_src_compile
-
- # generate headers
- mkdir -p build/jni
- javah -d build/jni -classpath target/classes \
- com.kenai.jffi.Foreign \
- com.kenai.jffi.ObjectBuffer \
- com.kenai.jffi.Version \
- || die
-
- #build native library.
- local args=(
- SRC_DIR=jni
- JNI_DIR=jni
- BUILD_DIR=build/jni
- VERSION=$(get_version_component_range 1-2)
- USE_SYSTEM_LIBFFI=1
- -f jni/GNUmakefile
- )
- emake "${args[@]}"
-}
-
-EANT_TEST_GENTOO_CLASSPATH="junit-4"
-src_test() {
- # build native test library
- emake BUILD_DIR=build -f libtest/GNUmakefile
-
- _JAVA_OPTIONS="-Djffi.boot.library.path=build/jni" \
- java-pkg-2_src_test
-}
-
-src_install() {
- cat > boot.properties <<-EOF
- jffi.boot.library.path = ${JAVA_PKG_LIBDEST}
- EOF
- jar -uf target/${PN}.jar boot.properties || die
-
- java-pkg_dojar target/${PN}.jar
- java-pkg_doso build/jni/lib${PN}-$(get_version_component_range 1-2).so
-
- use doc && java-pkg_dojavadoc target/site/apidocs
- use source && java-pkg_dosrc src/main/java/*
-}
diff --git a/dev-java/jffi/jffi-1.2.6.ebuild b/dev-java/jffi/jffi-1.2.6.ebuild
deleted file mode 100644
index c9f8a54..0000000
--- a/dev-java/jffi/jffi-1.2.6.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit eutils java-pkg-2 java-ant-2 versionator vcs-snapshot
-
-DESCRIPTION="An optimized Java interface to libffi"
-HOMEPAGE="https://github.com/jnr/jffi"
-SRC_URI="https://github.com/jnr/jffi/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="|| ( Apache-2.0 LGPL-3 )"
-SLOT="1.2"
-KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos ~x64-macos ~x86-macos"
-IUSE=""
-
-COMMON_DEP="
- virtual/libffi"
-RDEPEND="${COMMON_DEP}
- >=virtual/jre-1.5"
-DEPEND="${COMMON_DEP}
- >=virtual/jdk-1.5
- virtual/pkgconfig
- test? (
- dev-java/ant-junit:0
- dev-java/junit:4
- )"
-
-java_prepare() {
- cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
- epatch "${FILESDIR}"/${P}_no-werror.patch
-
- # misc fixes for Darwin
- if [[ ${CHOST} == *-darwin* ]] ; then
- local uarch
- # don't do multiarch
- # avoid using Xcode stuff
- # use Prefix' headers
- # don't mess with deployment target
- # set install_name
- use x64-macos && uarch=x86_64
- use x86-macos && uarch=i386
- use ppc-macos && uarch=ppc
- sed -i \
- -e "/ARCHES +=/s/=.*$/= ${uarch}/" \
- -e "/XCODE=/s:=.*$:=${EPREFIX}:" \
- -e "/MACSDK/s/^/#/" \
- -e "/MACOSX_DEPLOYMENT_TARGET=/s/MAC/NOMAC/" \
- -e "/SOFLAGS =/s:=.*:= -install_name ${EPREFIX}/usr/lib/jffi-${SLOT}/libjffi-${SLOT}.jnilib:" \
- jni/GNUmakefile || die
- fi
-
- find "${WORKDIR}" -iname '*.jar' -delete
-}
-
-JAVA_ANT_REWRITE_CLASSPATH="yes"
-
-EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
-src_compile() {
- # generate Version.java
- cat > src/main/java/com/kenai/jffi/Version.java <<-EOF
- package com.kenai.jffi;
- public final class Version {
- private Version() {}
- public static final int MAJOR = $(get_version_component_range 1);
- public static final int MINOR = $(get_version_component_range 2);
- public static final int MICRO = $(get_version_component_range 3);
- }
- EOF
-
- java-pkg-2_src_compile
-
- # generate headers
- mkdir -p build/jni
- javah -d build/jni -classpath target/classes \
- com.kenai.jffi.Foreign \
- com.kenai.jffi.ObjectBuffer \
- com.kenai.jffi.Version \
- || die
-
- #build native library.
- local args=(
- SRC_DIR=jni
- JNI_DIR=jni
- BUILD_DIR=build/jni
- VERSION=$(get_version_component_range 1-2)
- USE_SYSTEM_LIBFFI=1
- -f jni/GNUmakefile
- )
- emake "${args[@]}"
-}
-
-EANT_TEST_GENTOO_CLASSPATH="junit-4"
-src_test() {
- # build native test library
- emake BUILD_DIR=build -f libtest/GNUmakefile
-
- _JAVA_OPTIONS="-Djffi.boot.library.path=build/jni" \
- java-pkg-2_src_test
-}
-
-src_install() {
- local libname=".so"
-
- cat > boot.properties <<-EOF
- jffi.boot.library.path = ${JAVA_PKG_LIBDEST}
- EOF
- jar -uf target/${PN}.jar boot.properties || die
-
- [[ ${CHOST} == *-darwin* ]] && libname=.jnilib
-
- java-pkg_dojar target/${PN}.jar
- java-pkg_doso build/jni/lib${PN}-$(get_version_component_range 1-2)${libname}
-
- use doc && java-pkg_dojavadoc target/site/apidocs
- use source && java-pkg_dosrc src/main/java/*
-}
diff --git a/dev-java/jffi/jffi-1.2.7-r2.ebuild b/dev-java/jffi/jffi-1.2.7-r2.ebuild
deleted file mode 100644
index 151d77b..0000000
--- a/dev-java/jffi/jffi-1.2.7-r2.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit eutils java-pkg-2 java-ant-2 versionator vcs-snapshot
-
-DESCRIPTION="An optimized Java interface to libffi"
-HOMEPAGE="https://github.com/jnr/jffi"
-SRC_URI="https://github.com/jnr/jffi/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="|| ( Apache-2.0 LGPL-3 )"
-SLOT="1.2"
-KEYWORDS="amd64 ~ppc x86 ~ppc-macos ~x64-macos ~x86-macos"
-
-COMMON_DEP="virtual/libffi:0"
-
-RDEPEND="${COMMON_DEP}
- >=virtual/jre-1.5"
-
-DEPEND="${COMMON_DEP}
- >=virtual/jdk-1.5
- virtual/pkgconfig
- test? (
- dev-java/ant-junit4:0
- dev-java/junit:4
- )"
-
-java_prepare() {
- cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
- epatch "${FILESDIR}"/${P}-makefile.patch
- epatch "${FILESDIR}"/${P}-junit-4.11.patch
-
- # misc fixes for Darwin
- if [[ ${CHOST} == *-darwin* ]] ; then
- local uarch
- # don't do multiarch
- # avoid using Xcode stuff
- # use Prefix' headers
- # don't mess with deployment target
- # set install_name
- use x64-macos && uarch=x86_64
- use x86-macos && uarch=i386
- use ppc-macos && uarch=ppc
- sed -i \
- -e "/ARCHES +=/s/=.*$/= ${uarch}/" \
- -e "/XCODE=/s:=.*$:=${EPREFIX}:" \
- -e "/MACSDK/s/^/#/" \
- -e "/MACOSX_DEPLOYMENT_TARGET=/s/MAC/NOMAC/" \
- -e "/SOFLAGS =/s:=.*:= -install_name ${EPREFIX}/usr/lib/jffi-${SLOT}/libjffi-${SLOT}.jnilib:" \
- jni/GNUmakefile || die
- fi
-
- find "${WORKDIR}" -iname '*.jar' -delete || die
-}
-
-JAVA_ANT_REWRITE_CLASSPATH="yes"
-
-EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
-src_compile() {
- # generate Version.java
- cat > src/main/java/com/kenai/jffi/Version.java <<-EOF
- package com.kenai.jffi;
- public final class Version {
- private Version() {}
- public static final int MAJOR = $(get_version_component_range 1);
- public static final int MINOR = $(get_version_component_range 2);
- public static final int MICRO = $(get_version_component_range 3);
- }
- EOF
-
- java-pkg-2_src_compile
-
- # generate headers
- mkdir -p build/jni
- javah -d build/jni -classpath target/classes \
- com.kenai.jffi.Foreign \
- com.kenai.jffi.ObjectBuffer \
- com.kenai.jffi.Version \
- || die
-
- #build native library.
- local args=(
- SRC_DIR=jni
- JNI_DIR=jni
- BUILD_DIR=build/jni
- VERSION=$(get_version_component_range 1-2)
- USE_SYSTEM_LIBFFI=1
- -f jni/GNUmakefile
- )
- emake "${args[@]}"
-}
-
-EANT_TEST_GENTOO_CLASSPATH="ant-junit4,junit-4"
-
-src_test() {
- # build native test library
- emake BUILD_DIR=build -f libtest/GNUmakefile
-
- _JAVA_OPTIONS="-Djffi.boot.library.path=${S}/build/jni" \
- java-pkg-2_src_test
-}
-
-src_install() {
- local libname=".so"
-
- [[ ${CHOST} == *-darwin* ]] && libname=.jnilib
- java-pkg_doso build/jni/lib${PN}-$(get_version_component_range 1-2)${libname}
-
- # must by after _doso to have JAVA_PKG_LIBDEST set
- cat > boot.properties <<-EOF
- jffi.boot.library.path = ${JAVA_PKG_LIBDEST}
- EOF
- jar -uf target/${PN}.jar boot.properties || die
-
- java-pkg_dojar target/${PN}.jar
-
- use doc && java-pkg_dojavadoc target/site/apidocs
- use source && java-pkg_dosrc src/main/java/*
-}
diff --git a/dev-java/jffi/jffi-1.2.7.ebuild b/dev-java/jffi/jffi-1.2.7.ebuild
deleted file mode 100644
index 7fef0f6..0000000
--- a/dev-java/jffi/jffi-1.2.7.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit eutils java-pkg-2 java-ant-2 versionator vcs-snapshot
-
-DESCRIPTION="An optimized Java interface to libffi"
-HOMEPAGE="https://github.com/jnr/jffi"
-SRC_URI="https://github.com/jnr/jffi/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="|| ( Apache-2.0 LGPL-3 )"
-SLOT="1.2"
-KEYWORDS="amd64 ppc x86 ~ppc-macos ~x64-macos ~x86-macos"
-
-COMMON_DEP="virtual/libffi:0"
-
-RDEPEND="${COMMON_DEP}
- >=virtual/jre-1.5"
-
-DEPEND="${COMMON_DEP}
- >=virtual/jdk-1.5
- virtual/pkgconfig
- test? (
- dev-java/ant-junit4:0
- dev-java/junit:4
- )"
-
-java_prepare() {
- cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
- epatch "${FILESDIR}"/${P}_no-werror.patch
- epatch "${FILESDIR}"/${P}-junit-4.11.patch
-
- # misc fixes for Darwin
- if [[ ${CHOST} == *-darwin* ]] ; then
- local uarch
- # don't do multiarch
- # avoid using Xcode stuff
- # use Prefix' headers
- # don't mess with deployment target
- # set install_name
- use x64-macos && uarch=x86_64
- use x86-macos && uarch=i386
- use ppc-macos && uarch=ppc
- sed -i \
- -e "/ARCHES +=/s/=.*$/= ${uarch}/" \
- -e "/XCODE=/s:=.*$:=${EPREFIX}:" \
- -e "/MACSDK/s/^/#/" \
- -e "/MACOSX_DEPLOYMENT_TARGET=/s/MAC/NOMAC/" \
- -e "/SOFLAGS =/s:=.*:= -install_name ${EPREFIX}/usr/lib/jffi-${SLOT}/libjffi-${SLOT}.jnilib:" \
- jni/GNUmakefile || die
- fi
-
- find "${WORKDIR}" -iname '*.jar' -delete
-}
-
-JAVA_ANT_REWRITE_CLASSPATH="yes"
-
-EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
-src_compile() {
- # generate Version.java
- cat > src/main/java/com/kenai/jffi/Version.java <<-EOF
- package com.kenai.jffi;
- public final class Version {
- private Version() {}
- public static final int MAJOR = $(get_version_component_range 1);
- public static final int MINOR = $(get_version_component_range 2);
- public static final int MICRO = $(get_version_component_range 3);
- }
- EOF
-
- java-pkg-2_src_compile
-
- # generate headers
- mkdir -p build/jni
- javah -d build/jni -classpath target/classes \
- com.kenai.jffi.Foreign \
- com.kenai.jffi.ObjectBuffer \
- com.kenai.jffi.Version \
- || die
-
- #build native library.
- local args=(
- SRC_DIR=jni
- JNI_DIR=jni
- BUILD_DIR=build/jni
- VERSION=$(get_version_component_range 1-2)
- USE_SYSTEM_LIBFFI=1
- -f jni/GNUmakefile
- )
- emake "${args[@]}"
-}
-
-EANT_TEST_GENTOO_CLASSPATH="ant-junit4,junit-4"
-
-src_test() {
- # build native test library
- emake BUILD_DIR=build -f libtest/GNUmakefile
-
- _JAVA_OPTIONS="-Djffi.boot.library.path=build/jni" \
- java-pkg-2_src_test
-}
-
-src_install() {
- local libname=".so"
-
- cat > boot.properties <<-EOF
- jffi.boot.library.path = ${JAVA_PKG_LIBDEST}
- EOF
- jar -uf target/${PN}.jar boot.properties || die
-
- [[ ${CHOST} == *-darwin* ]] && libname=.jnilib
-
- java-pkg_dojar target/${PN}.jar
- java-pkg_doso build/jni/lib${PN}-$(get_version_component_range 1-2)${libname}
-
- use doc && java-pkg_dojavadoc target/site/apidocs
- use source && java-pkg_dosrc src/main/java/*
-}
diff --git a/dev-java/jffi/jffi-1.2.8.ebuild b/dev-java/jffi/jffi-1.2.8.ebuild
deleted file mode 100644
index 064bc69..0000000
--- a/dev-java/jffi/jffi-1.2.8.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit eutils java-pkg-2 java-ant-2 versionator
-
-DESCRIPTION="An optimized Java interface to libffi"
-HOMEPAGE="https://github.com/jnr/jffi"
-SRC_URI="https://github.com/jnr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="|| ( Apache-2.0 LGPL-3 )"
-SLOT="1.2"
-KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos ~x64-macos ~x86-macos"
-
-COMMON_DEP="virtual/libffi:0"
-
-RDEPEND="${COMMON_DEP}
- >=virtual/jre-1.5"
-
-DEPEND="${COMMON_DEP}
- >=virtual/jdk-1.5
- virtual/pkgconfig
- test? (
- dev-java/ant-junit4:0
- dev-java/junit:4
- )"
-
-java_prepare() {
- cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
- epatch "${FILESDIR}"/${PN}-1.2.8-makefile.patch
- epatch "${FILESDIR}"/${PN}-1.2.8-junit-4.11.patch
-
- # misc fixes for Darwin
- if [[ ${CHOST} == *-darwin* ]] ; then
- local uarch
- # don't do multiarch
- # avoid using Xcode stuff
- # use Prefix' headers
- # don't mess with deployment target
- # set install_name
- use x64-macos && uarch=x86_64
- use x86-macos && uarch=i386
- use ppc-macos && uarch=ppc
- sed -i \
- -e "/ARCHES +=/s/=.*$/= ${uarch}/" \
- -e "/XCODE=/s:=.*$:=${EPREFIX}:" \
- -e "/MACSDK/s/^/#/" \
- -e "/MACOSX_DEPLOYMENT_TARGET=/s/MAC/NOMAC/" \
- -e "/SOFLAGS =/s:=.*:= -install_name ${EPREFIX}/usr/lib/jffi-${SLOT}/libjffi-${SLOT}.jnilib:" \
- jni/GNUmakefile || die
- fi
-
- find "${WORKDIR}" -iname '*.jar' -delete || die
-}
-
-JAVA_ANT_REWRITE_CLASSPATH="yes"
-
-EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
-src_compile() {
- # generate Version.java
- cat > src/main/java/com/kenai/jffi/Version.java <<-EOF
- package com.kenai.jffi;
- public final class Version {
- private Version() {}
- public static final int MAJOR = $(get_version_component_range 1);
- public static final int MINOR = $(get_version_component_range 2);
- public static final int MICRO = $(get_version_component_range 3);
- }
- EOF
-
- java-pkg-2_src_compile
-
- # generate headers
- mkdir -p build/jni
- javah -d build/jni -classpath target/classes \
- com.kenai.jffi.Foreign \
- com.kenai.jffi.ObjectBuffer \
- com.kenai.jffi.Version \
- || die
-
- #build native library.
- local args=(
- SRC_DIR=jni
- JNI_DIR=jni
- BUILD_DIR=build/jni
- VERSION=$(get_version_component_range 1-2)
- USE_SYSTEM_LIBFFI=1
- CCACHE=
- -f jni/GNUmakefile
- )
- emake "${args[@]}"
-}
-
-EANT_TEST_GENTOO_CLASSPATH="ant-junit4,junit-4"
-
-src_test() {
- # build native test library
- emake BUILD_DIR=build -f libtest/GNUmakefile
-
- _JAVA_OPTIONS="-Djffi.boot.library.path=${S}/build/jni" \
- java-pkg-2_src_test
-}
-
-src_install() {
- local libname=".so"
-
- [[ ${CHOST} == *-darwin* ]] && libname=.jnilib
- java-pkg_doso build/jni/lib${PN}-$(get_version_component_range 1-2)${libname}
-
- # must by after _doso to have JAVA_PKG_LIBDEST set
- cat > boot.properties <<-EOF
- jffi.boot.library.path = ${JAVA_PKG_LIBDEST}
- EOF
- jar -uf target/${PN}.jar boot.properties || die
-
- java-pkg_dojar target/${PN}.jar
-
- use doc && java-pkg_dojavadoc target/site/apidocs
- use source && java-pkg_dosrc src/main/java/*
-}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2015-12-05 19:49 Patrice Clement
0 siblings, 0 replies; 33+ messages in thread
From: Patrice Clement @ 2015-12-05 19:49 UTC (permalink / raw
To: gentoo-commits
commit: b38360ca60ee6c12f505cc62da14422ef6b69638
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 5 19:10:34 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Dec 5 19:48:21 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b38360ca
dev-java/jffi: Stable for amd64. Retroactively mark stable for the remaining arches using the ALLARCHES policy.
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
dev-java/jffi/jffi-1.0.11-r1.ebuild | 31 ++++++++++++++++++++-----------
1 file changed, 20 insertions(+), 11 deletions(-)
diff --git a/dev-java/jffi/jffi-1.0.11-r1.ebuild b/dev-java/jffi/jffi-1.0.11-r1.ebuild
index 7af0347..271b085 100644
--- a/dev-java/jffi/jffi-1.0.11-r1.ebuild
+++ b/dev-java/jffi/jffi-1.0.11-r1.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
-
JAVA_PKG_IUSE="doc source test"
inherit eutils java-pkg-2 java-ant-2 versionator
@@ -14,32 +13,42 @@ SRC_URI="https://github.com/jnr/jffi/tarball/${PV} -> ${P}.tar.gz"
LICENSE="|| ( Apache-2.0 LGPL-3 )"
SLOT="1.0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ppc x86"
IUSE=""
-COMMON_DEP="
+CDEPEND="
virtual/libffi"
-RDEPEND="${COMMON_DEP}
- >=virtual/jre-1.5"
-DEPEND="${COMMON_DEP}
- >=virtual/jdk-1.5
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.6
virtual/pkgconfig
test? (
dev-java/ant-junit:0
dev-java/junit:4
)"
+PATCHES=(
+ "${FILESDIR}"/${P}_no-werror.patch
+)
+
src_unpack() {
unpack ${A}
mv jnr-jffi-* "${P}" || die
}
java_prepare() {
+ java-pkg_clean
+
cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
- epatch "${FILESDIR}"/${P}_no-werror.patch
- sed -i -e 's/-Werror //' libtest/GNUmakefile || die
- find "${WORKDIR}" -iname '*.jar' -delete || die
+ epatch "${PATCHES[@]}"
+
+ sed -i -e 's/-Werror //' libtest/GNUmakefile || die
# Fix build with GCC 4.7 #421501
sed -i -e "s|-mimpure-text||g" jni/GNUmakefile libtest/GNUmakefile || die
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2015-12-05 19:49 Patrice Clement
0 siblings, 0 replies; 33+ messages in thread
From: Patrice Clement @ 2015-12-05 19:49 UTC (permalink / raw
To: gentoo-commits
commit: 5a496254a57dae1df0bc58211a9746a0c4cb3522
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 5 19:11:01 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Dec 5 19:48:24 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a496254
dev-java/jffi: Clean up old.
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
dev-java/jffi/jffi-1.0.11.ebuild | 105 ---------------------------------------
1 file changed, 105 deletions(-)
diff --git a/dev-java/jffi/jffi-1.0.11.ebuild b/dev-java/jffi/jffi-1.0.11.ebuild
deleted file mode 100644
index 4dd786b..0000000
--- a/dev-java/jffi/jffi-1.0.11.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit eutils java-pkg-2 java-ant-2 versionator
-
-DESCRIPTION="An optimized Java interface to libffi"
-HOMEPAGE="https://github.com/jnr"
-SRC_URI="https://github.com/jnr/jffi/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="|| ( Apache-2.0 LGPL-3 )"
-SLOT="1.0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE=""
-
-COMMON_DEP="
- virtual/libffi"
-RDEPEND="${COMMON_DEP}
- >=virtual/jre-1.5"
-DEPEND="${COMMON_DEP}
- >=virtual/jdk-1.5
- virtual/pkgconfig
- test? (
- dev-java/ant-junit:0
- dev-java/junit:4
- )"
-
-src_unpack() {
- unpack ${A}
- mv jnr-jffi-* "${P}" || die
-}
-
-java_prepare() {
- cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
- epatch "${FILESDIR}"/${P}_no-werror.patch
- sed -i -e 's/-Werror //' libtest/GNUmakefile || die
-
- find "${WORKDIR}" -iname '*.jar' -delete
-
- # Fix build with GCC 4.7 #421501
- sed -i -e "s|-mimpure-text||g" jni/GNUmakefile libtest/GNUmakefile || die
-}
-
-JAVA_ANT_REWRITE_CLASSPATH="yes"
-
-EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
-src_compile() {
- # generate Version.java
- cat <<-EOF > src/main/java/com/kenai/jffi/Version.java
- package com.kenai.jffi;
- public final class Version {
- private Version() {}
- public static final int MAJOR = $(get_version_component_range 1);
- public static final int MINOR = $(get_version_component_range 2);
- public static final int MICRO = $(get_version_component_range 3);
- }
- EOF
-
- java-pkg-2_src_compile
-
- # generate headers
- mkdir -p build/jni
- javah -d build/jni -classpath target/classes \
- com.kenai.jffi.Foreign \
- com.kenai.jffi.ObjectBuffer \
- com.kenai.jffi.Version \
- || die
-
- #build native library.
- local args=(
- SRC_DIR=jni
- JNI_DIR=jni
- BUILD_DIR=build/jni
- VERSION=$(get_version_component_range 1-2)
- USE_SYSTEM_LIBFFI=1
- -f jni/GNUmakefile
- )
- emake "${args[@]}"
-}
-
-EANT_TEST_GENTOO_CLASSPATH="junit-4"
-src_test() {
- # build native test library
- emake BUILD_DIR=build -f libtest/GNUmakefile
-
- _JAVA_OPTIONS="-Djffi.boot.library.path=build/jni" \
- java-pkg-2_src_test
-}
-
-src_install() {
- cat <<-EOF > boot.properties
- jffi.boot.library.path = ${JAVA_PKG_LIBDEST}
- EOF
- jar -uf target/${PN}.jar boot.properties || die
-
- java-pkg_dojar target/${PN}.jar
- java-pkg_doso build/jni/lib${PN}-$(get_version_component_range 1-2).so
-
- use doc && java-pkg_dojavadoc target/site/apidocs
- use source && java-pkg_dosrc src/main/java/*
-}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2015-12-05 19:49 Patrice Clement
0 siblings, 0 replies; 33+ messages in thread
From: Patrice Clement @ 2015-12-05 19:49 UTC (permalink / raw
To: gentoo-commits
commit: e855a441c79db564315a6ccfe4e5cdbb7e76c9c7
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 5 19:11:55 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Dec 5 19:48:26 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e855a441
dev-java/jffi: Keyword for ppc64.
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
dev-java/jffi/jffi-1.0.11-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.0.11-r1.ebuild b/dev-java/jffi/jffi-1.0.11-r1.ebuild
index 271b085..1526686 100644
--- a/dev-java/jffi/jffi-1.0.11-r1.ebuild
+++ b/dev-java/jffi/jffi-1.0.11-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/jnr/jffi/tarball/${PV} -> ${P}.tar.gz"
LICENSE="|| ( Apache-2.0 LGPL-3 )"
SLOT="1.0"
-KEYWORDS="amd64 ppc x86"
+KEYWORDS="amd64 ppc ~ppc64 x86"
IUSE=""
CDEPEND="
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2017-07-13 17:27 Alexis Ballier
0 siblings, 0 replies; 33+ messages in thread
From: Alexis Ballier @ 2017-07-13 17:27 UTC (permalink / raw
To: gentoo-commits
commit: fdfc4d310fdd4ce59912de53f225a3805748a92c
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 13 17:26:05 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Jul 13 17:27:35 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdfc4d31
dev-java/jffi: keyword ~arm64
Package-Manager: Portage-2.3.6, Repoman-2.3.2
dev-java/jffi/jffi-1.2.9.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-java/jffi/jffi-1.2.9.ebuild b/dev-java/jffi/jffi-1.2.9.ebuild
index a0c68d324f6..51bc215bdac 100644
--- a/dev-java/jffi/jffi-1.2.9.ebuild
+++ b/dev-java/jffi/jffi-1.2.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/jnr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( Apache-2.0 LGPL-3 )"
SLOT="1.2"
-KEYWORDS="amd64 ppc64 x86 ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="amd64 ~arm64 ppc64 x86 ~ppc-macos ~x64-macos ~x86-macos"
CDEPEND="virtual/libffi:0"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2020-11-16 22:53 Sergei Trofimovich
0 siblings, 0 replies; 33+ messages in thread
From: Sergei Trofimovich @ 2020-11-16 22:53 UTC (permalink / raw
To: gentoo-commits
commit: 50d0b61e55d4bcf948b6a5abcb06cecec67cfdf0
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 16 22:46:35 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Nov 16 22:53:02 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50d0b61e
dev-java/jffi: use dev-libs/libffi instead of virtual/libffi
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-java/jffi/jffi-1.2.9.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-java/jffi/jffi-1.2.9.ebuild b/dev-java/jffi/jffi-1.2.9.ebuild
index 51bc215bdac..27466b724b6 100644
--- a/dev-java/jffi/jffi-1.2.9.ebuild
+++ b/dev-java/jffi/jffi-1.2.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -15,7 +15,7 @@ LICENSE="|| ( Apache-2.0 LGPL-3 )"
SLOT="1.2"
KEYWORDS="amd64 ~arm64 ppc64 x86 ~ppc-macos ~x64-macos ~x86-macos"
-CDEPEND="virtual/libffi:0"
+CDEPEND="dev-libs/libffi:0="
RDEPEND="${CDEPEND}
>=virtual/jre-1.6"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2021-01-07 8:20 Fabian Groffen
0 siblings, 0 replies; 33+ messages in thread
From: Fabian Groffen @ 2021-01-07 8:20 UTC (permalink / raw
To: gentoo-commits
commit: 016d72f37194dbe2be4460d6302189a6f226973f
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 7 08:13:57 2021 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Jan 7 08:13:57 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=016d72f3
dev-java/jffi: drop handling for x86-macos
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
dev-java/jffi/jffi-1.2.9.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.2.9.ebuild b/dev-java/jffi/jffi-1.2.9.ebuild
index acddf996628..7f8b0a351a9 100644
--- a/dev-java/jffi/jffi-1.2.9.ebuild
+++ b/dev-java/jffi/jffi-1.2.9.ebuild
@@ -49,7 +49,6 @@ java_prepare() {
# don't mess with deployment target
# set install_name
use x64-macos && uarch=x86_64
- use x86-macos && uarch=i386
use ppc-macos && uarch=ppc
sed -i \
-e "/ARCHES +=/s/=.*$/= ${uarch}/" \
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2021-11-20 19:20 Miroslav Šulc
0 siblings, 0 replies; 33+ messages in thread
From: Miroslav Šulc @ 2021-11-20 19:20 UTC (permalink / raw
To: gentoo-commits
commit: c297ea37887f0695d7e85458689d6833d7c48d78
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Nov 20 16:42:54 2021 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Nov 20 19:18:20 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c297ea37
dev-java/jffi: LC_ALL=C to avoid test failure
Avoid https://github.com/jnr/jffi/issues/60
1) returnDefaultF128HighPrecision(com.kenai.jffi.NumberTest)
java.lang.AssertionError
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/22916
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/jffi/jffi-1.3.6.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.3.6.ebuild b/dev-java/jffi/jffi-1.3.6.ebuild
index 99abfcf99b76..000f9908913b 100644
--- a/dev-java/jffi/jffi-1.3.6.ebuild
+++ b/dev-java/jffi/jffi-1.3.6.ebuild
@@ -77,7 +77,9 @@ src_compile() {
src_test() {
# build native test library
emake BUILD_DIR=build -f libtest/GNUmakefile
- java-pkg-simple_src_test
+
+ # https://github.com/jnr/jffi/issues/60
+ LC_ALL=C java-pkg-simple_src_test
}
src_install() {
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2021-11-22 13:44 Sam James
0 siblings, 0 replies; 33+ messages in thread
From: Sam James @ 2021-11-22 13:44 UTC (permalink / raw
To: gentoo-commits
commit: 1336bbfe69797ba4add15cffc306c4b082f0e87a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 22 13:44:01 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 22 13:44:01 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1336bbfe
dev-java/jffi: Stabilize 1.3.6 amd64, #825494
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/jffi/jffi-1.3.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.3.6.ebuild b/dev-java/jffi/jffi-1.3.6.ebuild
index 000f9908913b..bc93b1620aa6 100644
--- a/dev-java/jffi/jffi-1.3.6.ebuild
+++ b/dev-java/jffi/jffi-1.3.6.ebuild
@@ -18,7 +18,7 @@ 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"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
DEPEND=">=virtual/jdk-1.8:*"
RDEPEND=">=virtual/jre-1.8:*"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2021-11-23 10:48 Sam James
0 siblings, 0 replies; 33+ messages in thread
From: Sam James @ 2021-11-23 10:48 UTC (permalink / raw
To: gentoo-commits
commit: 57e19fd99c9a526b8acbcac579b2f88a83476317
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 23 10:47:02 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 23 10:47:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57e19fd9
dev-java/jffi: Stabilize 1.3.6 x86, #825494
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/jffi/jffi-1.3.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.3.6.ebuild b/dev-java/jffi/jffi-1.3.6.ebuild
index bc93b1620aa6..566dc754a0e1 100644
--- a/dev-java/jffi/jffi-1.3.6.ebuild
+++ b/dev-java/jffi/jffi-1.3.6.ebuild
@@ -18,7 +18,7 @@ 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"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
DEPEND=">=virtual/jdk-1.8:*"
RDEPEND=">=virtual/jre-1.8:*"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2021-11-23 17:02 Sam James
0 siblings, 0 replies; 33+ messages in thread
From: Sam James @ 2021-11-23 17:02 UTC (permalink / raw
To: gentoo-commits
commit: 31d1f16e5f7a010d55a16cb85bd005e9d9477065
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 23 17:02:05 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 23 17:02:05 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31d1f16e
dev-java/jffi: Stabilize 1.3.6 arm64, #825494
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/jffi/jffi-1.3.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.3.6.ebuild b/dev-java/jffi/jffi-1.3.6.ebuild
index 566dc754a0e1..f34b51d92cc2 100644
--- a/dev-java/jffi/jffi-1.3.6.ebuild
+++ b/dev-java/jffi/jffi-1.3.6.ebuild
@@ -18,7 +18,7 @@ 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"
+KEYWORDS="amd64 arm64 ~ppc64 x86"
DEPEND=">=virtual/jdk-1.8:*"
RDEPEND=">=virtual/jre-1.8:*"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2021-12-27 16:32 Arthur Zamarin
0 siblings, 0 replies; 33+ messages in thread
From: Arthur Zamarin @ 2021-12-27 16:32 UTC (permalink / raw
To: gentoo-commits
commit: f1d7825a5a2bbe79f99fc2da4867459295ea2b10
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 27 16:31:54 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 27 16:31:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1d7825a
dev-java/jffi: Keyword 1.2.9-r1 arm, #830048
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-java/jffi/jffi-1.2.9-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.2.9-r1.ebuild b/dev-java/jffi/jffi-1.2.9-r1.ebuild
index 6c6b7d259e42..ef103551c7d9 100644
--- a/dev-java/jffi/jffi-1.2.9-r1.ebuild
+++ b/dev-java/jffi/jffi-1.2.9-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/jnr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( Apache-2.0 LGPL-3 )"
SLOT="1.2"
-KEYWORDS="amd64 ~arm64 ppc64 x86 ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~ppc-macos ~x64-macos"
CDEPEND="dev-libs/libffi:0="
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2022-07-08 6:43 Agostino Sarubbo
0 siblings, 0 replies; 33+ messages in thread
From: Agostino Sarubbo @ 2022-07-08 6:43 UTC (permalink / raw
To: gentoo-commits
commit: 4e6f2fdebbdcb445fd694e994042740a68dee70d
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 8 06:43:29 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Jul 8 06:43:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e6f2fde
dev-java/jffi: amd64 stable wrt bug #856901
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-java/jffi/jffi-1.3.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.3.9.ebuild b/dev-java/jffi/jffi-1.3.9.ebuild
index f946f5fb5408..9da5c461473c 100644
--- a/dev-java/jffi/jffi-1.3.9.ebuild
+++ b/dev-java/jffi/jffi-1.3.9.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/jnr/${PN}/archive/refs/tags/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="1.3"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
DEPEND=">=virtual/jdk-1.8:*"
RDEPEND=">=virtual/jre-1.8:*"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2022-07-08 6:45 Agostino Sarubbo
0 siblings, 0 replies; 33+ messages in thread
From: Agostino Sarubbo @ 2022-07-08 6:45 UTC (permalink / raw
To: gentoo-commits
commit: b1549f9eaa5245af19027581c3135e8e1a6a28a2
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 8 06:44:49 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Jul 8 06:44:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1549f9e
dev-java/jffi: x86 stable wrt bug #856901
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-java/jffi/jffi-1.3.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.3.9.ebuild b/dev-java/jffi/jffi-1.3.9.ebuild
index 9da5c461473c..938783d2c89c 100644
--- a/dev-java/jffi/jffi-1.3.9.ebuild
+++ b/dev-java/jffi/jffi-1.3.9.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/jnr/${PN}/archive/refs/tags/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="1.3"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
DEPEND=">=virtual/jdk-1.8:*"
RDEPEND=">=virtual/jre-1.8:*"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2022-07-09 9:37 Arthur Zamarin
0 siblings, 0 replies; 33+ messages in thread
From: Arthur Zamarin @ 2022-07-09 9:37 UTC (permalink / raw
To: gentoo-commits
commit: 40886ddd7e91143af0496a688799dc8b5690fdf8
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 9 09:37:09 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 9 09:37:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40886ddd
dev-java/jffi: Stabilize 1.3.9 arm64, #856901
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-java/jffi/jffi-1.3.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.3.9.ebuild b/dev-java/jffi/jffi-1.3.9.ebuild
index 938783d2c89c..d74a2940741e 100644
--- a/dev-java/jffi/jffi-1.3.9.ebuild
+++ b/dev-java/jffi/jffi-1.3.9.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/jnr/${PN}/archive/refs/tags/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="1.3"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 arm64 ~ppc64 x86"
DEPEND=">=virtual/jdk-1.8:*"
RDEPEND=">=virtual/jre-1.8:*"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2022-07-25 0:28 Sam James
0 siblings, 0 replies; 33+ messages in thread
From: Sam James @ 2022-07-25 0:28 UTC (permalink / raw
To: gentoo-commits
commit: 32a4721f0f3891663540ad831c3c6923cafed8c4
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Jul 24 15:46:36 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 25 00:27:51 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32a4721f
dev-java/jffi: depend on >=dev-libs/libffi-3.4.2-r2
3.4.2-r1 was causing issues on PPC64.
Bug: https://bugs.gentoo.org/827215
Bug: https://github.com/jnr/jffi/issues/107
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/26568
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/jffi/jffi-1.3.9-r1.ebuild | 99 ++++++++++++++++++++++++++++++++++++++
1 file changed, 99 insertions(+)
diff --git a/dev-java/jffi/jffi-1.3.9-r1.ebuild b/dev-java/jffi/jffi-1.3.9-r1.ebuild
new file mode 100644
index 000000000000..0655be95b313
--- /dev/null
+++ b/dev-java/jffi/jffi-1.3.9-r1.ebuild
@@ -0,0 +1,99 @@
+# 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 ~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
+}
+
+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
+}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2022-08-23 17:07 Arthur Zamarin
0 siblings, 0 replies; 33+ messages in thread
From: Arthur Zamarin @ 2022-08-23 17:07 UTC (permalink / raw
To: gentoo-commits
commit: 8857773cb392c49503f5c18c7053496486a611c2
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 23 17:03:14 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 23 17:03:14 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8857773c
dev-java/jffi: Stabilize 1.3.9-r1 ppc64, #825494
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-java/jffi/jffi-1.3.9-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.3.9-r1.ebuild b/dev-java/jffi/jffi-1.3.9-r1.ebuild
index 0655be95b313..2909d6af8cd8 100644
--- a/dev-java/jffi/jffi-1.3.9-r1.ebuild
+++ b/dev-java/jffi/jffi-1.3.9-r1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/jnr/${PN}/archive/refs/tags/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="1.3"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ppc64 ~x86"
DEPEND=">=virtual/jdk-1.8:*
>=dev-libs/libffi-3.4.2-r2:="
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2022-08-24 5:25 Agostino Sarubbo
0 siblings, 0 replies; 33+ messages in thread
From: Agostino Sarubbo @ 2022-08-24 5:25 UTC (permalink / raw
To: gentoo-commits
commit: 418b875eac20ea37a54d940cf85cc8c16268cb14
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 24 05:24:58 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Aug 24 05:24:58 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=418b875e
dev-java/jffi: amd64 stable wrt bug #866203
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-java/jffi/jffi-1.3.9-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.3.9-r1.ebuild b/dev-java/jffi/jffi-1.3.9-r1.ebuild
index 2909d6af8cd8..cd12fc2ac4ce 100644
--- a/dev-java/jffi/jffi-1.3.9-r1.ebuild
+++ b/dev-java/jffi/jffi-1.3.9-r1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/jnr/${PN}/archive/refs/tags/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="1.3"
-KEYWORDS="~amd64 ~arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ppc64 ~x86"
DEPEND=">=virtual/jdk-1.8:*
>=dev-libs/libffi-3.4.2-r2:="
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2022-08-24 7:04 Sam James
0 siblings, 0 replies; 33+ messages in thread
From: Sam James @ 2022-08-24 7:04 UTC (permalink / raw
To: gentoo-commits
commit: b6d3727c7bcd24745a0ccbe20a55d208c1814cde
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 24 07:03:24 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 24 07:03:24 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6d3727c
dev-java/jffi: Stabilize 1.3.9-r1 arm64, #866203
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/jffi/jffi-1.3.9-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.3.9-r1.ebuild b/dev-java/jffi/jffi-1.3.9-r1.ebuild
index cd12fc2ac4ce..69872443c1ad 100644
--- a/dev-java/jffi/jffi-1.3.9-r1.ebuild
+++ b/dev-java/jffi/jffi-1.3.9-r1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/jnr/${PN}/archive/refs/tags/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="1.3"
-KEYWORDS="amd64 ~arm64 ppc64 ~x86"
+KEYWORDS="amd64 arm64 ppc64 ~x86"
DEPEND=">=virtual/jdk-1.8:*
>=dev-libs/libffi-3.4.2-r2:="
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2022-08-25 3:33 Sam James
0 siblings, 0 replies; 33+ messages in thread
From: Sam James @ 2022-08-25 3:33 UTC (permalink / raw
To: gentoo-commits
commit: 8f9913dc52985c29fc9cbe2eea8336cce2b93ef9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 25 03:32:18 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 25 03:32:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f9913dc
dev-java/jffi: Stabilize 1.3.9-r1 x86, #866203
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/jffi/jffi-1.3.9-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.3.9-r1.ebuild b/dev-java/jffi/jffi-1.3.9-r1.ebuild
index 69872443c1ad..e5267de9cd58 100644
--- a/dev-java/jffi/jffi-1.3.9-r1.ebuild
+++ b/dev-java/jffi/jffi-1.3.9-r1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/jnr/${PN}/archive/refs/tags/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="1.3"
-KEYWORDS="amd64 arm64 ppc64 ~x86"
+KEYWORDS="amd64 arm64 ppc64 x86"
DEPEND=">=virtual/jdk-1.8:*
>=dev-libs/libffi-3.4.2-r2:="
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2022-08-25 18:52 Arthur Zamarin
0 siblings, 0 replies; 33+ messages in thread
From: Arthur Zamarin @ 2022-08-25 18:52 UTC (permalink / raw
To: gentoo-commits
commit: 4c37294de4ddb2980476127d37bef5eb4d279608
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Thu Aug 25 05:12:27 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 25 18:52:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c37294d
dev-java/jffi: drop 1.3.9
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/27009
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-java/jffi/jffi-1.3.9.ebuild | 97 -----------------------------------------
1 file changed, 97 deletions(-)
diff --git a/dev-java/jffi/jffi-1.3.9.ebuild b/dev-java/jffi/jffi-1.3.9.ebuild
deleted file mode 100644
index d74a2940741e..000000000000
--- a/dev-java/jffi/jffi-1.3.9.ebuild
+++ /dev/null
@@ -1,97 +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 arm64 ~ppc64 x86"
-
-DEPEND=">=virtual/jdk-1.8:*"
-RDEPEND=">=virtual/jre-1.8:*"
-
-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
-}
-
-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
-}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2022-09-02 17:23 Arthur Zamarin
0 siblings, 0 replies; 33+ messages in thread
From: Arthur Zamarin @ 2022-09-02 17:23 UTC (permalink / raw
To: gentoo-commits
commit: edc771213fe3b15c5b85857bb9877e79cd52671a
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Aug 27 15:56:04 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 2 17:23:13 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edc77121
dev-java/jffi: exclude failing tests on arm
Closes: https://bugs.gentoo.org/829820
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-java/jffi/jffi-1.3.9-r1.ebuild | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/dev-java/jffi/jffi-1.3.9-r1.ebuild b/dev-java/jffi/jffi-1.3.9-r1.ebuild
index e5267de9cd58..04acfb709255 100644
--- a/dev-java/jffi/jffi-1.3.9-r1.ebuild
+++ b/dev-java/jffi/jffi-1.3.9-r1.ebuild
@@ -51,6 +51,29 @@ src_prepare() {
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() {
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2022-09-02 17:24 Arthur Zamarin
0 siblings, 0 replies; 33+ messages in thread
From: Arthur Zamarin @ 2022-09-02 17:24 UTC (permalink / raw
To: gentoo-commits
commit: ac7d859938db4e321fac0158a15cd08b6cf3ca99
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 2 17:24:02 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 2 17:24:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac7d8599
dev-java/jffi: Keyword 1.3.9-r1 arm, #866201
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-java/jffi/jffi-1.3.9-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.3.9-r1.ebuild b/dev-java/jffi/jffi-1.3.9-r1.ebuild
index 04acfb709255..ee8168740ba4 100644
--- a/dev-java/jffi/jffi-1.3.9-r1.ebuild
+++ b/dev-java/jffi/jffi-1.3.9-r1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/jnr/${PN}/archive/refs/tags/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="1.3"
-KEYWORDS="amd64 arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
DEPEND=">=virtual/jdk-1.8:*
>=dev-libs/libffi-3.4.2-r2:="
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2023-02-27 8:57 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2023-02-27 8:57 UTC (permalink / raw
To: gentoo-commits
commit: ba4b499ebfd082c8022b05b828261dcde4d4800f
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Jan 28 11:01:14 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 08:57:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba4b499e
dev-java/jffi: add 1.3.10
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
dev-java/jffi/Manifest | 1 +
dev-java/jffi/jffi-1.3.10.ebuild | 118 +++++++++++++++++++++++++++++++++++++++
2 files changed, 119 insertions(+)
diff --git a/dev-java/jffi/Manifest b/dev-java/jffi/Manifest
index 1417241bf1c7..6dfe7544ed64 100644
--- a/dev-java/jffi/Manifest
+++ b/dev-java/jffi/Manifest
@@ -1 +1,2 @@
+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.10.ebuild b/dev-java/jffi/jffi-1.3.10.ebuild
new file mode 100644
index 000000000000..38a54daf093d
--- /dev/null
+++ b/dev-java/jffi/jffi-1.3.10.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="com.github.jnr:jffi:1.3.10"
+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/${P}.tar.gz"
+S="${WORKDIR}/${PN}-${P}"
+
+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 )
+
+JAVA_AUTOMATIC_MODULE_NAME="org.jnrproject.jffi"
+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() {
+ java-pkg-2_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() {
+ 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
+}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2023-03-29 11:33 Sam James
0 siblings, 0 replies; 33+ messages in thread
From: Sam James @ 2023-03-29 11:33 UTC (permalink / raw
To: gentoo-commits
commit: 45c90a4d685cab1de34bd8604e3494e9f58fd2ff
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 29 11:33:09 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 29 11:33:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45c90a4d
dev-java/jffi: Stabilize 1.3.10 arm64, #903523
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/jffi/jffi-1.3.10.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.3.10.ebuild b/dev-java/jffi/jffi-1.3.10.ebuild
index 38a54daf093d..058a42c3d656 100644
--- a/dev-java/jffi/jffi-1.3.10.ebuild
+++ b/dev-java/jffi/jffi-1.3.10.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${P}"
LICENSE="Apache-2.0"
SLOT="1.3"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86"
DEPEND=">=virtual/jdk-1.8:*
>=dev-libs/libffi-3.4.2-r2:="
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2023-04-09 19:09 Arthur Zamarin
0 siblings, 0 replies; 33+ messages in thread
From: Arthur Zamarin @ 2023-04-09 19:09 UTC (permalink / raw
To: gentoo-commits
commit: 0760939ab0b29ec6899b50381ab933d9acf5e5be
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 9 19:09:00 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 9 19:09:00 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0760939a
dev-java/jffi: Stabilize 1.3.10 ppc64, #903523
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-java/jffi/jffi-1.3.10.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.3.10.ebuild b/dev-java/jffi/jffi-1.3.10.ebuild
index 43ad1d462682..2e70f60e3b34 100644
--- a/dev-java/jffi/jffi-1.3.10.ebuild
+++ b/dev-java/jffi/jffi-1.3.10.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${P}"
LICENSE="Apache-2.0"
SLOT="1.3"
-KEYWORDS="~amd64 ~arm arm64 ~ppc64 x86"
+KEYWORDS="~amd64 ~arm arm64 ppc64 x86"
DEPEND=">=virtual/jdk-1.8:*
>=dev-libs/libffi-3.4.2-r2:="
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2023-04-09 19:09 Arthur Zamarin
0 siblings, 0 replies; 33+ messages in thread
From: Arthur Zamarin @ 2023-04-09 19:09 UTC (permalink / raw
To: gentoo-commits
commit: 52599096900fea75e6391c85434ebd77c21f8a93
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 9 19:08:57 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 9 19:08:57 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52599096
dev-java/jffi: Stabilize 1.3.10 x86, #903523
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-java/jffi/jffi-1.3.10.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.3.10.ebuild b/dev-java/jffi/jffi-1.3.10.ebuild
index 058a42c3d656..43ad1d462682 100644
--- a/dev-java/jffi/jffi-1.3.10.ebuild
+++ b/dev-java/jffi/jffi-1.3.10.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${P}"
LICENSE="Apache-2.0"
SLOT="1.3"
-KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~ppc64 x86"
DEPEND=">=virtual/jdk-1.8:*
>=dev-libs/libffi-3.4.2-r2:="
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2023-04-09 19:24 Arthur Zamarin
0 siblings, 0 replies; 33+ messages in thread
From: Arthur Zamarin @ 2023-04-09 19:24 UTC (permalink / raw
To: gentoo-commits
commit: b7a1ab0b98f8c15c8c0ad31aabfbaae8afcf8a52
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 9 19:24:31 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 9 19:24:31 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7a1ab0b
dev-java/jffi: Stabilize 1.3.10 amd64, #903523
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-java/jffi/jffi-1.3.10.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/jffi/jffi-1.3.10.ebuild b/dev-java/jffi/jffi-1.3.10.ebuild
index 2e70f60e3b34..6f5d7fa61f9e 100644
--- a/dev-java/jffi/jffi-1.3.10.ebuild
+++ b/dev-java/jffi/jffi-1.3.10.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${P}"
LICENSE="Apache-2.0"
SLOT="1.3"
-KEYWORDS="~amd64 ~arm arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
DEPEND=">=virtual/jdk-1.8:*
>=dev-libs/libffi-3.4.2-r2:="
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/
@ 2023-04-10 6:53 Miroslav Šulc
0 siblings, 0 replies; 33+ messages in thread
From: Miroslav Šulc @ 2023-04-10 6:53 UTC (permalink / raw
To: gentoo-commits
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
-}
^ permalink raw reply related [flat|nested] 33+ messages in thread
end of thread, other threads:[~2023-04-10 6:53 UTC | newest]
Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-08 6:45 [gentoo-commits] repo/gentoo:master commit in: dev-java/jffi/ Agostino Sarubbo
-- strict thread matches above, loose matches on Subject: below --
2023-04-10 6:53 Miroslav Šulc
2023-04-09 19:24 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: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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox