Hi.

libgphoto-2.3.0 was just released. A coincidence, because I wasn't asking 
because of the new version. But as it's out, I tried it.

> Now I looked again, and unfortunately, the udev rules generator kind
> of sucks. But I think an sed can get the permissions you want.

Right, the other command doesn't work for me.

>
> /usr/lib/libgphoto2/print-camera-list hal-fdi > \
>   /usr/share/hal/fdi/information/10freedesktop/10-camera-libgphoto2.fdi
> /usr/lib/libgphoto2/print-camera-list hal-fdi-device > \
>  
> /usr/share/hal/fdi/information/10freedesktop/10-camera-libgphoto2-device.fd
>i
>
> /usr/lib/libgphoto2/print-camera-list udev-rules | sed
> 's/RUN+=.*/GROUP="camera"/' \
>   > /etc/udev/rules.d/30-libgphoto2.rules

Great, this works! You make things easy, man!

>
> I don't have a camera to test that on. I'm not exactly sure why the
> default udev rules with GROUP="usb" don't work.
>
> Also, watch out that libgphoto2 will overwrite your libltdl from
> libtool by default. Bad! You can disable it with
> --disable-ltdl-install --without-included-ltdl, but it still will use
> the ltdl.h header in the libltdl directory. You can squash that by
> passing INCLTDL="" to make.

And.. why bad? I can't decide by myself, as this is one of those libs that I 
installed just because some programs wanted it, but not because I thought it 
was great.


Thanks a lot.

        Alberto
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to