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

Re: warning: menu-command-not-in-package



p@dirac.org (Peter Jay Salzman) writes:

> On Mon 13 Dec 04, 12:10 PM, Brian Nelson <pyro@debian.org> said:
>> On Mon, Dec 13, 2004 at 02:55:28PM -0500, Peter Jay Salzman wrote:
>> > My first package is ALMOST lintian clean.  One warning:
>> > 
>> >    $ lintian -i yadex_1.7.0-1_i386.deb
>> >    W: yadex: menu-command-not-in-package /usr/lib/menu/yadex:2
>> >    x-terminal-emulator
>> >    N:
>> >    N:   The menu item specifies a command which is not available in the
>> >    N:   package. In most cases this is a typo or after you moved a binary
>> >    N:   around, but forgot to update the menu file.
>> >    N:
>> > 
>> > My debian/yadex.menu file:
>> > 
>> >    ?package(yadex): needs="x11" section="Games/Arcade" title="yadex" \
>> >            hints="Doom,3D" command="x-terminal-emulator -e /usr/games/yadex"
>> 
>> Why not just do command="/usr/games/yadex"?
>  
> The way Yadex (a Doom WAD editor) starts is kind of wierd.  You start it from
> a terminal, but when you want to edit a WAD file:
>
>    1. In the terminal you type "e whatever" to edit a level
>    2. Yadex uses xlib to put up its own x11 Window in which you graphically
>       edit a WAD's level.
>
> I'm trying to think of another program that does this to give as an example,
> and I'm drawing a blank.  In any event, you have to start the program in any
> kind of terminal, and then to do anything even slightly useful, it spawns its
> own specialized x11 window.
>
> Very different from a "normal" x11 program which immediately spawns its own
> window when you run the executable.

OK, so it sounds like you're right and lintian's wrong.  IMO, you should
install a lintian override to suppress the warning and just carry on
with your current packaging.

-- 
For every sprinkle I find, I shall kill you!



Reply to: