Page MenuHomeSolus

libzip: Update to 1.8.0
Needs RevisionPublic

Authored by ReillyBrogan on Jun 23 2021, 3:53 AM.


Group Reviewers
Triage Team

Release Notes:

  • Add support for zstd (Zstandard) compression.
  • Add support for lzma (ID 14) compression.
  • Add zip_source_window_create().
  • Add zip_source_zip_create() variant to zip_source_zip().
  • Allow method specific comp_flags in zip_set_file_compression().
  • Allow zip_source_tell() on sources that don’t support seeking and zip_ftell() on compressed data.
  • Provide more details for consistency check errors.
  • Improve output of zipcmp.
  • In zipcmp, don’t ignore empty directories when comparing directory listing.
  • Treat empty string as no password given in zip_file_set_encryption(), zip_fopen_encrypted(), and zip_set_default_password().


  • Support cmake < 3.17 again.
  • Fix pkgconfig file (regression in 1.7.2).


  • Fixes for the CMake find_project() files.
  • libzip moved to the CMake libzip:: NAMESPACE.
  • CMake usage best practice cleanups.
Test Plan
  • Rebuilt many revdeps
  • Used ziptool to create a zip file, added a few files to it, and then verified that the file was readable in File Roller and Ark
  • Used ziptool to create a new zip file, added files and set the compression to zstd. Verified that Ark (which uses libzip) was able to read this file while File Roller was not (libarchive does not yet support zstd compression)

Diff Detail

R1951 libzip
No Linters Available
No Unit Test Coverage
Build Status
Buildable 2324
Build 2324: arc lint + arc unit

Event Timeline

ReillyBrogan created this revision.Jun 23 2021, 3:53 AM
ReillyBrogan requested review of this revision.Jun 23 2021, 3:53 AM
  • Remove unused cmake option
ReillyBrogan edited the summary of this revision. (Show Details)Jul 30 2021, 5:40 PM
ReillyBrogan removed a parent revision: D11319: zstd: Update to 1.5.0.
JoshStrobl requested changes to this revision.Aug 23 2021, 1:32 PM
JoshStrobl added a subscriber: JoshStrobl.

Changelog should be summarized and versioned bits should be nested as follows.

- 1.8.0
 - Sub item
- 1.7.blah
 - Sub item

Otherwise LGTM

This revision now requires changes to proceed.Aug 23 2021, 1:32 PM
  • Rebase and feedback
JoshStrobl requested changes to this revision.Thu, Nov 11, 11:25 AM

Changelog format isn't same as requested.

This revision now requires changes to proceed.Thu, Nov 11, 11:25 AM