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

Albert Astals Cid <aa...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/karchive/-/commit/78
                   |                            |cddbf15c39cd81dab8eceadbd56
                   |                            |19e37ff016d
         Resolution|---                         |FIXED
             Status|REPORTED                    |RESOLVED

--- Comment #1 from Albert Astals Cid <aa...@kde.org> ---
Git commit 78cddbf15c39cd81dab8eceadbd5619e37ff016d by Albert Astals Cid, on
behalf of Azhar Momin.
Committed on 13/05/2025 at 22:13.
Pushed by aacid into branch 'master'.

Add LZIP compression support to KArchive

- Implement KLzFilter for LZIP compression and decompression.
- Update KCompressionDevice to recognize lz files.
- Modify KTar to handle LZIP compressed tar files.
- Update autotests to include LZIP support.

LZIP uses a simple format consisting of a header, an LZMA stream, and a trailer
for each member:

```
  +--+--+--+--+----+----+=============+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  | ID string | VN | DS | LZMA stream | CRC32 |   Data size   |  Member size  |
  +--+--+--+--+----+----+=============+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
```

This implementation parses and writes single-member archives. It can also
handle multi-member archives when built with liblzma ≥ 5.4.0.

Reference: https://www.nongnu.org/lzip/manual/lzip_manual.html

M  +24   -17   autotests/CMakeLists.txt
M  +2    -0    autotests/karchivetest.cpp
M  +11   -0    autotests/kcompressiondevicetest.cpp
M  +1    -0    autotests/kcompressiondevicetest.h
M  +17   -0    autotests/kfiltertest.cpp
M  +1    -0    autotests/kfiltertest.h
M  +1    -1    src/CMakeLists.txt
M  +17   -0    src/kcompressiondevice.cpp
M  +2    -0    src/kcompressiondevice.h
A  +392  -0    src/klzfilter.cpp     [License: LGPL(v2.0+)]
A  +48   -0    src/klzfilter.h     [License: LGPL(v2.0+)]
M  +5    -0    src/ktar.cpp
M  +2    -1    src/ktar.h

https://invent.kde.org/frameworks/karchive/-/commit/78cddbf15c39cd81dab8eceadbd5619e37ff016d

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

Reply via email to