#40866: gphoto2 2.5.2 add camera support --------------------------+-------------------------------- Reporter: da4ever@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gphoto2 | --------------------------+-------------------------------- Comment (by da4ever@…): Replying to [comment:2 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)[[BR]] 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). -- Ticket URL: <https://trac.macports.org/ticket/40866#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X