[Build-common-hackers] Bug#439717: closed by Peter Eisentraut <peter_e at gmx.net> (Re: Bug#439717: cdbs: run dh_desktop if there's a debian/package.desktop file)

Bernd Zeimetz bernd at bzed.de
Tue Nov 27 13:00:12 UTC 2007

reopen 439717
retitle 439717 run dh_desktop if needed

> This feature request is semantically incorrect in my mind.

Then fix the semantics instead of closing it with a useless reason please.

dh_desktop is what you need to use if you install a desktop file
(currently only if it contains Mime-types, but dh_desktop takes care of

The better check (instead of looking for a debian/package.desktop file)
would be to look into debian/packagename/usr/share/applications
to see if there's a desktop file, and run dh_desktop then.

At the moment dh_desktop is only called by the gnome class, but that's
nothing you want to include by default.
The proper way would be to check if running dh_desktop is needed for
every package. Remember, desktop files are a freedesktop.org standard
and not a gnome-only standard.

Bernd Zeimetz
<bernd at bzed.de>                         <http://bzed.de/>

More information about the Build-common-hackers mailing list