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:   adam
Date:           Thu Feb 20 08:10:34 UTC 2025

Modified Files:
        pkgsrc/archivers/zstd: Makefile distinfo
        pkgsrc/archivers/zstd/patches: patch-Makefile patch-lib_Makefile
            patch-lib_decompress_huf__decompress__amd64.S
Removed Files:
        pkgsrc/archivers/zstd/patches: patch-tests_playTests.sh

Log Message:
zstd: updated to 1.5.7

V1.5.7 (Feb 2025)
fix: compression bug in 32-bit mode associated with long-lasting sessions
api: new method `ZSTD_compressSequencesAndLiterals()`
api: `ZSTD_getFrameHeader()` works on skippable frames
perf: substantial compression speed improvements (up to +30%) on small data, by @TocarIP
perf: improved compression speed (~+5%) for dictionary compression at low levels
perf: much faster speed for `--patch-from` at high compression levels
perf: higher `--patch-from` compression ratios, notably at high levels
perf: better speed for binaries on Windows (@pps83) and when compiled with Visual Studio (@MessyHack)
perf: slight compression ratio improvement thanks to better block boundaries
perf: slight compression ratio improvement for `dfast`, aka levels 3 and 4
perf: runtime bmi2 detection enabled on x86 32-bit mode
cli: multi-threading as default CLI setting, by @daniellerozenblit
cli: new `--max` command
build: improve `msbuild` version autodetection, support VS2022, by @ManuelBlanc
build: fix `meson` build by @artem and @Victor-C-Zhang, and on Windows by @bgilbert
build: compatibility with Apple Framework, by @Treata11
build: improve icc/icx compatibility, by @josepho0918 and @luau-project
build: improve compatibility with Android NDK, by Adenilson Cavalcanti
portability: linux kernel branch, with improved support for Sequence producers (@embg, @gcabiddu, @cyan4973)
portability: improved qnx compatibility, suggested by @rainbowball
portability: improved install script for FreeBSD, by @sunpoet
portability: fixed test suite compatibility with gnu hurd, by @diegonc
doc: clarify specification, by @elasota
misc: improved tests/decodecorpus validation tool


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 pkgsrc/archivers/zstd/Makefile
cvs rdiff -u -r1.37 -r1.38 pkgsrc/archivers/zstd/distinfo
cvs rdiff -u -r1.12 -r1.13 pkgsrc/archivers/zstd/patches/patch-Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/archivers/zstd/patches/patch-lib_Makefile
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/archivers/zstd/patches/patch-lib_decompress_huf__decompress__amd64.S
cvs rdiff -u -r1.2 -r0 pkgsrc/archivers/zstd/patches/patch-tests_playTests.sh

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.52 pkgsrc/archivers/zstd/Makefile:1.53
--- pkgsrc/archivers/zstd/Makefile:1.52 Tue Apr  2 20:05:57 2024
+++ pkgsrc/archivers/zstd/Makefile      Thu Feb 20 08:10:34 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.52 2024/04/02 20:05:57 adam Exp $
+# $NetBSD: Makefile,v 1.53 2025/02/20 08:10:34 adam Exp $
 
-DISTNAME=      zstd-1.5.6
+DISTNAME=      zstd-1.5.7
 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.37 pkgsrc/archivers/zstd/distinfo:1.38
--- pkgsrc/archivers/zstd/distinfo:1.37 Tue Apr  2 20:05:57 2024
+++ pkgsrc/archivers/zstd/distinfo      Thu Feb 20 08:10:34 2025
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.37 2024/04/02 20:05:57 adam Exp $
+$NetBSD: distinfo,v 1.38 2025/02/20 08:10:34 adam Exp $
 
