X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 	tests=AWL,BAYES_00,HK_OBFDOM,SARE_SUB_OBFU_Z,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Message-ID: <49D4B02C.20600@byu.net>
Date: Thu, 02 Apr 2009 06:31:40 -0600
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: cygport and xz (was 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
X-IsSubscribed: yes
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Yaakov (Cygwin/X) on 3/15/2009 9:43 PM:
> So if I'm reading this right, is the attached patch for cygport correct?
> 
> 
> Yaakov

> --- bin/cygport.in	(revision 6005)
> +++ bin/cygport.in	(working copy)
> @@ -602,9 +602,9 @@
>  			*.asc|*.md5|*.sig|*.sign)  continue ;;
>  			*.tar.bz2|*.tbz2|*.tar.bz|*.tbz) unpack_cmd="tar jxf" ;;
>  			*.tar.gz|*.tgz|*.tar.Z) unpack_cmd="tar zxf" ;;
> -			*.tar.lzma)
> -				check_prog_req lzma
> -				unpack_cmd="tar --lzma -xf"
> +			*.tar.lzma|*.tar.xz)
> +				check_prog_req xz
> +				unpack_cmd="tar --xz -xf"
>  				;;
>  			*.tar.lzo)
>  				check_prog_req lzop

Yes (or you could use the shorter unpack_cmd="tar Jxf").  In fact, I had
to apply this to my local cygport in order to build m4-1.4.13-1 from the
upstream .xz tarball.  It would be nice to see a new cygport release with
this made official.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknUsCwACgkQ84KuGfSFAYDoPACgx+iNcgUXcFokWhJqmokUhJlV
0ysAniPYd4qAGSFBsF7naPzgC1OxwlG8
=PZ3/
-----END PGP SIGNATURE-----

--
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/

