Hello Sam, wrotycz wrote:
I tried to add your lzip support to p7zip-16.02 (newest one) but somehow didn't work. After compilation 7z does not recognize .lz files. $ 7z e blabla.lz Error: Can not open file as archive I applied patch manually (as automatic patch was rejected), obviously without `LzHandler.cpp', same like it was in 16.04 version but it didn't work. Any suggestions how to add this feature to p7zip? I attached resulting diff if it's any help.
Have you downloaded this[1] patch, and then followed the instructions in the file README_p7zip_lzip_patch[2]?
[1] http://download.savannah.gnu.org/releases/lzip/p7zip_16.02_lzip-1.tar.bz2
[2] -------------------------------------------------------------------- This patch adds lzip decompression (extract) support to p7zip. To apply the patch, first unpack the archive containing the patch (if you have not done so already): $ tar -xf p7zip_16.02_lzip-1.tar.bz2 Then copy the file '7za.exe.lz' to the 'check/test' directory in the p7zip_16.02 source: $ cp p7zip_16.02_lzip-1/7za.exe.lz p7zip_16.02/check/test/7za.exe.lz Then change to the directory containing the p7zip_16.02 source and apply the patch like this: $ cd p7zip_16.02 $ patch -p1 < ../p7zip_16.02_lzip-1/p7zip_16.02_lzip-1.diff Now you can run 'make' and, optionally, 'make test'. -------------------------------------------------------------------- Best regards, Antonio. _______________________________________________ Lzip-bug mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lzip-bug
