[ark] [Bug 384040] Support zstandard / zstd / .zst

2018-11-06 Thread Ragnar Thomsen
https://bugs.kde.org/show_bug.cgi?id=384040

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

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

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

[ark] [Bug 384040] Support zstandard / zstd / .zst

2018-10-15 Thread Robert-André Mauchin
https://bugs.kde.org/show_bug.cgi?id=384040

--- Comment #5 from Robert-André Mauchin  ---
I've seen that work has been done already https://phabricator.kde.org/D15369
That's great, thanks!

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

[ark] [Bug 384040] Support zstandard / zstd / .zst

2018-10-15 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=384040

zebo...@gmail.com changed:

   What|Removed |Added

 CC||zebo...@gmail.com

--- Comment #4 from zebo...@gmail.com ---
 libarchive 3.3.3 was released in September, can this feature be pucked up?

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

[ark] [Bug 384040] Support zstandard / zstd / .zst

2017-09-05 Thread Dr . Chapatin
https://bugs.kde.org/show_bug.cgi?id=384040

Dr. Chapatin  changed:

   What|Removed |Added

 CC||yy...@gmx.com

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

[ark] [Bug 384040] Support zstandard / zstd / .zst

2017-08-31 Thread Ragnar Thomsen
https://bugs.kde.org/show_bug.cgi?id=384040

--- Comment #3 from Ragnar Thomsen  ---
zstd support was recently merged in the libarchive git repo. So after next
libarchive release we can easily add zstd support in Ark.

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

[ark] [Bug 384040] Support zstandard / zstd / .zst

2017-08-30 Thread Brennan Kinney
https://bugs.kde.org/show_bug.cgi?id=384040

--- Comment #2 from Brennan Kinney  ---
(In reply to Christoph Feck from comment #1)
> zstd is no archive format. Do you need to decompress a *.tar.zstd file?

zstd can compress input into .zst file. To compress directories I've used it
with tar to get a tar.zst file, followed with tar and zstd commands to
decompress.(plus split/cat if creating multi-part files).

Any support would be good :)

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

[ark] [Bug 384040] Support zstandard / zstd / .zst

2017-08-28 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=384040

--- Comment #1 from Christoph Feck  ---
zstd is no archive format. Do you need to decompress a *.tar.zstd file?

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