Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641378 - media-gfx/digikam-5.7.0 w/ kde-apps/kcalcore-17.12.0 - no matching function for call to ‘KCalCore::MemoryCalendar::MemoryCalendar(QString)’
Summary: media-gfx/digikam-5.7.0 w/ kde-apps/kcalcore-17.12.0 - no matching function f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-16 14:04 UTC by younky.yang
Modified: 2017-12-18 18:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix compile against kcalcore-17.12.0 (kcalcore-17.12.0.patch,1.47 KB, patch)
2017-12-18 18:17 UTC, Jaak Ristioja
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description younky.yang 2017-12-16 14:04:53 UTC
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")));
                                                                                                 ^
Comment 1 Andreas Sturmlechner gentoo-dev 2017-12-18 18:06:20 UTC
*** Bug 641594 has been marked as a duplicate of this bug. ***
Comment 2 Jaak Ristioja 2017-12-18 18:17:02 UTC
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.
Comment 3 Andreas Sturmlechner gentoo-dev 2017-12-18 18:36:44 UTC
Unfortunately this needs several patches from upstream.
Comment 4 Larry the Git Cow gentoo-dev 2017-12-18 18:48:29 UTC
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(+)