Updating link to change in openSUSE:Factory/digikam revision 216
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/digikam?expand=0&rev=bcf98c76d052066dfdcc4387a268b66b
This commit is contained in:
parent
c7c7315022
commit
597ba02b4c
32
0001-Look-for-each-akonadi-component-separately.patch
Normal file
32
0001-Look-for-each-akonadi-component-separately.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
From 969e9b89dce08fc1e5a1b8991f17d57b1abf5450 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Christophe Marin <christophe@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
|
||||||
|
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 26 10:01:13 UTC 2023 - Christophe Marin <christophe@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 <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Add the optional libpulse dependency (boo#1210750)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 28 05:34:21 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
|
Fri Jul 28 05:34:21 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
|
||||||
|
|
||||||
|
14
digikam.spec
14
digikam.spec
@ -30,9 +30,14 @@ Source0: https://download.kde.org/stable/%{name}/%{version}/digiKam-%{ver
|
|||||||
Source1: https://download.kde.org/stable/%{name}/%{version}/digiKam-%{version}.tar.xz.sig
|
Source1: https://download.kde.org/stable/%{name}/%{version}/digiKam-%{version}.tar.xz.sig
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
%endif
|
%endif
|
||||||
|
# PATCH-FIX-OPENSUSE
|
||||||
|
Patch0: 0001-Look-for-each-akonadi-component-separately.patch
|
||||||
# QtWebEngine is not available on ppc and zSystems
|
# QtWebEngine is not available on ppc and zSystems
|
||||||
ExclusiveArch: %{arm} aarch64 %{ix86} x86_64 %{riscv}
|
ExclusiveArch: %{arm} aarch64 %{ix86} x86_64 %{riscv}
|
||||||
BuildRequires: QtAV-devel >= 1.12
|
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: bison
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
@ -51,7 +56,6 @@ BuildRequires: doxygen
|
|||||||
BuildRequires: graphviz-devel
|
BuildRequires: graphviz-devel
|
||||||
BuildRequires: cmake(KF5DocTools)
|
BuildRequires: cmake(KF5DocTools)
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: cmake(KF5AkonadiContact)
|
|
||||||
BuildRequires: cmake(KF5CalendarCore)
|
BuildRequires: cmake(KF5CalendarCore)
|
||||||
BuildRequires: cmake(KF5Config)
|
BuildRequires: cmake(KF5Config)
|
||||||
BuildRequires: cmake(KF5Contacts)
|
BuildRequires: cmake(KF5Contacts)
|
||||||
@ -97,6 +101,8 @@ BuildRequires: pkgconfig(libavutil)
|
|||||||
BuildRequires: pkgconfig(libgphoto2) >= 2.4.0
|
BuildRequires: pkgconfig(libgphoto2) >= 2.4.0
|
||||||
BuildRequires: pkgconfig(libjpeg)
|
BuildRequires: pkgconfig(libjpeg)
|
||||||
BuildRequires: pkgconfig(libpng)
|
BuildRequires: pkgconfig(libpng)
|
||||||
|
BuildRequires: pkgconfig(libpulse)
|
||||||
|
BuildRequires: pkgconfig(libswresample)
|
||||||
BuildRequires: pkgconfig(libswscale)
|
BuildRequires: pkgconfig(libswscale)
|
||||||
BuildRequires: pkgconfig(libxml-2.0)
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
BuildRequires: pkgconfig(libxslt)
|
BuildRequires: pkgconfig(libxslt)
|
||||||
@ -163,10 +169,14 @@ The main digikam libraries that are being shared between showfoto and digikam
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%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
|
# 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
|
sed -i 's#KF5::AkonadiCore#KPim5::AkonadiCore#' core/utilities/extrasupport/addressbook/CMakeLists.txt
|
||||||
%endif
|
%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
|
%build
|
||||||
%{cmake_kf5 -d build -- -DENABLE_APPSTYLES=ON -DENABLE_MEDIAPLAYER=ON -DENABLE_KFILEMETADATASUPPORT=ON -DENABLE_AKONADICONTACTSUPPORT=ON \
|
%{cmake_kf5 -d build -- -DENABLE_APPSTYLES=ON -DENABLE_MEDIAPLAYER=ON -DENABLE_KFILEMETADATASUPPORT=ON -DENABLE_AKONADICONTACTSUPPORT=ON \
|
||||||
|
Loading…
Reference in New Issue
Block a user