* Delete old desktop file shipped in debian/.
* Add desktop.patch to pass %f in the Exec setting and add keywords.
* Add doc-base registration for the user manual.
+ * Add cmake-installs.patch to adjust documentation install folder.
-- Sven Hoexter <hoexter@debian.org> Fri, 03 May 2024 13:58:54 +0200
--- /dev/null
+Description: Install doc folder content selectively and do not install
+ the superflous license file.
+Author: Sven Hoexter <hoexter@debian.org>
+Last-Update: 2024-05-03
+Forwarded: not-needed
+Index: vym/CMakeLists.txt
+===================================================================
+--- vym.orig/CMakeLists.txt
++++ vym/CMakeLists.txt
+@@ -160,9 +160,9 @@ add_custom_target(make-translations-dire
+ add_dependencies(vym make-translations-directory)
+
+ install(DIRECTORY demos DESTINATION ${CMAKE_INSTALL_DATAROOTDIR})
+-install(DIRECTORY doc DESTINATION ${CMAKE_INSTALL_DOCDIR})
++install(FILES doc/vym.pdf doc/vym_fr.pdf doc/vym_es.pdf DESTINATION ${CMAKE_INSTALL_DOCDIR})
+ install(FILES doc/vym.1.gz DESTINATION ${CMAKE_INSTALL_MANDIR})
+-install(FILES README.md LICENSE.txt DESTINATION ${CMAKE_INSTALL_DOCDIR})
++install(FILES README.md DESTINATION ${CMAKE_INSTALL_DOCDIR})
+ install(DIRECTORY exports flags icons macros ${CMAKE_BINARY_DIR}/translations scripts styles DESTINATION ${CMAKE_INSTALL_DATAROOTDIR})
+
+ if(UNIX)
override_dh_auto_install:
dh_auto_install --destdir=debian/vym/
- # remove wrongly placed manpage
- rm debian/vym/usr/share/doc/vym/doc/vym.1.gz
- # remove installed lincense file
- rm debian/vym/usr/share/doc/vym/LICENSE.txt
# prevent compression of pdf documentation
override_dh_compress: