[97101] trunk/dports/kde/digikam

eborisch at macports.org eborisch at macports.org
Mon Aug 27 07:22:55 PDT 2012


Revision: 97101
          https://trac.macports.org/changeset/97101
Author:   eborisch at macports.org
Date:     2012-08-27 07:22:52 -0700 (Mon, 27 Aug 2012)
Log Message:
-----------
digikam: Applied patch from maintainer to support libgphoto 2.5.0. Closes #35794.

Modified Paths:
--------------
    trunk/dports/kde/digikam/Portfile

Added Paths:
-----------
    trunk/dports/kde/digikam/files/
    trunk/dports/kde/digikam/files/patch-for-libgphoto2.5.diff

Modified: trunk/dports/kde/digikam/Portfile
===================================================================
--- trunk/dports/kde/digikam/Portfile	2012-08-27 13:34:36 UTC (rev 97100)
+++ trunk/dports/kde/digikam/Portfile	2012-08-27 14:22:52 UTC (rev 97101)
@@ -6,7 +6,7 @@
 
 name                digikam
 version             2.8.0
-revision            0
+revision            1
 categories          kde kde4
 license             GPL-2+
 maintainers         hyper-world.de:jan openmaintainer
@@ -23,6 +23,8 @@
 
 use_bzip2           yes
 
+patchfiles          patch-for-libgphoto2.5.diff
+
 # Dependencies of Digikam and kipi-plugins.
 depends_lib-append  port:kdelibs4 \
                     port:libkdcraw \

Added: trunk/dports/kde/digikam/files/patch-for-libgphoto2.5.diff
===================================================================
--- trunk/dports/kde/digikam/files/patch-for-libgphoto2.5.diff	                        (rev 0)
+++ trunk/dports/kde/digikam/files/patch-for-libgphoto2.5.diff	2012-08-27 14:22:52 UTC (rev 97101)
@@ -0,0 +1,22 @@
+--- core/utilities/cameragui/devices/gpcamera.cpp.orig	2012-08-26 19:24:51.000000000 +0200
++++ core/utilities/cameragui/devices/gpcamera.cpp	2012-08-27 00:06:15.000000000 +0200
+@@ -1331,6 +1331,8 @@
+ 
+     errorCode = gp_camera_folder_put_file(d->camera,
+                                           QFile::encodeName(folder).constData(),
++                                          QFile::encodeName(itemName).constData(),
++                                          GP_FILE_TYPE_NORMAL,
+                                           cfile,
+                                           d->status->context);
+ 
+@@ -1651,7 +1653,9 @@
+         for (int i = 0 ; i < numPorts ; ++i)
+         {
+             gp_port_info_list_get_info(list, i, &info);
+-            plist.append(info.path);
++            char *path;
++            gp_port_info_get_path(info, &path);
++            plist.append(path);
+         }
+     }
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120827/4d2416b3/attachment.html>


More information about the macports-changes mailing list