logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

0001-CMake-Fix-desktop-icon-installation.patch (997B)


  1. From f45b765c9f005c7f8b5327a1cbce3b67f3a9b89c Mon Sep 17 00:00:00 2001
  2. From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
  3. Date: Wed, 31 Jan 2024 16:58:38 +0100
  4. Subject: [PATCH 1/2] CMake: Fix desktop icon installation
  5. Also .desktop file refers to kobodl as icon-name so should be left unchanged
  6. ---
  7. CMakeLists.txt | 5 ++---
  8. 1 file changed, 2 insertions(+), 3 deletions(-)
  9. diff --git a/CMakeLists.txt b/CMakeLists.txt
  10. index 29fa1b7..01355d8 100644
  11. --- a/CMakeLists.txt
  12. +++ b/CMakeLists.txt
  13. @@ -87,9 +87,8 @@ install(FILES ${doc_files}
  14. # Desktop entry
  15. if(NOT WIN32)
  16. set(KOBO_DE_FILE "net.olofson.${KOBO_PACKAGE_NAME}.desktop")
  17. - install(FILES "${KOBODELUXE_SOURCE_DIR}/icons/kobodeluxe.png"
  18. - DESTINATION "share/pixmaps"
  19. - RENAME "${KOBO_PACKAGE_NAME}.png")
  20. + install(FILES "${KOBODELUXE_SOURCE_DIR}/icons/kobodl.png"
  21. + DESTINATION "share/pixmaps")
  22. install(FILES "${KOBODELUXE_SOURCE_DIR}/icons/${KOBO_DE_FILE}"
  23. DESTINATION "share/applications")
  24. endif(NOT WIN32)
  25. --
  26. 2.43.0