Bug#806387: menu tests paradoxical
Control: severity -1 normal
On Thu, 2015-11-26 at 22:47 +0100, Jörg Frings-Fürst wrote:
> Package: lintian
> Version: 2.5.38.1
> Severity: serious
Definitely not.
> Hi,
>
> Since the tech-ctte decision at bug #741573 is the command listed both in a
> menu file and a desktop file prohibited.
>
> Therefor I get the warning "xsane: command-in-menu-file-and-desktop-file xsane
> usr/share/menu/xsane:6"
>
> After remove the command from the menu file I get this error: "E: xsane: menu-
> item-missing-required-tag command usr/share/menu/xsane:6"
Well, yes. You're supposed to remove the whole stanza (and in many cases
the whole file), not just one little bit of it.
The referenced TC decision says:
2. In addition to those changes, the Technical Committee resolves
that packages providing a .desktop file shall not also provide a
menu file for the same application.
I'm not clear how one gets from "shall not also provide a menu file for
the same application" to "can also provide a menu file for the same
application as long as there's no command= in it".
At worst the wording of the tag needs improving; the above description
doesn't indicate any kind of functionality bug in the checks, just a
misunderstanding of the intended action.
Regards,
Adam
Reply to: