[Momonga-devel.ja:01052] Re: gphoto2 libgphoto2
- From: Kazuhiko <kazuhiko@xxxxxxxxxx>
- Date: Tue, 10 Dec 2002 00:06:49 +0900
かずひこです。
At Mon, 09 Dec 2002 23:18:33 +0900,
Yuya Yamaguchi wrote:
> bebe です。
こんばんは。
> gphoto2 のバージョンを 2.1.1 に上げて、
> gphoto2-2.1.1-1m として commit しました。
>
> オリジナルのバージョンが 2.1.1 に上がるに伴ない、ソースコードの配布形
> 態が変わったので、パッケージングもそれに合わせて変更になっています。
mph-get upgrade でこんな風になりました。
(snip)
2:gphoto2 ########################################### [100%]
Usage: gphoto2 [--usage] [--debug] [--quiet] [--force-overwrite]
[--list-cameras] [--list-ports] [--stdout] [--stdout-size]
[--auto-detect] [--port=path] [--speed=speed] [--camera=model]
[--filename=filename] [--usbid=usbid] [-f folder] [--no-recurse]
[-m STRING] [-r STRING] [-p STRING] [-t STRING] [--get-raw-data=STRING]
[--get-all-raw-data] [--get-audio-data=STRING] [--get-all-audio-data]
[-d STRING] [-u STRING] [--capture-preview] [--capture-image]
[--capture-movie] [--capture-sound] [--show-exif=STRING]
[--show-info=STRING] [--summary] [--manual] [--about] [--shell]
2 packages are installed.
これは、gphoto2.spec の
%post
# add supported cameras to /etc/hotplug/usb.usermap
grep -v '^usbcam' /etc/hotplug/usb.usermap > /etc/hotplug/usb.usermap.tmp
/usr/bin/gphoto2 --print-usb-usermap >> /etc/hotplug/usb.usermap.tmp
mv /etc/hotplug/usb.usermap.tmp /etc/hotplug/usb.usermap
# register libraries
/sbin/ldconfig
%postun
# unregister libraries
/sbin/ldconfig
if [ "$1" = 0 ]; then
# remove supported cameras from /etc/hotplug/usb.usermap
grep -v '^usbcam' /etc/hotplug/usb.usermap > /etc/hotplug/usb.usermap.new
mv /etc/hotplug/usb.usermap.new /etc/hotplug/usb.usermap
fi
なのですが、--print-usb-usermap というオプションがなくなっているようです。
私は gphoto2 は使ったことがないので全然よくわかっていませんので、ちょっ
とその辺を確認して修正してくださいますか?>bebe さん
--
かずひこ@...
http://www.fdiary.net/~kazuhiko/diary/ http://www.momonga-linux.org/
http://openlab.jp/edict/ http://openlab.jp/efont/
http://www.gk-kyoto.com/ http://www.univehicle.net/