From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/digikam/, media-gfx/digikam/files/
Date: Sat, 18 Dec 2021 17:42:07 +0000 (UTC) [thread overview]
Message-ID: <1639849133.61895f0899758028e72b7f9461177b34640e1683.asturm@gentoo> (raw)
commit: 61895f0899758028e72b7f9461177b34640e1683
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 18 17:36:15 2021 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 18 17:38:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61895f08
media-gfx/digikam: Fix build with >=kde-apps/akonadi-contacts-21.12.0
Closes: https://bugs.gentoo.org/829539
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-gfx/digikam/digikam-7.3.0-r1.ebuild | 5 +++-
.../files/digikam-7.3.0-akonadi-21.12.0.patch | 31 ++++++++++++++++++++++
2 files changed, 35 insertions(+), 1 deletion(-)
diff --git a/media-gfx/digikam/digikam-7.3.0-r1.ebuild b/media-gfx/digikam/digikam-7.3.0-r1.ebuild
index 7f3918113e25..46f064167d80 100644
--- a/media-gfx/digikam/digikam-7.3.0-r1.ebuild
+++ b/media-gfx/digikam/digikam-7.3.0-r1.ebuild
@@ -108,7 +108,10 @@ RDEPEND="${COMMON_DEPEND}
panorama? ( media-gfx/hugin )
"
-PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
+PATCHES=(
+ "${FILESDIR}/${P}-cmake.patch"
+ "${FILESDIR}/${P}-akonadi-21.12.0.patch"
+)
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
diff --git a/media-gfx/digikam/files/digikam-7.3.0-akonadi-21.12.0.patch b/media-gfx/digikam/files/digikam-7.3.0-akonadi-21.12.0.patch
new file mode 100644
index 000000000000..6e4dd25a4028
--- /dev/null
+++ b/media-gfx/digikam/files/digikam-7.3.0-akonadi-21.12.0.patch
@@ -0,0 +1,31 @@
+From 95a8ece964681fc6823e968541da2da2da06b3dd Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C3=96mer=20Fad=C4=B1l=20USTA?= <omerusta@gmail.com>
+Date: Sat, 2 Oct 2021 21:50:04 +0300
+Subject: [PATCH] Fix compile for newer Akonadi Build Versions
+
+---
+ core/utilities/extrasupport/addressbook/akonadiiface.cpp | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/core/utilities/extrasupport/addressbook/akonadiiface.cpp b/core/utilities/extrasupport/addressbook/akonadiiface.cpp
+index 8e43dad0da..cb38036e39 100644
+--- a/core/utilities/extrasupport/addressbook/akonadiiface.cpp
++++ b/core/utilities/extrasupport/addressbook/akonadiiface.cpp
+@@ -41,7 +41,14 @@
+ #endif
+
+ #include <kjob.h>
++#include <akonadi_version.h>
++
++#if AKONADI_VERSION >= QT_VERSION_CHECK(5, 18, 41)
++#include <Akonadi/Item>
++#else
+ #include <AkonadiCore/Item>
++#endif
++
+ #include <Akonadi/Contact/ContactSearchJob>
+ #include <KContacts/Addressee>
+
+--
+2.34.1
+
next reply other threads:[~2021-12-18 17:42 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-18 17:42 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-05 21:05 [gentoo-commits] repo/gentoo:master commit in: media-gfx/digikam/, media-gfx/digikam/files/ Andreas Sturmlechner
2024-03-26 12:59 Andreas Sturmlechner
2024-03-25 14:46 Andreas Sturmlechner
2023-12-26 8:59 Andreas Sturmlechner
2023-08-26 10:32 Andreas Sturmlechner
2023-08-03 15:34 Andreas Sturmlechner
2022-09-14 13:07 Andreas Sturmlechner
2022-05-09 0:13 Andreas Sturmlechner
2022-01-19 8:29 Andreas Sturmlechner
2021-12-18 17:42 Andreas Sturmlechner
2020-05-26 14:53 Andreas Sturmlechner
2020-02-12 15:21 Andreas Sturmlechner
2019-12-03 5:04 Andreas Sturmlechner
2019-09-08 16:18 Andreas Sturmlechner
2019-09-07 11:58 Andreas Sturmlechner
2019-08-08 16:52 Andreas Sturmlechner
2017-08-06 8:07 Andreas Sturmlechner
2017-04-27 12:17 Michael Palimaka
2017-02-18 23:33 Andreas Sturmlechner
2017-02-12 23:09 Andreas Sturmlechner
2016-12-11 10:12 Johannes Huber
2016-10-31 19:04 Johannes Huber
2016-08-17 20:47 Michael Palimaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1639849133.61895f0899758028e72b7f9461177b34640e1683.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox