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

--- Comment #12 from Elvis Angelaccio <elvis.angelac...@kde.org> ---
Git commit a751cf8c12c05e23280a8e60c51baa6c35e9d04a by Elvis Angelaccio.
Committed on 23/04/2024 at 10:46.
Pushed by elvisangelaccio into branch 'master'.

libarchive: add support for unencrypted 7-zip

libarchive can extract 7-zip archives and also create them, with full
support for all the expected compression methods available in the 7-zip
format.

This commit enables the 7-zip format in the libarchive plugin, which makes
Ark always able to provide basic support for 7z archives. This was
currently possible only when the 7z binary is installed on the system,
which may not be always true (some distributions don't ship a 7z binary
by default).

Unfortunately libarchive doesn't support encrypted 7z archives yet,
which means this cannot be a drop-in replacement for the 7z plugin.
Also it doesn't allow to create multi-volume files.

But it is a first step towards deprecating the 7z plugin. This plugin has not
been always reliable in the past, since it needs to parse the CLI output
of the 7z binary. And there is the additional problem of the p7zip/7-zip
upstream projects being weirdly maintained.

Note: the minimum supported compression level is 1 instead of 0 (unlike
the 7z plugin), since the bzip2 library (used by libarchive) doesn't
accept 0 as minimum value and it would be too complicated to use
different value ranges for different compression methods.

M  +1    -0    README.md
M  +16   -1    plugins/libarchive/kerfuffle_libarchive.json.cmake
M  +24   -0    plugins/libarchive/libarchiveplugin.cpp
M  +44   -9    plugins/libarchive/readwritelibarchiveplugin.cpp
M  +2    -1    plugins/libarchive/readwritelibarchiveplugin.h

https://invent.kde.org/utilities/ark/-/commit/a751cf8c12c05e23280a8e60c51baa6c35e9d04a

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

Reply via email to