https://bugs.kde.org/show_bug.cgi?id=384040

Ragnar Thomsen <rthoms...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Version Fixed In|                            |18.12.0
             Status|REPORTED                    |RESOLVED
      Latest Commit|                            |https://commits.kde.org/ark
                   |                            |/d876ba3d9ebc8f00c2b0b06c9c
                   |                            |8bd60c824aa563

--- Comment #6 from Ragnar Thomsen <rthoms...@gmail.com> ---
Git commit d876ba3d9ebc8f00c2b0b06c9c8bd60c824aa563 by Ragnar Thomsen.
Committed on 06/11/2018 at 16:20.
Pushed by rthomsen into branch 'master'.

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
73cd5e8d2e7b347d84438b23afdc892eddb78ed2).

Support is only enabled when built with libarchive>=3.3.3.
FIXED-IN: 18.12.0
Differential Revision: D15369

M  +5    -0    CMakeLists.txt
A  +-    --    autotests/kerfuffle/data/simplearchive.tar.zst
M  +7    -0    autotests/kerfuffle/loadtest.cpp
M  +5    -0    kerfuffle/CMakeLists.txt
A  +7    -0    kerfuffle/mime/kerfuffle.xml
M  +25   -0    plugins/libarchive/CMakeLists.txt
M  +5    -0    plugins/libarchive/kerfuffle_libarchive.json.cmake
M  +2    -0    plugins/libarchive/libarchiveplugin.cpp
M  +13   -3    plugins/libarchive/readwritelibarchiveplugin.cpp

https://commits.kde.org/ark/d876ba3d9ebc8f00c2b0b06c9c8bd60c824aa563

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to