Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 220899

Summary: app-arch/lzma-utils: make need for C++ optional
Product: Gentoo Linux Reporter: Ulrich Müller <ulm>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: enhancement CC: esigra, leio
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://archives.gentoo.org/gentoo-dev/msg_db1f0266707ce070d0362272c308d26f.xml
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Changes for lzma-utils-4.32.5.ebuild
lzma-utils-4.32.5-no-cxx.patch

Description Ulrich Müller gentoo-dev 2008-05-08 11:37:37 UTC
Following the recent discussion in -dev, here is an ebuild and a patch to disable all pieces that require C++ support.

Tested with:
   tar --use-compress-program=/usr/bin/lzmadec -tvf coreutils-6.11.tar.lzma
   lzmadec <coreutils-6.11.tar.lzma | tar -tvf -
Comment 1 Ulrich Müller gentoo-dev 2008-05-08 11:38:20 UTC
Created attachment 152445 [details, diff]
Changes for lzma-utils-4.32.5.ebuild
Comment 2 Ulrich Müller gentoo-dev 2008-05-08 11:38:45 UTC
Created attachment 152447 [details, diff]
lzma-utils-4.32.5-no-cxx.patch
Comment 3 SpanKY gentoo-dev 2008-05-10 08:36:04 UTC
you cant run autotools in lzma-utils, so i posted a patch containing the generated differences

i also added a wrapper script "lzma" so that packages doing `lzma -dc` will still work (like portage)

thanks for the patch, in the tree

http://sources.gentoo.org/app-arch/lzma-utils/lzma-utils-4.32.5.ebuild?r1=1.8&r2=1.9
Comment 4 Ulrich Müller gentoo-dev 2008-05-10 10:04:13 UTC
(In reply to comment #3)
> i also added a wrapper script "lzma" so that packages doing `lzma -dc`
> will still work (like portage)

Hm, also support for "lzma -d" would be useful since tar calls it like this.

   elif [ "$1" = "-d" ] ; then
          lzmadec

(Or maybe cleaner to convert to a case statement.)
Comment 5 SpanKY gentoo-dev 2008-05-10 10:38:30 UTC
thanks, ive done both of those things

http://sources.gentoo.org/app-arch/lzma-utils/files/lzma-nocxx.sh?r1=1.1&r2=1.2