Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package digikam for openSUSE:Factory checked in at 2023-08-28 17:14:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/digikam (Old) and /work/SRC/openSUSE:Factory/.digikam.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "digikam" Mon Aug 28 17:14:15 2023 rev:216 rq:1106031 version:8.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/digikam/digikam.changes 2023-07-28 22:20:31.369256532 +0200 +++ /work/SRC/openSUSE:Factory/.digikam.new.1766/digikam.changes 2023-08-28 17:14:20.810779788 +0200 @@ -1,0 +2,13 @@ +Sat Aug 26 10:01:13 UTC 2023 - Christophe Marin <christo...@krop.fr> + +- Adapt once again to the build system changes in akonadi* + packages +- Add patch: + * 0001-Look-for-each-akonadi-component-separately.patch + +------------------------------------------------------------------- +Wed Aug 9 10:19:20 UTC 2023 - Christophe Marin <christo...@krop.fr> + +- Add the optional libpulse dependency (boo#1210750) + +------------------------------------------------------------------- New: ---- 0001-Look-for-each-akonadi-component-separately.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ digikam.spec ++++++ --- /var/tmp/diff_new_pack.Aqnzjq/_old 2023-08-28 17:14:22.262831931 +0200 +++ /var/tmp/diff_new_pack.Aqnzjq/_new 2023-08-28 17:14:22.266832075 +0200 @@ -30,9 +30,14 @@ Source1: https://download.kde.org/stable/%{name}/%{version}/digiKam-%{version}.tar.xz.sig Source2: %{name}.keyring %endif +# PATCH-FIX-OPENSUSE +Patch0: 0001-Look-for-each-akonadi-component-separately.patch # QtWebEngine is not available on ppc and zSystems ExclusiveArch: %{arm} aarch64 %{ix86} x86_64 %{riscv} BuildRequires: QtAV-devel >= 1.12 +# Don't use the CMake target names for these two dependencies +BuildRequires: akonadi-contact-devel +BuildRequires: akonadi-server-devel BuildRequires: bison BuildRequires: fdupes BuildRequires: flex @@ -51,7 +56,6 @@ BuildRequires: graphviz-devel BuildRequires: cmake(KF5DocTools) %endif -BuildRequires: cmake(KF5AkonadiContact) BuildRequires: cmake(KF5CalendarCore) BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF5Contacts) @@ -97,6 +101,8 @@ BuildRequires: pkgconfig(libgphoto2) >= 2.4.0 BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(libpulse) +BuildRequires: pkgconfig(libswresample) BuildRequires: pkgconfig(libswscale) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxslt) @@ -163,10 +169,14 @@ %prep %autosetup -p1 -%if %{pkg_vcmp cmake(KF5AkonadiContact) >= 23.03.80} +%if %{pkg_vcmp akonadi-contact-devel >= 23.03.80} # Digikam doesn't look explicitly for akonadi-server but relies on AkonadiContact dependencies sed -i 's#KF5::AkonadiCore#KPim5::AkonadiCore#' core/utilities/extrasupport/addressbook/CMakeLists.txt %endif +# Compatibility CMake files were removed in PIM packages after 23.08.0 +%if %{pkg_vcmp akonadi-contact-devel >= 23.08.0} +sed -i 's#KF5\([:]*Akonadi\)#KPim5\1#' core/{CMakeLists.txt,utilities/extrasupport/{addressbook/,}CMakeLists.txt,app/DigikamCoreTarget.cmake,cmake/rules/RulesKDEFramework.cmake} +%endif %build %{cmake_kf5 -d build -- -DENABLE_APPSTYLES=ON -DENABLE_MEDIAPLAYER=ON -DENABLE_KFILEMETADATASUPPORT=ON -DENABLE_AKONADICONTACTSUPPORT=ON \ ++++++ 0001-Look-for-each-akonadi-component-separately.patch ++++++ >From 969e9b89dce08fc1e5a1b8991f17d57b1abf5450 Mon Sep 17 00:00:00 2001 From: Christophe Marin <christo...@krop.fr> Date: Sat, 26 Aug 2023 12:14:25 +0200 Subject: [PATCH] Look for each akonadi component separately --- core/cmake/rules/RulesKDEFramework.cmake | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/core/cmake/rules/RulesKDEFramework.cmake b/core/cmake/rules/RulesKDEFramework.cmake index 6100334..8a18288 100644 --- a/core/cmake/rules/RulesKDEFramework.cmake +++ b/core/cmake/rules/RulesKDEFramework.cmake @@ -37,12 +37,9 @@ endif() if(ENABLE_AKONADICONTACTSUPPORT) - find_package(KF5 ${AKONADI_MIN_VERSION} QUIET - OPTIONAL_COMPONENTS - Akonadi - AkonadiContact # For KDE Mail Contacts support. - Contacts # API for contacts/address book data. - ) + find_package(KF5Akonadi ${AKONADI_MIN_VERSION} REQUIRED) + find_package(KF5AkonadiContact ${AKONADI_MIN_VERSION} REQUIRED) # For KDE Mail Contacts support. + find_package(KF5Contacts ${AKONADI_MIN_VERSION} REQUIRED) # API for contacts/address book data. endif() -- 2.41.0