This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] [1.7] New: {xz/liblzma0/liblzma-devel}-4.999.8beta-10


Yaakov (Cygwin/X) wrote:

> 
> So if I'm reading this right, is the attached patch for cygport correct?

-			*.tar.lzma)
-				check_prog_req lzma
-				unpack_cmd="tar --lzma -xf"
+			*.tar.lzma|*.tar.xz)
+				check_prog_req xz
+				unpack_cmd="tar --xz -xf"

Not yet, because I'm not sure that GNU tar supports --xz yet.  You could
use '--use-compress-program=xz" though.

xz is be able to auto-detect the format of the compressed file (.lzma or
.xz) when decompressing.  However, to compress to .lzma, you need to
specify explicitly that you want the lzma format (xz format is the
default). There are two ways to do this:

xz --format=lzma ... other args ...

or use the lzma symlink

lzma ... other args ...

(Just in case you wanted to change the output tarball format...which you
can't yet, because setup.exe hasn't been taught about .xz. I plan to do
that soonish, with an ITP mingw-liblzma...)

--
Chuck

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]