diff options
Diffstat (limited to 'source/kde')
-rw-r--r-- | source/kde/FTBFSlog | 3 | ||||
-rw-r--r-- | source/kde/kde/patch/digikam.patch | 2 | ||||
-rw-r--r-- | source/kde/kde/patch/digikam/digikam.51efe295a222070743187af0367b0bf957879337.patch | 28 |
3 files changed, 33 insertions, 0 deletions
diff --git a/source/kde/FTBFSlog b/source/kde/FTBFSlog index 859555ed..1c1b8b23 100644 --- a/source/kde/FTBFSlog +++ b/source/kde/FTBFSlog @@ -1,3 +1,6 @@ +Tue Apr 26 19:35:10 UTC 2022 + kde/digikam: fix build with latest akonadi-contacts. Thanks to nobodino. ++--------------------------+ Mon Feb 7 20:57:55 UTC 2022 All packages tested and found to compile properly. +--------------------------+ diff --git a/source/kde/kde/patch/digikam.patch b/source/kde/kde/patch/digikam.patch new file mode 100644 index 00000000..a44206c2 --- /dev/null +++ b/source/kde/kde/patch/digikam.patch @@ -0,0 +1,2 @@ +# Fix build with recent akonadi-contacts: +cat $CWD/patch/digikam/digikam.51efe295a222070743187af0367b0bf957879337.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } diff --git a/source/kde/kde/patch/digikam/digikam.51efe295a222070743187af0367b0bf957879337.patch b/source/kde/kde/patch/digikam/digikam.51efe295a222070743187af0367b0bf957879337.patch new file mode 100644 index 00000000..a2933bc7 --- /dev/null +++ b/source/kde/kde/patch/digikam/digikam.51efe295a222070743187af0367b0bf957879337.patch @@ -0,0 +1,28 @@ +From 51efe295a222070743187af0367b0bf957879337 Mon Sep 17 00:00:00 2001 +From: Antonio Rojas <arojas@archlinux.org> +Date: Fri, 22 Apr 2022 19:13:28 +0200 +Subject: [PATCH] Fix build with akonadi-contacts 22.04 + +--- + core/utilities/extrasupport/addressbook/akonadiiface.cpp | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/core/utilities/extrasupport/addressbook/akonadiiface.cpp b/core/utilities/extrasupport/addressbook/akonadiiface.cpp +index 6a78863cf6..8e65a405da 100644 +--- a/core/utilities/extrasupport/addressbook/akonadiiface.cpp ++++ b/core/utilities/extrasupport/addressbook/akonadiiface.cpp +@@ -49,7 +49,11 @@ + #include <AkonadiCore/Item> + #endif + ++#if AKONADI_VERSION >= QT_VERSION_CHECK(5, 19, 80) ++#include <Akonadi/ContactSearchJob> ++#else + #include <Akonadi/Contact/ContactSearchJob> ++#endif + #include <KContacts/Addressee> + + #if defined(Q_OS_DARWIN) && defined(Q_CC_CLANG) +-- +GitLab + |