Opened 10 years ago

Last modified 10 years ago

#40866 new enhancement

gphoto2 2.5.2 add camera support

Reported by: da4ever@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gphoto2

Description

i've compared camera support in gphoto2 2.5.2 for mac and gphoto 2.4.11 for linux and linux version have much more configuration settings available for camera canon A510.

Attachments (1)

linux-and-mac-gphoto.txt (4.7 KB) - added by da4ever@… 10 years ago.
linux and mac gphoto2 comparation

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by da4ever@…

Attachment: linux-and-mac-gphoto.txt added

linux and mac gphoto2 comparation

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Keywords: gphoto2 removed
Summary: gphoto2 2.5.2 lacking camera supportgphoto2 2.5.2 add camera support
Type: defectenhancement
Version: 2.2.0

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Those aren't the same versions of gphoto, so I don't know if this difference is expected. You could ask the developers of gphoto how to get support for more cameras in gphoto on the Mac. If they say we need to change how we're configuring, building or installing gphoto, let us know so that we can make the appropriate change in the portfile.

comment:3 in reply to:  2 Changed 10 years ago by da4ever@…

Replying to ryandesign@…:

Those aren't the same versions of gphoto, so I don't know if this difference is expected. You could ask the developers of gphoto how to get support for more cameras in gphoto on the Mac. If they say we need to change how we're configuring, building or installing gphoto, let us know so that we can make the appropriate change in the portfile.

Before posting here i submitted issue to the developers of gphoto2, haven't got an answer yet. Here is my little research:

  • libgphoto2 v2.5.2 explicitly declares capabilities of the camera

(libgphoto2/camlibs/ptp2/cameras/canon-powershot-a510.txt)

  • libgphoto2 v2.4.13 queries camera for it's capabilities

(libgphoto2-2.4.13/camlibs/ptp2/ptp.c > uint16_t ptp_getdeviceinfo (PTPParams* params, PTPDeviceInfo* deviceinfo) (libgphoto2-2.4.13/camlibs/ptp2/ptp-pack.c > static inline void ptp_unpack_DI (PTPParams *params, unsigned char* data, PTPDeviceInfo *di, unsigned int datalen)
So yes, we have some logical and structural difference in these releases, and patching camera description should do the trick.

Yet gphoto2 v 2.4.11 (revision 96618) won't compile under 10.9 (lots of warnings few errors, broken directory structure).

Note: See TracTickets for help on using tickets.