[Fedora-packaging] Packages containing GUI applications must include a %{name}.desktop

Jon Masters jcm at redhat.com
Mon Mar 22 19:07:56 UTC 2010


On Mon, 2010-03-22 at 09:10 -0400, Tom "spot" Callaway wrote:
> On 03/20/2010 06:14 AM, Ville Skyttä wrote:
> > On Saturday 20 March 2010, David Timms wrote:
> >> Hi, I am packaging the application tnef [1], where the reviewer has
> >> queried whether I need to provide a desktop file.
> >>
> >> This is a little different from a normal GUI application desktop file.
> >> The application is command line only. I have added a shellscript, and
> >> some desktop files that cause nautilus and kde file managers to show
> >> .dat files as having a potential open with tnef extract entry.
> >>
> >> So while I'm including .desktop files, they aren't in the menus. Is this
> >> acceptable, packaging wise ?
> > 
> > Sure, if there's nothing to put in menus that would be useful without a 
> > filename (or other non-static) argument.
> 
> From: https://fedoraproject.org/wiki/Packaging/Guidelines#Desktop_files
> 
> If a package contains a GUI application, then it needs to also include a
> properly installed .desktop file. For the purposes of these guidelines,
> a GUI application is defined as any application which draws an X window
> and runs from within that window.
> 
> Does the tnef application meet that criteria?

That's inverse logic though because he's including a .desktop file in a
case where he doesn't have to. I don't see any justification for saying
one can't ship one if one wants to.

Jon.




More information about the packaging mailing list