Am Dienstag, den 29.05.2007, 20:27 +0200 schrieb Adrien Cunin:

> We added a .desktop file in Ubuntu:
> 
> diff -pruN 0.2.5.0-1/debian/gnumed-client.desktop
> 0.2.5.0-1ubuntu1/debian/gnumed-client.desktop
> --- 0.2.5.0-1/debian/gnumed-client.desktop    1970-01-01 01:00:00.000000000 
> +0100
> +++ 0.2.5.0-1ubuntu1/debian/gnumed-client.desktop     2007-05-07 
> 16:53:42.000000000 +0100
> @@ -0,0 +1,10 @@
> +[Desktop Entry]
> +Type=Application
> +Encoding=UTF-8
> +Name=GNUmed
> +GenericName=GNUmed
> +Comment=Paperless Medical Practice Management
> +Icon=gnumed
> +Exec=/usr/bin/gnumed
> +Terminal=false
> +Categories=Application;MedicalSoftware;
> 
> This file should be installed in /usr/share/applications/, and the
> icon client/bitmaps/gnumed.xpm should in installed
> in /usr/share/pixmaps/.
> You can also add dh_desktop in debian/rules.

And once again: There is no MimeType field, so calling dh_desktop is
useless and adds a useless call of update-desktop-database to the
debhelper scripts. Don't do this. Further this file is invalid:
Application is not a valid category. You should better use
"Education;Science;MedicalSoftware;" as suggested by the specification.
You can check such issues yourself with the desktop-file-validate tool.

Regards, Daniel



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to