nih-at / libzip

A C library for reading, creating, and modifying zip archives.
https://libzip.org/
Other
857 stars 274 forks source link

Add support for XZ/LZMA compression #28

Closed rthomsen closed 5 years ago

0-wiz-0 commented 6 years ago

That is already a todo item. Are you planning on submitting a patch?

gnfalex commented 5 years ago

Patch for 1.5.2 (can't compile master branch due to https://github.com/nih-at/libzip/issues/111) Compiled in MinGW-w64 with XZ 5.2.4, tested in MS Windows Vista x32. 7z 19.00 decompress zip+XZ succesfully - but with warning "Headers Error". ziptool succesfully work with archives, created by "7z a archive.zip -tzip -mm=xz files " 0001-Fix-BZip2-libs-location.patch - for linking with libraries found with CMAKE Find_Package or pointed by ZLIB_LIBRARY / BZIP2_LIBRARIES

gnfalex commented 5 years ago

Sorry, looks like FF 52 have a great problems with attaching files and editing comments... External link - https://drive.google.com/open?id=1duuFSBWnYBfzumGnyzJPKvAWulxcaxxq

dillof commented 5 years ago

Thanks for the patch, looks good on first glance. I'll have a closer look at it later.

0-wiz-0 commented 5 years ago

I've cleaned it up a bit and merged it. Thank you very much for your contribution!

LZMA/LZMA2 next? ;)