Summary: | failed build against libgphoto2-2.5.0 [patch] | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | nucleo <nucleo> |
Component: | Import-Gphoto2 | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | benv-kde.org, caulier.gilles, dodonvictor, johu, kevin.kofler, marcus, melko, rdieter, wazery |
Priority: | NOR | ||
Version: | 2.7.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | commit b224133f53e8428da7162c604374c7f73283d215 | Version Fixed In: | 2.9.0 |
Sentry Crash Report: | |||
Attachments: |
0001-support-both-libgphoto2-2.5.0-and-2.4.0.patch
updated and tested libgphoto 2.5/2.4 patch |
Description
nucleo
2012-07-12 18:15:06 UTC
confirmed Note that KDE 4.8.97 used in thi build. Just tried this on slackware64-current with KDE 4.8.4 (and libgphoto2-2.5.0) with the same result. Since this new libgphoto2 version finally gets rid of the silly 1024 files per directory limit I'd say it's a very welcome upgrade. Created attachment 72725 [details]
0001-support-both-libgphoto2-2.5.0-and-2.4.0.patch
please try this patch against "core" part of digikam.
it tries to handle both 2.4 and 2.5.
(untested yet... will do this in some minutes) Patch from Comment 4 fixes build but not tested how digikam works. http://kojipkgs.fedoraproject.org//packages/digikam/2.7.0/5.fc18/data/logs/i686/build.log it builds, but there is some GPPortInfo lifetime handling off, i need to do some more fixes there Created attachment 73176 [details]
updated and tested libgphoto 2.5/2.4 patch
this patch should work with both 2.4 and 2.5.
i had to rewrite findConnectedUSBCamera a bit ;)
(patch is against master ... if any other branch is required i can rebase it there too if necessary ;) Thanks Marcus. git/master is for production. next 2.9.0 will be last stable release without any major changes. Your current patch will be applied into. There is another 3.0.0 branch where similar patch must be applied, and where we working in-deep currently. Look here for details : http://community.kde.org/Digikam/GSoC2012#Repositories_Branching_and_Dates If you can provide a patch for this branch, it will be great. Best Gilles Caulier applies as-is to 3.0.0 branch, but I fail to compile the branch, error is this: /home/marcus/projects/digikam-sc/core/digikam/utils/componentsinfo.h:81:71: error: ‘class KIPI::PluginLoader’ has no member named ‘kipiPluginsVersion’ taking that back, it needs utilities/importui/backend/gpcamera.cpp not seen ... (In reply to comment #11) > applies as-is to 3.0.0 branch, but I fail to compile the branch, error is > this: > > /home/marcus/projects/digikam-sc/core/digikam/utils/componentsinfo.h:81:71: > error: ‘class KIPI::PluginLoader’ has no member named ‘kipiPluginsVersion’ digiKam from development/3.0.0 branch requires libkipi 2.0.0 which you can get from development/2.0.0 branch from libkipi repo. Victor. Islam, I CC you about 3.0.0 branch where Marcus try to apply patch about Gphoto 2.5.0 support... Gilles Caulier I applied it to development/3.0.0 signed with Marcus Meissner name. Git commit 1e3fe5480e5311d4d564da79c6eee7ecf7cac774 by Gilles Caulier. Committed on 21/08/2012 at 09:23. Pushed by cgilles into branch 'master'. apply patch from Marcus Meissner to support libgphoto 2.5.0 API M +23 -11 CMakeLists.txt M +5 -1 NEWS M +3 -0 digikam/utils/config-digikam.h.cmake M +60 -62 utilities/cameragui/devices/gpcamera.cpp http://commits.kde.org/digikam/1e3fe5480e5311d4d564da79c6eee7ecf7cac774 Islam ... one question, is "utiltiies/importui/backend/gpcamera.cpp" or utilities/cameragui/devices/gpcamera.cpp active? or both? I see you merged it into importui/backend/gpcamera.cpp, which is probably the newer one? Marcus, Islam, who work to revamp digiKam camera GUI for 3.0.0 through GoSC 2012 project, as just renamed cameragui dir to importui... gpcamera.cpp files from 2.x and 3.x are the same in fact... Gilles Caulier |