[gentoo-commits] repo/gentoo:master commit in: dev-libs/c-blosc2/, dev-libs/c-blosc2/files/

2024-06-21 Thread Michał Górny
commit: 24866c4e0926901dda440a224ab34ed5ce119833
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jun 21 15:40:47 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun 21 16:59:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24866c4e

dev-libs/c-blosc2: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/c-blosc2/Manifest |  4 --
 dev-libs/c-blosc2/c-blosc2-2.10.5.ebuild   | 67 --
 dev-libs/c-blosc2/c-blosc2-2.13.2.ebuild   | 63 
 dev-libs/c-blosc2/c-blosc2-2.14.0.ebuild   | 63 
 dev-libs/c-blosc2/c-blosc2-2.14.1.ebuild   | 63 
 .../files/c-blosc2-2.9.3-no-unaligned.patch| 32 ---
 6 files changed, 292 deletions(-)

diff --git a/dev-libs/c-blosc2/Manifest b/dev-libs/c-blosc2/Manifest
index 48335995ab69..ef422d19c29a 100644
--- a/dev-libs/c-blosc2/Manifest
+++ b/dev-libs/c-blosc2/Manifest
@@ -1,5 +1 @@
-DIST c-blosc2-2.10.5.gh.tar.gz 3144174 BLAKE2B 
a680def405f2383636185ab1b71a42e042dd0c71025bfc898b48f148f4a6bf27cbd38f29512caae9ff5b58f70cb35289b609c84b132c0795915d1fe6c71b3feb
 SHA512 
bc004fe2132a8e36963437d5279506c2f79dcbf11ee1a768954c20d1265d120dc85e67952b567e716105c5716922da8ee8cffd0a5d44bc67093a4cab3075e322
-DIST c-blosc2-2.13.2.gh.tar.gz 3152011 BLAKE2B 
1bf9826e6eb1babacb0fe6f7f90c5ca6617cf1cf4df269af95c94e175d0a1cc2015905b9cf6a48107f0b10431feb646ec5de095e00dc29f3bab8d53564e7d4fe
 SHA512 
441df73dca3fe210b0df68bfc3da037a05393f80044f5e2c816000a244ade4cf8e223b2fce2127c034c27a35f2742b05fe06c08861e93c02bc7598d5a4b8a917
-DIST c-blosc2-2.14.0.gh.tar.gz 3155739 BLAKE2B 
2607ea3e842fce469f04d31b2d92503f270409e952968e7217ca87ebccd64b25aa38282743f7fdb3ba199f71acc246f7ef9fa0b24e33417e6bdf69a68aba62a6
 SHA512 
74f0df844c722248a1743fa6ce4b20ae526831f29cc66baf6f487e743c9fc65713e089ebab63ebcf43ac7b1201e82f9c7049dfb68cff17116de93f36d9482557
-DIST c-blosc2-2.14.1.gh.tar.gz 3155751 BLAKE2B 
6967914214603af724ab523e91cef2c720018c75002402a5d3ac1bf064af27069ee12db80f7ac37ad5136a30a280b37b829fda7c03b87e2a027599d235ed6021
 SHA512 
952e2331be4747005e82cabdda310f96031dcfe54f9fe92f68ff2efb42aa8dfb3aa9d6c3ab9ce9f94ea52c34322047447db98d530a58eddc9fca6f62872fd272
 DIST c-blosc2-2.14.4.gh.tar.gz 3155712 BLAKE2B 
1af67562150b7b0b87fa076114bab0cccfbd12417c13dfae4fbd40e15531ed54f3a315588ac81b15e137f0272ac6c610c48205608be0b9e98ce44218dd200a27
 SHA512 
4173c7b0cf4f0399a3d36c987d265aacf766f54dc871ca87ebd98d4ecd4fbd24d4b923ffb2d0b59bda359e1fbba29f088d78816d375904b1945e8c40c29dccce

