Hello,

Inspired by the other digicam thread I took a quick look at an older
problem of mine, namely getting libgphoto2 to compile drivers for all
cameras.

Anyone got a clue why *not* setting CAMERAS won't build drivers for
all cameras as claimed several times in the libgphoto2 ebuild?

All I see is that CAMERAS variable is not handled directly by the
ebuild (but maybe libgphoto2's Makefiles or build scripts do something
with it?), and when I comment out CAMERAS="canon" line from
/etc/make.conf, then *poof* libgphoto2 plans to drop even that only
driver I currently have compiled:

[ebuild   R   ] media-libs/libgphoto2-2.4.3  USE="exif hal nls
-bonjour -doc" CAMERAS="-adc65 -agfa_cl20 -aox -barbie -canon*
-casio_qv -clicksmart310 -digigr8 -digita -dimagev -dimera3500
-directory -enigma13 -fuji -gsmart300 -hp215 -iclick -jamcam -jd11
-jl2005a -kodak_dc120 -kodak_dc210 -kodak_dc240 -kodak_dc3200
-kodak_ez200 -konica -konica_qm150 -largan -lg_gsm -mars -mustek
-panasonic_coolshot -panasonic_dc1000 -panasonic_dc1580
-panasonic_l859 -pccam300 -pccam600 -polaroid_pdc320 -polaroid_pdc640
-polaroid_pdc700 -ptp2 -ricoh -ricoh_g3 -samsung -sierra -sipix_blink
-sipix_blink2 -sipix_web2 -smal -sonix -sony_dscf1 -sony_dscf55
-soundvision -spca50x -sq905 -stv0674 -stv0680 -sx330z -template
-topfield -toshiba_pdrm11" 5,052 kB

Something's fishy with this and I just haven't had the time to
investigate further. A quick glance-comparison shows libgphoto2 ebuild
missing the critical lines actually doing something with the CAMERAS
variable -- while for similar variable settings lines exists for,
e.g., lirc (LIRC_DEVICES) and alsa-driver (ALSA_CARDS) in their
respective ebuilds.

After taking a two-minute look at the ebuilds I just have the
question: is it supposed to work, does leaving it empty work for
someone?

-- 
Arttu V.

Reply via email to