Skip to content

Commit

Permalink
fix: Adapt dbus-service-patch to new nextcloud-client version
Browse files Browse the repository at this point in the history
  • Loading branch information
p-fruck committed Jun 28, 2024
1 parent 2275943 commit 0793381
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dbus-service-path.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ index 2e7349ef7..f7a161c05 100644
+++ b/shell_integration/libcloudproviders/CMakeLists.txt
@@ -1,5 +1,5 @@
macro(dbus_add_activation_service _sources)
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.28.0")
- pkg_get_variable(_install_dir dbus-1 session_bus_services_dir DEFINE_VARIABLES datadir=${CMAKE_INSTALL_DATADIR})
+ set(_install_dir "${CMAKE_INSTALL_PREFIX}/share/dbus-1/services")
else()
- pkg_get_variable(_install_dir dbus-1 session_bus_services_dir)
+ set(_install_dir "${CMAKE_INSTALL_PREFIX}/share/dbus-1/services")
endif()
foreach (_i ${_sources})
get_filename_component(_service_file ${_i} ABSOLUTE)
string(REGEX REPLACE "\\.service.*$" ".service" _output_file ${_i})

1 comment on commit 0793381

@tintou
Copy link
Contributor

@tintou tintou commented on 0793381 Sep 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This patch is not required anymore as we are using CMake 3.29.8 (which is >=3.28.0)

Please sign in to comment.