archivers/vbz-compression: Remove port

Niche use case, not aligned with broad server application needs
This commit is contained in:
2025-05-01 10:53:28 +02:00
parent bf29e86f75
commit 01046d5519
7 changed files with 1 additions and 99 deletions
+1
View File
@@ -80,6 +80,7 @@ archivers/squsq
archivers/stuffit
archivers/thunar-archive-plugin
archivers/v1541commander
archivers/vbz-compression
archivers/xarchive
archivers/xarchiver
archivers/zipper
-1
View File
@@ -243,7 +243,6 @@
SUBDIR += upx
SUBDIR += urbackup-client
SUBDIR += urbackup-server
SUBDIR += vbz-compression
SUBDIR += xdms
SUBDIR += xmill
SUBDIR += zchunk
-31
View File
@@ -1,31 +0,0 @@
PORTNAME= vbz-compression
DISTVERSION= 1.0.13
CATEGORIES= archivers
MAINTAINER= jwb@FreeBSD.org
COMMENT= Variable byte integer encoding to compress Oxford Nanopore signal data
WWW= https://github.com/nanoporetech/vbz_compression
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENCE.txt
BUILD_DEPENDS= streamvbyte>=0.4.1:archivers/streamvbyte
LIB_DEPENDS= libhdf5.so:science/hdf5 \
libzstd.so:archivers/zstd
USES= cmake
USE_GITHUB= yes
USE_LDCONFIG= ${PREFIX}/hdf5/lib/plugin
GH_ACCOUNT= nanoporetech
GH_PROJECT= vbz_compression
CMAKE_ARGS= -DENABLE_CONAN=OFF \
-DENABLE_PERF_TESTING=OFF \
-DENABLE_PYTHON=OFF \
-DSTREAMVBYTE_INSTALL_DIR=${LOCALBASE} \
-DSTREAMVBYTE_STATIC_LIB=${LOCALBASE}/lib/libstreamvbyte.a
PLIST_FILES= hdf5/lib/plugin/libvbz_hdf_plugin.so
.include <bsd.port.mk>
-3
View File
@@ -1,3 +0,0 @@
TIMESTAMP = 1739627810
SHA256 (nanoporetech-vbz_compression-1.0.13_GH0.tar.gz) = 36cb0581391a0b59f63bf9f7046181bea9a0901c59c3bba689d66f5d7d7f3748
SIZE (nanoporetech-vbz_compression-1.0.13_GH0.tar.gz) = 5364717
@@ -1,42 +0,0 @@
--- CMakeLists.txt.orig 2025-01-14 12:40:34 UTC
+++ CMakeLists.txt
@@ -151,39 +151,6 @@ find_package(Sanitizers)
find_package(zstd 1.3.1 REQUIRED)
find_package(Sanitizers)
-get_filename_component(STREAMVBYTE_SOURCE_DIR
- third_party/streamvbyte
- ABSOLUTE
-)
-set(STREAMVBYTE_INSTALL_DIR "${CMAKE_BINARY_DIR}/streamvbyte_lib/")
-set(STREAMVBYTE_PREFIX ${CMAKE_BINARY_DIR}/streamvbyte)
-set(STREAMVBYTE_STATIC_LIB_NAME ${CMAKE_STATIC_LIBRARY_PREFIX}streamvbyte${CMAKE_STATIC_LIBRARY_SUFFIX})
-set(STREAMVBYTE_STATIC_LIB_SUBDIR ".")
-get_property(is_multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
-if (is_multi_config)
- set(STREAMVBYTE_STATIC_LIB_SUBDIR "$<CONFIG>")
-endif()
-ExternalProject_Add(
- streamvbyte
- SOURCE_DIR ${STREAMVBYTE_SOURCE_DIR}
- UPDATE_DISCONNECTED TRUE
- PREFIX ${STREAMVBYTE_PREFIX}
- CMAKE_ARGS
- -D CMAKE_INSTALL_PREFIX=${STREAMVBYTE_INSTALL_DIR}
- -D CMAKE_OSX_DEPLOYMENT_TARGET=${CMAKE_OSX_DEPLOYMENT_TARGET}
- -D CMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES}
- -D STREAMVBYTE_SANITIZE=${SANITIZE_ADDRESS}
- -D STREAMVBYTE_SANITIZE_UNDEFINED=${SANITIZE_UNDEFINED}
- # We need to tell CMake about libraries we will link to, otherwise some generators (eg: Ninja)
- # complain about how knowing how to build libstreamvbyte_static.a, for example.
- # Ideally, we'd set a hypothetical INSTALL_BYPRODUCTS, and link to the installed file, but that
- # doesn't seem to be an option.
- BUILD_BYPRODUCTS "<BINARY_DIR>/${STREAMVBYTE_STATIC_LIB_SUBDIR}/${STREAMVBYTE_STATIC_LIB_NAME}"
-)
-ExternalProject_Get_Property(streamvbyte BINARY_DIR)
-set(STREAMVBYTE_STATIC_LIB "${BINARY_DIR}/${STREAMVBYTE_STATIC_LIB_SUBDIR}/${STREAMVBYTE_STATIC_LIB_NAME}")
-
-
########################################################################
#
# Warnings
@@ -1,15 +0,0 @@
--- vbz/CMakeLists.txt.orig 2025-01-14 12:42:19 UTC
+++ vbz/CMakeLists.txt
@@ -24,12 +24,6 @@ target_include_directories(vbz
${STREAMVBYTE_INSTALL_DIR}/include
)
-# This explicit dependency is required to make sure the header files are installed into the right
-# location before we try building against them.
-add_dependencies(vbz
- streamvbyte
-)
-
option(VBZ_DISABLE_SSE3 "Disable SSE3 optimisations" OFF)
if ((WIN32 OR CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64") AND NOT VBZ_DISABLE_SSE3)
message(STATUS "SSE3 optimisations enabled")
-7
View File
@@ -1,7 +0,0 @@
VBZ Compression uses variable byte integer encoding to compress Oxford
Nanopore signal data.
The performance of VBZ is achieved by taking advantage of the properties of the
raw signal and therefore is most effective when applied to the signal dataset.
Other datasets you may have in your Fast5 files will not be able to take
advantage of the default VBZ settings for compression. VBZ will be used as the
default compression scheme in a future release of MinKNOW.