2fd3604a.patch 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. From 2fd3604ad6a9594b9dd8b0f1529f4f4589fe831f Mon Sep 17 00:00:00 2001
  2. From: Carl Schwan <carl@carlschwan.eu>
  3. Date: Tue, 19 Sep 2023 17:04:36 +0200
  4. Subject: [PATCH] Revert "Revert "Fix race condition when building""
  5. This reverts commit d3f20b3dab530065f9cff9d73e4ca1076af55a29.
  6. (cherry picked from commit f9f262b9289f7b1c34e55205fa0c5cde915bc652)
  7. ---
  8. resources/google-groupware/CMakeLists.txt | 7 ++++---
  9. resources/google-groupware/googleresource.cpp | 1 -
  10. 2 files changed, 4 insertions(+), 4 deletions(-)
  11. diff --git a/resources/google-groupware/CMakeLists.txt b/resources/google-groupware/CMakeLists.txt
  12. index 2f2b46aded..0ac6f2db8e 100644
  13. --- a/resources/google-groupware/CMakeLists.txt
  14. +++ b/resources/google-groupware/CMakeLists.txt
  15. @@ -67,9 +67,6 @@ set(googleresource_SRCS
  16. ${googleresource_common_SRCS}
  17. )
  18. -ki18n-kf6_wrap_ui(googleresource_SRCS googlesettingswidget.ui)
  19. -
  20. -
  21. add_executable(akonadi_google_resource ${googleresource_SRCS})
  22. if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
  23. set_target_properties(akonadi_google_resource PROPERTIES UNITY_BUILD ON)
  24. @@ -126,6 +123,7 @@ install(
  25. kcoreaddons-kf6_add_plugin(googleconfig
  26. INSTALL_NAMESPACE "pim${QT_MAJOR_VERSION}/akonadi/config"
  27. )
  28. +
  29. target_sources(googleconfig
  30. PRIVATE
  31. googleconfig.cpp
  32. @@ -133,6 +131,9 @@ PRIVATE
  33. googlesettingswidget.h
  34. ${googleresource_common_SRCS}
  35. )
  36. +
  37. +ki18n-kf6_wrap_ui(googleconfig googlesettingswidget.ui)
  38. +
  39. target_link_libraries(googleconfig
  40. KPim${KF_MAJOR_VERSION}::AkonadiCore
  41. KPim${KF_MAJOR_VERSION}::AkonadiCalendar
  42. diff --git a/resources/google-groupware/googleresource.cpp b/resources/google-groupware/googleresource.cpp
  43. index 47a7e0c8d5..d51c1e4a7c 100644
  44. --- a/resources/google-groupware/googleresource.cpp
  45. +++ b/resources/google-groupware/googleresource.cpp
  46. @@ -11,7 +11,6 @@
  47. #include "googleresourcestate.h"
  48. #include "googlescopes.h"
  49. #include "googlesettings.h"
  50. -#include "googlesettingswidget.h"
  51. #include "settingsadaptor.h"
  52. #include "personhandler.h"
  53. --
  54. GitLab