Geoffroy Carrier wrote:
On Sat, May 10, 2008 at 5:16 AM, Allan McRae <mcraeallan@hotmail.com> wrote:
I can think of one function which would save a lot of discussion around here: create_desktop_file(<progname>, <description>, <category>)
Except I think you need at least to use an icon, and if possible to translate descriptions, that you might get locale issues (charset for the name/description, even for international apps like Prot\'eg\'e I happen to package), etc. Else, seems a good idea :o)
You are thinking far to hard on this... Just set the icon to have the same name as the binary. Ignore charset issues and translations. If I create a .desktop file manually for the package it never has them anyway. Anything more is the responsibility of upstream.