[neon/kde/kdepim-runtime/Neon/unstable] debian/patches: fix_etesync

Carlos De Maine null at kde.org
Tue Dec 5 00:12:39 GMT 2023


Git commit 16aed438de1deaf85dbc9a912ebea69fd9986557 by Carlos De Maine.
Committed on 05/12/2023 at 01:12.
Pushed by carlosdem into branch 'Neon/unstable'.

fix_etesync

A  +33   -0    debian/patches/fix_etesync
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/kde/kdepim-runtime/-/commit/16aed438de1deaf85dbc9a912ebea69fd9986557

diff --git a/debian/patches/fix_etesync b/debian/patches/fix_etesync
new file mode 100644
index 0000000..95cd4f8
--- /dev/null
+++ b/debian/patches/fix_etesync
@@ -0,0 +1,33 @@
+diff --git a/resources/CMakeLists.txt b/resources/CMakeLists.txt
+index 299f404b0cd983cfe7fa57603077726e5a4485af..7d564273bf837952f9f3c1f676a76022883196a5 100644
+--- a/resources/CMakeLists.txt
++++ b/resources/CMakeLists.txt
+@@ -5,6 +5,7 @@ set_package_properties(Libkolabxml PROPERTIES DESCRIPTION "Kolabxml" URL "http:/
+ # Etebase library
+ find_package(Etebase CONFIG)
+ set_package_properties(Etebase PROPERTIES URL "https://github.com/etesync/libetebase/releases" TYPE OPTIONAL PURPOSE "The Etebase library is required to build the EteSync Groupware Resource")
++find_package(Qt6Concurrent ${QT_REQUIRED_VERSION} CONFIG)
+ 
+ include_directories(
+   ${CMAKE_CURRENT_SOURCE_DIR}/shared/singlefileresource/
+@@ -49,7 +50,7 @@ if (Libkolabxml_FOUND)
+     add_subdirectory( kolab )
+ endif()
+ 
+-if (Etebase_FOUND)
++if (Etebase_FOUND AND Qt6Concurrent_FOUND)
+     add_subdirectory( etesync )
+ endif()
+ 
+diff --git a/resources/etesync/CMakeLists.txt b/resources/etesync/CMakeLists.txt
+index 6a233f09b18d13108ddb72e99a8821c54c26c672..f540897127c05a21b520cbbdc5f5c55a2df03dfb 100644
+--- a/resources/etesync/CMakeLists.txt
++++ b/resources/etesync/CMakeLists.txt
+@@ -51,6 +51,7 @@ if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
+ endif()
+ target_link_libraries(akonadi_etesync_resource
+     ${ETEBASE_LIBRARIES}
++    Qt::Concurrent
+     Qt::DBus
+     KPim6::AkonadiAgentBase
+     KF6::ConfigCore
\ No newline at end of file
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8e768b0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_etesync
\ No newline at end of file


More information about the Neon-commits mailing list