diff --git a/dev-libs/c-blosc2/c-blosc2-2.10.5.ebuild 
b/dev-libs/c-blosc2/c-blosc2-2.10.5.ebuild
deleted file mode 100644
index be1da45c49b8..
--- a/dev-libs/c-blosc2/c-blosc2-2.10.5.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Blocking, shuffling and lossless compression library"
-HOMEPAGE="
-   https://www.blosc.org/c-blosc2/c-blosc2.html
-   https://github.com/Blosc/c-blosc2/
-"
-SRC_URI="
-   https://github.com/Blosc/c-blosc2/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="BSD"
-SLOT="0/1"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 
~amd64-linux ~x86-linux"
-IUSE="test +zlib +zstd"
-REQUIRED_USE="test? ( zlib zstd )"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   >=app-arch/lz4-1.7.5:=
-   zlib? ( sys-libs/zlib:= )
-   zstd? ( app-arch/zstd:= )
-"
-RDEPEND="
-   ${DEPEND}
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.9.3-no-unaligned.patch
-)
-
-src_configure() {
-   # remove bundled libs (just in case)
-   rm -rf internal-complibs || die
-
-   local mycmakeargs=(
-   -DBUILD_STATIC=OFF
-   -DBUILD_TESTS=$(usex test)
-   -DBUILD_BENCHMARKS=OFF
-   -DBUILD_EXAMPLES=OFF
-   -DBUILD_FUZZERS=OFF
-   -DDEACTIVATE_ZLIB=$(usex !zlib)
-   -DDEACTIVATE_ZSTD=$(usex !zstd)
-   -DPREFER_EXTERNAL_LZ4=ON
-   -DPREFER_EXTERNAL_ZLIB=ON
-   -DPREFER_EXTERNAL_ZSTD=ON
-
-   # force regular zlib, at least for  the time being
-   -DCMAKE_DISABLE_FIND_PACKAGE_ZLIB_NG=ON
-
-   # upstream overrides CMAKE_C_FLAGS, preventing ${CFLAGS} 
defaults
-   # from applying, https://github.com/Blosc/c-blosc2/issues/433
-   -DCMAKE_C_FLAGS="${CFLAGS}"
-   )
-   cmake_src_configure
-}
-
-src_test() {
-   # Tests fail in parallel, https://github.com/Blosc/c-blosc2/issues/432
-   MAKEOPTS=-j1 cmake_src_test
-}

diff --git a/dev-libs/c-blosc2/c-blosc2-2.13.2.ebuild 
b/dev-libs/c-blosc2/c-blosc2-2.13.2.ebuild
deleted file mode 100644
index 1da262c2e9ea..
--- a/dev-libs/c-blosc2/c-blosc2-2.13.2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/c-blosc2/, dev-libs/c-blosc2/files/

2023-09-02 Thread Michał Górny
commit: 1ff4fa3cb78226396ad5503baedb350ee4c9b2df
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep  2 14:07:39 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep  2 14:10:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ff4fa3c

dev-libs/c-blosc2: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/c-blosc2/Manifest |  5 --
 dev-libs/c-blosc2/c-blosc2-2.10.0.ebuild   | 60 
 dev-libs/c-blosc2/c-blosc2-2.10.1.ebuild   | 64 -
 dev-libs/c-blosc2/c-blosc2-2.6.1.ebuild| 60 
 dev-libs/c-blosc2/c-blosc2-2.9.1-r1.ebuild | 65 --
 dev-libs/c-blosc2/c-blosc2-2.9.2.ebuild| 60 
 .../c-blosc2/files/c-blosc2-2.9.1-header.patch | 26 -
 7 files changed, 340 deletions(-)

diff --git a/dev-libs/c-blosc2/Manifest b/dev-libs/c-blosc2/Manifest
index e228ae422384..3ce3b9a475a3 100644
--- a/dev-libs/c-blosc2/Manifest
+++ b/dev-libs/c-blosc2/Manifest
@@ -1,7 +1,2 @@
-DIST c-blosc2-2.10.0.gh.tar.gz 3140563 BLAKE2B 
c3469b38196efab099ee117b74e864de06ed9619e53b8a895ac761876bafff944d1315e1a51064b6b92198a22691018e0ce25ee4485d2e36b7017ec642224b6d
 SHA512 
