After re-reading Debian Policy 9.7 I realized
that shipping the .desktop file nowadays is enough.
Thus we can delete the custom mailcap mimetype definition.
In addition to that we can create the mimetype icon link for
the hicolor theme via dh_link instead of calling ln -s in the
package build manually.
* Ship upstream man 1 vym.
* Drop debian/menu.
* Update debian/copyright.
- * Add a mime file and icon for the hicolor default theme.
+ * Add a mimetype icon for the hicolor default theme.
* Add Rules-Requires-Root set to no.
* Add Vcs information to debian/control.
* Raise Standards-Version to 4.7.0.
override_dh_auto_install:
dh_auto_install --destdir=debian/vym/
- # create a link to use the vym icon in the hicolor default theme
- # for .vym files matched by the mime type
- ln -s ../apps/vym.png debian/vym/usr/share/icons/hicolor/48x48/mimetypes/application-x-vym.png
# prevent compression of pdf documentation
override_dh_compress:
--- /dev/null
+usr/share/icons/hicolor/48x48/apps/vym.png usr/share/icons/hicolor/48x48/mimetypes/application-x-vym.png
+++ /dev/null
-application/x-vym; vym %s; edit=vym %s; nametemplate=%s.vym; test=test "$DISPLAY" != ""; description="View Your Mind File"; priority=5