[Digikam-devel] getSupportedPorts
Greg Lee
greg at ling.lll.hawaii.edu
Thu May 8 22:22:19 BST 2008
There is an incompatibility with the svn version
of libgphoto2 which turns up in three places: once
in GPCamera::getSupportedPorts in
digikam-0.9.4-beta4/digikam/utilities/cameragui/gpcamera.cpp
and in two places in kipi-plugins.
I don't know if the following patch is correct, but it
compiles:
--- gpcamera.cpp.orig 2008-05-08 10:37:20.000000000 -1000
+++ gpcamera.cpp 2008-05-08 10:42:44.000000000 -1000
@@ -1090,6 +1090,8 @@
{
GPPortInfoList *list;
GPPortInfo info;
+ char **path;
+
plist.clear();
@@ -1109,7 +1111,9 @@
for (int i = 0 ; i < numPorts ; i++)
{
gp_port_info_list_get_info( list, i, &info );
- plist.append( info.path );
+ gp_port_info_get_path (info, path);
+ //plist.append( info.path );
+ plist.append( *path );
}
}
Very similar functions are in kipi-plugins/kameraklient/
in gpcamera.cpp and gpiface.cpp and have the same problem.
--
Greg
More information about the Digikam-devel
mailing list