Re: Help with menu
Andreas Tille <email@example.com> wrote:
> On Fri, 29 Sep 2006, Bill Allombert wrote:
>> I suggest a simpler route (untested):
>> command="x-terminal-emulator -e /bin/sh -c \"gnumed;echo press any key to continue;read foo\""
>> Note that it does not really solve the dependency on xterm: it merely
>> replaces it on a depdendency on any terminal-emulator.
> The solution that was suggested by you and Philipp Benner seems to be not
> aware to lintian
> W: gnumed-client-debug: menu-command-not-in-package /usr/share/menu/gnumed-client-debug:5 x-terminal-emulator
> Shouldn't a
> Depends: xterm | x-terminal-emulator
> be enough here? I admit that it might be hard to define a lintian rule
> to verify the contents of dependant packages but I wonder whether I should
> simply go with a lintian override or file either a wishlist bug against
> lintian or perhaps menu-policy?
I think it wouldn't be too much to hope that lintian knows about the
main executables that are provided by virtual packages, so I'd suggest a
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)