when you start emerging libgphoto2 then you get a message: * All camera drivers will be built since you did not specify * via the CAMERAS variable what camera you use. * libgphoto2 supports: all adc65 agfa-cl20 aox barbie canon casio clicksmart310 digigr8 digita dimera directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak konica largan lg_gsm mars minolta mustek panasonic pccam300 pccam600 polaroid ptp2 ricoh samsung sierra sipix smal sonix sonydscf1 sonydscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba libgphoto2 is almost always emerged as a dependency. most users don't see this message. a lot of ebuilds use use_expand for hardware related selection e.g INPUT_DEVICES or VIDEO_CARDS this way it is possible to track these possibilities upfront and avoid duplication with other camera related ebuilds.
Created attachment 95035 [details, diff] use_expand.patch I would also like to see libgphoto2 to use USE_EXPAND. It makes the selection more visible, is the de-facto standard and ensures that it gets rebuilt when --newuse is used and something changed. Attached is a patch which does everything needed. Note that you will have to discuss the addition of CAMERAS to the list of USE_EXPAND variables on gentoo-dev before applying this patch. Also not that I did not test it yet, that's up to you ;)
I tried the proposed patch on my system and all worked fine. I hope that this will be added in Portage.
ping. Alastair, if you don't object within one week (or do it yourself of course), I will do this whenever I get to it.
Well... A week passed... :) Simon... Please don't modify ebuild, refer to bug#157765. And I think you have a missing space in USE_EXPAND. Any time table? Since Alastiar seems not responing at all!
> Any time table? > Since Alastiar seems not responing at all! Yes. Personally I won't do this until I have access to my devbox again, which is in February. Feel free to do it, though. OT for Alon: Did you see the mail I sent you?
No response from list, I guess nobody mind... :)
(In reply to comment #6) > No response from list, I guess nobody mind... :) > Thanks a lot Alon, it's really appreciated!