1 |
commit: 9226e625e71d03f9c34f9a9586e994c4a080ae48 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 17 21:55:34 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 17 21:55:34 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9226e625 |
7 |
|
8 |
sys-libs/zlib-ng: drop 2.0.6 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/901983 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
sys-libs/zlib-ng/Manifest | 1 - |
14 |
sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild | 78 ----------------------------------- |
15 |
2 files changed, 79 deletions(-) |
16 |
|
17 |
diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest |
18 |
index 83cf6ac918fc..cdd93f9171bb 100644 |
19 |
--- a/sys-libs/zlib-ng/Manifest |
20 |
+++ b/sys-libs/zlib-ng/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST zlib-ng-2.0.6.tar.gz 817951 BLAKE2B 52993caadf14817e328b180d728586e1332ea04504288264934ef49441cb8b8c4a2412d4c11d1982f3764fef5e4fb7ebab442b407e57d9d5f08a5b2ed890bba9 SHA512 4888f17160d0a87a9b349704047ae0d0dc57237a10e11adae09ace957afa9743cce5191db67cb082991421fc961ce68011199621034d2369c0e7724fad58b4c5 |
23 |
DIST zlib-ng-2.0.7.tar.gz 853381 BLAKE2B 89672bd35ee54df72ff995c1b4ed188538011be4cd077e464f21a088b0b70b3f95b4259dc546a65e8d4900dc5bd5bb98041875e361000898b34518f7e008b99b SHA512 1c19a62bb00727ac49049c299fb70060da95b5fafa448144ae4133372ec8c3da15cef6c1303485290f269b23c580696554ca0383dba3e1f9609f65c332981988 |
24 |
|
25 |
diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild |
26 |
deleted file mode 100644 |
27 |
index 641a623a64aa..000000000000 |
28 |
--- a/sys-libs/zlib-ng/zlib-ng-2.0.6.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,78 +0,0 @@ |
31 |
-# Copyright 1999-2023 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=8 |
35 |
- |
36 |
-# Worth keeping an eye on 'develop' branch upstream for possible backports, |
37 |
-# as they copied this practice from sys-libs/zlib upstream. |
38 |
- |
39 |
-inherit cmake |
40 |
- |
41 |
-DESCRIPTION="Fork of the zlib data compression library" |
42 |
-HOMEPAGE="https://github.com/zlib-ng/zlib-ng" |
43 |
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="ZLIB" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
48 |
- |
49 |
-CPU_USE=( cpu_flags_{x86_{avx2,sse2,ssse3,sse4a,pclmul},arm_{crc32,neon},ppc_vsx2} ) |
50 |
-IUSE="compat ${CPU_USE[@]} test" |
51 |
- |
52 |
-RESTRICT="!test? ( test )" |
53 |
- |
54 |
-RDEPEND="compat? ( !sys-libs/zlib )" |
55 |
- |
56 |
-src_configure() { |
57 |
- local mycmakeargs=( |
58 |
- -DZLIB_COMPAT="$(usex compat)" |
59 |
- -DZLIB_ENABLE_TESTS="$(usex test)" |
60 |
- # Unaligned access is controversial and undefined behaviour |
61 |
- # Let's keep it off for now |
62 |
- # https://github.com/gentoo/gentoo/pull/17167 |
63 |
- -DWITH_UNALIGNED="OFF" |
64 |
- ) |
65 |
- |
66 |
- # The intrinsics options are all defined conditionally, so we need |
67 |
- # to enable them on/off per-arch here for now. |
68 |
- if use amd64 || use x86 ; then |
69 |
- mycmakeargs+=( |
70 |
- -DWITH_AVX2=$(usex cpu_flags_x86_avx2) |
71 |
- -DWITH_SSE2=$(usex cpu_flags_x86_sse2) |
72 |
- -DWITH_SSSE3=$(usex cpu_flags_x86_ssse3) |
73 |
- -DWITH_SSE4=$(usex cpu_flags_x86_sse4a) |
74 |
- -DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul) |
75 |
- ) |
76 |
- fi |
77 |
- |
78 |
- if use arm || use arm64 ; then |
79 |
- mycmakeargs+=( |
80 |
- -DWITH_ACLE=$(usex cpu_flags_arm_crc32) |
81 |
- -DWITH_NEON=$(usex cpu_flags_arm_neon) |
82 |
- ) |
83 |
- fi |
84 |
- |
85 |
- if use ppc || use ppc64 ; then |
86 |
- # The POWER8 support is VSX which was introduced |
87 |
- # VSX2 was introduced with POWER8, so use that as a proxy for it |
88 |
- mycmakeargs+=( |
89 |
- -DWITH_POWER8=$(usex cpu_flags_ppc_vsx2) |
90 |
- ) |
91 |
- fi |
92 |
- |
93 |
- # TODO: There's no s390x USE_EXPAND yet |
94 |
- |
95 |
- cmake_src_configure |
96 |
-} |
97 |
- |
98 |
-src_install() { |
99 |
- cmake_src_install |
100 |
- |
101 |
- if use compat ; then |
102 |
- ewarn "zlib-ng is experimental and replacing the system zlib is dangerous" |
103 |
- ewarn "Please be careful!" |
104 |
- ewarn |
105 |
- ewarn "The following link explains the guarantees (and what is NOT guaranteed):" |
106 |
- ewarn "https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md" |
107 |
- fi |
108 |
-} |