-BLAKE2s (zstd-1.5.6.tar.gz) = 563d06b781f517ad25ba3b23105d7f3542f44e4f74c708ceab4c22459504ecab
-SHA512 (zstd-1.5.6.tar.gz) = ca12dffd86618ca008e1ecc79056c1129cb4e61668bf13a3cd5b2fa5c93bc9c92c80f64c1870c68b9c20009d9b3a834eac70db72242d5106125a1c53cccf8de8
-Size (zstd-1.5.6.tar.gz) = 2425452 bytes
-SHA1 (patch-Makefile) = 26d4df619441bbcf41c5b6ab973b4c51794d5996
-SHA1 (patch-lib_Makefile) = 293a62ca55a4e4d5cb08f5647e466842dfdf2e57
-SHA1 (patch-lib_decompress_huf__decompress__amd64.S) = 76a27c1b895ef05941df4866b704c01eac822666
+BLAKE2s (zstd-1.5.7.tar.gz) = eb293ab7578d2ce89a6b7de7c0aa57146d8005091e6e6f39c5eacb3a8d080431
+SHA512 (zstd-1.5.7.tar.gz) = 26e441267305f6e58080460f96ab98645219a90d290a533410b1b0b1d2f870721c95f8384e342ee647c5e968385a5b7e30c2d04340c37f59b3e6d86762c3260c
+Size (zstd-1.5.7.tar.gz) = 2451884 bytes
+SHA1 (patch-Makefile) = 191425fc04c43161710c3bb03f34047e2827b327
+SHA1 (patch-lib_Makefile) = 22ce3c9d44e230777075de29cc9f6d2cf110e027
+SHA1 (patch-lib_decompress_huf__decompress__amd64.S) = 199d101b3ff03248c24aac662f7948820bf8e2b8
 SHA1 (patch-tests_Makefile) = b4aa7bd0bf1b3e7df231a32dadc6cce4ab78ac9e
-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.12 pkgsrc/archivers/zstd/patches/patch-Makefile:1.13
--- pkgsrc/archivers/zstd/patches/patch-Makefile:1.12   Tue Apr  2 20:05:57 2024
+++ pkgsrc/archivers/zstd/patches/patch-Makefile        Thu Feb 20 08:10:34 2025
@@ -1,22 +1,22 @@
-$NetBSD: patch-Makefile,v 1.12 2024/04/02 20:05:57 adam Exp $
+$NetBSD: patch-Makefile,v 1.13 2025/02/20 08:10:34 adam Exp $
 
 Enable the "install" target on all OS.
 
---- Makefile.orig      2024-03-21 22:05:51.000000000 +0000
+--- Makefile.orig      2025-02-19 00:04:24.000000000 +0000
 +++ Makefile
-@@ -151,7 +151,6 @@ clean:
+@@ -147,7 +147,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 CYGWIN_NT Haiku AIX))
+-ifneq (,$(filter Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly NetBSD MSYS_NT% CYGWIN_NT% Haiku AIX,$(shell sh -c 'MSYSTEM="MSYS" uname') ))
  
  HOST_OS = POSIX
  
-@@ -387,7 +386,6 @@ clang38install:
+@@ -383,7 +382,6 @@ clang38install:
  lz4install:
        [ -e lz4 ] || git clone https://github.com/lz4/lz4 && sudo $(MAKE) -C lz4 install
  
 -endif
  
  
- ifneq (,$(filter MSYS%,$(shell uname)))
+ ifneq (,$(filter MSYS%,$(shell sh -c 'MSYSTEM="MSYS" uname') ))

Index: pkgsrc/archivers/zstd/patches/patch-lib_Makefile
diff -u pkgsrc/archivers/zstd/patches/patch-lib_Makefile:1.15 pkgsrc/archivers/zstd/patches/patch-lib_Makefile:1.16
--- pkgsrc/archivers/zstd/patches/patch-lib_Makefile:1.15       Tue Apr  2 20:05:57 2024
+++ pkgsrc/archivers/zstd/patches/patch-lib_Makefile    Thu Feb 20 08:10:34 2025
@@ -1,13 +1,13 @@
-$NetBSD: patch-lib_Makefile,v 1.15 2024/04/02 20:05:57 adam Exp $
+$NetBSD: patch-lib_Makefile,v 1.16 2025/02/20 08:10:34 adam 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  2024-03-21 22:05:51.000000000 +0000
+--- lib/Makefile.orig  2025-02-19 00:04:24.000000000 +0000
 +++ lib/Makefile
