From nobody Mon Nov 1 13:45:12 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 058E31835B7C; Mon, 1 Nov 2021 13:45:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HjZ6J6PNHz4jCp; Mon, 1 Nov 2021 13:45:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B2C90129C7; Mon, 1 Nov 2021 13:45:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1A1DjCYR048416; Mon, 1 Nov 2021 13:45:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A1DjCAc048415; Mon, 1 Nov 2021 13:45:12 GMT (envelope-from git) Date: Mon, 1 Nov 2021 13:45:12 GMT Message-Id: <202111011345.1A1DjCAc048415@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: d902c881754a - main - archivers/c-blosc2: Add c-blosc2 2.0.4 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d902c881754a647f4780899b439302af952bb102 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d902c881754a647f4780899b439302af952bb102 commit d902c881754a647f4780899b439302af952bb102 Author: Po-Chuan Hsieh AuthorDate: 2021-11-01 13:23:11 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-11-01 13:41:15 +0000 archivers/c-blosc2: Add c-blosc2 2.0.4 Blosc is a high performance compressor optimized for binary data (i.e. floating point numbers, integers and booleans). It has been designed to transmit data to the processor cache faster than the traditional, non-compressed, direct memory fetch approach via a memcpy() OS call. Blosc main goal is not just to reduce the size of large datasets on-disk or in-memory, but also to accelerate memory-bound computations. C-Blosc2 is the new major version of C-Blosc, and tries hard to be backward compatible with both the C-Blosc1 API and its in-memory format. However, the reverse thing is generally not true; buffers generated with C-Blosc2 are not format-compatible with C-Blosc1 (i.e. forward compatibility is not supported). WWW: https://www.blosc.org/ WWW: https://github.com/Blosc/c-blosc2 --- archivers/Makefile | 1 + archivers/c-blosc2/Makefile | 28 ++++++++++++++++++++++++++++ archivers/c-blosc2/distinfo | 3 +++ archivers/c-blosc2/pkg-descr | 14 ++++++++++++++ archivers/c-blosc2/pkg-plist | 11 +++++++++++ 5 files changed, 57 insertions(+) diff --git a/archivers/Makefile b/archivers/Makefile index 48ae8c9cf95d..dbe2ea177dd4 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -13,6 +13,7 @@ SUBDIR += bzip SUBDIR += bzip2 SUBDIR += c-blosc + SUBDIR += c-blosc2 SUBDIR += cabextract SUBDIR += cmdpack SUBDIR += dact diff --git a/archivers/c-blosc2/Makefile b/archivers/c-blosc2/Makefile new file mode 100644 index 000000000000..7d421e619990 --- /dev/null +++ b/archivers/c-blosc2/Makefile @@ -0,0 +1,28 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= c-blosc2 +PORTVERSION= 2.0.4 +DISTVERSIONPREFIX= v +CATEGORIES= archivers + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= High performance compressor optimized for binary data + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +LIB_DEPENDS= liblz4.so:archivers/liblz4 \ + libzstd.so:archivers/zstd + +USES= cmake + +CMAKE_OFF= BUILD_LITE DEACTIVATE_AVX2 DEACTIVATE_ZLIB DEACTIVATE_ZSTD +CMAKE_ON= BUILD_BENCHMARKS BUILD_EXAMPLES BUILD_FUZZERS BUILD_PLUGINS BUILD_SHARED BUILD_STATIC BUILD_TESTS DEACTIVATE_IPP PREFER_EXTERNAL_LZ4 PREFER_EXTERNAL_ZLIB PREFER_EXTERNAL_ZSTD TEST_INCLUDE_COMPAT TEST_INCLUDE_EXAMPLES +USE_LDCONFIG= yes + +PLIST_SUB= PORTVERSION=${PORTVERSION} + +GH_ACCOUNT= Blosc +USE_GITHUB= yes + +.include diff --git a/archivers/c-blosc2/distinfo b/archivers/c-blosc2/distinfo new file mode 100644 index 000000000000..4f622a26dcf2 --- /dev/null +++ b/archivers/c-blosc2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1635730865 +SHA256 (Blosc-c-blosc2-v2.0.4_GH0.tar.gz) = 90c78edcc262759dd16d243141513310624bb4fda3d98ac34dcfb78255e151c1 +SIZE (Blosc-c-blosc2-v2.0.4_GH0.tar.gz) = 2062503 diff --git a/archivers/c-blosc2/pkg-descr b/archivers/c-blosc2/pkg-descr new file mode 100644 index 000000000000..901e7eddc1f3 --- /dev/null +++ b/archivers/c-blosc2/pkg-descr @@ -0,0 +1,14 @@ +Blosc is a high performance compressor optimized for binary data (i.e. floating +point numbers, integers and booleans). It has been designed to transmit data to +the processor cache faster than the traditional, non-compressed, direct memory +fetch approach via a memcpy() OS call. Blosc main goal is not just to reduce the +size of large datasets on-disk or in-memory, but also to accelerate memory-bound +computations. + +C-Blosc2 is the new major version of C-Blosc, and tries hard to be backward +compatible with both the C-Blosc1 API and its in-memory format. However, the +reverse thing is generally not true; buffers generated with C-Blosc2 are not +format-compatible with C-Blosc1 (i.e. forward compatibility is not supported). + +WWW: https://www.blosc.org/ +WWW: https://github.com/Blosc/c-blosc2 diff --git a/archivers/c-blosc2/pkg-plist b/archivers/c-blosc2/pkg-plist new file mode 100644 index 000000000000..571b277c76f4 --- /dev/null +++ b/archivers/c-blosc2/pkg-plist @@ -0,0 +1,11 @@ +include/blosc2.h +include/blosc2/blosc2-common.h +include/blosc2/blosc2-export.h +include/blosc2/blosc2-stdio.h +include/blosc2/codecs-registry.h +include/blosc2/filters-registry.h +lib/libblosc2.a +lib/libblosc2.so +lib/libblosc2.so.2 +lib/libblosc2.so.%%PORTVERSION%% +libdata/pkgconfig/blosc2.pc