[Pkg-phototools-devel] libgphoto2 udev: Nikon D700

Cyril Brulebois kibi at debian.org
Sun May 3 19:33:29 UTC 2009


Frederic Peters <fpeters at debian.org> (30/04/2009):
> > Thank you for maintaining libgphoto2's debian package.  I recently
> > tried to connect my Nikon D700 camera, which uses PTP.  I had to amend
> > libgphoto2.rules to include the line:
> > 
> > ATTRS{idVendor}=="04b0", ATTRS{idProduct}=="0422", MODE="0664", GROUP="plugdev"
> > 
> > However, I fear this change will be clobbered next time I update
> > libgphoto2.

If you only changed the file under /etc, that's a configuration file,
which means that dpkg will see that you modified it, and prompt you to
know whether you want to keep yours, install the new one (shipped by the
new package), or examine the situation. So that should be safe.

If you would have changed it in ./camlibs/ptp2/library.c, that would be
lost on upgrade (but with more recent versions, that camera got added,
as pointed out by Frederic).

> > Please tell me what to do, thanks for your time,

I'd keep things as they are. Once you upgrade to a version ≥ 2.4.3, you
could let dpkg overwrite your changes with the new rules file; and if
that breaks, report a bug. ;)

> libgphoto2 is now maintained by the photo tools team (in CC), and I am
> pretty much inactive those days, the best solution would be to file a
> bug against libgphoto2 so the issue can be tracked appropriately.

Indeed. Although the only action would be to mark the bug as resolved in
a particular version.

> However I had a quick look and this camera has already been added to
> libgphoto2 (in r11260, August 2008) and is thus part of all packages
> since 2.4.3.  Lenny shipped with 2.4.1, I don't know if any backport
> are planned.

Backports are planned, but we need the current package to enter testing
first, and it's caught in the libtool transition currently. I could
backport 2.4.4 though, but there are some bugs fixed in 2.4.5, so… let's
wait a bit if there's no hurry?

Mraw,
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20090503/ac10526b/attachment.pgp>


More information about the Pkg-phototools-devel mailing list