Skip to content
Commit d876ba3d authored by Ragnar Thomsen's avatar Ragnar Thomsen
Browse files

Add support for Zstd-compressed Tar-archives

Libarchive 3.3.3 was released on 2018-09-04 and added support for the
Zstandard compression filter. This compression method is designed to
give similar compression ratio as gzip but with much greater
(de)compression speeds. Libarchive uses the libzstd.so library, but
seems to use the zstd binary as fallback if it wasn't built with
libzstd.

This diff enables the filter in the libarchive plugin. There is still no
mimetype in shared-mime-info, so a custom mimetype for zstd-compressed
tar archives is added. This necessitated re-adding functionality in Ark
for custom mime-types (was removed in commit
73cd5e8d).

Support is only enabled when built with libarchive>=3.3.3.

FEATURE: 384040
FIXED-IN: 18.12.0
Differential Revision: D15369
parent 28cf4f78
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment