no-write-outside-destdir.patch 905 B

1234567891011121314151617181920
  1. diff -Nur basket-2.49b.orig/file-integration/CMakeLists.txt basket-2.49b/file-integration/CMakeLists.txt
  2. --- basket-2.49b.orig/file-integration/CMakeLists.txt 2019-02-27 14:33:04.000000000 -0600
  3. +++ basket-2.49b/file-integration/CMakeLists.txt 2022-02-21 02:59:10.390850529 -0600
  4. @@ -11,15 +11,4 @@
  5. ########### install files ###############
  6. -find_program(XDG-MIME_EXECUTABLE xdg-mime)
  7. -find_program(XDG-DESKTOP-MENU_EXECUTABLE xdg-desktop-menu)
  8. -
  9. install(FILES basketthumbcreator.desktop DESTINATION ${SERVICES_INSTALL_DIR})
  10. -install(CODE "
  11. -execute_process(COMMAND ${XDG-MIME_EXECUTABLE} install --novendor
  12. - ${CMAKE_CURRENT_SOURCE_DIR}/basket.xml)
  13. -execute_process(COMMAND ${XDG-DESKTOP-MENU_EXECUTABLE} install
  14. - --novendor ${CMAKE_SOURCE_DIR}/src/basket.desktop)
  15. -execute_process(COMMAND ${XDG-MIME_EXECUTABLE} default
  16. - ${CMAKE_SOURCE_DIR}/src/basket.desktop application/x-basket-item)
  17. -")