Gentoo Archives: gentoo-dev

From: "Patrick Börjesson" <psychotical@×××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: RFC: auto-detection of unpack dependencies
Date: Tue, 15 Jul 2008 18:10:49
Message-Id: 20080715181030.GA603@nexon.nexus
In Reply to: [gentoo-dev] Re: RFC: auto-detection of unpack dependencies by "Tiziano Müller"
1 On 2008-07-15 21:40, Tiziano Müller uttered these thoughts:
2 > Marius Mauch wrote:
3 >
4 > > As a result of Cardoes earlier mail we talked a bit about possible
5 > > solutions in #gento-portage, and I suggested to let portage
6 > > automatically inject the deps based on SRC_URI pattern matching.
7 > > A mapping of extensions and their unpack deps would be kept in the tree
8 > > (e.g. mapping '.tar.bz2' to '( app-arch/tar app-arch/bzip2 )'
9 [snip]
10 > > So, is this something ebuild maintainers would like in general, or does
11 > > such a feature cause you nightmares?
12 >
13 > Yes. I think that's something which should be done manually.
14
15 Indeed, the correct solution would be to state the deps manually in each
16 ebuild that requires the dep. But in this case it would mean adjusting
17 the DEPEND string of pretty much the entire tree. Until such measures
18 are stated required, this would be a good middle ground, no?
19
20 The same thing would apply to gcc if all "real" depends were to be
21 required in all ebuilds, but that would pretty much have to be manually
22 stated since the PM wouldn't be able to judge that by automatic
23 measures. This, on the other hand, can (at least partially) be handled
24 automatically for the ebuild-devs on the PM side of things.
25
26 Patrick B
27
28 --
29 () The ASCII Ribbon Campaign - against HTML Email
30 /\ and proprietary formats.

Replies