1 |
On 03/03/2011 08:27 AM, Michael wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I'm playing around with writing a patch to allow emerge to automatically |
5 |
> resolve use deps. |
6 |
> |
7 |
> The basics appear to be working: |
8 |
> |
9 |
> Calculating dependencies... done! |
10 |
> [ebuild R ] x11-libs/qt-webkit-4.6.3-r1 USE="dbus exceptions pch* (- |
11 |
> aqua) -debug -kde*" 0 kB [0] |
12 |
> [ebuild N ] app-misc/mytest-1.0.0 USE="kde" 0 kB [1] |
13 |
> |
14 |
> however, not quite: |
15 |
> |
16 |
> The following USE changes are necessary to proceed: |
17 |
> #required by =app-misc/mytest-1.0.0, required by mytest (argument) |
18 |
> =x11-libs/qt-webkit-4.6.3-r1 pch |
19 |
> |
20 |
> |
21 |
> Any pointers in the right direction would be much appreciated. |
22 |
> |
23 |
> |
24 |
> -Michael |
25 |
|
26 |
It seems like you wouldn't have to modify the code that your patch |
27 |
modifies, since essentially what you want is --autounmask except that |
28 |
you want to skip the part about editing config files. Also note that |
29 |
there is an existing feature request to edit config files automatically: |
30 |
|
31 |
http://bugs.gentoo.org/show_bug.cgi?id=345775 |
32 |
-- |
33 |
Thanks, |
34 |
Zac |