pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/archivers/zstd
Module Name: pkgsrc
Committed By: wiz
Date: Thu May 20 12:23:24 UTC 2021
Modified Files:
pkgsrc/archivers/zstd: Makefile distinfo
pkgsrc/archivers/zstd/patches: patch-Makefile patch-lib_Makefile
Log Message:
zstd: update to 1.5.0.
v1.5.0 (May 11, 2021)
api: Various functions promoted from experimental to stable API: (#2579-2581, @senhuang42)
`ZSTD_defaultCLevel()`
`ZSTD_getDictID_fromCDict()`
api: Several experimental functions have been deprecated and will emit a compiler warning (#2582, @senhuang42)
`ZSTD_compress_advanced()`
`ZSTD_compress_usingCDict_advanced()`
`ZSTD_compressBegin_advanced()`
`ZSTD_compressBegin_usingCDict_advanced()`
`ZSTD_initCStream_srcSize()`
`ZSTD_initCStream_usingDict()`
`ZSTD_initCStream_usingCDict()`
`ZSTD_initCStream_advanced()`
`ZSTD_initCStream_usingCDict_advanced()`
`ZSTD_resetCStream()`
api: ZSTDMT_NBWORKERS_MAX reduced to 64 for 32-bit environments (@Cyan4973)
perf: Significant speed improvements for middle compression levels (#2494, @senhuang42 @terrelln)
perf: Block splitter to improve compression ratio, enabled by default for high compression levels (#2447, @senhuang42)
perf: Decompression loop refactor, speed improvements on `clang` and for `--long` modes (#2614 #2630, @Cyan4973)
perf: Reduced stack usage during compression and decompression entropy stage (#2522 #2524, @terrelln)
bug: Improve setting permissions of created files (#2525, @felixhandte)
bug: Fix large dictionary non-determinism (#2607, @terrelln)
bug: Fix non-determinism test failures on Linux i686 (#2606, @terrelln)
bug: Fix various dedicated dictionary search bugs (#2540 #2586, @senhuang42 @felixhandte)
bug: Ensure `ZSTD_estimateCCtxSize*() `monotonically increases with compression level (#2538, @senhuang42)
bug: Fix --patch-from mode parameter bound bug with small files (#2637, @occivink)
bug: Fix UBSAN error in decompression (#2625, @terrelln)
bug: Fix superblock compression divide by zero bug (#2592, @senhuang42)
bug: Make the number of physical CPU cores detection more robust (#2517, @PaulBone)
doc: Improve `zdict.h` dictionary training API documentation (#2622, @terrelln)
doc: Note that public `ZSTD_free*()` functions accept NULL pointers (#2521, @animalize)
doc: Add style guide docs for open source contributors (#2626, @Cyan4973)
tests: Better regression test coverage for different dictionary modes (#2559, @senhuang42)
tests: Better test coverage of index reduction (#2603, @terrelln)
tests: OSS-Fuzz coverage for seekable format (#2617, @senhuang42)
tests: Test coverage for ZSTD threadpool API (#2604, @senhuang42)
build: Dynamic library built multithreaded by default (#2584, @senhuang42)
build: Move `zstd_errors.h` and `zdict.h` to `lib/` root (#2597, @terrelln)
build: Allow `ZSTDMT_JOBSIZE_MIN` to be configured at compile-time, reduce default to 512KB (#2611, @Cyan4973)
build: Single file library build script moved to `build/` directory (#2618, @felixhandte)
build: `ZBUFF_*()` is no longer built by default (#2583, @senhuang42)
build: Fixed Meson build (#2548, @SupervisedThinking @kloczek)
build: Fix excessive compiler warnings with clang-cl and CMake (#2600, @nickhutchinson)
build: Detect presence of `md5` on Darwin (#2609, @felixhandte)
build: Avoid SIGBUS on armv6 (#2633, @bmwiedmann)
cli: `--progress` flag added to always display progress bar (#2595, @senhuang42)
cli: Allow reading from block devices with `--force` (#2613, @felixhandte)
cli: Fix CLI filesize display bug (#2550, @Cyan4973)
cli: Fix windows CLI `--filelist` end-of-line bug (#2620, @Cyan4973)
contrib: Various fixes for linux kernel patch (#2539, @terrelln)
contrib: Seekable format - Decompression hanging edge case fix (#2516, @senhuang42)
contrib: Seekable format - New seek table-only API (#2113 #2518, @mdittmer @Cyan4973)
contrib: Seekable format - Fix seek table descriptor check when loading (#2534, @foxeng)
contrib: Seekable format - Decompression fix for large offsets, (#2594, @azat)
misc: Automatically published release tarballs available on Github (#2535, @felixhandte)
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/archivers/zstd/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/archivers/zstd/distinfo
cvs rdiff -u -r1.9 -r1.10 pkgsrc/archivers/zstd/patches/patch-Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/archivers/zstd/patches/patch-lib_Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/archivers/zstd/Makefile
diff -u pkgsrc/archivers/zstd/Makefile:1.40 pkgsrc/archivers/zstd/Makefile:1.41
--- pkgsrc/archivers/zstd/Makefile:1.40 Mon Apr 5 10:12:38 2021
+++ pkgsrc/archivers/zstd/Makefile Thu May 20 12:23:24 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2021/04/05 10:12:38 ryoon Exp $
+# $NetBSD: Makefile,v 1.41 2021/05/20 12:23:24 wiz Exp $
-DISTNAME= zstd-1.4.9
+DISTNAME= zstd-1.5.0
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GITHUB:=facebook/}
GITHUB_TAG= v${PKGVERSION_NOREV}
Index: pkgsrc/archivers/zstd/distinfo
diff -u pkgsrc/archivers/zstd/distinfo:1.28 pkgsrc/archivers/zstd/distinfo:1.29
--- pkgsrc/archivers/zstd/distinfo:1.28 Mon Apr 5 10:12:38 2021
+++ pkgsrc/archivers/zstd/distinfo Thu May 20 12:23:24 2021
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.28 2021/04/05 10:12:38 ryoon Exp $
+$NetBSD: distinfo,v 1.29 2021/05/20 12:23:24 wiz Exp $
-SHA1 (zstd-1.4.9.tar.gz) = 28f82bf3e258c7eeacfa105d0af354140d0df059
-RMD160 (zstd-1.4.9.tar.gz) = c6fc59c14f83439d1ef0ab8255d370172ae5dae5
-SHA512 (zstd-1.4.9.tar.gz) = f529db9c094f9ae26428bf1fdfcc91c6d783d400980e0f0d802d2cf13c2be2931465ef568907e03841ff76a369a1447e7371f8799d8526edb9a513ba5c6db133
-Size (zstd-1.4.9.tar.gz) = 1834843 bytes
-SHA1 (patch-Makefile) = e1e702cd3b461d432e25909fdcf01cc51c769a8a
-SHA1 (patch-lib_Makefile) = 1f1497becc67d59069875460b8d0dd049f23037f
+SHA1 (zstd-1.5.0.tar.gz) = 3299248fcd44d7f21ba2f1f198c1173eeb3c4f32
+RMD160 (zstd-1.5.0.tar.gz) = c636d4cb4113bd56e3deade6778e08c73a06937e
+SHA512 (zstd-1.5.0.tar.gz) = 25b657529a698eec891f92ff4a085d1fd95d2ff938ce52c8a4ff6163eb0b668ec642dd09e0db190652638cd92371006afa01d8e437437762c4097ad301675c33
+Size (zstd-1.5.0.tar.gz) = 1867111 bytes
+SHA1 (patch-Makefile) = b7e72910488e946971cde5ad2fac6a6134dbd70b
+SHA1 (patch-lib_Makefile) = 2475241f1f75d353bf6deeccb4f391cd6626aed2
SHA1 (patch-tests_Makefile) = b83de10222859d656468463071dbce70adcc22b1
SHA1 (patch-tests_playTests.sh) = 349f8e400f46b5914add4aee955a040045f62779
SHA1 (patch-zlibWrapper_examples_minigzip.c) = 4ed0cb648bdd6efa61b3f66ba6eb1ea74b7767ec
Index: pkgsrc/archivers/zstd/patches/patch-Makefile
diff -u pkgsrc/archivers/zstd/patches/patch-Makefile:1.9 pkgsrc/archivers/zstd/patches/patch-Makefile:1.10
--- pkgsrc/archivers/zstd/patches/patch-Makefile:1.9 Sun Jan 3 14:55:50 2021
+++ pkgsrc/archivers/zstd/patches/patch-Makefile Thu May 20 12:23:24 2021
@@ -1,22 +1,22 @@
-$NetBSD: patch-Makefile,v 1.9 2021/01/03 14:55:50 adam Exp $
+$NetBSD: patch-Makefile,v 1.10 2021/05/20 12:23:24 wiz Exp $
Enable the "install" target on all OS.
---- Makefile.orig 2020-12-19 00:39:42.000000000 +0000
+--- Makefile.orig 2021-05-14 14:59:34.000000000 +0000
+++ Makefile
-@@ -149,7 +149,6 @@ clean:
+@@ -148,7 +148,6 @@ clean:
#------------------------------------------------------------------------------
# make install is validated only for Linux, macOS, Hurd and some BSD targets
#------------------------------------------------------------------------------
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly NetBSD MSYS_NT Haiku))
HOST_OS = POSIX
- CMAKE_PARAMS = -DZSTD_BUILD_CONTRIB:BOOL=ON -DZSTD_BUILD_STATIC:BOOL=ON -DZSTD_BUILD_TESTS:BOOL=ON -DZSTD_ZLIB_SUPPORT:BOOL=ON -DZSTD_LZMA_SUPPORT:BOOL=ON -DCMAKE_BUILD_TYPE=Release
-@@ -356,7 +355,6 @@ clang38install:
+
+@@ -354,7 +353,6 @@ clang38install:
lz4install:
[ -e lz4 ] || git clone https://github.com/lz4/lz4 && sudo $(MAKE) -C lz4 install
-endif
- ifneq (,$(filter MSYS%,$(shell uname)))
+ CMAKE_PARAMS = -DZSTD_BUILD_CONTRIB:BOOL=ON -DZSTD_BUILD_STATIC:BOOL=ON -DZSTD_BUILD_TESTS:BOOL=ON -DZSTD_ZLIB_SUPPORT:BOOL=ON -DZSTD_LZMA_SUPPORT:BOOL=ON -DCMAKE_BUILD_TYPE=Release
Index: pkgsrc/archivers/zstd/patches/patch-lib_Makefile
diff -u pkgsrc/archivers/zstd/patches/patch-lib_Makefile:1.12 pkgsrc/archivers/zstd/patches/patch-lib_Makefile:1.13
--- pkgsrc/archivers/zstd/patches/patch-lib_Makefile:1.12 Mon Apr 5 10:12:38 2021
+++ pkgsrc/archivers/zstd/patches/patch-lib_Makefile Thu May 20 12:23:24 2021
@@ -1,13 +1,13 @@
-$NetBSD: patch-lib_Makefile,v 1.12 2021/04/05 10:12:38 ryoon Exp $
+$NetBSD: patch-lib_Makefile,v 1.13 2021/05/20 12:23:24 wiz Exp $
Detect and use third-party libraries (taken from programs/Makefile).
-fvisibility=hidden makes error when linking.
Enable the "install" target on all OS.
Fix pkgconfig installation path.
---- lib/Makefile.orig 2021-03-02 22:20:57.000000000 +0000
+--- lib/Makefile.orig 2021-05-14 14:59:34.000000000 +0000
+++ lib/Makefile
-@@ -195,6 +195,43 @@ endif
+@@ -204,6 +204,43 @@ endif
endif # BUILD_DIR
@@ -51,17 +51,7 @@ Fix pkgconfig installation path.
# macOS linker doesn't support -soname, and use different extension
# see : https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryDesignGuidelines.html
ifeq ($(UNAME), Darwin)
-@@ -258,7 +295,8 @@ else # not Windows
- LIBZSTD = libzstd.$(SHARED_EXT_VER)
- .PHONY: $(LIBZSTD) # must be run every time
- $(LIBZSTD): CFLAGS += -fPIC -fvisibility=hidden
--$(LIBZSTD): LDFLAGS += -shared
-+$(LIBZSTD): CPPFLAGS += $(THREAD_CPP) $(ZLIBCPP) $(LZMACPP) $(LZ4CPP)
-+$(LIBZSTD): LDFLAGS += -shared $(THREAD_LD) $(ZLIBLD) $(LZMALD) $(LZ4LD)
-
- ifndef BUILD_DIR
- # determine BUILD_DIR from compilation flags
-@@ -349,7 +387,6 @@ clean:
+@@ -374,7 +411,6 @@ clean:
#-----------------------------------------------------------------------------
# make install is validated only for below listed environments
#-----------------------------------------------------------------------------
@@ -69,7 +59,7 @@ Fix pkgconfig installation path.
all: libzstd.pc
-@@ -380,11 +417,7 @@ PCLIBPREFIX := $(if $(findstring $(LIBDI
+@@ -405,11 +441,7 @@ PCLIBPREFIX := $(if $(findstring $(LIBDI
# to PREFIX, rather than as a resolved value.
PCEXEC_PREFIX := $(if $(HAS_EXPLICIT_EXEC_PREFIX),$(EXEC_PREFIX),$${prefix})
@@ -81,7 +71,7 @@ Fix pkgconfig installation path.
ifneq (,$(filter $(UNAME),SunOS))
INSTALL ?= ginstall
-@@ -450,4 +483,3 @@ uninstall:
+@@ -479,4 +511,3 @@ uninstall:
$(RM) $(DESTDIR)$(INCLUDEDIR)/zdict.h
@echo zstd libraries successfully uninstalled
Home |
Main Index |
Thread Index |
Old Index