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

Re: Help with menu (Was: Bug#389932: wish: gnumed --debug should open terminal window)

On Mon, Oct 09, 2006 at 01:33:03PM +0200, Andreas Tille wrote:
> 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?

This is a well-known lintian limitation. This warning is to protect
against typos in command name: say
?(xteddy): need="x11" section="Games/Toys" title="XTeddy" command="xtedddy"
Lintian will warn you xtedddy is an error

Just ignore it or add an override.

>      Depends: xterm | x-terminal-emulator

Either that or provides two menu entries:

?package(gnumed):needs="X11" section="Apps/Tools" \
  title="GNUmed" command="/usr/bin/gnumed" \
  icon="/usr/share/gnumed/bitmaps/gnumed.xpm" \
?package(gnumed,xterm):needs="X11" section="Apps/Tools" \
  title="GNUmed (Debug)" command="xterm -hold -e gnumed" \
  icon="/usr/share/gnumed/bitmaps/gnumed.xpm" \

The second one will alway be displayed if xterm is installed.

Bill. <ballombe@debian.org>

Imagine a large red swirl here. 

Reply to: