lzip-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lzip-bug] LZIP codec for 7zip in p7zip-16.02


From: Antonio Diaz Diaz
Subject: Re: [Lzip-bug] LZIP codec for 7zip in p7zip-16.02
Date: Sun, 16 Apr 2017 14:02:43 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]