delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/16/01:19:03

X-Recipient: archive-cygwin AT delorie DOT 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 AT cwilson DOT fastmail DOT 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 AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] [1.7] New: {xz/liblzma0/liblzma-devel}-4.999.8beta-10
References: <announce DOT 20090316032236 DOT EE1582C639 AT heartbeat2 DOT messagingengine DOT com> <49BDCAF0 DOT 7010906 AT users DOT sourceforge DOT net>
In-Reply-To: <49BDCAF0.7010906@users.sourceforge.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019