1 |
On 5/4/09, Paul Hartman <paul.hartman+gentoo@×××××.com> wrote: |
2 |
> On Mon, May 4, 2009 at 6:43 AM, Arttu V. <arttuv69@×××××.com> wrote: |
3 |
>> Anyone got a clue why *not* setting CAMERAS won't build drivers for |
4 |
>> all cameras as claimed several times in the libgphoto2 ebuild? |
5 |
> |
6 |
> src_configure() in the libgphoto2 ebuild looks like it handles the |
7 |
> none=all logic. |
8 |
|
9 |
That was the same part I glimpsed over earlier in wonder, and the |
10 |
ebuild didn't really answer my question as it doesn't even touch the |
11 |
CAMERAS variable (only the local lower case "cameras" and also |
12 |
"IUSE_CAMERAS"). |
13 |
|
14 |
But after a fair bit of grepping around portage's sources I have now |
15 |
come up with a theory that satisfies my curiosity for now. I think the |
16 |
problem is my poor brain not understanding the somewhat misleading |
17 |
printout from emerge -p libgphoto2. It has a minus sign in front of |
18 |
all CAMERAS drivers listed, so trying to be logical I assumed it |
19 |
wouldn't emerge any of them. |
20 |
|
21 |
emerge -p lirc does something similar with LIRC_DEVICES. It is another |
22 |
example of these USE_EXPANDed (learned a new word of gentoo-eeze while |
23 |
grepping :) ) variables, *does* show the string "all" amongst its list |
24 |
of LIRC_DEVICES while the actual device driver names are also still |
25 |
preceded by minuses. |
26 |
|
27 |
But now I've found out that that's just due to "all" being an extra |
28 |
option specifically listed in /usr/portage/desc/lirc_devices.desc. |
29 |
/usr/portage/desc/cameras.desc doesn't have such an "all" line, so |
30 |
emerge won't print "all" for CAMERAS, only all the drivers' names with |
31 |
minuses in front. Ergo, my confusion follows from the premises? |
32 |
|
33 |
Sorry about the confusion and thanks for the replies. But is this a |
34 |
bug or a feature? Am I the only one who has fallen for this? |
35 |
|
36 |
-- |
37 |
Arttu V. |