Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] tar 1.20

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] tar 1.20
  • Date: Wed, 16 Apr 2008 21:16:36 -0700

On Tuesday, April 15 2008 21:00:04 Javier Vasquez wrote:
> Hi,
>
> As of Today's latest test grimoire update the tar spell requires a
> patch to support lzma-utils:
>
> #default_pre_build &&
> cd $SOURCE_DIRECTORY
>
> if is_depends_enabled $SPELL lzma-utils; then
> patch -p1 < $SPELL_DIRECTORY/tar_lzma.diff
> fi
>
> Looking at the patch itself it looks like it supposes that lzma is not
> supported at all by tar, see for example at tar_lzma.diff:
>
> - ct_bzip2
> + ct_bzip2,
> + ct_lzma
> };
>
> However after the last test grimoire upgrade, that support seems to be
> already included:
>
> buffer.c
> ----------
> enum compress_type {
> ct_none,
> ct_compress,
> ct_gzip,
> ct_bzip2,
> ct_lzma
> };
> ...
> tar.c
> ------
> case LZMA_OPTION:
> set_use_compress_program_option ("lzma");
> ...
>
> Looks like the patch is NO longer required. Actually the patch fails
> if applied. So although I have lzma-utils installed, answering NO to
> its usage for the tar spell cast is the best option right now.
>
> Is this known already? I see no comments on this yet, neither a bug
> filed...
>
> Thanks,

Vlad Glagolev fixed this in test with commit
ccf7d6959bce5706962e9d15bfd288e7e5915746 this morning. :)

-sandalle

--
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | http://counter.li.org/ #196285

Attachment: signature.asc
Description: This is a digitally signed message part.




Archive powered by MHonArc 2.6.24.

Top of Page