1d7588cc8e1ffbb4cee4549e0f913e0671e02b405c918eb0bebde7a6af35005c1e7c6c95142cd80abd7175542e9f91e8454fd88262f668c3a24982b69f1644fa
-DIST c-blosc2-2.10.1.gh.tar.gz 3142877 BLAKE2B 
de7e3479ff6255da235c08926563b2236de086edba51a2949de3537fd7c224de1007053747867ebe8aa6ce70a969816271850b695bc8168747639514fea8b6de
 SHA512 
1c1d1db77f2091059e0c6cc6edb578d29d6970e319acd21eb9fb6b0610c3e206eee2c464c9690cd609a5e53da17eb27cfd1469f6a531b0d5f9a9d8a5c9f00a92
 DIST c-blosc2-2.10.2.gh.tar.gz 3142525 BLAKE2B 
1bd3f4c10c9c2b9d228499d41e5f3ea2c751f6271946de0857487ef71ec32bfe2d450aaff39d27f14b1b2f4dbec4b4e545f26d99a7494e39950627f55664fe40
 SHA512 
2e4344a6fb905fc7c8e3de2db3a59469b2ea27d2f1e476d08247cb3793880f3c5db786857c0afd33371868e4fcd713b6913d5502424821f20c9870e1e4bb
-DIST c-blosc2-2.6.1.gh.tar.gz 2365300 BLAKE2B 
a3fdc8798eb70e97791b7b708ef872142d38b9c4fdb8efc6d5da2010149fa61f4115f27af630a43edd5f351cb8693fbb79457f19ccf1a518f057902b93196b3d
 SHA512 
9f5daa59d5191784ee91deb18ed15a3b36504b05061ca8b1532eaf8e402c793944059894b277843e8da19f00af05615e0865d9fdb80decd83aa07867b0e661a0
-DIST c-blosc2-2.9.1.gh.tar.gz 2793299 BLAKE2B 
1853611566f081f5c6236ade1882b07aa6d596f65bb303823f418faaf0e971c1850e3e78ca501650880d460200c302896e81a5b13cdf05bc43c81b81dd3a
 SHA512 
9430c026f9d7a98e38915e3d308402989073aa6fa1e8e1d5b9bdb155c70c5cc24ca118cdb5b3584647f72ae80a13be0a8467250af7ef336a1ac72eb8ec8a67f5
-DIST c-blosc2-2.9.2.gh.tar.gz 2790821 BLAKE2B 
c47c59b7db8c3fbe04e6f63a2474ad325d7c59f5508c42dfc005a690a3020c6479927d5884f909ad106ff4c2aa04523786133a407ec8a54ee92887b24a214428
 SHA512 
f44346bf3ce8824dbe23d33b688d6b2063406011c066cc14ea3319537c17ecc5c1250c30d77e50696aad9932e0dd10fc95ab4f2c295208808446525636314522
 DIST c-blosc2-2.9.3.gh.tar.gz 3139809 BLAKE2B 
740bfbc3cd1416d0863f6939ba4b5e27b2ae7947a407838e4061ef42c005ee255abdd8bbcbecb25123b7ff50ece62493ad3b5a84d4e02a65e1791c9007cf5b5d
 SHA512 
30e792ba982d66936813c2dc56f85ee17a1a73ec475c15d6448cc1f5ac88f917f7a823e4b7b59c1271b1a9ee1ddd1f15fb74d6c0fa61d653b16d1a05209dfde4

