-Description: Install only doc folder content and do not install
- the superfluous license file.
+Description: Install only doc folder content, and Install Icons
+ Debian specific changes for our own packaging.
Author: Sven Hoexter <hoexter@debian.org>
-Last-Update: 2024-05-03
+Last-Update: 2025-06-015
Forwarded: not-needed
Index: vym/CMakeLists.txt
===================================================================
--- vym.orig/CMakeLists.txt
+++ vym/CMakeLists.txt
-@@ -160,9 +160,9 @@ add_custom_target(make-translations-dire
+@@ -169,16 +169,16 @@ add_custom_target(make-translations-dire
add_dependencies(vym make-translations-directory)
install(DIRECTORY demos DESTINATION ${CMAKE_INSTALL_DATAROOTDIR})
install(DIRECTORY exports flags icons macros ${CMAKE_BINARY_DIR}/translations scripts styles DESTINATION ${CMAKE_INSTALL_DATAROOTDIR})
if(UNIX)
+ install(FILES icons/vym.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/48x48/apps)
+- # Disabling PR #109 for now:
+- # file(CREATE_LINK ../apps/vym.png application-x-vym.png SYMBOLIC)
+- # install(FILES ${CMAKE_BINARY_DIR}/application-x-vym.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/48x48/mimetypes)
++ # Debian special, install icons and hicolor theme links
++ file(CREATE_LINK ../apps/vym.png application-x-vym.png SYMBOLIC)
++ install(FILES ${CMAKE_BINARY_DIR}/application-x-vym.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/48x48/mimetypes)
+ install(FILES config/vym.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/mime/packages)
+ install(FILES config/vym.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
+ endif()
===================================================================
--- vym.orig/src/mainwindow.cpp
+++ vym/src/mainwindow.cpp
-@@ -7259,6 +7259,7 @@ void Main::checkReleaseNotes ()
+@@ -7926,6 +7926,7 @@ void Main::checkReleaseNotes ()
bool Main::downloadsEnabled(bool userTriggered)
{