public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2021-03-13 12:21 Fabian Groffen
  0 siblings, 0 replies; 27+ messages in thread
From: Fabian Groffen @ 2021-03-13 12:21 UTC (permalink / raw
  To: gentoo-commits

commit:     d02c4bd0c03b2824f55cfff124de93ebccde8c2e
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 13 12:21:40 2021 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Mar 13 12:21:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d02c4bd0

dev-java/snappy-1.1.0.1: fix for and marked ~x64-macos

Closes: https://bugs.gentoo.org/638284
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 dev-java/snappy/snappy-1.1.0.1.ebuild | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/dev-java/snappy/snappy-1.1.0.1.ebuild b/dev-java/snappy/snappy-1.1.0.1.ebuild
index 60983950c43..443002b9ab8 100644
--- a/dev-java/snappy/snappy-1.1.0.1.ebuild
+++ b/dev-java/snappy/snappy-1.1.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/xerial/${MY_PN}/archive/${PV}.tar.gz -> ${PN}-java-$
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~x64-macos"
 IUSE=""
 
 CDEPEND="dev-java/osgi-core-api:0
@@ -53,7 +53,14 @@ src_compile() {
 }
 
 src_install() {
-	java-pkg_doso "${S}"/target/libsnappyjava.so
+	local jniext=.so
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		jniext=.jnilib
+		# avoid install_name check failure
+		install_name_tool -id @loader_path/libsnappyjava${jniext} \
+			"${S}"/target/libsnappyjava${jniext}
+	fi
+	java-pkg_doso "${S}"/target/libsnappyjava${jniext}
 	java-pkg_dojar "${S}/target/${PN}.jar"
 
 	use source && java-pkg_dosrc "${S}"/src/main/java/*


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2022-03-09  9:20 Agostino Sarubbo
  0 siblings, 0 replies; 27+ messages in thread
From: Agostino Sarubbo @ 2022-03-09  9:20 UTC (permalink / raw
  To: gentoo-commits

commit:     c160f6514100f8f43f04445099e1e78773c0d773
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  9 09:20:17 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Mar  9 09:20:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c160f651

dev-java/snappy: ppc64 stable wrt bug #834097

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

 dev-java/snappy/snappy-1.1.7.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.7.8.ebuild b/dev-java/snappy/snappy-1.1.7.8.ebuild
index 63853626e97c..a68461ff73b8 100644
--- a/dev-java/snappy/snappy-1.1.7.8.ebuild
+++ b/dev-java/snappy/snappy-1.1.7.8.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/xerial/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86"
 
 # Tests require org.apache.hadoop:hadoop-common:2.7.*, which is yet to be
 # packaged.  Some extra steps are required before running the tests:


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2022-03-09 10:23 Jakov Smolić
  0 siblings, 0 replies; 27+ messages in thread
From: Jakov Smolić @ 2022-03-09 10:23 UTC (permalink / raw
  To: gentoo-commits

commit:     66403ecd844e4d4f6753d9eabd98e5435c509a08
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  9 10:23:38 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Mar  9 10:23:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66403ecd

dev-java/snappy: Stabilize 1.1.7.8 x86, #834097

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

 dev-java/snappy/snappy-1.1.7.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.7.8.ebuild b/dev-java/snappy/snappy-1.1.7.8.ebuild
index 0caa651818af..46cc7aa23ba3 100644
--- a/dev-java/snappy/snappy-1.1.7.8.ebuild
+++ b/dev-java/snappy/snappy-1.1.7.8.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/xerial/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
 
 # Tests require org.apache.hadoop:hadoop-common:2.7.*, which is yet to be
 # packaged.  Some extra steps are required before running the tests:


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2022-03-09 10:23 Jakov Smolić
  0 siblings, 0 replies; 27+ messages in thread
From: Jakov Smolić @ 2022-03-09 10:23 UTC (permalink / raw
  To: gentoo-commits

commit:     167b4958f4fb302836c099f7ddbc4bfc8151f145
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  9 10:23:32 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Mar  9 10:23:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=167b4958

dev-java/snappy: Stabilize 1.1.7.8 amd64, #834097

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

 dev-java/snappy/snappy-1.1.7.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.7.8.ebuild b/dev-java/snappy/snappy-1.1.7.8.ebuild
index a68461ff73b8..0caa651818af 100644
--- a/dev-java/snappy/snappy-1.1.7.8.ebuild
+++ b/dev-java/snappy/snappy-1.1.7.8.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/xerial/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
 
 # Tests require org.apache.hadoop:hadoop-common:2.7.*, which is yet to be
 # packaged.  Some extra steps are required before running the tests:


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2022-03-12  9:42 Arthur Zamarin
  0 siblings, 0 replies; 27+ messages in thread
From: Arthur Zamarin @ 2022-03-12  9:42 UTC (permalink / raw
  To: gentoo-commits

commit:     49c394ff5369e06d6c842922282e0e62e1087d10
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 12 09:42:35 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 12 09:42:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49c394ff

dev-java/snappy: Stabilize 1.1.7.8 arm64, #834097

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

 dev-java/snappy/snappy-1.1.7.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.7.8.ebuild b/dev-java/snappy/snappy-1.1.7.8.ebuild
index 46cc7aa23ba3..4b6b87f13883 100644
--- a/dev-java/snappy/snappy-1.1.7.8.ebuild
+++ b/dev-java/snappy/snappy-1.1.7.8.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/xerial/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
 # Tests require org.apache.hadoop:hadoop-common:2.7.*, which is yet to be
 # packaged.  Some extra steps are required before running the tests:


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2022-03-18  8:49 Miroslav Šulc
  0 siblings, 0 replies; 27+ messages in thread
From: Miroslav Šulc @ 2022-03-18  8:49 UTC (permalink / raw
  To: gentoo-commits

commit:     a520309cd16c557aef697fe5a47763d62b13f45c
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Mar 12 16:47:27 2022 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 08:49:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a520309c

dev-java/snappy: Enable tests on arm, arm64 and ppc64

Closes: https://bugs.gentoo.org/834139
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/24511
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/snappy/snappy-1.1.7.8.ebuild | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/dev-java/snappy/snappy-1.1.7.8.ebuild b/dev-java/snappy/snappy-1.1.7.8.ebuild
index 4b6b87f13883..bb7a64023a0a 100644
--- a/dev-java/snappy/snappy-1.1.7.8.ebuild
+++ b/dev-java/snappy/snappy-1.1.7.8.ebuild
@@ -23,27 +23,21 @@ KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 # packaged.  Some extra steps are required before running the tests:
 # 1. Download hadoop-common 2.7.x from https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common
 # 2. Set EANT_GENTOO_CLASSPATH_EXTRA to the path to hadoop-common-2.7.*.jar
-# 3. arm, arm64 and ppc64 only: Install test dependencies that are unkeyworded
-# 4. Set ALLOW_TEST="all"
+# 3. Set ALLOW_TEST="all"
 RESTRICT="test"
 
 CDEPEND="dev-java/osgi-core-api:0
 	app-arch/snappy
 	dev-libs/bitshuffle"
 
-# Some test dependencies are unsatisfied on arm, arm64, and ppc64
 DEPEND=">=virtual/jdk-1.8:*
 	${CDEPEND}
 	test? (
 		dev-java/ant-junit4:0
 		dev-java/commons-io:1
-		!arm? (
-			dev-java/commons-lang:2.1
-		)
-		!arm? ( !arm64? ( !ppc64? (
-			dev-java/plexus-classworlds:0
-			dev-java/xerial-core:0
-		) ) )
+		dev-java/commons-lang:2.1
+		dev-java/plexus-classworlds:0
+		dev-java/xerial-core:0
 	)"
 
 RDEPEND=">=virtual/jre-1.8:*


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2022-08-10  8:27 Florian Schmaus
  0 siblings, 0 replies; 27+ messages in thread
From: Florian Schmaus @ 2022-08-10  8:27 UTC (permalink / raw
  To: gentoo-commits

commit:     3b57788ec350b22fec8d7cea18f5f0ea388df910
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Wed Jun 22 05:56:57 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Aug 10 08:21:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b57788e

dev-java/snappy: dependency switch to osgi-core

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

 dev-java/snappy/snappy-1.1.7.8-r1.ebuild | 97 ++++++++++++++++++++++++++++++++
 1 file changed, 97 insertions(+)

diff --git a/dev-java/snappy/snappy-1.1.7.8-r1.ebuild b/dev-java/snappy/snappy-1.1.7.8-r1.ebuild
new file mode 100644
index 000000000000..a0190bc964ba
--- /dev/null
+++ b/dev-java/snappy/snappy-1.1.7.8-r1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.xerial.snappy:snappy-java:1.1.7.8"
+
+inherit java-pkg-2 java-ant-2 toolchain-funcs
+
+MY_PN="${PN}-java"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Snappy compressor/decompressor for Java"
+HOMEPAGE="https://github.com/xerial/snappy-java/"
+SRC_URI="https://github.com/xerial/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="1.1"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+# Tests require org.apache.hadoop:hadoop-common:2.7.*, which is yet to be
+# packaged.  Some extra steps are required before running the tests:
+# 1. Download hadoop-common 2.7.x from https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common
+# 2. Set EANT_GENTOO_CLASSPATH_EXTRA to the path to hadoop-common-2.7.*.jar
+# 3. Set ALLOW_TEST="all"
+RESTRICT="test"
+
+CDEPEND="dev-java/osgi-core:0
+	app-arch/snappy
+	dev-libs/bitshuffle"
+
+DEPEND=">=virtual/jdk-1.8:*
+	${CDEPEND}
+	test? (
+		dev-java/ant-junit4:0
+		dev-java/commons-io:1
+		dev-java/commons-lang:2.1
+		dev-java/plexus-classworlds:0
+		dev-java/xerial-core:0
+	)"
+
+RDEPEND=">=virtual/jre-1.8:*
+	${CDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+JAVA_ANT_CLASSPATH_TAGS="javac javadoc"
+EANT_GENTOO_CLASSPATH="osgi-core"
+EANT_TEST_GENTOO_CLASSPATH="
+	${EANT_GENTOO_CLASSPATH}
+	commons-io-1
+	commons-lang-2.1
+	plexus-classworlds
+	xerial-core
+"
+
+src_prepare() {
+	cp "${FILESDIR}/1.x-build.xml" build.xml || die
+	rm -r src/main/resources/org/xerial/snappy/native || die
+	eapply "${FILESDIR}/${PV}-java-version-target.patch"
+	eapply "${FILESDIR}/${PV}-remove-perl-usage.patch"
+	eapply "${FILESDIR}/${PV}-unbundle-snappy.patch"
+	eapply "${FILESDIR}/${PV}-unbundle-bitshuffle.patch"
+	eapply "${FILESDIR}/${PV}-gentoo.patch"
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	emake \
+		CXX="$(tc-getCXX)" \
+		JAVA_SOURCE="$(java-pkg_get-source)" \
+		JAVA_TARGET="$(java-pkg_get-target)"
+	java-pkg-2_src_compile
+}
+
+src_test() {
+	cp -r src/test/resources/org/xerial/snappy/* \
+		src/test/java/org/xerial/snappy || die
+	java-pkg-2_src_test
+}
+
+src_install() {
+	local jniext=.so
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		jniext=.jnilib
+		# avoid install_name check failure
+		install_name_tool -id "@loader_path/libsnappyjava${jniext}" \
+			"target/libsnappyjava${jniext}"
+	fi
+	java-pkg_doso "target/libsnappyjava${jniext}"
+	java-pkg_dojar "target/${PN}.jar"
+
+	use source && java-pkg_dosrc src/main/java/*
+	use doc && java-pkg_dojavadoc target/site/apidocs
+}


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

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

commit:     b8228726750321e261384ba7a78e9a37178718bd
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  9 08:08:12 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Fri Sep  9 08:08:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8228726

dev-java/snappy: Stabilize 1.1.7.8-r1 x86, #869272

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

 dev-java/snappy/snappy-1.1.7.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.7.8-r1.ebuild b/dev-java/snappy/snappy-1.1.7.8-r1.ebuild
index e459732ba679..8d35ecece414 100644
--- a/dev-java/snappy/snappy-1.1.7.8-r1.ebuild
+++ b/dev-java/snappy/snappy-1.1.7.8-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/xerial/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 
 # Tests require org.apache.hadoop:hadoop-common:2.7.*, which is yet to be
 # packaged.  Some extra steps are required before running the tests:


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

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

commit:     b078658ca50a58a6e3a3a7532b1d920ca1acaceb
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  9 08:07:27 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Fri Sep  9 08:07:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b078658c

dev-java/snappy: Stabilize 1.1.7.8-r1 amd64, #869272

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

 dev-java/snappy/snappy-1.1.7.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.7.8-r1.ebuild b/dev-java/snappy/snappy-1.1.7.8-r1.ebuild
index a0190bc964ba..e459732ba679 100644
--- a/dev-java/snappy/snappy-1.1.7.8-r1.ebuild
+++ b/dev-java/snappy/snappy-1.1.7.8-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/xerial/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 
 # Tests require org.apache.hadoop:hadoop-common:2.7.*, which is yet to be
 # packaged.  Some extra steps are required before running the tests:


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2022-09-14 21:04 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2022-09-14 21:04 UTC (permalink / raw
  To: gentoo-commits

commit:     96c8a8a376e7264e0b099b2a61ffda976a13b74e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 14 21:03:53 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 21:04:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96c8a8a3

dev-java/snappy: Stabilize 1.1.7.8-r1 arm64, #869272

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

 dev-java/snappy/snappy-1.1.7.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.7.8-r1.ebuild b/dev-java/snappy/snappy-1.1.7.8-r1.ebuild
index 8d35ecece414..a6734953941b 100644
--- a/dev-java/snappy/snappy-1.1.7.8-r1.ebuild
+++ b/dev-java/snappy/snappy-1.1.7.8-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/xerial/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
 
 # Tests require org.apache.hadoop:hadoop-common:2.7.*, which is yet to be
 # packaged.  Some extra steps are required before running the tests:


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2022-09-16 18:17 Arthur Zamarin
  0 siblings, 0 replies; 27+ messages in thread
From: Arthur Zamarin @ 2022-09-16 18:17 UTC (permalink / raw
  To: gentoo-commits

commit:     00c5a1a65b37b6ce35b9752c837c8f6aa4d1888b
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 16 18:16:54 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 16 18:16:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00c5a1a6

dev-java/snappy: Stabilize 1.1.7.8-r1 ppc64, #869272

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

 dev-java/snappy/snappy-1.1.7.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.7.8-r1.ebuild b/dev-java/snappy/snappy-1.1.7.8-r1.ebuild
index a6734953941b..37b8dcf972f5 100644
--- a/dev-java/snappy/snappy-1.1.7.8-r1.ebuild
+++ b/dev-java/snappy/snappy-1.1.7.8-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/xerial/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
 # Tests require org.apache.hadoop:hadoop-common:2.7.*, which is yet to be
 # packaged.  Some extra steps are required before running the tests:


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2022-09-16 18:58 Arthur Zamarin
  0 siblings, 0 replies; 27+ messages in thread
From: Arthur Zamarin @ 2022-09-16 18:58 UTC (permalink / raw
  To: gentoo-commits

commit:     32206f6aac8d12c2de91f5b5c096921417e02e5b
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Sep 16 18:52:35 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 16 18:58:30 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32206f6a

dev-java/snappy: drop 1.1.7.8

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/27175
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/snappy/snappy-1.1.7.8.ebuild | 97 -----------------------------------
 1 file changed, 97 deletions(-)

diff --git a/dev-java/snappy/snappy-1.1.7.8.ebuild b/dev-java/snappy/snappy-1.1.7.8.ebuild
deleted file mode 100644
index bb7a64023a0a..000000000000
--- a/dev-java/snappy/snappy-1.1.7.8.ebuild
+++ /dev/null
@@ -1,97 +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 test"
-MAVEN_ID="org.xerial.snappy:snappy-java:1.1.7.8"
-
-inherit java-pkg-2 java-ant-2 toolchain-funcs
-
-MY_PN="${PN}-java"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Snappy compressor/decompressor for Java"
-HOMEPAGE="https://github.com/xerial/snappy-java/"
-SRC_URI="https://github.com/xerial/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="1.1"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-# Tests require org.apache.hadoop:hadoop-common:2.7.*, which is yet to be
-# packaged.  Some extra steps are required before running the tests:
-# 1. Download hadoop-common 2.7.x from https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common
-# 2. Set EANT_GENTOO_CLASSPATH_EXTRA to the path to hadoop-common-2.7.*.jar
-# 3. Set ALLOW_TEST="all"
-RESTRICT="test"
-
-CDEPEND="dev-java/osgi-core-api:0
-	app-arch/snappy
-	dev-libs/bitshuffle"
-
-DEPEND=">=virtual/jdk-1.8:*
-	${CDEPEND}
-	test? (
-		dev-java/ant-junit4:0
-		dev-java/commons-io:1
-		dev-java/commons-lang:2.1
-		dev-java/plexus-classworlds:0
-		dev-java/xerial-core:0
-	)"
-
-RDEPEND=">=virtual/jre-1.8:*
-	${CDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-JAVA_ANT_REWRITE_CLASSPATH="true"
-JAVA_ANT_CLASSPATH_TAGS="javac javadoc"
-EANT_GENTOO_CLASSPATH="osgi-core-api"
-EANT_TEST_GENTOO_CLASSPATH="
-	${EANT_GENTOO_CLASSPATH}
-	commons-io-1
-	commons-lang-2.1
-	plexus-classworlds
-	xerial-core
-"
-
-src_prepare() {
-	cp "${FILESDIR}/1.x-build.xml" build.xml || die
-	rm -r src/main/resources/org/xerial/snappy/native || die
-	eapply "${FILESDIR}/${PV}-java-version-target.patch"
-	eapply "${FILESDIR}/${PV}-remove-perl-usage.patch"
-	eapply "${FILESDIR}/${PV}-unbundle-snappy.patch"
-	eapply "${FILESDIR}/${PV}-unbundle-bitshuffle.patch"
-	eapply "${FILESDIR}/${PV}-gentoo.patch"
-	java-pkg-2_src_prepare
-}
-
-src_compile() {
-	emake \
-		CXX="$(tc-getCXX)" \
-		JAVA_SOURCE="$(java-pkg_get-source)" \
-		JAVA_TARGET="$(java-pkg_get-target)"
-	java-pkg-2_src_compile
-}
-
-src_test() {
-	cp -r src/test/resources/org/xerial/snappy/* \
-		src/test/java/org/xerial/snappy || die
-	java-pkg-2_src_test
-}
-
-src_install() {
-	local jniext=.so
-	if [[ ${CHOST} == *-darwin* ]] ; then
-		jniext=.jnilib
-		# avoid install_name check failure
-		install_name_tool -id "@loader_path/libsnappyjava${jniext}" \
-			"target/libsnappyjava${jniext}"
-	fi
-	java-pkg_doso "target/libsnappyjava${jniext}"
-	java-pkg_dojar "target/${PN}.jar"
-
-	use source && java-pkg_dosrc src/main/java/*
-	use doc && java-pkg_dojavadoc target/site/apidocs
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2023-10-21 11:58 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2023-10-21 11:58 UTC (permalink / raw
  To: gentoo-commits

commit:     3294f5d7dab3f8290079bd1cd743b71fb46ebeb0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 21 11:58:30 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 21 11:58:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3294f5d7

dev-java/snappy: Stabilize 1.1.10.1-r1 amd64, #916061

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

 dev-java/snappy/snappy-1.1.10.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.10.1-r1.ebuild b/dev-java/snappy/snappy-1.1.10.1-r1.ebuild
index 9097dcb28f01..40d0c9d6c229 100644
--- a/dev-java/snappy/snappy-1.1.10.1-r1.ebuild
+++ b/dev-java/snappy/snappy-1.1.10.1-r1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/snappy-java-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 
 CP_DEPEND="dev-java/osgi-core:0"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2023-10-26 22:39 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2023-10-26 22:39 UTC (permalink / raw
  To: gentoo-commits

commit:     4a93853d98b199f4cd0a3c0912a80f8f3743d34a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 26 22:38:06 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 26 22:38:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a93853d

dev-java/snappy: Stabilize 1.1.10.1-r1 ppc64, #916061

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

 dev-java/snappy/snappy-1.1.10.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.10.1-r1.ebuild b/dev-java/snappy/snappy-1.1.10.1-r1.ebuild
index 40d0c9d6c229..0800c4eddc1c 100644
--- a/dev-java/snappy/snappy-1.1.10.1-r1.ebuild
+++ b/dev-java/snappy/snappy-1.1.10.1-r1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/snappy-java-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
 
 CP_DEPEND="dev-java/osgi-core:0"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2023-11-18 14:49 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2023-11-18 14:49 UTC (permalink / raw
  To: gentoo-commits

commit:     084d02dff163abf5e24e3fd5eb3560fbf822ccbd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 18 14:49:05 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 18 14:49:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=084d02df

dev-java/snappy: Stabilize 1.1.10.5 amd64, #917560

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

 dev-java/snappy/snappy-1.1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.10.5.ebuild b/dev-java/snappy/snappy-1.1.10.5.ebuild
index 41aed2fd96fd..aba833f6adaf 100644
--- a/dev-java/snappy/snappy-1.1.10.5.ebuild
+++ b/dev-java/snappy/snappy-1.1.10.5.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/snappy-java-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 
 CP_DEPEND="dev-java/osgi-core:0"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2023-11-18 14:49 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2023-11-18 14:49 UTC (permalink / raw
  To: gentoo-commits

commit:     54d5977533aa1b3e7a0e580b5e8b40374f43cdcb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 18 14:49:06 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 18 14:49:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54d59775

dev-java/snappy: Stabilize 1.1.10.5 ppc64, #917560

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

 dev-java/snappy/snappy-1.1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.10.5.ebuild b/dev-java/snappy/snappy-1.1.10.5.ebuild
index aba833f6adaf..b73911c78272 100644
--- a/dev-java/snappy/snappy-1.1.10.5.ebuild
+++ b/dev-java/snappy/snappy-1.1.10.5.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/snappy-java-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
 
 CP_DEPEND="dev-java/osgi-core:0"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2023-11-19 10:44 Miroslav Šulc
  0 siblings, 0 replies; 27+ messages in thread
From: Miroslav Šulc @ 2023-11-19 10:44 UTC (permalink / raw
  To: gentoo-commits

commit:     1fde251d486b6fb247371baed7494ad4ba0a0e6c
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Nov 18 16:54:09 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 10:43:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fde251d

dev-java/snappy: drop 1.1.10.1-r1

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/33890
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/snappy/Manifest                  |   1 -
 dev-java/snappy/snappy-1.1.10.1-r1.ebuild | 125 ------------------------------
 2 files changed, 126 deletions(-)

diff --git a/dev-java/snappy/Manifest b/dev-java/snappy/Manifest
index 4e8925da8277..756b691e7d6d 100644
--- a/dev-java/snappy/Manifest
+++ b/dev-java/snappy/Manifest
@@ -1,4 +1,3 @@
 DIST hadoop-common-3.3.5.jar 4535144 BLAKE2B 66582661a1832cc54493fc9dcea9076eb0e3f4e974a7d24d593e8fff2b9e2a3a82ed6eb4587f23523473aecc35d2a15de2ad81b2617c1bdac50847149cdeb6a8 SHA512 f1fb439a5853b04e9e771ec4e80e1ed078494ecfaa741abe065936fc1c26b5369fdd4e8082f4da59c1a3a7a5c025beaa14a68c38dc772e81499f83a3cb91717b
-DIST snappy-1.1.10.1.tar.gz 3386807 BLAKE2B 977bd6c0aee2708952e3e4a434c819d7cc1ae3ac9320639b5bf5fc80551905ada85a001d3aa2d6384cc78839615335acb7378d50f60a5c3e86345b8e28aa6911 SHA512 8226a3e3a6ec9e0f4fae2d4b8ebf276e5225db8c8f0619a02db7490d3425260693afdc20c48e6e17a37621116067b47972cbcb02bd6617cb9face07d28fe5061
 DIST snappy-1.1.10.5.tar.gz 3917442 BLAKE2B 0632fa7ba4d0a863801e88ced22098c3bc228c1f3e188c67cb9ff62807f9454b580b49fff15c7deee1e790db51f4664c50a6546259439eda18597097a5128329 SHA512 f84778f59635eb97c0072489766904a16208be4f41b28151b14eecd0fe84f3f04a44c18d452b9d79e752b22d5e5b9ab5b36064cc8aeec8de655d7635132093ea
 DIST snappy-java-1.1.7.8.tar.gz 3558859 BLAKE2B 871f4190212399c5bd34a72766d7f3abca9a09608d9acddc126905bcdafc723613aa33d0cdb59419e6bfba46ff27e91f5ca5382073dd895d5601f6d84929ef96 SHA512 8129d4ae2abd78f967c07e7f13df8cb9043cc34bd8346be28625a3d2bea06674ce6dd09b521af2b7053b25d0132a0e822b78c06e09bacd0067ba8178bd167691

diff --git a/dev-java/snappy/snappy-1.1.10.1-r1.ebuild b/dev-java/snappy/snappy-1.1.10.1-r1.ebuild
deleted file mode 100644
index 0800c4eddc1c..000000000000
--- a/dev-java/snappy/snappy-1.1.10.1-r1.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# 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="org.xerial.snappy:snappy-java:${PV}"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple toolchain-funcs check-reqs
-
-DESCRIPTION="Snappy compressor/decompressor for Java"
-HOMEPAGE="https://github.com/xerial/snappy-java/"
-# ::gentoo does not have hadoop-common packaged. Currently we bundle the binary version.
-# It's used for testing only and does not get installed.
-HCV="3.3.5"
-SRC_URI="https://github.com/xerial/snappy-java/archive/v${PV}.tar.gz -> ${P}.tar.gz
-	test? ( https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-common/${HCV}/hadoop-common-${HCV}.jar )"
-S="${WORKDIR}/snappy-java-${PV}"
-
-LICENSE="Apache-2.0"
-SLOT="1.1"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
-
-CP_DEPEND="dev-java/osgi-core:0"
-
-CDEPEND="
-	app-arch/snappy
-	dev-libs/bitshuffle
-"
-
-DEPEND=">=virtual/jdk-1.8:*
-	${CP_DEPEND}
-	${CDEPEND}
-	test? (
-		dev-java/ant-junit4:0
-		dev-java/commons-io:1
-		dev-java/commons-lang:3.6
-		dev-java/plexus-classworlds:0
-		dev-java/xerial-core:0
-	)"
-
-RDEPEND=">=virtual/jre-1.8:*
-	${CP_DEPEND}
-	${CDEPEND}"
-
-PATCHES=(
-	"${FILESDIR}/1.1.7.8-java-version-target.patch"
-	"${FILESDIR}/snappy-1.1.10.1-unbundle-snappy.patch"
-	"${FILESDIR}/1.1.7.8-unbundle-bitshuffle.patch"
-	"${FILESDIR}/1.1.7.8-gentoo.patch"
-	"${FILESDIR}/snappy-1.1.10.1-SnappyOutputStreamTest.patch"
-	"${FILESDIR}/snappy-1.1.10.1-commons-lang3.patch"
-)
-
-JAVA_RESOURCE_DIRS="src/main/resources"
-JAVA_SRC_DIR="src/main/java"
-
-JAVA_TEST_GENTOO_CLASSPATH="
-	commons-io-1
-	commons-lang-3.6
-	junit-4
-	plexus-classworlds
-	xerial-core
-"
-JAVA_TEST_RESOURCE_DIRS="src/test/resources"
-JAVA_TEST_SRC_DIR="src/test/java"
-
-check_env() {
-	if use test; then
-		# this is needed only for tests
-		CHECKREQS_MEMORY="2560M"
-		check-reqs_pkg_pretend
-	fi
-}
-
-pkg_pretend() {
-	check_env
-}
-
-pkg_setup() {
-	check_env
-	java-pkg-2_pkg_setup
-}
-
-src_prepare() {
-	default
-	java-pkg-2_src_prepare
-	# remove pre-compiled sofiles
-	rm -r src/main/resources/org/xerial/snappy/native || die
-	rm -r src/test/resources/lib || die
-}
-
-src_compile() {
-	emake \
-		CXX="$(tc-getCXX)" \
-		JAVA_SOURCE="$(java-pkg_get-source)" \
-		JAVA_TARGET="$(java-pkg_get-target)"
-
-	java-pkg-simple_src_compile
-}
-
-src_test() {
-	JAVA_GENTOO_CLASSPATH_EXTRA="${DISTDIR}/hadoop-common-${HCV}.jar"
-	JAVA_TEST_EXTRA_ARGS=( -Xmx${CHECKREQS_MEMORY} )
-	local vm_version="$(java-config -g PROVIDES_VERSION)"
-	if ver_test "${vm_version}" -ge 17; then
-		java-pkg-simple_src_test
-	else
-		einfo "Tests need jdk-17 to pass."
-	fi
-}
-
-src_install() {
-	java-pkg-simple_src_install
-
-	local jniext=.so
-	if [[ ${CHOST} == *-darwin* ]] ; then
-		jniext=.jnilib
-		# avoid install_name check failure
-		install_name_tool -id "@loader_path/libsnappyjava${jniext}" \
-			"target/libsnappyjava${jniext}"
-	fi
-	java-pkg_doso "target/libsnappyjava${jniext}"
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2023-11-22 11:16 Arthur Zamarin
  0 siblings, 0 replies; 27+ messages in thread
From: Arthur Zamarin @ 2023-11-22 11:16 UTC (permalink / raw
  To: gentoo-commits

commit:     9a40f21f647ec978cc414c42e15ce4619f1f6e5b
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 22 11:15:33 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 22 11:15:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a40f21f

dev-java/snappy: Stabilize 1.1.10.5 x86, #917560

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

 dev-java/snappy/snappy-1.1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.10.5.ebuild b/dev-java/snappy/snappy-1.1.10.5.ebuild
index b73911c78272..729413276b35 100644
--- a/dev-java/snappy/snappy-1.1.10.5.ebuild
+++ b/dev-java/snappy/snappy-1.1.10.5.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/snappy-java-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
 
 CP_DEPEND="dev-java/osgi-core:0"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2023-11-25  3:59 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2023-11-25  3:59 UTC (permalink / raw
  To: gentoo-commits

commit:     ae7e829ddaaf78b5075109121f455a12c5a40997
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 25 03:59:16 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 25 03:59:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae7e829d

dev-java/snappy: Stabilize 1.1.10.5 arm64, #917560

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

 dev-java/snappy/snappy-1.1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.10.5.ebuild b/dev-java/snappy/snappy-1.1.10.5.ebuild
index 729413276b35..9f690d9c4df7 100644
--- a/dev-java/snappy/snappy-1.1.10.5.ebuild
+++ b/dev-java/snappy/snappy-1.1.10.5.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/snappy-java-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
 CP_DEPEND="dev-java/osgi-core:0"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2024-01-23  9:42 Miroslav Šulc
  0 siblings, 0 replies; 27+ messages in thread
From: Miroslav Šulc @ 2024-01-23  9:42 UTC (permalink / raw
  To: gentoo-commits

commit:     479407d69f0948a09340d151ccfdcd8579e13f01
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Dec 24 18:47:46 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Jan 23 09:42:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=479407d6

dev-java/snappy: 1.1.10.5-r1 for >=dev-java/ant-1.10.14

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

 dev-java/snappy/snappy-1.1.10.5-r1.ebuild | 125 ++++++++++++++++++++++++++++++
 1 file changed, 125 insertions(+)

diff --git a/dev-java/snappy/snappy-1.1.10.5-r1.ebuild b/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
new file mode 100644
index 000000000000..a5c51f55f8ce
--- /dev/null
+++ b/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.xerial.snappy:snappy-java:${PV}"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple toolchain-funcs check-reqs
+
+DESCRIPTION="Snappy compressor/decompressor for Java"
+HOMEPAGE="https://github.com/xerial/snappy-java/"
+# ::gentoo does not have hadoop-common packaged. Currently we bundle the binary version.
+# It's used for testing only and does not get installed.
+HCV="3.3.5"
+SRC_URI="https://github.com/xerial/snappy-java/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	test? ( https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-common/${HCV}/hadoop-common-${HCV}.jar )"
+S="${WORKDIR}/snappy-java-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="1.1"
+KEYWORDS="~amd64 ~arm ~arm64"
+
+CP_DEPEND="dev-java/osgi-core:0"
+
+CDEPEND="
+	app-arch/snappy
+	dev-libs/bitshuffle
+"
+
+DEPEND=">=virtual/jdk-1.8:*
+	${CP_DEPEND}
+	${CDEPEND}
+	test? (
+		>=dev-java/ant-1.10.14:0[junit4]
+		dev-java/commons-io:1
+		dev-java/commons-lang:3.6
+		dev-java/plexus-classworlds:0
+		dev-java/xerial-core:0
+	)"
+
+RDEPEND=">=virtual/jre-1.8:*
+	${CP_DEPEND}
+	${CDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}/1.1.7.8-java-version-target.patch"
+	"${FILESDIR}/snappy-1.1.10.1-unbundle-snappy.patch"
+	"${FILESDIR}/1.1.7.8-unbundle-bitshuffle.patch"
+	"${FILESDIR}/1.1.7.8-gentoo.patch"
+	"${FILESDIR}/snappy-1.1.10.5-SnappyOutputStreamTest.patch"
+	"${FILESDIR}/snappy-1.1.10.1-commons-lang3.patch"
+)
+
+JAVA_RESOURCE_DIRS="src/main/resources"
+JAVA_SRC_DIR="src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="
+	commons-io-1
+	commons-lang-3.6
+	junit-4
+	plexus-classworlds
+	xerial-core
+"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+check_env() {
+	if use test; then
+		# this is needed only for tests
+		CHECKREQS_MEMORY="2560M"
+		check-reqs_pkg_pretend
+	fi
+}
+
+pkg_pretend() {
+	check_env
+}
+
+pkg_setup() {
+	check_env
+	java-pkg-2_pkg_setup
+}
+
+src_prepare() {
+	default
+	java-pkg-2_src_prepare
+	# remove pre-compiled sofiles
+	rm -r src/main/resources/org/xerial/snappy/native || die
+	rm -r src/test/resources/lib || die
+}
+
+src_compile() {
+	emake \
+		CXX="$(tc-getCXX)" \
+		JAVA_SOURCE="$(java-pkg_get-source)" \
+		JAVA_TARGET="$(java-pkg_get-target)"
+
+	java-pkg-simple_src_compile
+}
+
+src_test() {
+	JAVA_GENTOO_CLASSPATH_EXTRA="${DISTDIR}/hadoop-common-${HCV}.jar"
+	JAVA_TEST_EXTRA_ARGS=( -Xmx${CHECKREQS_MEMORY} )
+	local vm_version="$(java-config -g PROVIDES_VERSION)"
+	if ver_test "${vm_version}" -ge 17; then
+		java-pkg-simple_src_test
+	else
+		einfo "Tests need jdk-17 to pass."
+	fi
+}
+
+src_install() {
+	java-pkg-simple_src_install
+
+	local jniext=.so
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		jniext=.jnilib
+		# avoid install_name check failure
+		install_name_tool -id "@loader_path/libsnappyjava${jniext}" \
+			"target/libsnappyjava${jniext}"
+	fi
+	java-pkg_doso "target/libsnappyjava${jniext}"
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2024-02-02 13:47 Arthur Zamarin
  0 siblings, 0 replies; 27+ messages in thread
From: Arthur Zamarin @ 2024-02-02 13:47 UTC (permalink / raw
  To: gentoo-commits

commit:     c2f5da5802ee297cb340155150735401d966f429
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  2 13:46:06 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Feb  2 13:46:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f5da58

dev-java/snappy: Keyword 1.1.10.5-r1 x86, #922770

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

 dev-java/snappy/snappy-1.1.10.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.10.5-r1.ebuild b/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
index a5c51f55f8ce..04498e81e490 100644
--- a/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
+++ b/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/snappy-java-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="~amd64 ~arm ~arm64"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 
 CP_DEPEND="dev-java/osgi-core:0"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2024-02-20 20:59 Ionen Wolkens
  0 siblings, 0 replies; 27+ messages in thread
From: Ionen Wolkens @ 2024-02-20 20:59 UTC (permalink / raw
  To: gentoo-commits

commit:     124a055bdf41b7a98b536a70a8c078810ed6f33e
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Sat Feb 17 06:08:12 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Feb 20 20:58:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=124a055b

dev-java/snappy: Keyword 1.1.10.5-r1 ppc64, #922770

Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-java/snappy/snappy-1.1.10.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.10.5-r1.ebuild b/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
index 04498e81e490..76373ffd1ba2 100644
--- a/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
+++ b/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/snappy-java-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 
 CP_DEPEND="dev-java/osgi-core:0"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2024-02-25 19:19 Jakov Smolić
  0 siblings, 0 replies; 27+ messages in thread
From: Jakov Smolić @ 2024-02-25 19:19 UTC (permalink / raw
  To: gentoo-commits

commit:     851ef0ca4b0858d0ef1176cdb330fde5a87871d9
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 25 19:19:35 2024 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 19:19:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=851ef0ca

dev-java/snappy: Stabilize 1.1.10.5-r1 amd64, #922766

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

 dev-java/snappy/snappy-1.1.10.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.10.5-r1.ebuild b/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
index 76373ffd1ba2..82270174a90f 100644
--- a/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
+++ b/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/snappy-java-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 
 CP_DEPEND="dev-java/osgi-core:0"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2024-02-25 23:06 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2024-02-25 23:06 UTC (permalink / raw
  To: gentoo-commits

commit:     fc17f7df3b8c0ddecca6fd8392573075eb97e84c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 25 23:06:29 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 23:06:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc17f7df

dev-java/snappy: Stabilize 1.1.10.5-r1 ppc64, #922766

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

 dev-java/snappy/snappy-1.1.10.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.10.5-r1.ebuild b/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
index 82270174a90f..e62e034435de 100644
--- a/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
+++ b/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/snappy-java-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
 
 CP_DEPEND="dev-java/osgi-core:0"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2024-03-03  6:11 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2024-03-03  6:11 UTC (permalink / raw
  To: gentoo-commits

commit:     4c82888f9d65099a68d2af4687f1998896d7886a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 06:11:14 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 06:11:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c82888f

dev-java/snappy: Stabilize 1.1.10.5-r1 arm64, #922766

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

 dev-java/snappy/snappy-1.1.10.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.10.5-r1.ebuild b/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
index e62e034435de..83f112e34a65 100644
--- a/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
+++ b/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/snappy-java-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 ~x86"
 
 CP_DEPEND="dev-java/osgi-core:0"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2024-03-10  8:53 Arthur Zamarin
  0 siblings, 0 replies; 27+ messages in thread
From: Arthur Zamarin @ 2024-03-10  8:53 UTC (permalink / raw
  To: gentoo-commits

commit:     8a812e7c57d99249c82c52ce5d0db334e7385fbb
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 10 08:53:14 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 08:53:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a812e7c

dev-java/snappy: Stabilize 1.1.10.5-r1 x86, #922766

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

 dev-java/snappy/snappy-1.1.10.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/snappy/snappy-1.1.10.5-r1.ebuild b/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
index 83f112e34a65..6e719db54841 100644
--- a/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
+++ b/dev-java/snappy/snappy-1.1.10.5-r1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/snappy-java-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="1.1"
-KEYWORDS="amd64 ~arm arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
 CP_DEPEND="dev-java/osgi-core:0"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/
@ 2024-03-10 21:10 Miroslav Šulc
  0 siblings, 0 replies; 27+ messages in thread
From: Miroslav Šulc @ 2024-03-10 21:10 UTC (permalink / raw
  To: gentoo-commits

commit:     f6de32bc043af3f4802e9dd4f09acd30e465e0c6
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Feb 26 14:04:34 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 21:10:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6de32bc

dev-java/snappy: drop 1.1.10.5

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

 dev-java/snappy/snappy-1.1.10.5.ebuild | 125 ---------------------------------
 1 file changed, 125 deletions(-)

diff --git a/dev-java/snappy/snappy-1.1.10.5.ebuild b/dev-java/snappy/snappy-1.1.10.5.ebuild
deleted file mode 100644
index 9f690d9c4df7..000000000000
--- a/dev-java/snappy/snappy-1.1.10.5.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# 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="org.xerial.snappy:snappy-java:${PV}"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple toolchain-funcs check-reqs
-
-DESCRIPTION="Snappy compressor/decompressor for Java"
-HOMEPAGE="https://github.com/xerial/snappy-java/"
-# ::gentoo does not have hadoop-common packaged. Currently we bundle the binary version.
-# It's used for testing only and does not get installed.
-HCV="3.3.5"
-SRC_URI="https://github.com/xerial/snappy-java/archive/v${PV}.tar.gz -> ${P}.tar.gz
-	test? ( https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-common/${HCV}/hadoop-common-${HCV}.jar )"
-S="${WORKDIR}/snappy-java-${PV}"
-
-LICENSE="Apache-2.0"
-SLOT="1.1"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-CP_DEPEND="dev-java/osgi-core:0"
-
-CDEPEND="
-	app-arch/snappy
-	dev-libs/bitshuffle
-"
-
-DEPEND=">=virtual/jdk-1.8:*
-	${CP_DEPEND}
-	${CDEPEND}
-	test? (
-		dev-java/ant-junit4:0
-		dev-java/commons-io:1
-		dev-java/commons-lang:3.6
-		dev-java/plexus-classworlds:0
-		dev-java/xerial-core:0
-	)"
-
-RDEPEND=">=virtual/jre-1.8:*
-	${CP_DEPEND}
-	${CDEPEND}"
-
-PATCHES=(
-	"${FILESDIR}/1.1.7.8-java-version-target.patch"
-	"${FILESDIR}/snappy-1.1.10.1-unbundle-snappy.patch"
-	"${FILESDIR}/1.1.7.8-unbundle-bitshuffle.patch"
-	"${FILESDIR}/1.1.7.8-gentoo.patch"
-	"${FILESDIR}/snappy-1.1.10.5-SnappyOutputStreamTest.patch"
-	"${FILESDIR}/snappy-1.1.10.1-commons-lang3.patch"
-)
-
-JAVA_RESOURCE_DIRS="src/main/resources"
-JAVA_SRC_DIR="src/main/java"
-
-JAVA_TEST_GENTOO_CLASSPATH="
-	commons-io-1
-	commons-lang-3.6
-	junit-4
-	plexus-classworlds
-	xerial-core
-"
-JAVA_TEST_RESOURCE_DIRS="src/test/resources"
-JAVA_TEST_SRC_DIR="src/test/java"
-
-check_env() {
-	if use test; then
-		# this is needed only for tests
-		CHECKREQS_MEMORY="2560M"
-		check-reqs_pkg_pretend
-	fi
-}
-
-pkg_pretend() {
-	check_env
-}
-
-pkg_setup() {
-	check_env
-	java-pkg-2_pkg_setup
-}
-
-src_prepare() {
-	default
-	java-pkg-2_src_prepare
-	# remove pre-compiled sofiles
-	rm -r src/main/resources/org/xerial/snappy/native || die
-	rm -r src/test/resources/lib || die
-}
-
-src_compile() {
-	emake \
-		CXX="$(tc-getCXX)" \
-		JAVA_SOURCE="$(java-pkg_get-source)" \
-		JAVA_TARGET="$(java-pkg_get-target)"
-
-	java-pkg-simple_src_compile
-}
-
-src_test() {
-	JAVA_GENTOO_CLASSPATH_EXTRA="${DISTDIR}/hadoop-common-${HCV}.jar"
-	JAVA_TEST_EXTRA_ARGS=( -Xmx${CHECKREQS_MEMORY} )
-	local vm_version="$(java-config -g PROVIDES_VERSION)"
-	if ver_test "${vm_version}" -ge 17; then
-		java-pkg-simple_src_test
-	else
-		einfo "Tests need jdk-17 to pass."
-	fi
-}
-
-src_install() {
-	java-pkg-simple_src_install
-
-	local jniext=.so
-	if [[ ${CHOST} == *-darwin* ]] ; then
-		jniext=.jnilib
-		# avoid install_name check failure
-		install_name_tool -id "@loader_path/libsnappyjava${jniext}" \
-			"target/libsnappyjava${jniext}"
-	fi
-	java-pkg_doso "target/libsnappyjava${jniext}"
-}


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

end of thread, other threads:[~2024-03-10 21:10 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-13 12:21 [gentoo-commits] repo/gentoo:master commit in: dev-java/snappy/ Fabian Groffen
  -- strict thread matches above, loose matches on Subject: below --
2022-03-09  9:20 Agostino Sarubbo
2022-03-09 10:23 Jakov Smolić
2022-03-09 10:23 Jakov Smolić
2022-03-12  9:42 Arthur Zamarin
2022-03-18  8:49 Miroslav Šulc
2022-08-10  8:27 Florian Schmaus
2022-09-09  8:08 Jakov Smolić
2022-09-09  8:08 Jakov Smolić
2022-09-14 21:04 Sam James
2022-09-16 18:17 Arthur Zamarin
2022-09-16 18:58 Arthur Zamarin
2023-10-21 11:58 Sam James
2023-10-26 22:39 Sam James
2023-11-18 14:49 Sam James
2023-11-18 14:49 Sam James
2023-11-19 10:44 Miroslav Šulc
2023-11-22 11:16 Arthur Zamarin
2023-11-25  3:59 Sam James
2024-01-23  9:42 Miroslav Šulc
2024-02-02 13:47 Arthur Zamarin
2024-02-20 20:59 Ionen Wolkens
2024-02-25 19:19 Jakov Smolić
2024-02-25 23:06 Sam James
2024-03-03  6:11 Sam James
2024-03-10  8:53 Arthur Zamarin
2024-03-10 21:10 Miroslav Šulc

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