https://bugs.kde.org/show_bug.cgi?id=447421
Albert Astals Cid 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 ---
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-0autotests/karchivetest.cpp
M +11 -0autotests/kcompressiondevicetest.cpp
M +1-0autotests/kcompressiondevicetest.h
M +17 -0autotests/kfiltertest.cpp
M +1-0autotests/kfiltertest.h
M +1-1src/CMakeLists.txt
M +17 -0src/kcompressiondevice.cpp
M +2-0src/kcompressiondevice.h
A +392 -0src/klzfilter.cpp [License: LGPL(v2.0+)]
A +48 -0src/klzfilter.h [License: LGPL(v2.0+)]
M +5-0src/ktar.cpp
M +2-1src/ktar.h
https://invent.kde.org/frameworks/karchive/-/commit/78cddbf15c39cd81dab8eceadbd5619e37ff016d
--
You are receiving this mail because:
You are watching all bug changes.