The Encoding key has been deprecated for quite a while*, this needs some syncing w/ eutils.eclass ;) *http://standards.freedesktop.org/desktop-entry-spec/latest/
yes, copying & pasting make_desktop_entry instead of enhancing the common code is stupid
Stupid? Yes, that's what I thought at first too. If I recall correctly (it was a while ago, so it's a bit foggy), I chatted with someone on IRC about this very fact. I wanted the eutils 'make_desktop_entry' to let me specify a 'MimeType=' entry in my desktop file, but was told that they didn't want to support every little possible field in eutils.eclass, so I was on my own. So I did it myself. But my first instinct was indeed to extend the common code to do this the right way! If you want to come up with a way to let me set the MimeType field using the eutils.eclass, I'd very happily use that function instead. Or feel free to just add the little snippet I use, which just appends any extra arguments given to my desktop function into the .desktop file automatically: local extra=${1}; shift while [[ "${extra}" ]]; do echo "${extra}" >> "${desktop}" extra=${1}; shift done For example, that lets me just append "MimeType=text/plain" on the end and have that show up in the Desktop file, but any way to let me send in a list of MimeType arguments is all I really need. Until you or I or someone else comes up with a good general solution in eutils.eclass, I have removed the Encoding and Version lines from the rox.eclass version.
Well, enhancing eutils.eclass to deal with mime types etc. is beyond the scope of this bug. This one was merely about generating .desktop files conforming to FDO specs. So... FIXED ;) Thanks.