Gentoo Archives: gentoo-user

From: "Arttu V." <arttuv69@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] What's the deal with CAMERAS anyway?
Date: Mon, 04 May 2009 11:43:29
Message-Id: fecdbac60905040443u550b030fmca9d17393ce75451@mail.gmail.com
1 Hello,
2
3 Inspired by the other digicam thread I took a quick look at an older
4 problem of mine, namely getting libgphoto2 to compile drivers for all
5 cameras.
6
7 Anyone got a clue why *not* setting CAMERAS won't build drivers for
8 all cameras as claimed several times in the libgphoto2 ebuild?
9
10 All I see is that CAMERAS variable is not handled directly by the
11 ebuild (but maybe libgphoto2's Makefiles or build scripts do something
12 with it?), and when I comment out CAMERAS="canon" line from
13 /etc/make.conf, then *poof* libgphoto2 plans to drop even that only
14 driver I currently have compiled:
15
16 [ebuild R ] media-libs/libgphoto2-2.4.3 USE="exif hal nls
17 -bonjour -doc" CAMERAS="-adc65 -agfa_cl20 -aox -barbie -canon*
18 -casio_qv -clicksmart310 -digigr8 -digita -dimagev -dimera3500
19 -directory -enigma13 -fuji -gsmart300 -hp215 -iclick -jamcam -jd11
20 -jl2005a -kodak_dc120 -kodak_dc210 -kodak_dc240 -kodak_dc3200
21 -kodak_ez200 -konica -konica_qm150 -largan -lg_gsm -mars -mustek
22 -panasonic_coolshot -panasonic_dc1000 -panasonic_dc1580
23 -panasonic_l859 -pccam300 -pccam600 -polaroid_pdc320 -polaroid_pdc640
24 -polaroid_pdc700 -ptp2 -ricoh -ricoh_g3 -samsung -sierra -sipix_blink
25 -sipix_blink2 -sipix_web2 -smal -sonix -sony_dscf1 -sony_dscf55
26 -soundvision -spca50x -sq905 -stv0674 -stv0680 -sx330z -template
27 -topfield -toshiba_pdrm11" 5,052 kB
28
29 Something's fishy with this and I just haven't had the time to
30 investigate further. A quick glance-comparison shows libgphoto2 ebuild
31 missing the critical lines actually doing something with the CAMERAS
32 variable -- while for similar variable settings lines exists for,
33 e.g., lirc (LIRC_DEVICES) and alsa-driver (ALSA_CARDS) in their
34 respective ebuilds.
35
36 After taking a two-minute look at the ebuilds I just have the
37 question: is it supposed to work, does leaving it empty work for
38 someone?
39
40 --
41 Arttu V.

Replies

Subject Author
Re: [gentoo-user] What's the deal with CAMERAS anyway? Alexander Pilipovsky <alexander.pilipovsky@×××××.com>
Re: [gentoo-user] What's the deal with CAMERAS anyway? Paul Hartman <paul.hartman+gentoo@×××××.com>