[Build-common-hackers] Bug#439717: 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 14:53:11 UTC 2007
Peter Eisentraut wrote:
> Am Dienstag, 27. November 2007 schrieb Bernd Zeimetz:
>> dh_desktop is what you need to use if you install a desktop file
>
> I have installed many desktop files in my lifetime and I've never felt the
> need to run this program. I would like to see some documentation for why
> this is needed.
dh_desktop (only) takes care of adding maintainer script fragments to
call update-desktop-database, which is needed to update the desktop-MIME
mapping. And that's just needed if your .desktop file has a MimeType
entry. That's what man dh_desktop days.
>> Remember, desktop files are a freedesktop.org standard and not a gnome-only
>> standard.
>
> Sure, but "you need to run dh_desktop in every package" is not a
> freedesktop.org standard. And we certainly won't make every package
> containing desktop files depend on a GNOME base package. See #432851 for
> similar discussions.
update-desktop-database is only part of desktop-file-utils.
Imho dh_desktop should add desktop-file-utils to misc:Depends, but
that's not a problem of cdbs.
--
Bernd Zeimetz
<bernd at bzed.de> <http://bzed.de/>
More information about the Build-common-hackers
mailing list