Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220899 - app-arch/lzma-utils: make need for C++ optional
Summary: app-arch/lzma-utils: make need for C++ optional
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://archives.gentoo.org/gentoo-dev...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-08 11:37 UTC by Ulrich Müller
Modified: 2009-12-27 16:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Changes for lzma-utils-4.32.5.ebuild (lzma-utils-4.32.5.ebuild.patch,960 bytes, patch)
2008-05-08 11:38 UTC, Ulrich Müller
Details | Diff
lzma-utils-4.32.5-no-cxx.patch (lzma-utils-4.32.5-no-cxx.patch,2.17 KB, patch)
2008-05-08 11:38 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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