kcalcore 17.12 changed the constructor of MemoryCalendar which break the build of digikam 5.7.0. the error is as below. [ 52%] Building CXX object utilities/assistants/calendar/CMakeFiles/calendar_src.dir/print/calsettings.cpp.o /data/portage/media-gfx/digikam-5.7.0-r2/work/digikam-5.7.0/core/utilities/assistants/calendar/print/calsettings.cpp: 在成员函数‘void Digikam::CalSettings::loadSpecial(const QUrl&, const QColor&)’中: /data/portage/media-gfx/digikam-5.7.0-r2/work/digikam-5.7.0/core/utilities/assistants/calendar/print/calsettings.cpp:293:97: 错误:no matching function for call to ‘KCalCore::MemoryCalendar::MemoryCalendar(QString)’ KCalCore::MemoryCalendar::Ptr memCal(new KCalCore::MemoryCalendar(QString::fromLatin1("UTC"))); ^
*** Bug 641594 has been marked as a duplicate of this bug. ***
Created attachment 510774 [details, diff] Patch to fix compile against kcalcore-17.12.0 Here's a patch. Might not work when building against other versions kcalcore.
Unfortunately this needs several patches from upstream.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68dc4f7818a96861e2962f3e5e3212aac7e9f074 commit 68dc4f7818a96861e2962f3e5e3212aac7e9f074 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2017-12-18 18:37:38 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2017-12-18 18:48:18 +0000 media-gfx/digikam: Fix build/runtime w/ >=kde-apps/kcalcore-17.12.0 Closes: https://bugs.gentoo.org/641594 Closes: https://bugs.gentoo.org/641378 Package-Manager: Portage-2.3.19, Repoman-2.3.6 media-gfx/digikam/digikam-5.7.0-r3.ebuild | 175 +++++++++++++++++++++ .../digikam/files/digikam-5.7.0-kcalcore-1.patch | 44 ++++++ .../digikam/files/digikam-5.7.0-kcalcore-2.patch | 79 ++++++++++ 3 files changed, 298 insertions(+)