Bug 425965 - Please add support for zpaq and lrzip
Summary: Please add support for zpaq and lrzip
Status: REPORTED
Alias: None
Product: ark
Classification: Applications
Component: plugins (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Other
: NOR wishlist
Target Milestone: ---
Assignee: Ragnar Thomsen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-30 00:13 UTC by Tony
Modified: 2023-03-01 20:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony 2020-08-30 00:13:22 UTC
These are two compression/archive fortmats that imo put to shame the well known 7z.

The compression ration is better while taking less time to do compress and decompress adn they are multi threaded.

I am actually surprise ark doe not support either.
Comment 1 Tony 2020-08-30 00:15:12 UTC
Some references :

Zpaq
http://mattmahoney.net/dc/zpaq.html

Lrzip
https://github.com/ckolivas/lrzip
Comment 2 Christoph Feck 2020-08-30 03:03:07 UTC
Ark will support all formats that libarchive supports. Could you suggest these formats to this library?
Comment 3 2wxsy58236r3 2020-08-30 03:34:46 UTC
Ark and libarchive already have lrzip support, so make sure you installed lrzip.

From [1], you can see that Arch Linux lists lrzip as an optional dependency of Ark.

[1] https://www.archlinux.org/packages/extra/x86_64/ark/
Comment 4 Tony 2020-08-30 21:35:48 UTC
(In reply to Christoph Feck from comment #2)
> Ark will support all formats that libarchive supports. Could you suggest
> these formats to this library?

Welp according to this :
https://github.com/libarchive/libarchive/wiki/LibarchiveFormats

neither is supported.

(In reply to 2wxsy58236r3 from comment #3)
> Ark and libarchive already have lrzip support, so make sure you installed
> lrzip.
> 
> From [1], you can see that Arch Linux lists lrzip as an optional dependency
> of Ark.
> 
> [1] https://www.archlinux.org/packages/extra/x86_64/ark/

Dunno what how they do it on openSuse there is no support, i have both lrzip/liblrzip0 install and get this when i opening any .lrz file :

ark.kerfuffle: Could not find a plugin to handle "any.lrz"
Comment 5 Elvis Angelaccio 2020-08-30 21:39:56 UTC
Do you have the lrzip binary installed?
Comment 6 Tony 2020-08-30 21:43:13 UTC
Ohh well libarchive it does has or used to have support for lrzip at least.

Libarchive 3.1.0

Released: Jan 13, 2013
New features

    Added support for lrzip
    Added support for lzop
    Added support for grzip compression
    Added filters for base64 and uuencode
    Added support for writing tar v7 format
    Added support for resource-forks in Zip archives
    Added funtions to manually set filters and formats
Comment 7 Tony 2020-08-30 21:47:11 UTC
(In reply to Elvis Angelaccio from comment #5)
> Do you have the lrzip binary installed?

Yes.

zypper se lrzip liblrzip0
Loading repository data...
Reading installed packages...

S  | Name                | Summary                                                        | Type
---+---------------------+----------------------------------------------------------------+-----------
   | liblrzip-devel      | Very High Ratio and Speed Compression Designed for Large Files | package
i+ | liblrzip0           | Very High Ratio and Speed Compression Designed for Large Files | package
   | liblrzip0-debuginfo | Debug information for package liblrzip0                        | package
i+ | lrzip               | Very High Ratio and Speed Compression Designed for Large Files | package
   | lrzip               | Very High Ratio and Speed Compression Designed for Large Files | srcpackage
   | lrzip-debuginfo     | Debug information for package lrzip                            | package
   | lrzip-debugsource   | Debug sources for package lrzip
Comment 8 Elvis Angelaccio 2020-08-31 00:29:06 UTC
Possibly libarchive has been compiled without lrzip supports. Please ask in the opensuse channels.
Comment 9 Tony 2020-08-31 23:21:20 UTC
(In reply to Elvis Angelaccio from comment #8)
> Possibly libarchive has been compiled without lrzip supports. Please ask in
> the opensuse channels.

I had no need to asked, support is there according to this :
https://build.opensuse.org/package/live_build_log/Archiving/libarchive/openSUSE_Factory/x86_64

Ark just can't open .lrz files directly and for compression it needs to tar them 1st the same as lz4/zstd. 
I was using lrzip from the command line and using ark to open the resulting file, i was unaware ark could compress them as tar.lrz.

I tested this it works fine, although ark does not exposes the other backends lrzip supoprts, i guess it uses the default one, lzma only.

As for zpaq, i asked the question on the github still no answer.
Comment 10 Lapineige 2023-02-24 14:39:20 UTC
zpaq support is still missing in Ark as far as I can see (zpaq package being installed).

> As for zpaq, i asked the question on the github still no answer.

@Tony could you point me that issue ? I can't find it.