[Digikam-devel] getSupportedPorts
Gilles Caulier
caulier.gilles at gmail.com
Sat May 10 08:22:01 BST 2008
Greg,
Thanks for your patch.
Please make a new file in bugzilla and create a new attachement with
your patch. Posting it to mailing list will be lost because it will
processed/tested later (currently, i'm busy to LGM 2008).
Thanks in advance
Gilles Caulier
2008/5/8 Greg Lee <greg at ling.lll.hawaii.edu>:
>
> 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
>
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
More information about the Digikam-devel
mailing list