]> sigrok.org Git - libsigrok.git/commitdiff
Bump minimum libzip requirement to 0.11
authorMarc Schink <redacted>
Tue, 18 Nov 2025 16:14:44 +0000 (17:14 +0100)
committerSoeren Apel <redacted>
Wed, 19 Nov 2025 09:10:42 +0000 (10:10 +0100)
The commit 3406d671 ("output/srzip: Replace deprecated libzip calls")
makes use of new libzip API calls but does not bump the libzip version
requirements, fix this.

According to [1], the minimum required libzip version is now 0.11.

[1] https://github.com/nih-at/libzip/blob/main/API-CHANGES.md

Signed-off-by: Marc Schink <redacted>
README
configure.ac

diff --git a/README b/README
index 8686a262889351fae0e088883be6b8157bcdd4c1..c870a0bba68d77fd30768985c43a0e40fe2f7396 100644 (file)
--- a/README
+++ b/README
@@ -38,7 +38,7 @@ Requirements for the C library:
  - pkg-config >= 0.22
  - libglib >= 2.32.0
  - zlib (optional, used for CRC32 calculation in STF input)
- - libzip >= 0.10
+ - libzip >= 0.11
  - libtirpc (optional, used by VXI, fallback when glibc >= 2.26)
  - libserialport >= 0.1.1 (optional, used by some drivers)
  - librevisa >= 0.0.20130412 (optional, used by some drivers)
index cddd3971654d2dfc122677c8edcfcc9284cbe263..1da1bad8017af3ce07d07d0e460ac325dedbcf77 100644 (file)
@@ -665,7 +665,7 @@ AM_CONDITIONAL([BINDINGS_JAVA], [test "x$BINDINGS_JAVA" = xyes])
 ##############################
 
 # Add mandatory dependencies to module list.
-SR_APPEND([SR_PKGLIBS], ['libzip >= 0.10'])
+SR_APPEND([SR_PKGLIBS], ['libzip >= 0.11'])
 AC_SUBST([SR_PKGLIBS])
 
 # Retrieve the compile and link flags for all modules combined.
@@ -744,7 +744,7 @@ Compile configuration:
 
 Detected libraries (required):
  - glib-2.0 >= 2.32.0.............. $sr_glib_version
- - libzip >= 0.10.................. $sr_libzip_version
+ - libzip >= 0.11.................. $sr_libzip_version
 
 Detected libraries (optional):
 $sr_pkglibs_summary