public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2021-03-17  7:37 Lars Wendler
  0 siblings, 0 replies; 36+ messages in thread
From: Lars Wendler @ 2021-03-17  7:37 UTC (permalink / raw
  To: gentoo-commits

commit:     ae005981a01198a4dbf61a671f4654fea42f81bf
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 17 07:35:33 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Mar 17 07:36:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae005981

sys-libs/zlib-ng: Initial commit

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-libs/zlib-ng/Manifest             |  1 +
 sys-libs/zlib-ng/metadata.xml         | 11 +++++++++++
 sys-libs/zlib-ng/zlib-ng-2.0.0.ebuild | 30 ++++++++++++++++++++++++++++++
 3 files changed, 42 insertions(+)

diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
new file mode 100644
index 00000000000..db6011f474d
--- /dev/null
+++ b/sys-libs/zlib-ng/Manifest
@@ -0,0 +1 @@
+DIST zlib-ng-2.0.0.tar.gz 696194 BLAKE2B 1e59d42028fc1cb300b1361dc95e4e7dca45b581d0d068722099b4254b795db5e2638b351da2cc1fd873841e9183a3ae4b168bd39dcde826ed4dc5aefe3ad1cd SHA512 8f5ba6a030d363a654ff3ff6a3536aa5301e6836e43743b8ab8ca87e06fcb009ce6adef79c4a46c9d89d2b167135e5d4dda70431f7ff431316e166ea6efbe099

diff --git a/sys-libs/zlib-ng/metadata.xml b/sys-libs/zlib-ng/metadata.xml
new file mode 100644
index 00000000000..28389c0890a
--- /dev/null
+++ b/sys-libs/zlib-ng/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+	<email>base-system@gentoo.org</email>
+	<name>Gentoo Base System</name>
+</maintainer>
+<upstream>
+	<remote-id type="github">zlib-ng/zlib-ng</remote-id>
+</upstream>
+</pkgmetadata>

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.0.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.0.ebuild
new file mode 100644
index 00000000000..6ed5ef9c1fb
--- /dev/null
+++ b/sys-libs/zlib-ng/zlib-ng-2.0.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Id: 688f948c5f3067e775bfab5057e8047f467a9ca9 $
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="zlib data compression library"
+HOMEPAGE="https://github.com/zlib-ng/zlib-ng"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="ZLIB"
+SLOT="0"
+
+#KEYWORDS="~amd64 ~x86"
+IUSE="compat test"
+
+src_prepare() {
+	cmake_src_prepare
+	sed "/LIB_INSTALL_DIR/s@/lib\"@/$(get_libdir)\"@" \
+		-i CMakeLists.txt || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DZLIB_COMPAT="$(usex compat)"
+		-DZLIB_ENABLE_TESTS="$(usex test)"
+	)
+	cmake_src_configure
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2021-03-17  7:37 Lars Wendler
  0 siblings, 0 replies; 36+ messages in thread
From: Lars Wendler @ 2021-03-17  7:37 UTC (permalink / raw
  To: gentoo-commits

commit:     ab0a1819f6f409408c116ab65da89a68923f5baf
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 17 07:36:30 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Mar 17 07:36:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab0a1819

sys-libs/zlib-ng: Initial commit

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-libs/zlib-ng/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-libs/zlib-ng/metadata.xml b/sys-libs/zlib-ng/metadata.xml
index 28389c0890a..44db40fcc5e 100644
--- a/sys-libs/zlib-ng/metadata.xml
+++ b/sys-libs/zlib-ng/metadata.xml
@@ -5,6 +5,9 @@
 	<email>base-system@gentoo.org</email>
 	<name>Gentoo Base System</name>
 </maintainer>
+<use>
+	<flag name="compat">Enable compatibility to <pkg>sys-libs/zlib</pkg></flag>
+</use>
 <upstream>
 	<remote-id type="github">zlib-ng/zlib-ng</remote-id>
 </upstream>


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2021-03-17  8:23 Lars Wendler
  0 siblings, 0 replies; 36+ messages in thread
From: Lars Wendler @ 2021-03-17  8:23 UTC (permalink / raw
  To: gentoo-commits

commit:     3452fc9c0598a28a6bdec78834bba86c269f5fa3
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 17 08:23:01 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Mar 17 08:23:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3452fc9c

sys-libs/zlib-ng: Added missing test restriction (QA fix)

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-libs/zlib-ng/zlib-ng-2.0.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.0.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.0.ebuild
index 6ed5ef9c1fb..6c9d4fdc34f 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.0.0.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.0.0.ebuild
@@ -15,6 +15,8 @@ SLOT="0"
 #KEYWORDS="~amd64 ~x86"
 IUSE="compat test"
 
+RESTRICT="!test? ( test )"
+
 src_prepare() {
 	cmake_src_prepare
 	sed "/LIB_INSTALL_DIR/s@/lib\"@/$(get_libdir)\"@" \


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2021-03-17 10:08 Lars Wendler
  0 siblings, 0 replies; 36+ messages in thread
From: Lars Wendler @ 2021-03-17 10:08 UTC (permalink / raw
  To: gentoo-commits

commit:     34dc0de52c87ecf5c18d7cc2ada6af6cf983828a
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 17 10:08:23 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Mar 17 10:08:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34dc0de5

sys-libs/zlib-ng: Bump to version 2.0.1. Removed old

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-libs/zlib-ng/Manifest                                       | 2 +-
 sys-libs/zlib-ng/{zlib-ng-2.0.0.ebuild => zlib-ng-2.0.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
index db6011f474d..3685de6eb1c 100644
--- a/sys-libs/zlib-ng/Manifest
+++ b/sys-libs/zlib-ng/Manifest
@@ -1 +1 @@
-DIST zlib-ng-2.0.0.tar.gz 696194 BLAKE2B 1e59d42028fc1cb300b1361dc95e4e7dca45b581d0d068722099b4254b795db5e2638b351da2cc1fd873841e9183a3ae4b168bd39dcde826ed4dc5aefe3ad1cd SHA512 8f5ba6a030d363a654ff3ff6a3536aa5301e6836e43743b8ab8ca87e06fcb009ce6adef79c4a46c9d89d2b167135e5d4dda70431f7ff431316e166ea6efbe099
+DIST zlib-ng-2.0.1.tar.gz 697121 BLAKE2B c4e8c9602f9cf33746c842b2f100adad2fca2b3808691f73ca5b679bbac186a70bf575df731cf60797755275835a5839f4602e08e15faf16b216d4d6d99d4aeb SHA512 c3be0a29e07989353a41a07a4eb037efbc0de5a87f1a4fe338c97c0dc7145225bd1f1039cde4a440be3b54130e297153c5180d69a491b92bc8a69839a8c1a9e3

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.0.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.1.ebuild
similarity index 100%
rename from sys-libs/zlib-ng/zlib-ng-2.0.0.ebuild
rename to sys-libs/zlib-ng/zlib-ng-2.0.1.ebuild


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2021-03-22  8:59 Lars Wendler
  0 siblings, 0 replies; 36+ messages in thread
From: Lars Wendler @ 2021-03-22  8:59 UTC (permalink / raw
  To: gentoo-commits

commit:     18b0451c9ae2db037d996b0a5156ba41bf9d1f5a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 18 00:01:36 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Mar 22 08:57:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18b0451c

sys-libs/zlib-ng: add blocker on sys-libs/zlib when using compat mode

Warn users if USE=compat is enabled and also include a link
to upstream's interpretation of what USE=compat provides.

Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
index c00074bbf78..29181862229 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
@@ -18,6 +18,8 @@ IUSE="compat ${CPU_USE[@]} test"
 
 RESTRICT="!test? ( test )"
 
+RDEPEND="compat? ( !sys-libs/zlib )"
+
 src_prepare() {
 	cmake_src_prepare
 
@@ -67,3 +69,15 @@ src_configure() {
 
 	cmake_src_configure
 }
+
+src_install() {
+	cmake_src_install
+
+	if use compat ; then
+		ewarn "zlib-ng is experimental and replacing the system zlib is dangerous"
+		ewarn "Please be careful!"
+		ewarn
+		ewarn "The following link explains the guarantees (and what is NOT guaranteed):"
+		ewarn "https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md"
+	fi
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2021-03-22  8:59 Lars Wendler
  0 siblings, 0 replies; 36+ messages in thread
From: Lars Wendler @ 2021-03-22  8:59 UTC (permalink / raw
  To: gentoo-commits

commit:     d3669bc09318c3108d9a5d4581ce84f0aa32bd2b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 17 23:27:11 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Mar 22 08:57:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3669bc0

sys-libs/zlib-ng: revbump for forthcoming changes, cosmetic bits

We're about to make several fixes including a blocker. Revbumping ensures
that everybody has these fixes but also makes subsequent commits
have easier-to-review diffs.

Also:
* Adjust ebuild layout
* Update DESCRIPTION to indicate fork
* Add bug reference to libdir workaround
* Adjust metadata indentation

Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-libs/zlib-ng/metadata.xml                        | 20 ++++++++++----------
 ...{zlib-ng-2.0.1.ebuild => zlib-ng-2.0.1-r1.ebuild} |  7 ++++---
 2 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/sys-libs/zlib-ng/metadata.xml b/sys-libs/zlib-ng/metadata.xml
index 44db40fcc5e..af26df0fdf9 100644
--- a/sys-libs/zlib-ng/metadata.xml
+++ b/sys-libs/zlib-ng/metadata.xml
@@ -1,14 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="project">
-	<email>base-system@gentoo.org</email>
-	<name>Gentoo Base System</name>
-</maintainer>
-<use>
-	<flag name="compat">Enable compatibility to <pkg>sys-libs/zlib</pkg></flag>
-</use>
-<upstream>
-	<remote-id type="github">zlib-ng/zlib-ng</remote-id>
-</upstream>
+	<maintainer type="project">
+		<email>base-system@gentoo.org</email>
+		<name>Gentoo Base System</name>
+	</maintainer>
+	<use>
+		<flag name="compat">Enable compatibility to <pkg>sys-libs/zlib</pkg></flag>
+	</use>
+	<upstream>
+		<remote-id type="github">zlib-ng/zlib-ng</remote-id>
+	</upstream>
 </pkgmetadata>

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.1.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
similarity index 85%
rename from sys-libs/zlib-ng/zlib-ng-2.0.1.ebuild
rename to sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
index 6c9d4fdc34f..bb16ca91c10 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.0.1.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
@@ -1,17 +1,16 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
-# $Id: 688f948c5f3067e775bfab5057e8047f467a9ca9 $
 
 EAPI=7
 
 inherit cmake
 
-DESCRIPTION="zlib data compression library"
+DESCRIPTION="Fork of the zlib data compression library"
 HOMEPAGE="https://github.com/zlib-ng/zlib-ng"
 SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
 LICENSE="ZLIB"
 SLOT="0"
-
 #KEYWORDS="~amd64 ~x86"
 IUSE="compat test"
 
@@ -19,6 +18,8 @@ RESTRICT="!test? ( test )"
 
 src_prepare() {
 	cmake_src_prepare
+
+	# https://github.com/zlib-ng/zlib-ng/issues/881
 	sed "/LIB_INSTALL_DIR/s@/lib\"@/$(get_libdir)\"@" \
 		-i CMakeLists.txt || die
 }


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2021-03-22  8:59 Lars Wendler
  0 siblings, 0 replies; 36+ messages in thread
From: Lars Wendler @ 2021-03-22  8:59 UTC (permalink / raw
  To: gentoo-commits

commit:     45b09e06d88073cbb2a59b2dcadc7b5139000285
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 17 23:39:36 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Mar 22 08:57:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45b09e06

sys-libs/zlib-ng: add preliminary intrinics

Adds support various intrinsics for amd64, arm{,64}, ppc{,64}, x86.

Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild | 34 +++++++++++++++++++++++++++++++-
 1 file changed, 33 insertions(+), 1 deletion(-)

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
index 5fd01079542..c00074bbf78 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
@@ -12,7 +12,9 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="ZLIB"
 SLOT="0"
 #KEYWORDS="~amd64 ~x86"
-IUSE="compat test"
+
+CPU_USE=( cpu_flags_{x86_{avx2,sse2,ssse3,sse4a,pclmul},arm_{crc32,neon},ppc_vsx2} )
+IUSE="compat ${CPU_USE[@]} test"
 
 RESTRICT="!test? ( test )"
 
@@ -33,5 +35,35 @@ src_configure() {
 		# https://github.com/gentoo/gentoo/pull/17167
 		-DWITH_UNALIGNED="OFF"
 	)
+
+	# The intrinsics options are all defined conditionally, so we need
+	# to enable them on/off per-arch here for now.
+	if use amd64 || use x86 ; then
+		mycmakeargs+=(
+			-DWITH_AVX2=$(usex cpu_flags_x86_avx2)
+			-DWITH_SSE2=$(usex cpu_flags_x86_sse2)
+			-DWITH_SSSE3=$(usex cpu_flags_x86_ssse3)
+			-DWITH_SSE4=$(usex cpu_flags_x86_sse4a)
+			-DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul)
+		)
+	fi
+
+	if use arm || use arm64 ; then
+		mycmakeargs+=(
+			-DWITH_ACLE=$(usex cpu_flags_arm_crc32)
+			-DWITH_NEON=$(usex cpu_flags_arm_neon)
+		)
+	fi
+
+	if use ppc || use ppc64 ; then
+		# The POWER8 support is VSX which was introduced
+		# VSX2 was introduced with POWER8, so use that as a proxy for it
+		mycmakeargs+=(
+			-DWITH_POWER8=$(usex cpu_flags_ppc_vsx2)
+		)
+	fi
+
+	# TODO: There's no s390x USE_EXPAND yet
+
 	cmake_src_configure
 }


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2021-03-22  8:59 Lars Wendler
  0 siblings, 0 replies; 36+ messages in thread
From: Lars Wendler @ 2021-03-22  8:59 UTC (permalink / raw
  To: gentoo-commits

commit:     d6abfc2b87604431291c7dd04a4a33b23a420366
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 17 23:26:12 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Mar 22 08:57:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6abfc2b

sys-libs/zlib-ng: disable unaligned access

We've discussed this in the past for sys-libs/zlib and we've avoided
enabling it there for now, although e.g. Debian did at the last time
I checked.

It's undefined behaviour and risky, even where it does (appear to) work
on e.g. amd64.

See: https://github.com/gentoo/gentoo/pull/17167
Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
index bb16ca91c10..5fd01079542 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
@@ -28,6 +28,10 @@ src_configure() {
 	local mycmakeargs=(
 		-DZLIB_COMPAT="$(usex compat)"
 		-DZLIB_ENABLE_TESTS="$(usex test)"
+		# Unaligned access is controversial and undefined behaviour
+		# Let's keep it off for now
+		# https://github.com/gentoo/gentoo/pull/17167
+		-DWITH_UNALIGNED="OFF"
 	)
 	cmake_src_configure
 }


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2021-03-24  7:51 Lars Wendler
  0 siblings, 0 replies; 36+ messages in thread
From: Lars Wendler @ 2021-03-24  7:51 UTC (permalink / raw
  To: gentoo-commits

commit:     f63aa6a956b613e8dca2c05cf77eb490adf73b9e
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 24 07:51:38 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Mar 24 07:51:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f63aa6a9

sys-libs/zlib-ng: Bump to version 2.0.2. Removed old

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-libs/zlib-ng/Manifest                                         | 2 +-
 .../zlib-ng/{zlib-ng-2.0.1-r1.ebuild => zlib-ng-2.0.2.ebuild}     | 8 --------
 2 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
index 3685de6eb1c..7876fd3545a 100644
--- a/sys-libs/zlib-ng/Manifest
+++ b/sys-libs/zlib-ng/Manifest
@@ -1 +1 @@
-DIST zlib-ng-2.0.1.tar.gz 697121 BLAKE2B c4e8c9602f9cf33746c842b2f100adad2fca2b3808691f73ca5b679bbac186a70bf575df731cf60797755275835a5839f4602e08e15faf16b216d4d6d99d4aeb SHA512 c3be0a29e07989353a41a07a4eb037efbc0de5a87f1a4fe338c97c0dc7145225bd1f1039cde4a440be3b54130e297153c5180d69a491b92bc8a69839a8c1a9e3
+DIST zlib-ng-2.0.2.tar.gz 698033 BLAKE2B 97645b054daddfe77aa23ec90e0beccc631c33f9ea841b8305ee7d2fb82dc61b2d60e924187d0012f7e99760669dd9d3c5f4e19dc64a0d2b253d333e21c898fe SHA512 d40a4fe036783fbc46225a49ff026cc12cd335103aa6f24e14e724c23d034019ed392337072879bc014223fe7b74a68f8d1d7dc1dfdbda95af864020e14272a8

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.2.ebuild
similarity index 92%
rename from sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
rename to sys-libs/zlib-ng/zlib-ng-2.0.2.ebuild
index 29181862229..35316b26509 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.0.2.ebuild
@@ -20,14 +20,6 @@ RESTRICT="!test? ( test )"
 
 RDEPEND="compat? ( !sys-libs/zlib )"
 
-src_prepare() {
-	cmake_src_prepare
-
-	# https://github.com/zlib-ng/zlib-ng/issues/881
-	sed "/LIB_INSTALL_DIR/s@/lib\"@/$(get_libdir)\"@" \
-		-i CMakeLists.txt || die
-}
-
 src_configure() {
 	local mycmakeargs=(
 		-DZLIB_COMPAT="$(usex compat)"


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2021-05-14  7:48 Lars Wendler
  0 siblings, 0 replies; 36+ messages in thread
From: Lars Wendler @ 2021-05-14  7:48 UTC (permalink / raw
  To: gentoo-commits

commit:     f49e058454745416f969d8f1393011234d2115a8
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri May 14 07:48:07 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri May 14 07:48:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f49e0584

sys-libs/zlib-ng: Bump to version 2.0.3. Removed old

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-libs/zlib-ng/Manifest                                       | 2 +-
 sys-libs/zlib-ng/{zlib-ng-2.0.2.ebuild => zlib-ng-2.0.3.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
index 7876fd3545a..158662fd4fb 100644
--- a/sys-libs/zlib-ng/Manifest
+++ b/sys-libs/zlib-ng/Manifest
@@ -1 +1 @@
-DIST zlib-ng-2.0.2.tar.gz 698033 BLAKE2B 97645b054daddfe77aa23ec90e0beccc631c33f9ea841b8305ee7d2fb82dc61b2d60e924187d0012f7e99760669dd9d3c5f4e19dc64a0d2b253d333e21c898fe SHA512 d40a4fe036783fbc46225a49ff026cc12cd335103aa6f24e14e724c23d034019ed392337072879bc014223fe7b74a68f8d1d7dc1dfdbda95af864020e14272a8
+DIST zlib-ng-2.0.3.tar.gz 699927 BLAKE2B 12776377ddc729b783ddbd5fab007869d941368e8abb6697ecd416732b20879fa5a995d6e613b9874f06721caa64e73ac5db2dc0cd9035edbed74b848897eb6b SHA512 e1afe91e1a8b4c54a004b672f539ae68f7dc1f1b08ba93514c0de674230354c944d496753f00ad272f16ef322705f275b5b72dac6c2a757ec741ef3f1ea1d59a

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.2.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.3.ebuild
similarity index 100%
rename from sys-libs/zlib-ng/zlib-ng-2.0.2.ebuild
rename to sys-libs/zlib-ng/zlib-ng-2.0.3.ebuild


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2021-06-12 10:35 Lars Wendler
  0 siblings, 0 replies; 36+ messages in thread
From: Lars Wendler @ 2021-06-12 10:35 UTC (permalink / raw
  To: gentoo-commits

commit:     b042c4d3d1736686cccce2b7ef49e44fb50d0ef4
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 12 09:58:44 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat Jun 12 10:34:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b042c4d3

sys-libs/zlib-ng: Bump to version 2.0.4. Removed old

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-libs/zlib-ng/Manifest                                       | 2 +-
 sys-libs/zlib-ng/{zlib-ng-2.0.3.ebuild => zlib-ng-2.0.4.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
index 158662fd4fb..1daa8b8e9e3 100644
--- a/sys-libs/zlib-ng/Manifest
+++ b/sys-libs/zlib-ng/Manifest
@@ -1 +1 @@
-DIST zlib-ng-2.0.3.tar.gz 699927 BLAKE2B 12776377ddc729b783ddbd5fab007869d941368e8abb6697ecd416732b20879fa5a995d6e613b9874f06721caa64e73ac5db2dc0cd9035edbed74b848897eb6b SHA512 e1afe91e1a8b4c54a004b672f539ae68f7dc1f1b08ba93514c0de674230354c944d496753f00ad272f16ef322705f275b5b72dac6c2a757ec741ef3f1ea1d59a
+DIST zlib-ng-2.0.4.tar.gz 809848 BLAKE2B 6d757c1898f1473e6bdd4bc6118958054a1fc82cb5eace57b7bf7020d2c153284674586c62046760c02ee478c9cd633e841c45dfb52728e888a710319159b74c SHA512 c9ae645b49ae9a0ba1481a4f15171a8fb6357d4bc39a5c6a9d76f2b165bccb32c92b64bf3a231cb32141bae9726519d4375928e147eb54f2e656efa4d82da74f

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.3.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.4.ebuild
similarity index 100%
rename from sys-libs/zlib-ng/zlib-ng-2.0.3.ebuild
rename to sys-libs/zlib-ng/zlib-ng-2.0.4.ebuild


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2021-06-26 21:32 Lars Wendler
  0 siblings, 0 replies; 36+ messages in thread
From: Lars Wendler @ 2021-06-26 21:32 UTC (permalink / raw
  To: gentoo-commits

commit:     891458d12e2d2240a0484a88af90861b54ab6326
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 26 21:32:49 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat Jun 26 21:32:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=891458d1

sys-libs/zlib-ng: Bump to version 2.0.5. Removed old

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-libs/zlib-ng/Manifest                                       | 2 +-
 sys-libs/zlib-ng/{zlib-ng-2.0.4.ebuild => zlib-ng-2.0.5.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
index 1daa8b8e9e3..e6cd464d2c0 100644
--- a/sys-libs/zlib-ng/Manifest
+++ b/sys-libs/zlib-ng/Manifest
@@ -1 +1 @@
-DIST zlib-ng-2.0.4.tar.gz 809848 BLAKE2B 6d757c1898f1473e6bdd4bc6118958054a1fc82cb5eace57b7bf7020d2c153284674586c62046760c02ee478c9cd633e841c45dfb52728e888a710319159b74c SHA512 c9ae645b49ae9a0ba1481a4f15171a8fb6357d4bc39a5c6a9d76f2b165bccb32c92b64bf3a231cb32141bae9726519d4375928e147eb54f2e656efa4d82da74f
+DIST zlib-ng-2.0.5.tar.gz 810110 BLAKE2B 70a7a4a4f5bcc792fcf5f41487160aa15481bc5512ddd567f59ac96ebd1b8ff7c1edb7e5887f16ee502a75fabb36caf88f0d88563a0d860679b0bfd0e0b9f12a SHA512 a643089a8189bf8bd24d679b84f07ae14932b4d88b88e94c44cca23350d6a9bbdaa411822d3651c2b0bf79f30c9f99514cc252cf9e9ab0b3a840540206466654

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.4.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.5.ebuild
similarity index 100%
rename from sys-libs/zlib-ng/zlib-ng-2.0.4.ebuild
rename to sys-libs/zlib-ng/zlib-ng-2.0.5.ebuild


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2022-01-01  4:29 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2022-01-01  4:29 UTC (permalink / raw
  To: gentoo-commits

commit:     ffacc42d137355606b1b9204c47d7f0c0aba79f5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  1 04:05:11 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan  1 04:05:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffacc42d

sys-libs/zlib-ng: add 2.0.6

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

 sys-libs/zlib-ng/Manifest             |  1 +
 sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild | 75 +++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
index e6cd464d2c0b..aeda00647854 100644
--- a/sys-libs/zlib-ng/Manifest
+++ b/sys-libs/zlib-ng/Manifest
@@ -1 +1,2 @@
 DIST zlib-ng-2.0.5.tar.gz 810110 BLAKE2B 70a7a4a4f5bcc792fcf5f41487160aa15481bc5512ddd567f59ac96ebd1b8ff7c1edb7e5887f16ee502a75fabb36caf88f0d88563a0d860679b0bfd0e0b9f12a SHA512 a643089a8189bf8bd24d679b84f07ae14932b4d88b88e94c44cca23350d6a9bbdaa411822d3651c2b0bf79f30c9f99514cc252cf9e9ab0b3a840540206466654
+DIST zlib-ng-2.0.6.tar.gz 817951 BLAKE2B 52993caadf14817e328b180d728586e1332ea04504288264934ef49441cb8b8c4a2412d4c11d1982f3764fef5e4fb7ebab442b407e57d9d5f08a5b2ed890bba9 SHA512 4888f17160d0a87a9b349704047ae0d0dc57237a10e11adae09ace957afa9743cce5191db67cb082991421fc961ce68011199621034d2369c0e7724fad58b4c5

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
new file mode 100644
index 000000000000..5abbd8a2ea61
--- /dev/null
+++ b/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Fork of the zlib data compression library"
+HOMEPAGE="https://github.com/zlib-ng/zlib-ng"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+#KEYWORDS="~amd64 ~x86"
+
+CPU_USE=( cpu_flags_{x86_{avx2,sse2,ssse3,sse4a,pclmul},arm_{crc32,neon},ppc_vsx2} )
+IUSE="compat ${CPU_USE[@]} test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="compat? ( !sys-libs/zlib )"
+
+src_configure() {
+	local mycmakeargs=(
+		-DZLIB_COMPAT="$(usex compat)"
+		-DZLIB_ENABLE_TESTS="$(usex test)"
+		# Unaligned access is controversial and undefined behaviour
+		# Let's keep it off for now
+		# https://github.com/gentoo/gentoo/pull/17167
+		-DWITH_UNALIGNED="OFF"
+	)
+
+	# The intrinsics options are all defined conditionally, so we need
+	# to enable them on/off per-arch here for now.
+	if use amd64 || use x86 ; then
+		mycmakeargs+=(
+			-DWITH_AVX2=$(usex cpu_flags_x86_avx2)
+			-DWITH_SSE2=$(usex cpu_flags_x86_sse2)
+			-DWITH_SSSE3=$(usex cpu_flags_x86_ssse3)
+			-DWITH_SSE4=$(usex cpu_flags_x86_sse4a)
+			-DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul)
+		)
+	fi
+
+	if use arm || use arm64 ; then
+		mycmakeargs+=(
+			-DWITH_ACLE=$(usex cpu_flags_arm_crc32)
+			-DWITH_NEON=$(usex cpu_flags_arm_neon)
+		)
+	fi
+
+	if use ppc || use ppc64 ; then
+		# The POWER8 support is VSX which was introduced
+		# VSX2 was introduced with POWER8, so use that as a proxy for it
+		mycmakeargs+=(
+			-DWITH_POWER8=$(usex cpu_flags_ppc_vsx2)
+		)
+	fi
+
+	# TODO: There's no s390x USE_EXPAND yet
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	if use compat ; then
+		ewarn "zlib-ng is experimental and replacing the system zlib is dangerous"
+		ewarn "Please be careful!"
+		ewarn
+		ewarn "The following link explains the guarantees (and what is NOT guaranteed):"
+		ewarn "https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md"
+	fi
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2022-10-02  0:14 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2022-10-02  0:14 UTC (permalink / raw
  To: gentoo-commits

commit:     9bc0812587b6b6bdc2a281007d3c7a62d8c20d58
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  2 00:12:04 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct  2 00:13:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bc08125

sys-libs/zlib-ng: update EAPI 7 -> 8

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

 sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
index 5abbd8a2ea61..4347d46652d3 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake
 
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="ZLIB"
 SLOT="0"
-#KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86"
 
 CPU_USE=( cpu_flags_{x86_{avx2,sse2,ssse3,sse4a,pclmul},arm_{crc32,neon},ppc_vsx2} )
 IUSE="compat ${CPU_USE[@]} test"


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2022-10-02  0:14 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2022-10-02  0:14 UTC (permalink / raw
  To: gentoo-commits

commit:     4b8cc4d45c80e0d1351cd5bf04795bba4d770db7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  2 00:11:30 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct  2 00:13:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b8cc4d4

sys-libs/zlib-ng: drop 2.0.5

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

 sys-libs/zlib-ng/Manifest             |  1 -
 sys-libs/zlib-ng/zlib-ng-2.0.5.ebuild | 75 -----------------------------------
 2 files changed, 76 deletions(-)

diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
index aeda00647854..1eddb8bdf40a 100644
--- a/sys-libs/zlib-ng/Manifest
+++ b/sys-libs/zlib-ng/Manifest
@@ -1,2 +1 @@
-DIST zlib-ng-2.0.5.tar.gz 810110 BLAKE2B 70a7a4a4f5bcc792fcf5f41487160aa15481bc5512ddd567f59ac96ebd1b8ff7c1edb7e5887f16ee502a75fabb36caf88f0d88563a0d860679b0bfd0e0b9f12a SHA512 a643089a8189bf8bd24d679b84f07ae14932b4d88b88e94c44cca23350d6a9bbdaa411822d3651c2b0bf79f30c9f99514cc252cf9e9ab0b3a840540206466654
 DIST zlib-ng-2.0.6.tar.gz 817951 BLAKE2B 52993caadf14817e328b180d728586e1332ea04504288264934ef49441cb8b8c4a2412d4c11d1982f3764fef5e4fb7ebab442b407e57d9d5f08a5b2ed890bba9 SHA512 4888f17160d0a87a9b349704047ae0d0dc57237a10e11adae09ace957afa9743cce5191db67cb082991421fc961ce68011199621034d2369c0e7724fad58b4c5

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.5.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.5.ebuild
deleted file mode 100644
index 35316b265096..000000000000
--- a/sys-libs/zlib-ng/zlib-ng-2.0.5.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="Fork of the zlib data compression library"
-HOMEPAGE="https://github.com/zlib-ng/zlib-ng"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="ZLIB"
-SLOT="0"
-#KEYWORDS="~amd64 ~x86"
-
-CPU_USE=( cpu_flags_{x86_{avx2,sse2,ssse3,sse4a,pclmul},arm_{crc32,neon},ppc_vsx2} )
-IUSE="compat ${CPU_USE[@]} test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="compat? ( !sys-libs/zlib )"
-
-src_configure() {
-	local mycmakeargs=(
-		-DZLIB_COMPAT="$(usex compat)"
-		-DZLIB_ENABLE_TESTS="$(usex test)"
-		# Unaligned access is controversial and undefined behaviour
-		# Let's keep it off for now
-		# https://github.com/gentoo/gentoo/pull/17167
-		-DWITH_UNALIGNED="OFF"
-	)
-
-	# The intrinsics options are all defined conditionally, so we need
-	# to enable them on/off per-arch here for now.
-	if use amd64 || use x86 ; then
-		mycmakeargs+=(
-			-DWITH_AVX2=$(usex cpu_flags_x86_avx2)
-			-DWITH_SSE2=$(usex cpu_flags_x86_sse2)
-			-DWITH_SSSE3=$(usex cpu_flags_x86_ssse3)
-			-DWITH_SSE4=$(usex cpu_flags_x86_sse4a)
-			-DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul)
-		)
-	fi
-
-	if use arm || use arm64 ; then
-		mycmakeargs+=(
-			-DWITH_ACLE=$(usex cpu_flags_arm_crc32)
-			-DWITH_NEON=$(usex cpu_flags_arm_neon)
-		)
-	fi
-
-	if use ppc || use ppc64 ; then
-		# The POWER8 support is VSX which was introduced
-		# VSX2 was introduced with POWER8, so use that as a proxy for it
-		mycmakeargs+=(
-			-DWITH_POWER8=$(usex cpu_flags_ppc_vsx2)
-		)
-	fi
-
-	# TODO: There's no s390x USE_EXPAND yet
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-
-	if use compat ; then
-		ewarn "zlib-ng is experimental and replacing the system zlib is dangerous"
-		ewarn "Please be careful!"
-		ewarn
-		ewarn "The following link explains the guarantees (and what is NOT guaranteed):"
-		ewarn "https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md"
-	fi
-}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2022-10-07 19:58 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2022-10-07 19:58 UTC (permalink / raw
  To: gentoo-commits

commit:     f6c45f07f6faac56ef6571519aaaa0f815585468
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  7 19:12:05 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct  7 19:57:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6c45f07

sys-libs/zlib-ng: mention 'develop' branch upstream

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

 sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
index 4347d46652d3..3a26044fac17 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
@@ -3,6 +3,9 @@
 
 EAPI=8
 
+# Worth keeping an eye on 'develop' branch upstream for possible backports,
+# as they copied this practice from sys-libs/zlib upstream.
+
 inherit cmake
 
 DESCRIPTION="Fork of the zlib data compression library"


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2023-02-26 17:08 Arthur Zamarin
  0 siblings, 0 replies; 36+ messages in thread
From: Arthur Zamarin @ 2023-02-26 17:08 UTC (permalink / raw
  To: gentoo-commits

commit:     cfb46c1be0cc0fa31e944027332617a90d36a368
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 26 17:08:48 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 26 17:08:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfb46c1b

sys-libs/zlib-ng: Keyword 2.0.6 arm64, #895718

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

 sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
index 3a26044fac17..00d516f7eff3 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.0.6.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/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 
 CPU_USE=( cpu_flags_{x86_{avx2,sse2,ssse3,sse4a,pclmul},arm_{crc32,neon},ppc_vsx2} )
 IUSE="compat ${CPU_USE[@]} test"


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2023-02-26 17:33 Arthur Zamarin
  0 siblings, 0 replies; 36+ messages in thread
From: Arthur Zamarin @ 2023-02-26 17:33 UTC (permalink / raw
  To: gentoo-commits

commit:     80297805053fce0187fe5e129bb281518b17f69f
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 26 17:32:59 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 26 17:32:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80297805

sys-libs/zlib-ng: Keyword 2.0.6 ppc64, #895718

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

 sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
index 00d516f7eff3..78c1b8748f31 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 
 CPU_USE=( cpu_flags_{x86_{avx2,sse2,ssse3,sse4a,pclmul},arm_{crc32,neon},ppc_vsx2} )
 IUSE="compat ${CPU_USE[@]} test"


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2023-02-26 19:28 Arthur Zamarin
  0 siblings, 0 replies; 36+ messages in thread
From: Arthur Zamarin @ 2023-02-26 19:28 UTC (permalink / raw
  To: gentoo-commits

commit:     2220b24cd52c480d80091ca41da014331832b0f6
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 26 19:28:08 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 26 19:28:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2220b24c

sys-libs/zlib-ng: Keyword 2.0.6 arm, #895718

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

 sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
index 78c1b8748f31..7b148686e2b4 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 
 CPU_USE=( cpu_flags_{x86_{avx2,sse2,ssse3,sse4a,pclmul},arm_{crc32,neon},ppc_vsx2} )
 IUSE="compat ${CPU_USE[@]} test"


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2023-02-28 12:12 Yixun Lan
  0 siblings, 0 replies; 36+ messages in thread
From: Yixun Lan @ 2023-02-28 12:12 UTC (permalink / raw
  To: gentoo-commits

commit:     67b55f0b3eb3af7ec92468ba29b717b9e2cf5008
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 28 12:12:14 2023 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 12:12:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67b55f0b

sys-libs/zlib-ng: Keyword 2.0.6 riscv, #895718

Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
index 7b148686e2b4..641a623a64aa 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 
 CPU_USE=( cpu_flags_{x86_{avx2,sse2,ssse3,sse4a,pclmul},arm_{crc32,neon},ppc_vsx2} )
 IUSE="compat ${CPU_USE[@]} test"


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2023-03-17 21:54 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2023-03-17 21:54 UTC (permalink / raw
  To: gentoo-commits

commit:     3877bb3d71236c4d039a022825c1733ae0683db0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 21:47:42 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 21:52:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3877bb3d

sys-libs/zlib-ng: add 2.0.7

Bug: https://bugs.gentoo.org/901983
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/zlib-ng/Manifest             |  1 +
 sys-libs/zlib-ng/zlib-ng-2.0.7.ebuild | 78 +++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
index 1eddb8bdf40a..83cf6ac918fc 100644
--- a/sys-libs/zlib-ng/Manifest
+++ b/sys-libs/zlib-ng/Manifest
@@ -1 +1,2 @@
 DIST zlib-ng-2.0.6.tar.gz 817951 BLAKE2B 52993caadf14817e328b180d728586e1332ea04504288264934ef49441cb8b8c4a2412d4c11d1982f3764fef5e4fb7ebab442b407e57d9d5f08a5b2ed890bba9 SHA512 4888f17160d0a87a9b349704047ae0d0dc57237a10e11adae09ace957afa9743cce5191db67cb082991421fc961ce68011199621034d2369c0e7724fad58b4c5
+DIST zlib-ng-2.0.7.tar.gz 853381 BLAKE2B 89672bd35ee54df72ff995c1b4ed188538011be4cd077e464f21a088b0b70b3f95b4259dc546a65e8d4900dc5bd5bb98041875e361000898b34518f7e008b99b SHA512 1c19a62bb00727ac49049c299fb70060da95b5fafa448144ae4133372ec8c3da15cef6c1303485290f269b23c580696554ca0383dba3e1f9609f65c332981988

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.7.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.7.ebuild
new file mode 100644
index 000000000000..641a623a64aa
--- /dev/null
+++ b/sys-libs/zlib-ng/zlib-ng-2.0.7.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Worth keeping an eye on 'develop' branch upstream for possible backports,
+# as they copied this practice from sys-libs/zlib upstream.
+
+inherit cmake
+
+DESCRIPTION="Fork of the zlib data compression library"
+HOMEPAGE="https://github.com/zlib-ng/zlib-ng"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+CPU_USE=( cpu_flags_{x86_{avx2,sse2,ssse3,sse4a,pclmul},arm_{crc32,neon},ppc_vsx2} )
+IUSE="compat ${CPU_USE[@]} test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="compat? ( !sys-libs/zlib )"
+
+src_configure() {
+	local mycmakeargs=(
+		-DZLIB_COMPAT="$(usex compat)"
+		-DZLIB_ENABLE_TESTS="$(usex test)"
+		# Unaligned access is controversial and undefined behaviour
+		# Let's keep it off for now
+		# https://github.com/gentoo/gentoo/pull/17167
+		-DWITH_UNALIGNED="OFF"
+	)
+
+	# The intrinsics options are all defined conditionally, so we need
+	# to enable them on/off per-arch here for now.
+	if use amd64 || use x86 ; then
+		mycmakeargs+=(
+			-DWITH_AVX2=$(usex cpu_flags_x86_avx2)
+			-DWITH_SSE2=$(usex cpu_flags_x86_sse2)
+			-DWITH_SSSE3=$(usex cpu_flags_x86_ssse3)
+			-DWITH_SSE4=$(usex cpu_flags_x86_sse4a)
+			-DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul)
+		)
+	fi
+
+	if use arm || use arm64 ; then
+		mycmakeargs+=(
+			-DWITH_ACLE=$(usex cpu_flags_arm_crc32)
+			-DWITH_NEON=$(usex cpu_flags_arm_neon)
+		)
+	fi
+
+	if use ppc || use ppc64 ; then
+		# The POWER8 support is VSX which was introduced
+		# VSX2 was introduced with POWER8, so use that as a proxy for it
+		mycmakeargs+=(
+			-DWITH_POWER8=$(usex cpu_flags_ppc_vsx2)
+		)
+	fi
+
+	# TODO: There's no s390x USE_EXPAND yet
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	if use compat ; then
+		ewarn "zlib-ng is experimental and replacing the system zlib is dangerous"
+		ewarn "Please be careful!"
+		ewarn
+		ewarn "The following link explains the guarantees (and what is NOT guaranteed):"
+		ewarn "https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md"
+	fi
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2023-03-17 22:00 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2023-03-17 22:00 UTC (permalink / raw
  To: gentoo-commits

commit:     9226e625e71d03f9c34f9a9586e994c4a080ae48
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 21:55:34 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 21:55:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9226e625

sys-libs/zlib-ng: drop 2.0.6

Bug: https://bugs.gentoo.org/901983
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/zlib-ng/Manifest             |  1 -
 sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild | 78 -----------------------------------
 2 files changed, 79 deletions(-)

diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
index 83cf6ac918fc..cdd93f9171bb 100644
--- a/sys-libs/zlib-ng/Manifest
+++ b/sys-libs/zlib-ng/Manifest
@@ -1,2 +1 @@
-DIST zlib-ng-2.0.6.tar.gz 817951 BLAKE2B 52993caadf14817e328b180d728586e1332ea04504288264934ef49441cb8b8c4a2412d4c11d1982f3764fef5e4fb7ebab442b407e57d9d5f08a5b2ed890bba9 SHA512 4888f17160d0a87a9b349704047ae0d0dc57237a10e11adae09ace957afa9743cce5191db67cb082991421fc961ce68011199621034d2369c0e7724fad58b4c5
 DIST zlib-ng-2.0.7.tar.gz 853381 BLAKE2B 89672bd35ee54df72ff995c1b4ed188538011be4cd077e464f21a088b0b70b3f95b4259dc546a65e8d4900dc5bd5bb98041875e361000898b34518f7e008b99b SHA512 1c19a62bb00727ac49049c299fb70060da95b5fafa448144ae4133372ec8c3da15cef6c1303485290f269b23c580696554ca0383dba3e1f9609f65c332981988

diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
deleted file mode 100644
index 641a623a64aa..000000000000
--- a/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Worth keeping an eye on 'develop' branch upstream for possible backports,
-# as they copied this practice from sys-libs/zlib upstream.
-
-inherit cmake
-
-DESCRIPTION="Fork of the zlib data compression library"
-HOMEPAGE="https://github.com/zlib-ng/zlib-ng"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-
-CPU_USE=( cpu_flags_{x86_{avx2,sse2,ssse3,sse4a,pclmul},arm_{crc32,neon},ppc_vsx2} )
-IUSE="compat ${CPU_USE[@]} test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="compat? ( !sys-libs/zlib )"
-
-src_configure() {
-	local mycmakeargs=(
-		-DZLIB_COMPAT="$(usex compat)"
-		-DZLIB_ENABLE_TESTS="$(usex test)"
-		# Unaligned access is controversial and undefined behaviour
-		# Let's keep it off for now
-		# https://github.com/gentoo/gentoo/pull/17167
-		-DWITH_UNALIGNED="OFF"
-	)
-
-	# The intrinsics options are all defined conditionally, so we need
-	# to enable them on/off per-arch here for now.
-	if use amd64 || use x86 ; then
-		mycmakeargs+=(
-			-DWITH_AVX2=$(usex cpu_flags_x86_avx2)
-			-DWITH_SSE2=$(usex cpu_flags_x86_sse2)
-			-DWITH_SSSE3=$(usex cpu_flags_x86_ssse3)
-			-DWITH_SSE4=$(usex cpu_flags_x86_sse4a)
-			-DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul)
-		)
-	fi
-
-	if use arm || use arm64 ; then
-		mycmakeargs+=(
-			-DWITH_ACLE=$(usex cpu_flags_arm_crc32)
-			-DWITH_NEON=$(usex cpu_flags_arm_neon)
-		)
-	fi
-
-	if use ppc || use ppc64 ; then
-		# The POWER8 support is VSX which was introduced
-		# VSX2 was introduced with POWER8, so use that as a proxy for it
-		mycmakeargs+=(
-			-DWITH_POWER8=$(usex cpu_flags_ppc_vsx2)
-		)
-	fi
-
-	# TODO: There's no s390x USE_EXPAND yet
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-
-	if use compat ; then
-		ewarn "zlib-ng is experimental and replacing the system zlib is dangerous"
-		ewarn "Please be careful!"
-		ewarn
-		ewarn "The following link explains the guarantees (and what is NOT guaranteed):"
-		ewarn "https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md"
-	fi
-}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2023-06-16  1:27 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2023-06-16  1:27 UTC (permalink / raw
  To: gentoo-commits

commit:     2e77e64d93d14f05e370d8c516c78ba932d3c1b5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 16 01:25:34 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 16 01:26:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e77e64d

sys-libs/zlib-ng: tweak comment

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

 sys-libs/zlib-ng/zlib-ng-2.1.2.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.2.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.2.ebuild
index f32b71569755..718d4ab949b5 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.1.2.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.1.2.ebuild
@@ -44,6 +44,7 @@ src_configure() {
 
 	# The intrinsics options are all defined conditionally, so we need
 	# to enable them on/off per-arch here for now.
+	# TODO: There's no s390x USE_EXPAND yet
 	if use amd64 || use x86 ; then
 		mycmakeargs+=(
 			-DWITH_AVX2=$(usex cpu_flags_x86_avx2)
@@ -74,8 +75,6 @@ src_configure() {
 		)
 	fi
 
-	# TODO: There's no s390x USE_EXPAND yet
-
 	cmake_src_configure
 }
 


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2023-06-16  1:42 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2023-06-16  1:42 UTC (permalink / raw
  To: gentoo-commits

commit:     dc3acbe1cfc97a45f986c5ff46273f91dd75738a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 16 01:35:56 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 16 01:36:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc3acbe1

sys-libs/zlib-ng: add multilib

If this is ever going to be a thing with compat, we obviously need this.

We could conditionalise stuff on USE=compat but I don't really see the value
in that; still possible we could want this for newly built 32-bit stuff anyway.

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

 .../zlib-ng/{zlib-ng-2.1.2.ebuild => zlib-ng-2.1.2-r1.ebuild}     | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.2.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.2-r1.ebuild
similarity index 97%
rename from sys-libs/zlib-ng/zlib-ng-2.1.2.ebuild
rename to sys-libs/zlib-ng/zlib-ng-2.1.2-r1.ebuild
index 718d4ab949b5..f96bd980dbf9 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.1.2.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.1.2-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 # Worth keeping an eye on 'develop' branch upstream for possible backports,
 # as they copied this practice from sys-libs/zlib upstream.
 
-inherit cmake
+inherit cmake-multilib
 
 DESCRIPTION="Fork of the zlib data compression library"
 HOMEPAGE="https://github.com/zlib-ng/zlib-ng"
@@ -31,7 +31,7 @@ PATCHES=(
 	"${FILESDIR}"/zlib-ng-2.1.2-cmake.patch
 )
 
-src_configure() {
+multilib_src_configure() {
 	local mycmakeargs=(
 		-DZLIB_COMPAT=$(usex compat)
 		-DZLIB_ENABLE_TESTS=$(usex test)
@@ -78,9 +78,7 @@ src_configure() {
 	cmake_src_configure
 }
 
-src_install() {
-	cmake_src_install
-
+pkg_postinst() {
 	if use compat ; then
 		ewarn "zlib-ng is experimental and replacing the system zlib is dangerous"
 		ewarn "Please be careful!"


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2023-06-17  3:15 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2023-06-17  3:15 UTC (permalink / raw
  To: gentoo-commits

commit:     2ce629ab3847ee125a2507b50715e29fbe26c5b7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 17 03:09:53 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 17 03:09:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ce629ab

sys-libs/zlib-ng: disable gtest entirely when not running tests

Closes: https://bugs.gentoo.org/908567
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/zlib-ng/zlib-ng-2.1.2-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.2-r1.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.2-r1.ebuild
index f96bd980dbf9..25a52ed3352c 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.1.2-r1.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.1.2-r1.ebuild
@@ -35,6 +35,7 @@ multilib_src_configure() {
 	local mycmakeargs=(
 		-DZLIB_COMPAT=$(usex compat)
 		-DZLIB_ENABLE_TESTS=$(usex test)
+		-DWITH_GTEST=$(usex test)
 
 		# Unaligned access is controversial and undefined behaviour
 		# Let's keep it off for now


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2023-06-29  8:39 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2023-06-29  8:39 UTC (permalink / raw
  To: gentoo-commits

commit:     d9528533d6c6e83b02f01804b2b63b323f6346a9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 29 08:39:11 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 29 08:39:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9528533

sys-libs/zlib-ng: add 2.1.3

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

 sys-libs/zlib-ng/Manifest             |  1 +
 sys-libs/zlib-ng/zlib-ng-2.1.3.ebuild | 86 +++++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
index 6a7c819fb8e0..6680cee82115 100644
--- a/sys-libs/zlib-ng/Manifest
+++ b/sys-libs/zlib-ng/Manifest
@@ -1,2 +1,3 @@
 DIST zlib-ng-2.0.7.tar.gz 853381 BLAKE2B 89672bd35ee54df72ff995c1b4ed188538011be4cd077e464f21a088b0b70b3f95b4259dc546a65e8d4900dc5bd5bb98041875e361000898b34518f7e008b99b SHA512 1c19a62bb00727ac49049c299fb70060da95b5fafa448144ae4133372ec8c3da15cef6c1303485290f269b23c580696554ca0383dba3e1f9609f65c332981988
 DIST zlib-ng-2.1.2.tar.gz 2404176 BLAKE2B bc0b65520562827b10216110e2020a3341ee0dd853874c19ddb6f9df776fc74a542c1239f77dc3ec2ccb3f92e75f1de7ef104edfecfe37312149b1bc29ae7403 SHA512 2b3073df4eb13d8318f8fa2b7674e4729642488f65dad49d3080ccd830f29e9e3f32a673b42634443ddf9e9ef85cfff4f2f3e182506f950b9ee0a208a92c0465
+DIST zlib-ng-2.1.3.tar.gz 2404446 BLAKE2B f3c93e1ed6aa6d008915a69de92d58b1646fd41ae6c97fbdab9d921fd30c7931a42cf5dccd8911d52142960174a04df54d6ab557cc7c902930fc8609c31fbee9 SHA512 cb987c0b20a11fca5361dce94e53dead7364e739a984545c38ad4bf0c7fedd83d5d62530d979eca2182da88d7507a9bec8d3f5abff41e92ab5a63ac61001502e

diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.3.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.3.ebuild
new file mode 100644
index 000000000000..cfef9b1cc843
--- /dev/null
+++ b/sys-libs/zlib-ng/zlib-ng-2.1.3.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Worth keeping an eye on 'develop' branch upstream for possible backports,
+# as they copied this practice from sys-libs/zlib upstream.
+
+inherit cmake-multilib
+
+DESCRIPTION="Fork of the zlib data compression library"
+HOMEPAGE="https://github.com/zlib-ng/zlib-ng"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+CPU_USE=(
+	x86_{avx2,avx512f,sse2,ssse3,sse4_2,pclmul}
+	arm_{crc32,neon}
+	ppc_{altivec,vsx2,vsx3}
+)
+IUSE="compat ${CPU_USE[@]/#/cpu_flags_} test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="compat? ( !sys-libs/zlib )"
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DZLIB_COMPAT=$(usex compat)
+		-DZLIB_ENABLE_TESTS=$(usex test)
+		-DWITH_GTEST=$(usex test)
+
+		# Unaligned access is controversial and undefined behaviour
+		# Let's keep it off for now
+		# https://github.com/gentoo/gentoo/pull/17167
+		-DWITH_UNALIGNED=OFF
+	)
+
+	# The intrinsics options are all defined conditionally, so we need
+	# to enable them on/off per-arch here for now.
+	# TODO: There's no s390x USE_EXPAND yet
+	if use amd64 || use x86 ; then
+		mycmakeargs+=(
+			-DWITH_AVX2=$(usex cpu_flags_x86_avx2)
+			-DWITH_AVX512=$(usex cpu_flags_x86_avx512f)
+			-DWITH_AVX512VNNI=OFF # TODO, see bug #908556
+			-DWITH_SSE2=$(usex cpu_flags_x86_sse2)
+			-DWITH_SSSE3=$(usex cpu_flags_x86_ssse3)
+			-DWITH_SSE42=$(usex cpu_flags_x86_sse4_2)
+			-DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul)
+			-DWITH_VPCLMULQDQ=OFF # TODO, see bug #908556
+		)
+	fi
+
+	if use arm || use arm64 ; then
+		mycmakeargs+=(
+			-DWITH_ACLE=$(usex cpu_flags_arm_crc32)
+			-DWITH_NEON=$(usex cpu_flags_arm_neon)
+		)
+	fi
+
+	if use ppc || use ppc64 ; then
+		# The POWER8 support is VSX which was introduced
+		# VSX2 was introduced with POWER8, so use that as a proxy for it
+		mycmakeargs+=(
+			-DWITH_ALTIVEC=$(usex cpu_flags_ppc_altivec)
+			-DWITH_POWER8=$(usex cpu_flags_ppc_vsx2)
+			-DWITH_POWER9=$(usex cpu_flags_ppc_vsx3)
+		)
+	fi
+
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	if use compat ; then
+		ewarn "zlib-ng is experimental and replacing the system zlib is dangerous"
+		ewarn "Please be careful!"
+		ewarn
+		ewarn "The following link explains the guarantees (and what is NOT guaranteed):"
+		ewarn "https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md"
+	fi
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2023-10-20  0:51 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2023-10-20  0:51 UTC (permalink / raw
  To: gentoo-commits

commit:     0725b7d7b1c1020b915125a6cec2c1bff748a81d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 20 00:44:33 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 20 00:51:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0725b7d7

sys-libs/zlib-ng: add 2.1.4

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

 sys-libs/zlib-ng/Manifest             |  1 +
 sys-libs/zlib-ng/zlib-ng-2.1.4.ebuild | 86 +++++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
index 8fc02a3e816d..76892de9c128 100644
--- a/sys-libs/zlib-ng/Manifest
+++ b/sys-libs/zlib-ng/Manifest
@@ -1 +1,2 @@
 DIST zlib-ng-2.1.3.tar.gz 2404446 BLAKE2B f3c93e1ed6aa6d008915a69de92d58b1646fd41ae6c97fbdab9d921fd30c7931a42cf5dccd8911d52142960174a04df54d6ab557cc7c902930fc8609c31fbee9 SHA512 cb987c0b20a11fca5361dce94e53dead7364e739a984545c38ad4bf0c7fedd83d5d62530d979eca2182da88d7507a9bec8d3f5abff41e92ab5a63ac61001502e
+DIST zlib-ng-2.1.4.tar.gz 2408377 BLAKE2B 0b5aff9671b43bda2adfc84987c6baa108fa444978d465f12516f13f32b88e6bbe52f7d3e48ff93c720229842062fe71c38ff7c1e7591e18fc7351c943fd2a6b SHA512 5afda5ea4be84f7d7b016416a6eed18e2aab6c698f006cdfbc8f8b43ce3dc73c7994ab9d1ca090c1b93cb1aadc8747bfd8216afb22b44633d49127f01b77cfa2

diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.4.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.4.ebuild
new file mode 100644
index 000000000000..cfef9b1cc843
--- /dev/null
+++ b/sys-libs/zlib-ng/zlib-ng-2.1.4.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Worth keeping an eye on 'develop' branch upstream for possible backports,
+# as they copied this practice from sys-libs/zlib upstream.
+
+inherit cmake-multilib
+
+DESCRIPTION="Fork of the zlib data compression library"
+HOMEPAGE="https://github.com/zlib-ng/zlib-ng"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+CPU_USE=(
+	x86_{avx2,avx512f,sse2,ssse3,sse4_2,pclmul}
+	arm_{crc32,neon}
+	ppc_{altivec,vsx2,vsx3}
+)
+IUSE="compat ${CPU_USE[@]/#/cpu_flags_} test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="compat? ( !sys-libs/zlib )"
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DZLIB_COMPAT=$(usex compat)
+		-DZLIB_ENABLE_TESTS=$(usex test)
+		-DWITH_GTEST=$(usex test)
+
+		# Unaligned access is controversial and undefined behaviour
+		# Let's keep it off for now
+		# https://github.com/gentoo/gentoo/pull/17167
+		-DWITH_UNALIGNED=OFF
+	)
+
+	# The intrinsics options are all defined conditionally, so we need
+	# to enable them on/off per-arch here for now.
+	# TODO: There's no s390x USE_EXPAND yet
+	if use amd64 || use x86 ; then
+		mycmakeargs+=(
+			-DWITH_AVX2=$(usex cpu_flags_x86_avx2)
+			-DWITH_AVX512=$(usex cpu_flags_x86_avx512f)
+			-DWITH_AVX512VNNI=OFF # TODO, see bug #908556
+			-DWITH_SSE2=$(usex cpu_flags_x86_sse2)
+			-DWITH_SSSE3=$(usex cpu_flags_x86_ssse3)
+			-DWITH_SSE42=$(usex cpu_flags_x86_sse4_2)
+			-DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul)
+			-DWITH_VPCLMULQDQ=OFF # TODO, see bug #908556
+		)
+	fi
+
+	if use arm || use arm64 ; then
+		mycmakeargs+=(
+			-DWITH_ACLE=$(usex cpu_flags_arm_crc32)
+			-DWITH_NEON=$(usex cpu_flags_arm_neon)
+		)
+	fi
+
+	if use ppc || use ppc64 ; then
+		# The POWER8 support is VSX which was introduced
+		# VSX2 was introduced with POWER8, so use that as a proxy for it
+		mycmakeargs+=(
+			-DWITH_ALTIVEC=$(usex cpu_flags_ppc_altivec)
+			-DWITH_POWER8=$(usex cpu_flags_ppc_vsx2)
+			-DWITH_POWER9=$(usex cpu_flags_ppc_vsx3)
+		)
+	fi
+
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	if use compat ; then
+		ewarn "zlib-ng is experimental and replacing the system zlib is dangerous"
+		ewarn "Please be careful!"
+		ewarn
+		ewarn "The following link explains the guarantees (and what is NOT guaranteed):"
+		ewarn "https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md"
+	fi
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2023-11-30  3:07 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2023-11-30  3:07 UTC (permalink / raw
  To: gentoo-commits

commit:     fe97c1f725b6c22c350c96fd4c77b92c0b6c4ff8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 30 02:42:24 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 30 02:42:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe97c1f7

sys-libs/zlib-ng: add 2.1.5

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

 sys-libs/zlib-ng/Manifest             |  1 +
 sys-libs/zlib-ng/zlib-ng-2.1.5.ebuild | 86 +++++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
index 76892de9c128..267262deb2b4 100644
--- a/sys-libs/zlib-ng/Manifest
+++ b/sys-libs/zlib-ng/Manifest
@@ -1,2 +1,3 @@
 DIST zlib-ng-2.1.3.tar.gz 2404446 BLAKE2B f3c93e1ed6aa6d008915a69de92d58b1646fd41ae6c97fbdab9d921fd30c7931a42cf5dccd8911d52142960174a04df54d6ab557cc7c902930fc8609c31fbee9 SHA512 cb987c0b20a11fca5361dce94e53dead7364e739a984545c38ad4bf0c7fedd83d5d62530d979eca2182da88d7507a9bec8d3f5abff41e92ab5a63ac61001502e
 DIST zlib-ng-2.1.4.tar.gz 2408377 BLAKE2B 0b5aff9671b43bda2adfc84987c6baa108fa444978d465f12516f13f32b88e6bbe52f7d3e48ff93c720229842062fe71c38ff7c1e7591e18fc7351c943fd2a6b SHA512 5afda5ea4be84f7d7b016416a6eed18e2aab6c698f006cdfbc8f8b43ce3dc73c7994ab9d1ca090c1b93cb1aadc8747bfd8216afb22b44633d49127f01b77cfa2
+DIST zlib-ng-2.1.5.tar.gz 2410601 BLAKE2B 7370ee38c05855e3a5e6976826690790adab7d68d877bf01f68969c99ad4a5fc8fd265a160e147b110969ff77ee97aab9c9d227a526d645a496eae76b2c27b04 SHA512 9212d87c63a2da4e5355a7a1c75380aeba40fbd0ea3d71d3784cb3eac94237f9bea2a1b7993a08f39d4197725c4c133087d3a9d213d3944aa48a7559de2be920

diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.5.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.5.ebuild
new file mode 100644
index 000000000000..cfef9b1cc843
--- /dev/null
+++ b/sys-libs/zlib-ng/zlib-ng-2.1.5.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Worth keeping an eye on 'develop' branch upstream for possible backports,
+# as they copied this practice from sys-libs/zlib upstream.
+
+inherit cmake-multilib
+
+DESCRIPTION="Fork of the zlib data compression library"
+HOMEPAGE="https://github.com/zlib-ng/zlib-ng"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+CPU_USE=(
+	x86_{avx2,avx512f,sse2,ssse3,sse4_2,pclmul}
+	arm_{crc32,neon}
+	ppc_{altivec,vsx2,vsx3}
+)
+IUSE="compat ${CPU_USE[@]/#/cpu_flags_} test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="compat? ( !sys-libs/zlib )"
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DZLIB_COMPAT=$(usex compat)
+		-DZLIB_ENABLE_TESTS=$(usex test)
+		-DWITH_GTEST=$(usex test)
+
+		# Unaligned access is controversial and undefined behaviour
+		# Let's keep it off for now
+		# https://github.com/gentoo/gentoo/pull/17167
+		-DWITH_UNALIGNED=OFF
+	)
+
+	# The intrinsics options are all defined conditionally, so we need
+	# to enable them on/off per-arch here for now.
+	# TODO: There's no s390x USE_EXPAND yet
+	if use amd64 || use x86 ; then
+		mycmakeargs+=(
+			-DWITH_AVX2=$(usex cpu_flags_x86_avx2)
+			-DWITH_AVX512=$(usex cpu_flags_x86_avx512f)
+			-DWITH_AVX512VNNI=OFF # TODO, see bug #908556
+			-DWITH_SSE2=$(usex cpu_flags_x86_sse2)
+			-DWITH_SSSE3=$(usex cpu_flags_x86_ssse3)
+			-DWITH_SSE42=$(usex cpu_flags_x86_sse4_2)
+			-DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul)
+			-DWITH_VPCLMULQDQ=OFF # TODO, see bug #908556
+		)
+	fi
+
+	if use arm || use arm64 ; then
+		mycmakeargs+=(
+			-DWITH_ACLE=$(usex cpu_flags_arm_crc32)
+			-DWITH_NEON=$(usex cpu_flags_arm_neon)
+		)
+	fi
+
+	if use ppc || use ppc64 ; then
+		# The POWER8 support is VSX which was introduced
+		# VSX2 was introduced with POWER8, so use that as a proxy for it
+		mycmakeargs+=(
+			-DWITH_ALTIVEC=$(usex cpu_flags_ppc_altivec)
+			-DWITH_POWER8=$(usex cpu_flags_ppc_vsx2)
+			-DWITH_POWER9=$(usex cpu_flags_ppc_vsx3)
+		)
+	fi
+
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	if use compat ; then
+		ewarn "zlib-ng is experimental and replacing the system zlib is dangerous"
+		ewarn "Please be careful!"
+		ewarn
+		ewarn "The following link explains the guarantees (and what is NOT guaranteed):"
+		ewarn "https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md"
+	fi
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2024-01-14  2:30 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2024-01-14  2:30 UTC (permalink / raw
  To: gentoo-commits

commit:     07a59ad3fd5e3ac517cbeffab23b3511bf6e98f9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 02:04:26 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 02:04:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07a59ad3

sys-libs/zlib-ng: add 2.1.6

Closes: https://bugs.gentoo.org/908658
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/zlib-ng/Manifest             |  1 +
 sys-libs/zlib-ng/zlib-ng-2.1.6.ebuild | 91 +++++++++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
index 9fd23cff9381..cb8973e9d0a3 100644
--- a/sys-libs/zlib-ng/Manifest
+++ b/sys-libs/zlib-ng/Manifest
@@ -1 +1,2 @@
 DIST zlib-ng-2.1.5.tar.gz 2410601 BLAKE2B 7370ee38c05855e3a5e6976826690790adab7d68d877bf01f68969c99ad4a5fc8fd265a160e147b110969ff77ee97aab9c9d227a526d645a496eae76b2c27b04 SHA512 9212d87c63a2da4e5355a7a1c75380aeba40fbd0ea3d71d3784cb3eac94237f9bea2a1b7993a08f39d4197725c4c133087d3a9d213d3944aa48a7559de2be920
+DIST zlib-ng-2.1.6.tar.gz 2412106 BLAKE2B 9ca16c19c2c799e68e099d44721b27dc33ad9e859a3d6572bebe3a75c618bffd78e19f0d4c0607802d1c8fa6a8f328d62f9993648a99c1d2e0e5fdcaf87a2667 SHA512 59ef586c09b9a63788475abfd6dd59ed602316b38f543f801bea802ff8bec8b55a89bee90375b8bbffa3bdebc7d92a00903f4b7c94cdc1a53a36e2e1fd71d13a

diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.6.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.6.ebuild
new file mode 100644
index 000000000000..d2217e6f0db3
--- /dev/null
+++ b/sys-libs/zlib-ng/zlib-ng-2.1.6.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Worth keeping an eye on 'develop' branch upstream for possible backports,
+# as they copied this practice from sys-libs/zlib upstream.
+
+inherit cmake-multilib
+
+DESCRIPTION="Fork of the zlib data compression library"
+HOMEPAGE="https://github.com/zlib-ng/zlib-ng"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+CPU_USE=(
+	x86_{avx2,avx512f,sse2,ssse3,sse4_2,pclmul}
+	arm_{crc32,neon}
+	ppc_{altivec,vsx2,vsx3}
+)
+IUSE="compat ${CPU_USE[@]/#/cpu_flags_} test"
+
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	test? ( dev-cpp/gtest )
+"
+RDEPEND="
+	compat? ( !sys-libs/zlib )
+"
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DZLIB_COMPAT=$(usex compat)
+		-DZLIB_ENABLE_TESTS=$(usex test)
+		-DWITH_GTEST=$(usex test)
+
+		# Unaligned access is controversial and undefined behaviour
+		# Let's keep it off for now
+		# https://github.com/gentoo/gentoo/pull/17167
+		-DWITH_UNALIGNED=OFF
+	)
+
+	# The intrinsics options are all defined conditionally, so we need
+	# to enable them on/off per-arch here for now.
+	# TODO: There's no s390x USE_EXPAND yet
+	if use amd64 || use x86 ; then
+		mycmakeargs+=(
+			-DWITH_AVX2=$(usex cpu_flags_x86_avx2)
+			-DWITH_AVX512=$(usex cpu_flags_x86_avx512f)
+			-DWITH_AVX512VNNI=OFF # TODO, see bug #908556
+			-DWITH_SSE2=$(usex cpu_flags_x86_sse2)
+			-DWITH_SSSE3=$(usex cpu_flags_x86_ssse3)
+			-DWITH_SSE42=$(usex cpu_flags_x86_sse4_2)
+			-DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul)
+			-DWITH_VPCLMULQDQ=OFF # TODO, see bug #908556
+		)
+	fi
+
+	if use arm || use arm64 ; then
+		mycmakeargs+=(
+			-DWITH_ACLE=$(usex cpu_flags_arm_crc32)
+			-DWITH_NEON=$(usex cpu_flags_arm_neon)
+		)
+	fi
+
+	if use ppc || use ppc64 ; then
+		# The POWER8 support is VSX which was introduced
+		# VSX2 was introduced with POWER8, so use that as a proxy for it
+		mycmakeargs+=(
+			-DWITH_ALTIVEC=$(usex cpu_flags_ppc_altivec)
+			-DWITH_POWER8=$(usex cpu_flags_ppc_vsx2)
+			-DWITH_POWER9=$(usex cpu_flags_ppc_vsx3)
+		)
+	fi
+
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	if use compat ; then
+		ewarn "zlib-ng is experimental and replacing the system zlib is dangerous"
+		ewarn "Please be careful!"
+		ewarn
+		ewarn "The following link explains the guarantees (and what is NOT guaranteed):"
+		ewarn "https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md"
+	fi
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2024-01-14  2:30 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2024-01-14  2:30 UTC (permalink / raw
  To: gentoo-commits

commit:     cd28c4b9543d8c2823d8311635d4b50c0039d9d0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 02:00:00 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 02:00:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd28c4b9

sys-libs/zlib-ng: drop 2.1.3, 2.1.4

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

 sys-libs/zlib-ng/Manifest             |  2 -
 sys-libs/zlib-ng/zlib-ng-2.1.3.ebuild | 86 -----------------------------------
 sys-libs/zlib-ng/zlib-ng-2.1.4.ebuild | 86 -----------------------------------
 3 files changed, 174 deletions(-)

diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
index 267262deb2b4..9fd23cff9381 100644
--- a/sys-libs/zlib-ng/Manifest
+++ b/sys-libs/zlib-ng/Manifest
@@ -1,3 +1 @@
-DIST zlib-ng-2.1.3.tar.gz 2404446 BLAKE2B f3c93e1ed6aa6d008915a69de92d58b1646fd41ae6c97fbdab9d921fd30c7931a42cf5dccd8911d52142960174a04df54d6ab557cc7c902930fc8609c31fbee9 SHA512 cb987c0b20a11fca5361dce94e53dead7364e739a984545c38ad4bf0c7fedd83d5d62530d979eca2182da88d7507a9bec8d3f5abff41e92ab5a63ac61001502e
-DIST zlib-ng-2.1.4.tar.gz 2408377 BLAKE2B 0b5aff9671b43bda2adfc84987c6baa108fa444978d465f12516f13f32b88e6bbe52f7d3e48ff93c720229842062fe71c38ff7c1e7591e18fc7351c943fd2a6b SHA512 5afda5ea4be84f7d7b016416a6eed18e2aab6c698f006cdfbc8f8b43ce3dc73c7994ab9d1ca090c1b93cb1aadc8747bfd8216afb22b44633d49127f01b77cfa2
 DIST zlib-ng-2.1.5.tar.gz 2410601 BLAKE2B 7370ee38c05855e3a5e6976826690790adab7d68d877bf01f68969c99ad4a5fc8fd265a160e147b110969ff77ee97aab9c9d227a526d645a496eae76b2c27b04 SHA512 9212d87c63a2da4e5355a7a1c75380aeba40fbd0ea3d71d3784cb3eac94237f9bea2a1b7993a08f39d4197725c4c133087d3a9d213d3944aa48a7559de2be920

diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.3.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.3.ebuild
deleted file mode 100644
index cfef9b1cc843..000000000000
--- a/sys-libs/zlib-ng/zlib-ng-2.1.3.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Worth keeping an eye on 'develop' branch upstream for possible backports,
-# as they copied this practice from sys-libs/zlib upstream.
-
-inherit cmake-multilib
-
-DESCRIPTION="Fork of the zlib data compression library"
-HOMEPAGE="https://github.com/zlib-ng/zlib-ng"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-
-CPU_USE=(
-	x86_{avx2,avx512f,sse2,ssse3,sse4_2,pclmul}
-	arm_{crc32,neon}
-	ppc_{altivec,vsx2,vsx3}
-)
-IUSE="compat ${CPU_USE[@]/#/cpu_flags_} test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="compat? ( !sys-libs/zlib )"
-
-multilib_src_configure() {
-	local mycmakeargs=(
-		-DZLIB_COMPAT=$(usex compat)
-		-DZLIB_ENABLE_TESTS=$(usex test)
-		-DWITH_GTEST=$(usex test)
-
-		# Unaligned access is controversial and undefined behaviour
-		# Let's keep it off for now
-		# https://github.com/gentoo/gentoo/pull/17167
-		-DWITH_UNALIGNED=OFF
-	)
-
-	# The intrinsics options are all defined conditionally, so we need
-	# to enable them on/off per-arch here for now.
-	# TODO: There's no s390x USE_EXPAND yet
-	if use amd64 || use x86 ; then
-		mycmakeargs+=(
-			-DWITH_AVX2=$(usex cpu_flags_x86_avx2)
-			-DWITH_AVX512=$(usex cpu_flags_x86_avx512f)
-			-DWITH_AVX512VNNI=OFF # TODO, see bug #908556
-			-DWITH_SSE2=$(usex cpu_flags_x86_sse2)
-			-DWITH_SSSE3=$(usex cpu_flags_x86_ssse3)
-			-DWITH_SSE42=$(usex cpu_flags_x86_sse4_2)
-			-DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul)
-			-DWITH_VPCLMULQDQ=OFF # TODO, see bug #908556
-		)
-	fi
-
-	if use arm || use arm64 ; then
-		mycmakeargs+=(
-			-DWITH_ACLE=$(usex cpu_flags_arm_crc32)
-			-DWITH_NEON=$(usex cpu_flags_arm_neon)
-		)
-	fi
-
-	if use ppc || use ppc64 ; then
-		# The POWER8 support is VSX which was introduced
-		# VSX2 was introduced with POWER8, so use that as a proxy for it
-		mycmakeargs+=(
-			-DWITH_ALTIVEC=$(usex cpu_flags_ppc_altivec)
-			-DWITH_POWER8=$(usex cpu_flags_ppc_vsx2)
-			-DWITH_POWER9=$(usex cpu_flags_ppc_vsx3)
-		)
-	fi
-
-	cmake_src_configure
-}
-
-pkg_postinst() {
-	if use compat ; then
-		ewarn "zlib-ng is experimental and replacing the system zlib is dangerous"
-		ewarn "Please be careful!"
-		ewarn
-		ewarn "The following link explains the guarantees (and what is NOT guaranteed):"
-		ewarn "https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md"
-	fi
-}

diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.4.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.4.ebuild
deleted file mode 100644
index cfef9b1cc843..000000000000
--- a/sys-libs/zlib-ng/zlib-ng-2.1.4.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Worth keeping an eye on 'develop' branch upstream for possible backports,
-# as they copied this practice from sys-libs/zlib upstream.
-
-inherit cmake-multilib
-
-DESCRIPTION="Fork of the zlib data compression library"
-HOMEPAGE="https://github.com/zlib-ng/zlib-ng"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-
-CPU_USE=(
-	x86_{avx2,avx512f,sse2,ssse3,sse4_2,pclmul}
-	arm_{crc32,neon}
-	ppc_{altivec,vsx2,vsx3}
-)
-IUSE="compat ${CPU_USE[@]/#/cpu_flags_} test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="compat? ( !sys-libs/zlib )"
-
-multilib_src_configure() {
-	local mycmakeargs=(
-		-DZLIB_COMPAT=$(usex compat)
-		-DZLIB_ENABLE_TESTS=$(usex test)
-		-DWITH_GTEST=$(usex test)
-
-		# Unaligned access is controversial and undefined behaviour
-		# Let's keep it off for now
-		# https://github.com/gentoo/gentoo/pull/17167
-		-DWITH_UNALIGNED=OFF
-	)
-
-	# The intrinsics options are all defined conditionally, so we need
-	# to enable them on/off per-arch here for now.
-	# TODO: There's no s390x USE_EXPAND yet
-	if use amd64 || use x86 ; then
-		mycmakeargs+=(
-			-DWITH_AVX2=$(usex cpu_flags_x86_avx2)
-			-DWITH_AVX512=$(usex cpu_flags_x86_avx512f)
-			-DWITH_AVX512VNNI=OFF # TODO, see bug #908556
-			-DWITH_SSE2=$(usex cpu_flags_x86_sse2)
-			-DWITH_SSSE3=$(usex cpu_flags_x86_ssse3)
-			-DWITH_SSE42=$(usex cpu_flags_x86_sse4_2)
-			-DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul)
-			-DWITH_VPCLMULQDQ=OFF # TODO, see bug #908556
-		)
-	fi
-
-	if use arm || use arm64 ; then
-		mycmakeargs+=(
-			-DWITH_ACLE=$(usex cpu_flags_arm_crc32)
-			-DWITH_NEON=$(usex cpu_flags_arm_neon)
-		)
-	fi
-
-	if use ppc || use ppc64 ; then
-		# The POWER8 support is VSX which was introduced
-		# VSX2 was introduced with POWER8, so use that as a proxy for it
-		mycmakeargs+=(
-			-DWITH_ALTIVEC=$(usex cpu_flags_ppc_altivec)
-			-DWITH_POWER8=$(usex cpu_flags_ppc_vsx2)
-			-DWITH_POWER9=$(usex cpu_flags_ppc_vsx3)
-		)
-	fi
-
-	cmake_src_configure
-}
-
-pkg_postinst() {
-	if use compat ; then
-		ewarn "zlib-ng is experimental and replacing the system zlib is dangerous"
-		ewarn "Please be careful!"
-		ewarn
-		ewarn "The following link explains the guarantees (and what is NOT guaranteed):"
-		ewarn "https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md"
-	fi
-}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2024-01-23  5:07 Ionen Wolkens
  0 siblings, 0 replies; 36+ messages in thread
From: Ionen Wolkens @ 2024-01-23  5:07 UTC (permalink / raw
  To: gentoo-commits

commit:     bebdbb588199b4bbfd2f6782cf01d5530c61dc90
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Mon Jan 22 21:39:20 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jan 23 05:05:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bebdbb58

sys-libs/zlib-ng: Keyword 2.1.6 sparc, #917288

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

 sys-libs/zlib-ng/zlib-ng-2.1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.6.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.6.ebuild
index d2217e6f0db3..3dee5af08dc5 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.1.6.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.1.6.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86"
 
 CPU_USE=(
 	x86_{avx2,avx512f,sse2,ssse3,sse4_2,pclmul}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2024-02-19  7:50 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2024-02-19  7:50 UTC (permalink / raw
  To: gentoo-commits

commit:     10e9c22324657fb001096cc0f1eb7aaf762d2596
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Wed Feb 14 20:14:11 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 07:50:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10e9c223

sys-libs/zlib-ng: support avx512_vnni and vpclmulqdq USE flags

This gives 2.5x speedup for adler32, 4x speedup for crc32 over previous best flags.

Bug: https://bugs.gentoo.org/908556
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35327
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/zlib-ng/{zlib-ng-2.1.6.ebuild => zlib-ng-2.1.6-r1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.6.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.6-r1.ebuild
similarity index 92%
rename from sys-libs/zlib-ng/zlib-ng-2.1.6.ebuild
rename to sys-libs/zlib-ng/zlib-ng-2.1.6-r1.ebuild
index 3dee5af08dc5..d9bf5f443d25 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.1.6.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.1.6-r1.ebuild
@@ -17,7 +17,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86"
 
 CPU_USE=(
-	x86_{avx2,avx512f,sse2,ssse3,sse4_2,pclmul}
+	x86_{avx2,avx512f,avx512_vnni,sse2,ssse3,sse4_2,pclmul,vpclmulqdq}
 	arm_{crc32,neon}
 	ppc_{altivec,vsx2,vsx3}
 )
@@ -51,12 +51,12 @@ multilib_src_configure() {
 		mycmakeargs+=(
 			-DWITH_AVX2=$(usex cpu_flags_x86_avx2)
 			-DWITH_AVX512=$(usex cpu_flags_x86_avx512f)
-			-DWITH_AVX512VNNI=OFF # TODO, see bug #908556
+			-DWITH_AVX512VNNI=$(usex cpu_flags_x86_avx512_vnni)
 			-DWITH_SSE2=$(usex cpu_flags_x86_sse2)
 			-DWITH_SSSE3=$(usex cpu_flags_x86_ssse3)
 			-DWITH_SSE42=$(usex cpu_flags_x86_sse4_2)
 			-DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul)
-			-DWITH_VPCLMULQDQ=OFF # TODO, see bug #908556
+			-DWITH_VPCLMULQDQ=$(usex cpu_flags_x86_vpclmulqdq)
 		)
 	fi
 


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2024-03-04 10:24 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2024-03-04 10:24 UTC (permalink / raw
  To: gentoo-commits

commit:     2e54d35ae4546536c61abc38e7d8c9876b9361e7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  4 10:18:33 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar  4 10:23:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e54d35a

sys-libs/zlib-ng: drop 2.1.5

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

 sys-libs/zlib-ng/Manifest             |  1 -
 sys-libs/zlib-ng/zlib-ng-2.1.5.ebuild | 86 -----------------------------------
 2 files changed, 87 deletions(-)

diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
index cb8973e9d0a3..7b64ea0bc919 100644
--- a/sys-libs/zlib-ng/Manifest
+++ b/sys-libs/zlib-ng/Manifest
@@ -1,2 +1 @@
-DIST zlib-ng-2.1.5.tar.gz 2410601 BLAKE2B 7370ee38c05855e3a5e6976826690790adab7d68d877bf01f68969c99ad4a5fc8fd265a160e147b110969ff77ee97aab9c9d227a526d645a496eae76b2c27b04 SHA512 9212d87c63a2da4e5355a7a1c75380aeba40fbd0ea3d71d3784cb3eac94237f9bea2a1b7993a08f39d4197725c4c133087d3a9d213d3944aa48a7559de2be920
 DIST zlib-ng-2.1.6.tar.gz 2412106 BLAKE2B 9ca16c19c2c799e68e099d44721b27dc33ad9e859a3d6572bebe3a75c618bffd78e19f0d4c0607802d1c8fa6a8f328d62f9993648a99c1d2e0e5fdcaf87a2667 SHA512 59ef586c09b9a63788475abfd6dd59ed602316b38f543f801bea802ff8bec8b55a89bee90375b8bbffa3bdebc7d92a00903f4b7c94cdc1a53a36e2e1fd71d13a

diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.5.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.5.ebuild
deleted file mode 100644
index cfef9b1cc843..000000000000
--- a/sys-libs/zlib-ng/zlib-ng-2.1.5.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Worth keeping an eye on 'develop' branch upstream for possible backports,
-# as they copied this practice from sys-libs/zlib upstream.
-
-inherit cmake-multilib
-
-DESCRIPTION="Fork of the zlib data compression library"
-HOMEPAGE="https://github.com/zlib-ng/zlib-ng"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-
-CPU_USE=(
-	x86_{avx2,avx512f,sse2,ssse3,sse4_2,pclmul}
-	arm_{crc32,neon}
-	ppc_{altivec,vsx2,vsx3}
-)
-IUSE="compat ${CPU_USE[@]/#/cpu_flags_} test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="compat? ( !sys-libs/zlib )"
-
-multilib_src_configure() {
-	local mycmakeargs=(
-		-DZLIB_COMPAT=$(usex compat)
-		-DZLIB_ENABLE_TESTS=$(usex test)
-		-DWITH_GTEST=$(usex test)
-
-		# Unaligned access is controversial and undefined behaviour
-		# Let's keep it off for now
-		# https://github.com/gentoo/gentoo/pull/17167
-		-DWITH_UNALIGNED=OFF
-	)
-
-	# The intrinsics options are all defined conditionally, so we need
-	# to enable them on/off per-arch here for now.
-	# TODO: There's no s390x USE_EXPAND yet
-	if use amd64 || use x86 ; then
-		mycmakeargs+=(
-			-DWITH_AVX2=$(usex cpu_flags_x86_avx2)
-			-DWITH_AVX512=$(usex cpu_flags_x86_avx512f)
-			-DWITH_AVX512VNNI=OFF # TODO, see bug #908556
-			-DWITH_SSE2=$(usex cpu_flags_x86_sse2)
-			-DWITH_SSSE3=$(usex cpu_flags_x86_ssse3)
-			-DWITH_SSE42=$(usex cpu_flags_x86_sse4_2)
-			-DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul)
-			-DWITH_VPCLMULQDQ=OFF # TODO, see bug #908556
-		)
-	fi
-
-	if use arm || use arm64 ; then
-		mycmakeargs+=(
-			-DWITH_ACLE=$(usex cpu_flags_arm_crc32)
-			-DWITH_NEON=$(usex cpu_flags_arm_neon)
-		)
-	fi
-
-	if use ppc || use ppc64 ; then
-		# The POWER8 support is VSX which was introduced
-		# VSX2 was introduced with POWER8, so use that as a proxy for it
-		mycmakeargs+=(
-			-DWITH_ALTIVEC=$(usex cpu_flags_ppc_altivec)
-			-DWITH_POWER8=$(usex cpu_flags_ppc_vsx2)
-			-DWITH_POWER9=$(usex cpu_flags_ppc_vsx3)
-		)
-	fi
-
-	cmake_src_configure
-}
-
-pkg_postinst() {
-	if use compat ; then
-		ewarn "zlib-ng is experimental and replacing the system zlib is dangerous"
-		ewarn "Please be careful!"
-		ewarn
-		ewarn "The following link explains the guarantees (and what is NOT guaranteed):"
-		ewarn "https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md"
-	fi
-}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2024-05-28 12:35 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2024-05-28 12:35 UTC (permalink / raw
  To: gentoo-commits

commit:     1c2aaf3ccf0cbc39910be34804c61d600daa96cb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 12:34:24 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 28 12:34:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c2aaf3c

sys-libs/zlib-ng: Stabilize 2.1.6-r1 amd64, #932990

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

 sys-libs/zlib-ng/zlib-ng-2.1.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.6-r1.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.6-r1.ebuild
index d9bf5f443d25..93937337aaed 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.1.6-r1.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.1.6-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86"
 
 CPU_USE=(
 	x86_{avx2,avx512f,avx512_vnni,sse2,ssse3,sse4_2,pclmul,vpclmulqdq}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2024-07-15  2:23 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2024-07-15  2:23 UTC (permalink / raw
  To: gentoo-commits

commit:     1ecbeb52c4d3d633881f917e08ce7dbe2c906958
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 15 02:23:10 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 15 02:23:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ecbeb52

sys-libs/zlib-ng: add 2.1.7

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

 sys-libs/zlib-ng/Manifest             |  1 +
 sys-libs/zlib-ng/zlib-ng-2.1.7.ebuild | 91 +++++++++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest
index 7b64ea0bc919..975620da5039 100644
--- a/sys-libs/zlib-ng/Manifest
+++ b/sys-libs/zlib-ng/Manifest
@@ -1 +1,2 @@
 DIST zlib-ng-2.1.6.tar.gz 2412106 BLAKE2B 9ca16c19c2c799e68e099d44721b27dc33ad9e859a3d6572bebe3a75c618bffd78e19f0d4c0607802d1c8fa6a8f328d62f9993648a99c1d2e0e5fdcaf87a2667 SHA512 59ef586c09b9a63788475abfd6dd59ed602316b38f543f801bea802ff8bec8b55a89bee90375b8bbffa3bdebc7d92a00903f4b7c94cdc1a53a36e2e1fd71d13a
+DIST zlib-ng-2.1.7.tar.gz 2406554 BLAKE2B c92a2ad481e4a10b8ec164f3974a09242118e2c16dbe51553b7f6e5c33886997dc390e73ce26f99bdb5ce0ecae3eb19322059576a83da1c3958435554773878c SHA512 03e6d22ecb39c9425fa2977e5db608f765387a06b9ef93b162e403bb155aa3b59bbaedb41e827e7e159d6635325d804dcd4314a25adcb35b83e6e0cf1153aabe

diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.7.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.7.ebuild
new file mode 100644
index 000000000000..d9bf5f443d25
--- /dev/null
+++ b/sys-libs/zlib-ng/zlib-ng-2.1.7.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Worth keeping an eye on 'develop' branch upstream for possible backports,
+# as they copied this practice from sys-libs/zlib upstream.
+
+inherit cmake-multilib
+
+DESCRIPTION="Fork of the zlib data compression library"
+HOMEPAGE="https://github.com/zlib-ng/zlib-ng"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86"
+
+CPU_USE=(
+	x86_{avx2,avx512f,avx512_vnni,sse2,ssse3,sse4_2,pclmul,vpclmulqdq}
+	arm_{crc32,neon}
+	ppc_{altivec,vsx2,vsx3}
+)
+IUSE="compat ${CPU_USE[@]/#/cpu_flags_} test"
+
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	test? ( dev-cpp/gtest )
+"
+RDEPEND="
+	compat? ( !sys-libs/zlib )
+"
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DZLIB_COMPAT=$(usex compat)
+		-DZLIB_ENABLE_TESTS=$(usex test)
+		-DWITH_GTEST=$(usex test)
+
+		# Unaligned access is controversial and undefined behaviour
+		# Let's keep it off for now
+		# https://github.com/gentoo/gentoo/pull/17167
+		-DWITH_UNALIGNED=OFF
+	)
+
+	# The intrinsics options are all defined conditionally, so we need
+	# to enable them on/off per-arch here for now.
+	# TODO: There's no s390x USE_EXPAND yet
+	if use amd64 || use x86 ; then
+		mycmakeargs+=(
+			-DWITH_AVX2=$(usex cpu_flags_x86_avx2)
+			-DWITH_AVX512=$(usex cpu_flags_x86_avx512f)
+			-DWITH_AVX512VNNI=$(usex cpu_flags_x86_avx512_vnni)
+			-DWITH_SSE2=$(usex cpu_flags_x86_sse2)
+			-DWITH_SSSE3=$(usex cpu_flags_x86_ssse3)
+			-DWITH_SSE42=$(usex cpu_flags_x86_sse4_2)
+			-DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul)
+			-DWITH_VPCLMULQDQ=$(usex cpu_flags_x86_vpclmulqdq)
+		)
+	fi
+
+	if use arm || use arm64 ; then
+		mycmakeargs+=(
+			-DWITH_ACLE=$(usex cpu_flags_arm_crc32)
+			-DWITH_NEON=$(usex cpu_flags_arm_neon)
+		)
+	fi
+
+	if use ppc || use ppc64 ; then
+		# The POWER8 support is VSX which was introduced
+		# VSX2 was introduced with POWER8, so use that as a proxy for it
+		mycmakeargs+=(
+			-DWITH_ALTIVEC=$(usex cpu_flags_ppc_altivec)
+			-DWITH_POWER8=$(usex cpu_flags_ppc_vsx2)
+			-DWITH_POWER9=$(usex cpu_flags_ppc_vsx3)
+		)
+	fi
+
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	if use compat ; then
+		ewarn "zlib-ng is experimental and replacing the system zlib is dangerous"
+		ewarn "Please be careful!"
+		ewarn
+		ewarn "The following link explains the guarantees (and what is NOT guaranteed):"
+		ewarn "https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md"
+	fi
+}


^ permalink raw reply related	[flat|nested] 36+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
@ 2024-08-29  3:15 Sam James
  0 siblings, 0 replies; 36+ messages in thread
From: Sam James @ 2024-08-29  3:15 UTC (permalink / raw
  To: gentoo-commits

commit:     8c58a88e450d0369af31e755d2385fd2aa96b302
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 29 03:14:59 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 03:14:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c58a88e

sys-libs/zlib-ng: Stabilize 2.1.7 amd64, #938635

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

 sys-libs/zlib-ng/zlib-ng-2.1.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.7.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.7.ebuild
index d9bf5f443d25..93937337aaed 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.1.7.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.1.7.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86"
 
 CPU_USE=(
 	x86_{avx2,avx512f,avx512_vnni,sse2,ssse3,sse4_2,pclmul,vpclmulqdq}


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

end of thread, other threads:[~2024-08-29  3:16 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-17  7:37 [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/ Lars Wendler
  -- strict thread matches above, loose matches on Subject: below --
2021-03-17  7:37 Lars Wendler
2021-03-17  8:23 Lars Wendler
2021-03-17 10:08 Lars Wendler
2021-03-22  8:59 Lars Wendler
2021-03-22  8:59 Lars Wendler
2021-03-22  8:59 Lars Wendler
2021-03-22  8:59 Lars Wendler
2021-03-24  7:51 Lars Wendler
2021-05-14  7:48 Lars Wendler
2021-06-12 10:35 Lars Wendler
2021-06-26 21:32 Lars Wendler
2022-01-01  4:29 Sam James
2022-10-02  0:14 Sam James
2022-10-02  0:14 Sam James
2022-10-07 19:58 Sam James
2023-02-26 17:08 Arthur Zamarin
2023-02-26 17:33 Arthur Zamarin
2023-02-26 19:28 Arthur Zamarin
2023-02-28 12:12 Yixun Lan
2023-03-17 21:54 Sam James
2023-03-17 22:00 Sam James
2023-06-16  1:27 Sam James
2023-06-16  1:42 Sam James
2023-06-17  3:15 Sam James
2023-06-29  8:39 Sam James
2023-10-20  0:51 Sam James
2023-11-30  3:07 Sam James
2024-01-14  2:30 Sam James
2024-01-14  2:30 Sam James
2024-01-23  5:07 Ionen Wolkens
2024-02-19  7:50 Sam James
2024-03-04 10:24 Sam James
2024-05-28 12:35 Sam James
2024-07-15  2:23 Sam James
2024-08-29  3:15 Sam James

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