X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SARE_SUB_OBFU_Z,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49BDEF3E.8000506@cwilson.fastmail.fm>
Date: Mon, 16 Mar 2009 02:18:38 -0400
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] [1.7] New: {xz/liblzma0/liblzma-devel}-4.999.8beta-10
References: <announce.20090316032236.EE1582C639@heartbeat2.messagingengine.com> <49BDCAF0.7010906@users.sourceforge.net>
In-Reply-To: <49BDCAF0.7010906@users.sourceforge.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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/