diff --git a/dev-libs/c-blosc2/c-blosc2-2.10.0.ebuild 
b/dev-libs/c-blosc2/c-blosc2-2.10.0.ebuild
deleted file mode 100644
index 1a7c40ef0f55..
--- a/dev-libs/c-blosc2/c-blosc2-2.10.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Blocking, shuffling and lossless compression library"
-HOMEPAGE="
-   https://www.blosc.org/c-blosc2/c-blosc2.html
-   https://github.com/Blosc/c-blosc2/
-"
-SRC_URI="
-   https://github.com/Blosc/c-blosc2/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="BSD"
-SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux"
-IUSE="test zlib zstd"
-REQUIRED_USE="test? ( zlib zstd )"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   >=app-arch/lz4-1.7.5:=
-   zlib? ( sys-libs/zlib:= )
-   zstd? ( app-arch/zstd:= )
-"
-RDEPEND="
-   ${DEPEND}
-"
-
-src_configure() {
-   # remove bundled libs (just in case)
-   rm -rf internal-complibs || die
-
-   local mycmakeargs=(
-   -DBUILD_STATIC=OFF
-   -DBUILD_TESTS=$(usex test)
-   -DBUILD_BENCHMARKS=OFF
-   -DBUILD_EXAMPLES=OFF
-   -DBUILD_FUZZERS=OFF
-   -DDEACTIVATE_ZLIB=$(usex !zlib)
-   -DDEACTIVATE_ZSTD=$(usex !zstd)
-   -DPREFER_EXTERNAL_LZ4=ON
-   -DPREFER_EXTERNAL_ZLIB=ON
-   -DPREFER_EXTERNAL_ZSTD=ON
-
-   # upstream overrides CMAKE_C_FLAGS, preventing ${CFLAGS} 
defaults
-   # 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/c-blosc2/, dev-libs/c-blosc2/files/

2023-05-17 Thread Michał Górny
commit: 2d98ac7635f457e5f1c74fa9f7cd8227cb059c35
Author: Michał Górny  gentoo  org>
AuthorDate: Thu May 18 02:50:40 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May 18 03:14:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d98ac76

dev-libs/c-blosc2: Backport a header fix

Closes: https://bugs.gentoo.org/906644
Signed-off-by: Michał Górny  gentoo.org>

 ...losc2-2.9.1.ebuild => c-blosc2-2.9.1-r1.ebuild} |  5 +
 .../c-blosc2/files/c-blosc2-2.9.1-header.patch | 26 ++
 2 files changed, 31 insertions(+)

diff --git a/dev-libs/c-blosc2/c-blosc2-2.9.1.ebuild 
b/dev-libs/c-blosc2/c-blosc2-2.9.1-r1.ebuild
similarity index 94%
rename from dev-libs/c-blosc2/c-blosc2-2.9.1.ebuild
rename to dev-libs/c-blosc2/c-blosc2-2.9.1-r1.ebuild
index 1a7c40ef0f55..842752b8909c 100644
--- a/dev-libs/c-blosc2/c-blosc2-2.9.1.ebuild
+++ b/dev-libs/c-blosc2/c-blosc2-2.9.1-r1.ebuild
@@ -31,6 +31,11 @@ RDEPEND="
${DEPEND}
 "
 
+PATCHES=(
+   # https://bugs.gentoo.org/906644
+   "${FILESDIR}/${P}-header.patch"
+)
+
 src_configure() {
# remove bundled libs (just in case)
rm -rf internal-complibs || die

diff --git a/dev-libs/c-blosc2/files/c-blosc2-2.9.1-header.patch 
b/dev-libs/c-blosc2/files/c-blosc2-2.9.1-header.patch
new file mode 100644
index ..5ec28e936de7
--- /dev/null
+++ b/dev-libs/c-blosc2/files/c-blosc2-2.9.1-header.patch
@@ -0,0 +1,26 @@
+From 04035a3759b8c100e4808918e44a3eaef4969875 Mon Sep 17 00:00:00 2001
+From: Dimitri Papadopoulos
+ <3234522+dimitripapadopou...@users.noreply.github.com>
+Date: Sat, 13 May 2023 21:40:32 +0200
+Subject: [PATCH] BLOSC_STUNE is not defined in c-blosc
+
+Therefore, do not guard it with BLOSC_H, the include guard of blosc.h
+from previous version c-blosc.
+---
+ include/blosc2.h | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/include/blosc2.h b/include/blosc2.h
+index dc6d1fc7..ef035f07 100644
+--- a/include/blosc2.h
 b/include/blosc2.h
+@@ -211,9 +211,7 @@ enum {
+  * @brief Codes for the different tunes shipped with Blosc
+  */
+ enum {
+-#ifndef BLOSC_H
+ BLOSC_STUNE = 0,
+-#endif // BLOSC_H
+ BLOSC_LAST_TUNE = 1,
+ //!< Determine the last tune defined by Blosc.
+ BLOSC_LAST_REGISTERED_TUNE = BLOSC2_GLOBAL_REGISTERED_TUNE_START + 
BLOSC2_GLOBAL_REGISTERED_TUNES - 1,