From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6B90B15ACFC for ; Tue, 25 Apr 2023 15:35:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86A89E09B6; Tue, 25 Apr 2023 15:35:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EEECCE09B5 for ; Tue, 25 Apr 2023 15:35:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A10A2335D68 for ; Tue, 25 Apr 2023 15:35:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B69429 for ; Tue, 25 Apr 2023 15:35:20 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1682436432.60007a9f817827169916850b290da8ec3686d133.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/digikam/files/, media-gfx/digikam/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/digikam/digikam-7.10.0-r1.ebuild media-gfx/digikam/digikam-7.9.0-r1.ebuild media-gfx/digikam/files/digikam-7.9.0-akonadi-23.04.patch X-VCS-Directories: media-gfx/digikam/ media-gfx/digikam/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 60007a9f817827169916850b290da8ec3686d133 X-VCS-Branch: master Date: Tue, 25 Apr 2023 15:35:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d17f5c47-1637-412d-9f33-5bb33b85c831 X-Archives-Hash: 3d3cd93254975f6ca62267538a006456 commit: 60007a9f817827169916850b290da8ec3686d133 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Apr 25 10:24:41 2023 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Apr 25 15:27:12 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60007a9f media-gfx/digikam: Fix build with >=kde-apps/akonadi-contacts-23.04.0 Upstream commit 5b4ba173f6a84a8be1131b1523dc42df95171ec7 Closes: https://bugs.gentoo.org/904976 Signed-off-by: Andreas Sturmlechner gentoo.org> ...am-7.9.0-r1.ebuild => digikam-7.10.0-r1.ebuild} | 17 +++++++------- media-gfx/digikam/digikam-7.9.0-r1.ebuild | 6 ++++- .../files/digikam-7.9.0-akonadi-23.04.patch | 27 ++++++++++++++++++++++ 3 files changed, 40 insertions(+), 10 deletions(-) diff --git a/media-gfx/digikam/digikam-7.9.0-r1.ebuild b/media-gfx/digikam/digikam-7.10.0-r1.ebuild similarity index 92% copy from media-gfx/digikam/digikam-7.9.0-r1.ebuild copy to media-gfx/digikam/digikam-7.10.0-r1.ebuild index 72affdeb5cb8..a87c4c457218 100644 --- a/media-gfx/digikam/digikam-7.9.0-r1.ebuild +++ b/media-gfx/digikam/digikam-7.10.0-r1.ebuild @@ -14,7 +14,7 @@ if [[ ${KDE_BUILD_TYPE} != live ]]; then SRC_URI="mirror://kde/stable/${PN}/${PV}/" fi SRC_URI+="digiKam-${PV/_/-}.tar.xz" - KEYWORDS="amd64 ~x86" + KEYWORDS="~amd64 ~x86" S="${WORKDIR}/${PN}-${PV/_/-}" fi @@ -23,7 +23,7 @@ HOMEPAGE="https://www.digikam.org/" LICENSE="GPL-2" SLOT="5" -IUSE="addressbook calendar gphoto2 heif +imagemagick +lensfun marble mediaplayer mysql opengl openmp +panorama scanner semantic-desktop X" +IUSE="addressbook calendar gphoto2 heif +imagemagick +lensfun marble mysql opengl openmp +panorama scanner semantic-desktop X" # bug 366505 RESTRICT="test" @@ -77,10 +77,6 @@ COMMON_DEPEND=" >=kde-apps/marble-19.04.3:5 >=kde-frameworks/kbookmarks-${KFMIN}:5 ) - mediaplayer? ( - media-libs/qtav[opengl(+)] - media-video/ffmpeg:= - ) opengl? ( >=dev-qt/qtopengl-${QTMIN}:5 virtual/opengl @@ -96,6 +92,7 @@ COMMON_DEPEND=" DEPEND="${COMMON_DEPEND} dev-cpp/eigen:3 dev-libs/boost + addressbook? ( >=kde-apps/akonadi-19.04.3:5 ) " RDEPEND="${COMMON_DEPEND} mysql? ( virtual/mysql[server(+)] ) @@ -109,7 +106,10 @@ BDEPEND=" ) " -PATCHES=( "${FILESDIR}/${PN}-7.8.0-cmake.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-7.8.0-cmake.patch" + "${FILESDIR}/${PN}-7.9.0-akonadi-23.04.patch" # bug 904976 +) pkg_pretend() { [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp @@ -127,6 +127,7 @@ src_configure() { -DBUILD_TESTING=OFF # bug 698192 -DENABLE_APPSTYLES=ON -DCMAKE_DISABLE_FIND_PACKAGE_Jasper=ON + -DENABLE_MEDIAPLAYER=OFF # bug 758641, last-rited -DENABLE_QWEBENGINE=ON -DENABLE_AKONADICONTACTSUPPORT=$(usex addressbook) $(cmake_use_find_package calendar KF5CalendarCore) @@ -135,8 +136,6 @@ src_configure() { $(cmake_use_find_package imagemagick ImageMagick) $(cmake_use_find_package lensfun LensFun) $(cmake_use_find_package marble Marble) - -DENABLE_MEDIAPLAYER=$(usex mediaplayer) - $(cmake_use_find_package mediaplayer QtAV) -DENABLE_MYSQLSUPPORT=$(usex mysql) -DENABLE_INTERNALMYSQL=$(usex mysql) $(cmake_use_find_package opengl OpenGL) diff --git a/media-gfx/digikam/digikam-7.9.0-r1.ebuild b/media-gfx/digikam/digikam-7.9.0-r1.ebuild index 72affdeb5cb8..8dceca760739 100644 --- a/media-gfx/digikam/digikam-7.9.0-r1.ebuild +++ b/media-gfx/digikam/digikam-7.9.0-r1.ebuild @@ -96,6 +96,7 @@ COMMON_DEPEND=" DEPEND="${COMMON_DEPEND} dev-cpp/eigen:3 dev-libs/boost + addressbook? ( >=kde-apps/akonadi-19.04.3:5 ) " RDEPEND="${COMMON_DEPEND} mysql? ( virtual/mysql[server(+)] ) @@ -109,7 +110,10 @@ BDEPEND=" ) " -PATCHES=( "${FILESDIR}/${PN}-7.8.0-cmake.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-7.8.0-cmake.patch" + "${FILESDIR}/${P}-akonadi-23.04.patch" # bug 904976 +) pkg_pretend() { [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp diff --git a/media-gfx/digikam/files/digikam-7.9.0-akonadi-23.04.patch b/media-gfx/digikam/files/digikam-7.9.0-akonadi-23.04.patch new file mode 100644 index 000000000000..d9b46a7966f0 --- /dev/null +++ b/media-gfx/digikam/files/digikam-7.9.0-akonadi-23.04.patch @@ -0,0 +1,27 @@ +From 5b4ba173f6a84a8be1131b1523dc42df95171ec7 Mon Sep 17 00:00:00 2001 +From: Antonio Rojas +Date: Thu, 20 Apr 2023 17:49:44 +0200 +Subject: [PATCH] Fix build with akonadi 23.04 + +In KDE PIM 23.04 the KF5:: targets have been renamed to KPim5:: +While the KF5:: targets are kept for backwards compatibility, they no longer recursively include other KF5:: targets. +We need to search for Akonadi explicitly so that the KF5::AkonadiCore target is defined. +--- + core/CMakeLists.txt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt +index 4cb33d2f9e6..610033425cd 100644 +--- a/core/CMakeLists.txt ++++ b/core/CMakeLists.txt +@@ -124,6 +124,7 @@ if(ENABLE_AKONADICONTACTSUPPORT) + + find_package(KF5 ${AKONADI_MIN_VERSION} QUIET REQUIRED + OPTIONAL_COMPONENTS ++ Akonadi + AkonadiContact # For KDE Mail Contacts support. + Contacts # API for contacts/address book data. + ) +-- +GitLab +