public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2021-03-12 15:25 Miroslav Šulc
  0 siblings, 0 replies; 34+ messages in thread
From: Miroslav Šulc @ 2021-03-12 15:25 UTC (permalink / raw
  To: gentoo-commits

commit:     4e6dd0c6a83f56a037d5491d884da79df0eefd91
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 12 14:52:38 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Mar 12 15:25:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e6dd0c6

dev-java/zstd-jni: new package

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/zstd-jni/Manifest                |  1 +
 dev-java/zstd-jni/metadata.xml            |  8 ++++++
 dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild | 47 +++++++++++++++++++++++++++++++
 3 files changed, 56 insertions(+)

diff --git a/dev-java/zstd-jni/Manifest b/dev-java/zstd-jni/Manifest
new file mode 100644
index 00000000000..1aa4df06c8a
--- /dev/null
+++ b/dev-java/zstd-jni/Manifest
@@ -0,0 +1 @@
+DIST v1.4.9-1.tar.gz 9283717 BLAKE2B 1f5f397e6ee78d029110b98aadbf77e8acaf3b3721ff0729b1b382f193367c8ffb20e08c1f7f905c34a5128e6e061652792cdd4f83dd292e3a3b19906f3bf86b SHA512 2a3a2020e46fbf654796ca065ec84fdce05c308d7925a667b239aa0cc8607f78d8944230578e3c663cdd7932bce05e056895f8457af523d939afb24f68f8087b

diff --git a/dev-java/zstd-jni/metadata.xml b/dev-java/zstd-jni/metadata.xml
new file mode 100644
index 00000000000..2444066aa02
--- /dev/null
+++ b/dev-java/zstd-jni/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+	<email>java@gentoo.org</email>
+	<name>Java</name>
+</maintainer>
+</pkgmetadata>

diff --git a/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild b/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
new file mode 100644
index 00000000000..ee4f35125cc
--- /dev/null
+++ b/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MAVEN_ID="com.github.luben:zstd-jni:1.4.9-1"
+MY_PV="$(ver_rs 3 -)"
+
+inherit java-pkg-2 java-pkg-simple cmake
+
+DESCRIPTION="JNI bindings for Zstd native library"
+
+HOMEPAGE="https://github.com/luben/zstd-jni"
+SRC_URI="https://github.com/luben/${PN}/archive/v${MY_PV}.tar.gz"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=virtual/jre-1.8:*"
+DEPEND="${RDEPEND}"
+
+JAVA_SRC_DIR="src/main/java"
+
+src_configure() {
+	local mycmakeargs=(
+		-DJAVA_HOME="$(java-config -g JAVA_HOME)"
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+
+	mkdir -p "${S}/target/classes/META-INF" || die "Failed to create META-INF dir"
+	echo "Manifest-Version: 1.0
+Implementation-Version: ${MY_PV}
+Bundle-NativeCode: libzstd-jni.so;osname=Linux" > "${S}/target/classes/META-INF/MANIFEST.MF" || die "Failed to create MANIFEST.MF"
+	java-pkg-simple_src_compile
+	java-pkg_addres ${JAVA_JAR_FILENAME} "${BUILD_DIR}" -name libzstd-jni.so || die "Failed to add library to jar"
+}
+
+src_install() {
+	java-pkg-simple_src_install
+}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2021-04-01 12:30 Thomas Deutschmann
  0 siblings, 0 replies; 34+ messages in thread
From: Thomas Deutschmann @ 2021-04-01 12:30 UTC (permalink / raw
  To: gentoo-commits

commit:     2c09423c70f10208725d20a3350174cc536c7711
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  1 12:30:30 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Apr  1 12:30:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c09423c

dev-java/zstd-jni: x86 keyworded (bug #775647)

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild b/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
index ee4f35125cc..3ca6001de29 100644
--- a/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2021-04-15  5:34 Sam James
  0 siblings, 0 replies; 34+ messages in thread
From: Sam James @ 2021-04-15  5:34 UTC (permalink / raw
  To: gentoo-commits

commit:     28bd82bb8a21a685ef59b2929fb79a3b3fc971c8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 15 05:32:13 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 15 05:32:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28bd82bb

dev-java/zstd-jni: rename tarball to be less ambiguous

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/zstd-jni/Manifest                | 2 +-
 dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-java/zstd-jni/Manifest b/dev-java/zstd-jni/Manifest
index 1aa4df06c8a..29b899e69c4 100644
--- a/dev-java/zstd-jni/Manifest
+++ b/dev-java/zstd-jni/Manifest
@@ -1 +1 @@
-DIST v1.4.9-1.tar.gz 9283717 BLAKE2B 1f5f397e6ee78d029110b98aadbf77e8acaf3b3721ff0729b1b382f193367c8ffb20e08c1f7f905c34a5128e6e061652792cdd4f83dd292e3a3b19906f3bf86b SHA512 2a3a2020e46fbf654796ca065ec84fdce05c308d7925a667b239aa0cc8607f78d8944230578e3c663cdd7932bce05e056895f8457af523d939afb24f68f8087b
+DIST zstd-jni-1.4.9.1.tar.gz 9283717 BLAKE2B 1f5f397e6ee78d029110b98aadbf77e8acaf3b3721ff0729b1b382f193367c8ffb20e08c1f7f905c34a5128e6e061652792cdd4f83dd292e3a3b19906f3bf86b SHA512 2a3a2020e46fbf654796ca065ec84fdce05c308d7925a667b239aa0cc8607f78d8944230578e3c663cdd7932bce05e056895f8457af523d939afb24f68f8087b

diff --git a/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild b/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
index 3ca6001de29..ddc0e2cc405 100644
--- a/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
@@ -11,8 +11,7 @@ inherit java-pkg-2 java-pkg-simple cmake
 DESCRIPTION="JNI bindings for Zstd native library"
 
 HOMEPAGE="https://github.com/luben/zstd-jni"
-SRC_URI="https://github.com/luben/${PN}/archive/v${MY_PV}.tar.gz"
-
+SRC_URI="https://github.com/luben/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2021-04-23 13:46 Sam James
  0 siblings, 0 replies; 34+ messages in thread
From: Sam James @ 2021-04-23 13:46 UTC (permalink / raw
  To: gentoo-commits

commit:     b874d0ecce578ec7c6e2975038e2adc0e011da5e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 23 13:46:15 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 23 13:46:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b874d0ec

dev-java/zstd-jni: Keyword 1.4.9.1 arm64, #782577

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild b/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
index ddc0e2cc405..df596aa3d20 100644
--- a/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2021-05-30  9:45 Agostino Sarubbo
  0 siblings, 0 replies; 34+ messages in thread
From: Agostino Sarubbo @ 2021-05-30  9:45 UTC (permalink / raw
  To: gentoo-commits

commit:     47583f08b674073f140bcd1a0c01540076180214
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun May 30 09:45:31 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun May 30 09:45:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47583f08

dev-java/zstd-jni: amd64 stable wrt bug #783963

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild b/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
index df596aa3d20..51f410f7e50 100644
--- a/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2021-05-31  6:11 Agostino Sarubbo
  0 siblings, 0 replies; 34+ messages in thread
From: Agostino Sarubbo @ 2021-05-31  6:11 UTC (permalink / raw
  To: gentoo-commits

commit:     c0cf8eaa9bc01a7458b7deb3f674ba4b1df5a1b4
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon May 31 06:10:20 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon May 31 06:10:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0cf8eaa

dev-java/zstd-jni: x86 stable wrt bug #783963

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild b/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
index 51f410f7e50..6428adfaaec 100644
--- a/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2021-07-28 19:53 Florian Schmaus
  0 siblings, 0 replies; 34+ messages in thread
From: Florian Schmaus @ 2021-07-28 19:53 UTC (permalink / raw
  To: gentoo-commits

commit:     16b7cf5e72b6255564733656746c76421b776b0a
Author:     Yuan Liao <liaoyuan <AT> gmail <DOT> com>
AuthorDate: Wed Jul 28 15:03:03 2021 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Jul 28 19:52:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16b7cf5e

dev-java/zstd-jni: Allow CMake to find and use JNI without AWT

The AWT library, libjawt.so, is not needed for zstd-jni itself as the
compilation can finish without it.  But CMake's FindJNI module will
always try to search for it, and if it is not found, CMake will declare
everything pertaining to JNI unavailable, even if some of the JNI
components do exist on the system -- like jni.h, which is required for
building zstd-jni.  Because the AWT library is actually unused, it is
safe to set the CMake variable controlling it (JAVA_AWT_LIBRARY) to an
arbitrary string for deceiving CMake about its existence.

Closes: https://bugs.gentoo.org/776910
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/21816
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild | 3 +++
 dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild b/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
index 6428adfaaec..91f20179a56 100644
--- a/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
@@ -26,6 +26,9 @@ JAVA_SRC_DIR="src/main/java"
 src_configure() {
 	local mycmakeargs=(
 		-DJAVA_HOME="$(java-config -g JAVA_HOME)"
+		# Resolve bug #776910
+		# Reference: https://stackoverflow.com/a/51764145
+		-DJAVA_AWT_LIBRARY="NotNeeded"
 	)
 	cmake_src_configure
 }

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
index 116244dc24e..d978a25ba29 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
@@ -37,6 +37,9 @@ src_prepare() {
 src_configure() {
 	local mycmakeargs=(
 		-DJAVA_HOME="$(java-config -g JAVA_HOME)"
+		# Resolve bug #776910
+		# Reference: https://stackoverflow.com/a/51764145
+		-DJAVA_AWT_LIBRARY="NotNeeded"
 	)
 	cmake_src_configure
 }


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2021-08-29 10:00 Agostino Sarubbo
  0 siblings, 0 replies; 34+ messages in thread
From: Agostino Sarubbo @ 2021-08-29 10:00 UTC (permalink / raw
  To: gentoo-commits

commit:     2e87a0c4c8029a6536f6e66e50508db66dbe4c1d
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 29 10:00:53 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun Aug 29 10:00:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e87a0c4

dev-java/zstd-jni: amd64 stable wrt bug #810751

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
index d978a25ba29..1ef724a7897 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2021-08-29 10:02 Agostino Sarubbo
  0 siblings, 0 replies; 34+ messages in thread
From: Agostino Sarubbo @ 2021-08-29 10:02 UTC (permalink / raw
  To: gentoo-commits

commit:     495ce612e169e9d725326c17680c737fc238f73d
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 29 10:01:34 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun Aug 29 10:01:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=495ce612

dev-java/zstd-jni: x86 stable wrt bug #810751

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
index 1ef724a7897..555f4fb3baf 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2021-08-29 10:05 Miroslav Šulc
  0 siblings, 0 replies; 34+ messages in thread
From: Miroslav Šulc @ 2021-08-29 10:05 UTC (permalink / raw
  To: gentoo-commits

commit:     e42c1deb1a5f0452299d6a6b3b8f427917e1aa29
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 29 10:04:45 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Aug 29 10:04:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42c1deb

dev-java/zstd-jni: removed obsolete 1.4.9.1

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/zstd-jni/Manifest                |  1 -
 dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild | 49 -------------------------------
 2 files changed, 50 deletions(-)

diff --git a/dev-java/zstd-jni/Manifest b/dev-java/zstd-jni/Manifest
index 48a9a9fd25d..2700678e383 100644
--- a/dev-java/zstd-jni/Manifest
+++ b/dev-java/zstd-jni/Manifest
@@ -1,2 +1 @@
-DIST zstd-jni-1.4.9.1.tar.gz 9283717 BLAKE2B 1f5f397e6ee78d029110b98aadbf77e8acaf3b3721ff0729b1b382f193367c8ffb20e08c1f7f905c34a5128e6e061652792cdd4f83dd292e3a3b19906f3bf86b SHA512 2a3a2020e46fbf654796ca065ec84fdce05c308d7925a667b239aa0cc8607f78d8944230578e3c663cdd7932bce05e056895f8457af523d939afb24f68f8087b
 DIST zstd-jni-1.5.0.4.tar.gz 9296353 BLAKE2B 1b4011cc7876d3d4ca2636d9872b1127d3a700f4cc6b159a36dbff5e73a2ec3af91d4a27965123c9dbb9f017200bb68bf7e078806d25d7e395243c2251936891 SHA512 2d83a1e4ff6c25ef301dc25343dcfd4f2dda7f8c44aae2d1d5da2159affb6d0c2885693022dd5cbd2d360540092bebfe0635b61c899fc7ce8dc496a96ba6f017

diff --git a/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild b/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
deleted file mode 100644
index 91f20179a56..00000000000
--- a/dev-java/zstd-jni/zstd-jni-1.4.9.1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MAVEN_ID="com.github.luben:zstd-jni:1.4.9-1"
-MY_PV="$(ver_rs 3 -)"
-
-inherit java-pkg-2 java-pkg-simple cmake
-
-DESCRIPTION="JNI bindings for Zstd native library"
-
-HOMEPAGE="https://github.com/luben/zstd-jni"
-SRC_URI="https://github.com/luben/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-
-RDEPEND=">=virtual/jre-1.8:*"
-DEPEND="${RDEPEND}"
-
-JAVA_SRC_DIR="src/main/java"
-
-src_configure() {
-	local mycmakeargs=(
-		-DJAVA_HOME="$(java-config -g JAVA_HOME)"
-		# Resolve bug #776910
-		# Reference: https://stackoverflow.com/a/51764145
-		-DJAVA_AWT_LIBRARY="NotNeeded"
-	)
-	cmake_src_configure
-}
-
-src_compile() {
-	cmake_src_compile
-
-	mkdir -p "${S}/target/classes/META-INF" || die "Failed to create META-INF dir"
-	echo "Manifest-Version: 1.0
-Implementation-Version: ${MY_PV}
-Bundle-NativeCode: libzstd-jni.so;osname=Linux" > "${S}/target/classes/META-INF/MANIFEST.MF" || die "Failed to create MANIFEST.MF"
-	java-pkg-simple_src_compile
-	java-pkg_addres ${JAVA_JAR_FILENAME} "${BUILD_DIR}" -name libzstd-jni.so || die "Failed to add library to jar"
-}
-
-src_install() {
-	java-pkg-simple_src_install
-}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2021-11-19  7:24 Arthur Zamarin
  0 siblings, 0 replies; 34+ messages in thread
From: Arthur Zamarin @ 2021-11-19  7:24 UTC (permalink / raw
  To: gentoo-commits

commit:     bec8c5eb8f6d6078a4ffd5a2b2d82fd154a81aa2
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 19 07:23:41 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 19 07:24:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bec8c5eb

dev-java/zstd-jni: Keyword 1.5.0.4 ppc64, #822945

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
index 555f4fb3baf8..9826caa5d42c 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2021-11-23 17:02 Sam James
  0 siblings, 0 replies; 34+ messages in thread
From: Sam James @ 2021-11-23 17:02 UTC (permalink / raw
  To: gentoo-commits

commit:     3f399cb4ad267bfef26c4c3ca503e435904d09e6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 23 17:02:13 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 23 17:02:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f399cb4

dev-java/zstd-jni: Stabilize 1.5.0.4 arm64, #825786

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
index 9826caa5d42c..bab4518a8e40 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 arm64 ~ppc64 x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2021-11-25  2:06 Sam James
  0 siblings, 0 replies; 34+ messages in thread
From: Sam James @ 2021-11-25  2:06 UTC (permalink / raw
  To: gentoo-commits

commit:     1bf16f4b342e205b09d461b46380114bfeae0282
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 25 02:06:32 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 25 02:06:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf16f4b

dev-java/zstd-jni: Stabilize 1.5.0.4 ppc64, #825786

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
index bab4518a8e40..bba7a32a53f9 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 arm64 ~ppc64 x86"
+KEYWORDS="amd64 arm64 ppc64 x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2021-12-22 18:47 Arthur Zamarin
  0 siblings, 0 replies; 34+ messages in thread
From: Arthur Zamarin @ 2021-12-22 18:47 UTC (permalink / raw
  To: gentoo-commits

commit:     be20c5eb1fa91c87751ec89312c38aea77a815bf
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 22 18:35:42 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 22 18:44:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be20c5eb

dev-java/zstd-jni: Keyword 1.5.0.4 arm, #828049

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
index bba7a32a53f9..cdef7ad1ab05 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2022-07-30  2:36 Sam James
  0 siblings, 0 replies; 34+ messages in thread
From: Sam James @ 2022-07-30  2:36 UTC (permalink / raw
  To: gentoo-commits

commit:     8e0c559d915e3a49d197008277f46d76b129aa88
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Jul 29 15:14:14 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 30 02:35:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e0c559d

dev-java/zstd-jni: add 1.5.0.5

EAPI 8
depend on jdk
Bug: https://bugs.gentoo.org/835812
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/26653
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/zstd-jni/Manifest                |  1 +
 dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild | 60 +++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/dev-java/zstd-jni/Manifest b/dev-java/zstd-jni/Manifest
index 2700678e3838..e31c27c19337 100644
--- a/dev-java/zstd-jni/Manifest
+++ b/dev-java/zstd-jni/Manifest
@@ -1 +1,2 @@
 DIST zstd-jni-1.5.0.4.tar.gz 9296353 BLAKE2B 1b4011cc7876d3d4ca2636d9872b1127d3a700f4cc6b159a36dbff5e73a2ec3af91d4a27965123c9dbb9f017200bb68bf7e078806d25d7e395243c2251936891 SHA512 2d83a1e4ff6c25ef301dc25343dcfd4f2dda7f8c44aae2d1d5da2159affb6d0c2885693022dd5cbd2d360540092bebfe0635b61c899fc7ce8dc496a96ba6f017
+DIST zstd-jni-1.5.0.5.tar.gz 9297542 BLAKE2B 96b2aa09d62c7a45c352d52358aa47a66c95c1b122bfc61b7e2b3aaa829e011a8ed6f71373130700ecdb7d8541ca6971c2cd7fda01be396053532c4aeeca3cb1 SHA512 b63858d58c7d1b2c9d120f49d1289caa7e5b429d0f8c3c95b7f58a5d432f09d41504c5f5b0934f53be8eadf3c1ab02a1a872e292bac465907fffe2a67108267e

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild
new file mode 100644
index 000000000000..fd0b9e85ee37
--- /dev/null
+++ b/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MAVEN_ID="com.github.luben:zstd-jni:1.5.0-5"
+MY_PV="$(ver_rs 3 -)"
+
+inherit java-pkg-2 java-pkg-simple cmake
+
+DESCRIPTION="JNI bindings for Zstd native library"
+
+HOMEPAGE="https://github.com/luben/zstd-jni"
+SRC_URI="https://github.com/luben/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND=">=virtual/jre-1.8:*"
+DEPEND=">=virtual/jdk-1.8:*"
+
+PATCHES=(
+	"${FILESDIR}/zstd-jni-1.5.0.4-filter-flags.patch"
+)
+
+JAVA_SRC_DIR="src/main/java"
+
+src_prepare() {
+	cmake_src_prepare
+
+	echo -e "package com.github.luben.zstd.util;\n\npublic class ZstdVersion\n{\n\tpublic static final String VERSION = \"${PV}\";\n}\n" \
+		>> ${JAVA_SRC_DIR}/com/github/luben/zstd/util/ZstdVersion.java || die "Failed to generate version class"
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DJAVA_HOME="$(java-config -g JAVA_HOME)"
+		# Resolve bug #776910
+		# Reference: https://stackoverflow.com/a/51764145
+		-DJAVA_AWT_LIBRARY="NotNeeded"
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+
+	mkdir -p "${S}/target/classes/META-INF" || die "Failed to create META-INF dir"
+	echo "Manifest-Version: 1.0
+Implementation-Version: ${MY_PV}
+Bundle-NativeCode: libzstd-jni.so;osname=Linux" > "${S}/target/classes/META-INF/MANIFEST.MF" || die "Failed to create MANIFEST.MF"
+	java-pkg-simple_src_compile
+	java-pkg_addres ${JAVA_JAR_FILENAME} "${BUILD_DIR}" -name libzstd-jni.so || die "Failed to add library to jar"
+}
+
+src_install() {
+	java-pkg-simple_src_install
+}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2022-08-29  8:05 Jakov Smolić
  0 siblings, 0 replies; 34+ messages in thread
From: Jakov Smolić @ 2022-08-29  8:05 UTC (permalink / raw
  To: gentoo-commits

commit:     d5ea3790dad61e6a37b702bb16b079ac0f7fb411
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 29 08:05:08 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 08:05:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5ea3790

dev-java/zstd-jni: Stabilize 1.5.0.5 arm64, #867259

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild
index fd0b9e85ee37..48428ef6e0cb 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND=">=virtual/jdk-1.8:*"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2022-08-29 11:21 Jakov Smolić
  0 siblings, 0 replies; 34+ messages in thread
From: Jakov Smolić @ 2022-08-29 11:21 UTC (permalink / raw
  To: gentoo-commits

commit:     40363fd282bdcffd76d7be4537591cfb8a6c0265
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 29 11:22:11 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 11:22:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40363fd2

dev-java/zstd-jni: Stabilize 1.5.0.5 ppc64, #867259

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild
index 48428ef6e0cb..913b5cc094b1 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ppc64 ~x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND=">=virtual/jdk-1.8:*"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2022-08-29 14:30 Sam James
  0 siblings, 0 replies; 34+ messages in thread
From: Sam James @ 2022-08-29 14:30 UTC (permalink / raw
  To: gentoo-commits

commit:     d977986224f4f7f9262cd00ec1ef9450e65d63b0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 29 14:28:01 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 14:28:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9779862

dev-java/zstd-jni: Stabilize 1.5.0.5 amd64, #867259

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild
index 913b5cc094b1..4e938e68b3ff 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 ~x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND=">=virtual/jdk-1.8:*"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2022-08-29 14:30 Sam James
  0 siblings, 0 replies; 34+ messages in thread
From: Sam James @ 2022-08-29 14:30 UTC (permalink / raw
  To: gentoo-commits

commit:     7e7d0d0c985ab5ed21a9152a940fb7652b82577d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 29 14:30:00 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 14:30:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e7d0d0c

dev-java/zstd-jni: Stabilize 1.5.0.5 x86, #867259

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild
index 4e938e68b3ff..90da21d386e6 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND=">=virtual/jdk-1.8:*"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2022-08-30  5:28 Miroslav Šulc
  0 siblings, 0 replies; 34+ messages in thread
From: Miroslav Šulc @ 2022-08-30  5:28 UTC (permalink / raw
  To: gentoo-commits

commit:     dec5eb65cd4a47361abe505a04dad3def4467c1d
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Aug 29 14:45:29 2022 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Aug 30 05:28:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dec5eb65

dev-java/zstd-jni: drop 1.5.0.4

Closes: https://bugs.gentoo.org/835812
Closes: https://bugs.gentoo.org/814968
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/zstd-jni/Manifest                |  1 -
 dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild | 60 -------------------------------
 2 files changed, 61 deletions(-)

diff --git a/dev-java/zstd-jni/Manifest b/dev-java/zstd-jni/Manifest
index e31c27c19337..86423a908744 100644
--- a/dev-java/zstd-jni/Manifest
+++ b/dev-java/zstd-jni/Manifest
@@ -1,2 +1 @@
-DIST zstd-jni-1.5.0.4.tar.gz 9296353 BLAKE2B 1b4011cc7876d3d4ca2636d9872b1127d3a700f4cc6b159a36dbff5e73a2ec3af91d4a27965123c9dbb9f017200bb68bf7e078806d25d7e395243c2251936891 SHA512 2d83a1e4ff6c25ef301dc25343dcfd4f2dda7f8c44aae2d1d5da2159affb6d0c2885693022dd5cbd2d360540092bebfe0635b61c899fc7ce8dc496a96ba6f017
 DIST zstd-jni-1.5.0.5.tar.gz 9297542 BLAKE2B 96b2aa09d62c7a45c352d52358aa47a66c95c1b122bfc61b7e2b3aaa829e011a8ed6f71373130700ecdb7d8541ca6971c2cd7fda01be396053532c4aeeca3cb1 SHA512 b63858d58c7d1b2c9d120f49d1289caa7e5b429d0f8c3c95b7f58a5d432f09d41504c5f5b0934f53be8eadf3c1ab02a1a872e292bac465907fffe2a67108267e

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
deleted file mode 100644
index cdef7ad1ab05..000000000000
--- a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MAVEN_ID="com.github.luben:zstd-jni:1.5.0-4"
-MY_PV="$(ver_rs 3 -)"
-
-inherit java-pkg-2 java-pkg-simple cmake
-
-DESCRIPTION="JNI bindings for Zstd native library"
-
-HOMEPAGE="https://github.com/luben/zstd-jni"
-SRC_URI="https://github.com/luben/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-RDEPEND=">=virtual/jre-1.8:*"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-	"${FILESDIR}/${P}-filter-flags.patch"
-)
-
-JAVA_SRC_DIR="src/main/java"
-
-src_prepare() {
-	cmake_src_prepare
-
-	echo -e "package com.github.luben.zstd.util;\n\npublic class ZstdVersion\n{\n\tpublic static final String VERSION = \"${PV}\";\n}\n" \
-		>> ${JAVA_SRC_DIR}/com/github/luben/zstd/util/ZstdVersion.java || die "Failed to generate version class"
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DJAVA_HOME="$(java-config -g JAVA_HOME)"
-		# Resolve bug #776910
-		# Reference: https://stackoverflow.com/a/51764145
-		-DJAVA_AWT_LIBRARY="NotNeeded"
-	)
-	cmake_src_configure
-}
-
-src_compile() {
-	cmake_src_compile
-
-	mkdir -p "${S}/target/classes/META-INF" || die "Failed to create META-INF dir"
-	echo "Manifest-Version: 1.0
-Implementation-Version: ${MY_PV}
-Bundle-NativeCode: libzstd-jni.so;osname=Linux" > "${S}/target/classes/META-INF/MANIFEST.MF" || die "Failed to create MANIFEST.MF"
-	java-pkg-simple_src_compile
-	java-pkg_addres ${JAVA_JAR_FILENAME} "${BUILD_DIR}" -name libzstd-jni.so || die "Failed to add library to jar"
-}
-
-src_install() {
-	java-pkg-simple_src_install
-}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2022-10-04  9:40 Florian Schmaus
  0 siblings, 0 replies; 34+ messages in thread
From: Florian Schmaus @ 2022-10-04  9:40 UTC (permalink / raw
  To: gentoo-commits

commit:     7219c49d521b8d8e4e0f4d54519b02876e40dd33
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Sep 16 14:10:57 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Oct  4 09:38:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7219c49d

dev-java/zstd-jni: add 1.5.2.4

* tests not enabled because of missing test dependencies
* for testing it's recommended to test-run dev-java/commons-compress
  which has tests dependeing on zstd-jni

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/zstd-jni/Manifest                |  1 +
 dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild | 67 +++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/dev-java/zstd-jni/Manifest b/dev-java/zstd-jni/Manifest
index 86423a908744..5b766999bc7c 100644
--- a/dev-java/zstd-jni/Manifest
+++ b/dev-java/zstd-jni/Manifest
@@ -1 +1,2 @@
 DIST zstd-jni-1.5.0.5.tar.gz 9297542 BLAKE2B 96b2aa09d62c7a45c352d52358aa47a66c95c1b122bfc61b7e2b3aaa829e011a8ed6f71373130700ecdb7d8541ca6971c2cd7fda01be396053532c4aeeca3cb1 SHA512 b63858d58c7d1b2c9d120f49d1289caa7e5b429d0f8c3c95b7f58a5d432f09d41504c5f5b0934f53be8eadf3c1ab02a1a872e292bac465907fffe2a67108267e
+DIST zstd-jni-1.5.2.4.tar.gz 9343792 BLAKE2B 8a446b229d49671b3f38d630ecf2c2688210176af95b66c788027de89986ad1f23615582d670f1d7a0b3866572b05c722ad6c71783d208401844287e8149f65c SHA512 bf67fc6573f2b1e45bd4985186814a54fb948a1b7280b5cf2f6d2577626c1f70626a58994291ffb228f097c91d60e3ed52d56ad92830c8f386b96b11fb6cf4a2

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild
new file mode 100644
index 000000000000..0b0b0072958b
--- /dev/null
+++ b/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="com.github.luben:zstd-jni:1.5.2-4"
+
+inherit java-pkg-2 java-pkg-simple cmake
+
+DESCRIPTION="JNI bindings for Zstd native library"
+HOMEPAGE="https://github.com/luben/zstd-jni"
+# Snapshop needed because this version is not tagged.
+MY_COMMIT="37faee49643b2739457716e3752f44fcaa09005f"
+SRC_URI="https://github.com/luben/zstd-jni/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=virtual/jre-1.8:*"
+DEPEND=">=virtual/jdk-1.8:*"
+
+S="${WORKDIR}/zstd-jni-${MY_COMMIT}"
+
+JAVA_AUTOMATIC_MODULE_NAME="com.github.luben.zstd_jni"
+JAVA_RESOURCE_DIRS="resources"
+JAVA_SRC_DIR="src/main/java"
+
+src_prepare() {
+	cmake_src_prepare
+	# https://github.com/luben/zstd-jni/blob/v1.5.2-3/build.gradle#L66
+	cat > src/main/java/com/github/luben/zstd/util/ZstdVersion.java <<-EOF || die
+		package com.github.luben.zstd.util;
+
+		public class ZstdVersion
+		{
+			public static final String VERSION = "$(ver_rs 3 -)";
+		}
+	EOF
+
+	mkdir -p  resources/META-INF || die
+	cat > resources/META-INF/MANIFEST.MF <<-EOF || die
+		Implementation-Version: $(ver_rs 3 -)
+		Bundle-NativeCode: libzstd-jni.so;osname=Linux"
+	EOF
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DJAVA_HOME="$(java-config -g JAVA_HOME)"
+		# Resolve bug #776910
+		# Reference: https://stackoverflow.com/a/51764145
+		-DJAVA_AWT_LIBRARY="NotNeeded"
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+	java-pkg-simple_src_compile
+}
+
+src_install() {
+	java-pkg_doso "${BUILD_DIR}/libzstd-jni-$(ver_rs 3 -).so"
+	java-pkg-simple_src_install
+}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2022-11-03 17:24 Arthur Zamarin
  0 siblings, 0 replies; 34+ messages in thread
From: Arthur Zamarin @ 2022-11-03 17:24 UTC (permalink / raw
  To: gentoo-commits

commit:     95ac0d4010740406acde481bed2d21d592e31ccc
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  3 17:23:50 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Nov  3 17:24:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95ac0d40

dev-java/zstd-jni: Stabilize 1.5.2.4 ppc64, #879295

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild
index b613a58dbeee..418bf7b1dbae 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/luben/zstd-jni/archive/${MY_COMMIT}.tar.gz -> ${P}.t
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND=">=virtual/jdk-1.8:*"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2022-11-03 19:32 Arthur Zamarin
  0 siblings, 0 replies; 34+ messages in thread
From: Arthur Zamarin @ 2022-11-03 19:32 UTC (permalink / raw
  To: gentoo-commits

commit:     d7156d44ec2ebcc6c7a59a6aadf91d386ee5abe2
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  3 19:32:08 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Nov  3 19:32:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7156d44

dev-java/zstd-jni: Stabilize 1.5.2.4 arm64, #879295

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild
index 418bf7b1dbae..6b05b2a4044c 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/luben/zstd-jni/archive/${MY_COMMIT}.tar.gz -> ${P}.t
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ppc64 ~x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND=">=virtual/jdk-1.8:*"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2022-11-03 19:57 Sam James
  0 siblings, 0 replies; 34+ messages in thread
From: Sam James @ 2022-11-03 19:57 UTC (permalink / raw
  To: gentoo-commits

commit:     f392079d596a7a079ac52970da20fc5d968a1713
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  3 19:57:20 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov  3 19:57:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f392079d

dev-java/zstd-jni: Stabilize 1.5.2.4 amd64, #879295

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild
index 6b05b2a4044c..12401f22f2c5 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/luben/zstd-jni/archive/${MY_COMMIT}.tar.gz -> ${P}.t
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 ~x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND=">=virtual/jdk-1.8:*"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2022-11-04  8:16 Agostino Sarubbo
  0 siblings, 0 replies; 34+ messages in thread
From: Agostino Sarubbo @ 2022-11-04  8:16 UTC (permalink / raw
  To: gentoo-commits

commit:     3385607f7af74803bc2ddb3db1baabc496530285
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  4 08:15:08 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Nov  4 08:15:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3385607f

dev-java/zstd-jni: Stabilize 1.5.2.4 x86, #879295

Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild
index 12401f22f2c5..abfe3a755489 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/luben/zstd-jni/archive/${MY_COMMIT}.tar.gz -> ${P}.t
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND=">=virtual/jdk-1.8:*"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2022-12-28 18:53 Florian Schmaus
  0 siblings, 0 replies; 34+ messages in thread
From: Florian Schmaus @ 2022-12-28 18:53 UTC (permalink / raw
  To: gentoo-commits

commit:     2d224bfa26a9094f3f40a538bc963f815b25850d
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Nov  1 14:50:47 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Dec 28 18:52:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d224bfa

dev-java/zstd-jni: add 1.5.2.5

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/28079
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/zstd-jni/Manifest                |  1 +
 dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild | 63 +++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/dev-java/zstd-jni/Manifest b/dev-java/zstd-jni/Manifest
index 14a650f44f39..22e87ae6df6c 100644
--- a/dev-java/zstd-jni/Manifest
+++ b/dev-java/zstd-jni/Manifest
@@ -1 +1,2 @@
 DIST zstd-jni-1.5.2.4.tar.gz 9343792 BLAKE2B 8a446b229d49671b3f38d630ecf2c2688210176af95b66c788027de89986ad1f23615582d670f1d7a0b3866572b05c722ad6c71783d208401844287e8149f65c SHA512 bf67fc6573f2b1e45bd4985186814a54fb948a1b7280b5cf2f6d2577626c1f70626a58994291ffb228f097c91d60e3ed52d56ad92830c8f386b96b11fb6cf4a2
+DIST zstd-jni-1.5.2.5.tar.gz 9342510 BLAKE2B 259f3087f06c567f2126dacfb90ecfcc1d20f389ff99ef48a6f8c558441b37b56f29b73ca55aad176116439c4ef47f9ad253116a968f74e527eb13a0fda98f7e SHA512 16f2aeee6005e2da366a849f0972b3ef9245d355ed875e633bf4013d340cc74445604710e7b628aefafa90f74dfaa82a93c741f06f633b8a6c2162e9da304850

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
new file mode 100644
index 000000000000..c7430c949f87
--- /dev/null
+++ b/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="com.github.luben:zstd-jni:1.5.2-5"
+
+inherit java-pkg-2 java-pkg-simple cmake
+
+DESCRIPTION="JNI bindings for Zstd native library"
+HOMEPAGE="https://github.com/luben/zstd-jni"
+SRC_URI="https://github.com/luben/zstd-jni/archive/c$(ver_rs 3 -).tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND=">=virtual/jre-1.8:*"
+DEPEND=">=virtual/jdk-1.8:*"
+
+S="${WORKDIR}/zstd-jni-c$(ver_rs 3 -)"
+
+JAVA_AUTOMATIC_MODULE_NAME="com.github.luben.zstd_jni"
+JAVA_RESOURCE_DIRS="resources"
+JAVA_SRC_DIR="src/main/java"
+
+src_prepare() {
+	cmake_src_prepare
+	# https://github.com/luben/zstd-jni/blob/c1.5.2-5/build.gradle#L66
+	cat > src/main/java/com/github/luben/zstd/util/ZstdVersion.java <<-EOF || die
+		package com.github.luben.zstd.util;
+
+		public class ZstdVersion
+		{
+			public static final String VERSION = "$(ver_rs 3 -)";
+		}
+	EOF
+
+	mkdir -p  resources/META-INF || die
+	echo "Implementation-Version: $(ver_rs 3 -)" \
+		> resources/META-INF/MANIFEST.MF || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DJAVA_HOME="$(java-config -g JAVA_HOME)"
+		# Resolve bug #776910
+		# Reference: https://stackoverflow.com/a/51764145
+		-DJAVA_AWT_LIBRARY="NotNeeded"
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+	java-pkg-simple_src_compile
+}
+
+src_install() {
+	java-pkg_doso "${BUILD_DIR}/libzstd-jni-$(ver_rs 3 -).so"
+	java-pkg-simple_src_install
+}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2023-01-24  9:08 Florian Schmaus
  0 siblings, 0 replies; 34+ messages in thread
From: Florian Schmaus @ 2023-01-24  9:08 UTC (permalink / raw
  To: gentoo-commits

commit:     d248da1772cc020526a3fd0d4fb005a5a6e74f02
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Jan 24 08:19:40 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Jan 24 09:08:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d248da17

dev-java/zstd-jni: add github upstream metadata

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/29237
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/zstd-jni/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-java/zstd-jni/metadata.xml b/dev-java/zstd-jni/metadata.xml
index 6021501589e0..510496093d7f 100644
--- a/dev-java/zstd-jni/metadata.xml
+++ b/dev-java/zstd-jni/metadata.xml
@@ -5,4 +5,7 @@
 	<email>java@gentoo.org</email>
 	<name>Java</name>
 </maintainer>
+<upstream>
+	<remote-id type="github">luben/zstd-jni</remote-id>
+</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2023-01-27 19:43 Arthur Zamarin
  0 siblings, 0 replies; 34+ messages in thread
From: Arthur Zamarin @ 2023-01-27 19:43 UTC (permalink / raw
  To: gentoo-commits

commit:     6bb7a3c37ebc97ee5ce8405b5a0c6cb436c07b32
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 27 19:43:25 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 27 19:43:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bb7a3c3

dev-java/zstd-jni: Stabilize 1.5.2.5 arm64, #892245

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
index c7430c949f87..5e2e51a05f84 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/luben/zstd-jni/archive/c$(ver_rs 3 -).tar.gz -> ${P}
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND=">=virtual/jdk-1.8:*"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2023-01-27 20:14 Arthur Zamarin
  0 siblings, 0 replies; 34+ messages in thread
From: Arthur Zamarin @ 2023-01-27 20:14 UTC (permalink / raw
  To: gentoo-commits

commit:     9e40f58486fd2f4104b3788e0ce3480647f060c8
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 27 20:14:32 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 27 20:14:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e40f584

dev-java/zstd-jni: Stabilize 1.5.2.5 x86, #892245

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
index 5e2e51a05f84..31fce2ab0496 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/luben/zstd-jni/archive/c$(ver_rs 3 -).tar.gz -> ${P}
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~ppc64 x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND=">=virtual/jdk-1.8:*"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2023-01-27 20:25 Arthur Zamarin
  0 siblings, 0 replies; 34+ messages in thread
From: Arthur Zamarin @ 2023-01-27 20:25 UTC (permalink / raw
  To: gentoo-commits

commit:     7d8d45d21adde6dfb9d7f02bb7b721849148dfa6
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 27 20:25:42 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 27 20:25:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d8d45d2

dev-java/zstd-jni: Stabilize 1.5.2.5 amd64, #892245

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
index 31fce2ab0496..95e485c41c3f 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/luben/zstd-jni/archive/c$(ver_rs 3 -).tar.gz -> ${P}
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND=">=virtual/jdk-1.8:*"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2023-01-27 20:34 Arthur Zamarin
  0 siblings, 0 replies; 34+ messages in thread
From: Arthur Zamarin @ 2023-01-27 20:34 UTC (permalink / raw
  To: gentoo-commits

commit:     9e7b436214ac54407da4a69c246c9d33949f8c27
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 27 20:34:38 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 27 20:34:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e7b4362

dev-java/zstd-jni: Stabilize 1.5.2.5 ppc64, #892245

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
index 95e485c41c3f..39ac7859fae4 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/luben/zstd-jni/archive/c$(ver_rs 3 -).tar.gz -> ${P}
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND=">=virtual/jdk-1.8:*"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2023-01-28  6:52 Arthur Zamarin
  0 siblings, 0 replies; 34+ messages in thread
From: Arthur Zamarin @ 2023-01-28  6:52 UTC (permalink / raw
  To: gentoo-commits

commit:     291e839f3ef6fff926769b7b00d9cd1155756388
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Jan 27 21:15:37 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 06:52:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=291e839f

dev-java/zstd-jni: drop 1.5.2.4

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/zstd-jni/Manifest                |  1 -
 dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild | 67 -------------------------------
 2 files changed, 68 deletions(-)

diff --git a/dev-java/zstd-jni/Manifest b/dev-java/zstd-jni/Manifest
index 22e87ae6df6c..058ed6af6eed 100644
--- a/dev-java/zstd-jni/Manifest
+++ b/dev-java/zstd-jni/Manifest
@@ -1,2 +1 @@
-DIST zstd-jni-1.5.2.4.tar.gz 9343792 BLAKE2B 8a446b229d49671b3f38d630ecf2c2688210176af95b66c788027de89986ad1f23615582d670f1d7a0b3866572b05c722ad6c71783d208401844287e8149f65c SHA512 bf67fc6573f2b1e45bd4985186814a54fb948a1b7280b5cf2f6d2577626c1f70626a58994291ffb228f097c91d60e3ed52d56ad92830c8f386b96b11fb6cf4a2
 DIST zstd-jni-1.5.2.5.tar.gz 9342510 BLAKE2B 259f3087f06c567f2126dacfb90ecfcc1d20f389ff99ef48a6f8c558441b37b56f29b73ca55aad176116439c4ef47f9ad253116a968f74e527eb13a0fda98f7e SHA512 16f2aeee6005e2da366a849f0972b3ef9245d355ed875e633bf4013d340cc74445604710e7b628aefafa90f74dfaa82a93c741f06f633b8a6c2162e9da304850

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild
deleted file mode 100644
index abfe3a755489..000000000000
--- a/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source"
-MAVEN_ID="com.github.luben:zstd-jni:1.5.2-4"
-
-inherit java-pkg-2 java-pkg-simple cmake
-
-DESCRIPTION="JNI bindings for Zstd native library"
-HOMEPAGE="https://github.com/luben/zstd-jni"
-# Snapshop needed because this version is not tagged.
-MY_COMMIT="37faee49643b2739457716e3752f44fcaa09005f"
-SRC_URI="https://github.com/luben/zstd-jni/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-RDEPEND=">=virtual/jre-1.8:*"
-DEPEND=">=virtual/jdk-1.8:*"
-
-S="${WORKDIR}/zstd-jni-${MY_COMMIT}"
-
-JAVA_AUTOMATIC_MODULE_NAME="com.github.luben.zstd_jni"
-JAVA_RESOURCE_DIRS="resources"
-JAVA_SRC_DIR="src/main/java"
-
-src_prepare() {
-	cmake_src_prepare
-	# https://github.com/luben/zstd-jni/blob/v1.5.2-3/build.gradle#L66
-	cat > src/main/java/com/github/luben/zstd/util/ZstdVersion.java <<-EOF || die
-		package com.github.luben.zstd.util;
-
-		public class ZstdVersion
-		{
-			public static final String VERSION = "$(ver_rs 3 -)";
-		}
-	EOF
-
-	mkdir -p  resources/META-INF || die
-	cat > resources/META-INF/MANIFEST.MF <<-EOF || die
-		Implementation-Version: $(ver_rs 3 -)
-		Bundle-NativeCode: libzstd-jni.so;osname=Linux"
-	EOF
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DJAVA_HOME="$(java-config -g JAVA_HOME)"
-		# Resolve bug #776910
-		# Reference: https://stackoverflow.com/a/51764145
-		-DJAVA_AWT_LIBRARY="NotNeeded"
-	)
-	cmake_src_configure
-}
-
-src_compile() {
-	cmake_src_compile
-	java-pkg-simple_src_compile
-}
-
-src_install() {
-	java-pkg_doso "${BUILD_DIR}/libzstd-jni-$(ver_rs 3 -).so"
-	java-pkg-simple_src_install
-}


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2024-10-12 17:12 Arthur Zamarin
  0 siblings, 0 replies; 34+ messages in thread
From: Arthur Zamarin @ 2024-10-12 17:12 UTC (permalink / raw
  To: gentoo-commits

commit:     2d68711e50753625ebd6cabfa5298fe0f0e51df4
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 11 12:56:31 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 12 17:09:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d68711e

dev-java/zstd-jni: dekeyword arm

After a message to gentoo-dev ML, and no reply from any user on arm,

we decided to dekeyword most Java packages from arm.

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
index 39ac7859fae4..a1eb63566648 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/luben/zstd-jni/archive/c$(ver_rs 3 -).tar.gz -> ${P}
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
+KEYWORDS="amd64 arm64 ppc64 x86"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND=">=virtual/jdk-1.8:*"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/
@ 2024-10-17 15:32 Arthur Zamarin
  0 siblings, 0 replies; 34+ messages in thread
From: Arthur Zamarin @ 2024-10-17 15:32 UTC (permalink / raw
  To: gentoo-commits

commit:     ae66efe5ccc3c7cac61694108309e142912bfc3c
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 17 14:37:18 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 17 15:32:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae66efe5

dev-java/zstd-jni: dekeyword x86

After a message to gentoo-dev ML, and no reply from any user on x86,

we decided to dekeyword most Java packages from x86, and reverse

dependencies of them.

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
index a1eb63566648..58d9185962be 100644
--- a/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
+++ b/dev-java/zstd-jni/zstd-jni-1.5.2.5.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/luben/zstd-jni/archive/c$(ver_rs 3 -).tar.gz -> ${P}
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 arm64 ppc64 x86"
+KEYWORDS="amd64 arm64 ppc64"
 
 RDEPEND=">=virtual/jre-1.8:*"
 DEPEND=">=virtual/jdk-1.8:*"


^ permalink raw reply related	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2024-10-17 15:32 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-29 14:30 [gentoo-commits] repo/gentoo:master commit in: dev-java/zstd-jni/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-10-17 15:32 Arthur Zamarin
2024-10-12 17:12 Arthur Zamarin
2023-01-28  6:52 Arthur Zamarin
2023-01-27 20:34 Arthur Zamarin
2023-01-27 20:25 Arthur Zamarin
2023-01-27 20:14 Arthur Zamarin
2023-01-27 19:43 Arthur Zamarin
2023-01-24  9:08 Florian Schmaus
2022-12-28 18:53 Florian Schmaus
2022-11-04  8:16 Agostino Sarubbo
2022-11-03 19:57 Sam James
2022-11-03 19:32 Arthur Zamarin
2022-11-03 17:24 Arthur Zamarin
2022-10-04  9:40 Florian Schmaus
2022-08-30  5:28 Miroslav Šulc
2022-08-29 14:30 Sam James
2022-08-29 11:21 Jakov Smolić
2022-08-29  8:05 Jakov Smolić
2022-07-30  2:36 Sam James
2021-12-22 18:47 Arthur Zamarin
2021-11-25  2:06 Sam James
2021-11-23 17:02 Sam James
2021-11-19  7:24 Arthur Zamarin
2021-08-29 10:05 Miroslav Šulc
2021-08-29 10:02 Agostino Sarubbo
2021-08-29 10:00 Agostino Sarubbo
2021-07-28 19:53 Florian Schmaus
2021-05-31  6:11 Agostino Sarubbo
2021-05-30  9:45 Agostino Sarubbo
2021-04-23 13:46 Sam James
2021-04-15  5:34 Sam James
2021-04-01 12:30 Thomas Deutschmann
2021-03-12 15:25 Miroslav Šulc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox