[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#463900: False positive for missing dh_desktop call in packages without MimeType fields



Daniel Burrows <dburrows@debian.org> writes:

> Package: lintian
> Version: 1.23.42
> Severity: normal
>
>   One of my packages produces this lintian warning:
>
> W: heroes source: desktop-file-but-no-dh_desktop-call
> N:
> N:   It looks like your package includes a .desktop file and you use
> N:   debhelper to build it, but you don't call dh_desktop in your rules
> N:   file.
>
>   But according to dh_desktop(1), this is only needed or useful for
> files that contain a Mime-Type entry.  Should lintian really be telling
> me to run no-ops?

Yes, I believe so.  As I understand it, the intention is future-proofing:
right *now*, the only thing update-desktop-database does is update MIME
databases, and hence dh_desktop does nothing if there is no MimeType
field, but this may not always be the case.  With a dh_desktop call, any
future needs can be handled with a binNMU against the latest debhelper
should something additional be needed.

It's possibly mind-reading on my part, but I think that's what the
"currently be ignored" part is intended to get at.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: