From: Sven Hoexter Date: Mon, 6 May 2024 21:00:45 +0000 (+0200) Subject: Link the default vym hicolor icon also for the mime type X-Git-Tag: debian/2.9.27-1~7 X-Git-Url: https://git.sven.stormbind.net/?a=commitdiff_plain;h=64c3e72ec68c7c2b102f87f52b915630fe56cf3e;p=sven%2Fvym.git Link the default vym hicolor icon also for the mime type Allows some file manager to display the vym icon for .vym files. Seems to work for thunar and dolphin when using the default hicolor theme. Does not work right now for Gnome which seems to have its own theme. --- diff --git a/debian/changelog b/debian/changelog index cb02f5f..01da386 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,7 +8,7 @@ vym (2.9.22-1) UNRELEASED; urgency=medium * Ship upstream man 1 vym. * Drop debian/menu. * Update debian/copyright. - * Add a mime file. + * Add a mime file and 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. diff --git a/debian/dirs b/debian/dirs index 65df15f..ee030df 100644 --- a/debian/dirs +++ b/debian/dirs @@ -3,3 +3,4 @@ usr/share usr/share/doc usr/share/vym usr/share/applications +usr/share/icons/hicolor/48x48/mimetypes \ No newline at end of file diff --git a/debian/rules b/debian/rules index df0df7e..09b9c94 100755 --- a/debian/rules +++ b/debian/rules @@ -15,6 +15,9 @@ override_dh_auto_configure: 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: