[Pkg-phototools-devel] Bug#286886:
Nicolas VIVIEN
progweb at free.fr
Thu Jul 22 20:29:46 UTC 2010
Package: gphoto2
Version: 2.4.5-2
Severity: normal
Hi,
I have just seen the same issue ! I can't more delete photos on my PTP camera
:(
I have read the gphoto2 code and compared with the previous release. And it's a
regression.
I have checked, and it's fixed in the new gphoto2 release.
For CANON camera users, to make quickly :
$ cd /usr/local/src/
$ mkdir gphoto2
$ cd gphoto2
$ apt-get source libgphoto2-2
$ apt-get build-deps libgphoto2-2
$ cd libgphoto2-2
Then, apply the modification :
--- camlibs/canon/library.c.old 2010-07-22 22:26:58.000000000 +0200
+++ camlibs/canon/library.c 2010-07-22 22:27:28.000000000 +0200
@@ -1101,6 +1101,8 @@
(*sinfos)->capacitykbytes = camera->pl->cached_capacity / 1024;
(*sinfos)->fields |= GP_STORAGEINFO_FREESPACEKBYTES;
(*sinfos)->freekbytes = camera->pl->cached_available / 1024;
+ (*sinfos)->fields |= GP_STORAGEINFO_ACCESS;
+ (*sinfos)->access = GP_STORAGEINFO_AC_READONLY_WITH_DELETE;
return GP_OK;
}
And rebuild package :
$ debuild -us -uc
Otherwise, we have to wait a new package release.
Regards,
Nicolas
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.34.1 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gphoto2 depends on:
ii libaa1 1.4p5-38 ascii art library
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libcdk5 5.0.20060507-2 C-based curses widget library
ii libexif12 0.6.19-1 library to parse EXIF files
ii libgphoto2-2 2.4.6-1 gphoto2 digital camera library
ii libgphoto2-port0 2.4.6-1 gphoto2 digital camera port librar
ii libjpeg62 6b1-1 The Independent JPEG Group's JPEG
ii libncurses5 5.7+20100313-2 shared libraries for terminal hand
ii libpopt0 1.16-1 lib for parsing cmdline parameters
ii libreadline5 5.2-7 GNU readline and history libraries
gphoto2 recommends no packages.
Versions of packages gphoto2 suggests:
ii gthumb 3:2.11.4-3 an image viewer and browser
ii gtkam 0.1.17-1 application for retrieving media f
-- no debconf information
More information about the Pkg-phototools-devel
mailing list