nextcloud-client-2.2.4-dolphin.patch 1.6 KB

1234567891011121314151617181920212223242526272829
  1. --- a/client/shell_integration/dolphin/CMakeLists.txt
  2. +++ b/client/shell_integration/dolphin/CMakeLists.txt
  3. @@ -49,5 +49,6 @@ target_link_libraries(${OWNCLOUDDOLPHINOVERLAYPLUGIN} KF5::CoreAddons KF5::KIOCo
  4. set(OWNCLOUDDOLPHINACTIONPLUGIN ${APPLICATION_EXECUTABLE}dolphinactionplugin)
  5. add_library(${OWNCLOUDDOLPHINACTIONPLUGIN} MODULE ownclouddolphinactionplugin.cpp)
  6. target_link_libraries(${OWNCLOUDDOLPHINACTIONPLUGIN} KF5::CoreAddons KF5::KIOCore KF5::KIOWidgets ${OWNCLOUDDOLPHINHELPER})
  7. -install(FILES ownclouddolphinactionplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} RENAME ${OWNCLOUDDOLPHINACTIONPLUGIN}.desktop)
  8. +configure_file(ownclouddolphinactionplugin.desktop.in ownclouddolphinactionplugin.desktop ESCAPE_QUOTES @ONLY)
  9. +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ownclouddolphinactionplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} RENAME ${OWNCLOUDDOLPHINACTIONPLUGIN}.desktop)
  10. install(TARGETS ${OWNCLOUDDOLPHINACTIONPLUGIN} DESTINATION ${KDE_INSTALL_PLUGINDIR})
  11. --- a/client/shell_integration/dolphin/ownclouddolphinactionplugin.desktop
  12. +++ /dev/null
  13. @@ -1,6 +0,0 @@
  14. -[Desktop Entry]
  15. -Type=Service
  16. -Name=OwncloudAction
  17. -ServiceTypes=KFileItemAction/Plugin
  18. -MimeType=application/octet-stream;inode/directory;
  19. -X-KDE-Library=ownclouddolphinactionplugin
  20. --- /dev/null
  21. +++ b/client/shell_integration/dolphin/ownclouddolphinactionplugin.desktop.in
  22. @@ -0,0 +1,6 @@
  23. +[Desktop Entry]
  24. +Type=Service
  25. +Name=@APPLICATION_NAME@Action
  26. +ServiceTypes=KFileItemAction/Plugin
  27. +MimeType=application/octet-stream;inode/directory;
  28. +X-KDE-Library=@APPLICATION_EXECUTABLE@dolphinactionplugin