openterm
openterm copied to clipboard
Extract .7z files support (LZMA)
It seems that OpenTerm uses libarchive 2.8.3 to extract archives now, and libarchive has been able to extract 7-Zip since 3.0. Therefore it should be able to support 7-Zip files if it upgrades its libarchive.
Sent with GitHawk
I think it's a bit more subtle than that. LZMA support in libarchive requires lzma.h and liblzma to be both available on the platform. The iOS development environment provides the latter, but not the former.
I just gave it a try, and simply copying lzma headers from elsewhere is not enough to make LZMA extraction work (I tried with tar and gzip). If anyone wants to try, it's just a matter of enabling flags, adding the right headers and linking: https://github.com/holzschu/ios_system