-@@ -69,6 +69,43 @@ decompress/zstd_decompress_block.o : CFL
+@@ -71,6 +71,43 @@ decompress/zstd_decompress_block.o : CFL
  endif
  
  
@@ -50,28 +50,28 @@ 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)
-@@ -261,7 +298,6 @@ clean:
+ UNAME_TARGET_SYSTEM ?= $(UNAME)
+@@ -268,7 +305,6 @@ clean:
  #-----------------------------------------------------------------------------
  # make install is validated only for below listed environments
  #-----------------------------------------------------------------------------
--ifneq (,$(filter $(UNAME),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku AIX MSYS_NT CYGWIN_NT))
+-ifneq (,$(filter Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku AIX MSYS_NT% CYGWIN_NT%,$(UNAME)))
  
  lib: libzstd.pc
  
-@@ -292,11 +328,7 @@ PCLIBPREFIX := $(if $(findstring $(LIBDI
- # to PREFIX, rather than as a resolved value.
- PCEXEC_PREFIX := $(if $(HAS_EXPLICIT_EXEC_PREFIX),$(EXEC_PREFIX),$${prefix})
+@@ -307,11 +343,7 @@ else
+   PCLIB := $(LDFLAGS_DYNLIB)
+ endif
  
--ifneq (,$(filter $(UNAME),FreeBSD NetBSD DragonFly))
+-ifneq (,$(filter FreeBSD NetBSD DragonFly,$(UNAME)))
 -  PKGCONFIGDIR ?= $(PREFIX)/libdata/pkgconfig
 -else
    PKGCONFIGDIR ?= $(LIBDIR)/pkgconfig
 -endif
  
- ifneq (,$(filter $(UNAME),SunOS))
+ ifneq (,$(filter SunOS,$(UNAME)))
    INSTALL ?= ginstall
-@@ -366,4 +398,3 @@ uninstall:
+@@ -386,4 +418,3 @@ uninstall:
        $(RM) $(DESTDIR)$(INCLUDEDIR)/zdict.h
        @echo zstd libraries successfully uninstalled
  

Index: pkgsrc/archivers/zstd/patches/patch-lib_decompress_huf__decompress__amd64.S
diff -u pkgsrc/archivers/zstd/patches/patch-lib_decompress_huf__decompress__amd64.S:1.2 pkgsrc/archivers/zstd/patches/patch-lib_decompress_huf__decompress__amd64.S:1.3
--- pkgsrc/archivers/zstd/patches/patch-lib_decompress_huf__decompress__amd64.S:1.2     Tue Apr  2 20:05:57 2024
+++ pkgsrc/archivers/zstd/patches/patch-lib_decompress_huf__decompress__amd64.S Thu Feb 20 08:10:34 2025
@@ -1,9 +1,9 @@
-$NetBSD: patch-lib_decompress_huf__decompress__amd64.S,v 1.2 2024/04/02 20:05:57 adam Exp $
+$NetBSD: patch-lib_decompress_huf__decompress__amd64.S,v 1.3 2025/02/20 08:10:34 adam Exp $
 
 Move the stack marking stuff inside the ifdef, as it doesn't necessarily
 work on non-amd64.
 
---- lib/decompress/huf_decompress_amd64.S.orig 2024-03-21 22:05:51.000000000 +0000
+--- lib/decompress/huf_decompress_amd64.S.orig 2025-02-19 00:04:24.000000000 +0000
 +++ lib/decompress/huf_decompress_amd64.S
 @@ -10,6 +10,7 @@
  
@@ -21,4 +21,4 @@ work on non-amd64.
 -
  /* Calling convention:
   *
-  * %rdi contains the first argument: HUF_DecompressAsmArgs*.
+  * %rdi (or %rcx on Windows) contains the first argument: HUF_DecompressAsmArgs*.



Home | Main Index | Thread Index | Old Index