List Info

Thread: lintian warning because of broken needs field in menu file




lintian warning because of broken needs field in menu file
country flaguser name
Germany
2007-07-17 05:06:23
Hi,
we are currently packaging a new openbox version.

openbox.menu looks like:
?package(openbox):
  needs="wm"
  section="Window Managers"
  title="Openbox"
  command="/usr/bin/openbox"
  icon="/usr/share/pixmaps/openbox.xpm"

When checking the resulting package with lintian I get a
warning:
W: openbox: menu-item-needs-tag-has-unknown-value wm
/usr/share/menu/openbox:6
N:
N:   The menu item has a line that has a needs= field with a
strange value.
N:   This may be intentional, but it's probably a typo that
will make menu
N:   ignore the line.
N:

What makes me wonder is that needs="wm" should be
valid referring to the
menu manual:

3.4. The `needs' field
----------------------
[....]

     4.   `wm': if it is a X11 window manager.  The current
window manager
          will exec(2) this program to avoid "Another
window manager is
          running" errors.

We didn't have this some time ago though. Is this a bug in
lintian? Do I miss
something?
Kind regards
Nico

-- 
Nico Golde - http://ngolde.de
- nionjabber.ccc.de - GPG: 0x73647CFF
For security reasons, all text in this mail is double-rot13
encrypted.
Re: lintian warning because of broken needs field in menu file
country flaguser name
United States
2007-07-23 13:37:29
Nico Golde <niondebian.org> writes:

> we are currently packaging a new openbox version.

> openbox.menu looks like:
> ?package(openbox):
>   needs="wm"
>   section="Window Managers"
>   title="Openbox"
>   command="/usr/bin/openbox"
>   icon="/usr/share/pixmaps/openbox.xpm"

> When checking the resulting package with lintian I get
a warning:
> W: openbox: menu-item-needs-tag-has-unknown-value wm
/usr/share/menu/openbox:6
> N:
> N:   The menu item has a line that has a needs= field
with a strange value.
> N:   This may be intentional, but it's probably a typo
that will make menu
> N:   ignore the line.
> N:

> What makes me wonder is that needs="wm"
should be valid referring to the
> menu manual:

> 3.4. The `needs' field
> ----------------------
> [....]

>      4.   `wm': if it is a X11 window manager.  The
current window manager
>           will exec(2) this program to avoid
"Another window manager is
>           running" errors.

It's just newer than when the lintian test was written. 
I've added it to
lintian and it will be in the next version.  Thanks!

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


-- 
To UNSUBSCRIBE, email to debian-lint-maint-REQUESTlists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmasterlists.debian.org


Re: lintian warning because of broken needs field in menu file
country flaguser name
United States
2007-07-23 19:36:53
Russ Allbery <rradebian.org> writes:
> Nico Golde <niondebian.org> writes:

>> we are currently packaging a new openbox version.

>> openbox.menu looks like:
>> ?package(openbox):
>>   needs="wm"
>>   section="Window Managers"
>>   title="Openbox"
>>   command="/usr/bin/openbox"
>>   icon="/usr/share/pixmaps/openbox.xpm"

>> When checking the resulting package with lintian I
get a warning:
>> W: openbox: menu-item-needs-tag-has-unknown-value
wm /usr/share/menu/openbox:6

> It's just newer than when the lintian test was written.
 I've added it to
> lintian and it will be in the next version.  Thanks!

Ah, no, that wasn't the problem; the problem is that lintian
didn't know
about the new menu hierarchy and therefore didn't recognize
"Window
Managers".  That will be fixed in the next version.

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


-- 
To UNSUBSCRIBE, email to debian-lint-maint-REQUESTlists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmasterlists.debian.org


Re: lintian warning because of broken needs field in menu file
country flaguser name
Germany
2007-07-24 06:44:04
Hi,
* Russ Allbery <rradebian.org> [2007-07-24 12:32]:
> Russ Allbery <rradebian.org> writes:
> > Nico Golde <niondebian.org> writes:
[...] 
> >> When checking the resulting package with
lintian I get a warning:
> >> W: openbox:
menu-item-needs-tag-has-unknown-value wm
/usr/share/menu/openbox:6
> 
> > It's just newer than when the lintian test was
written.  I've added it to
> > lintian and it will be in the next version. 
Thanks!
> 
> Ah, no, that wasn't the problem; the problem is that
lintian didn't know
> about the new menu hierarchy and therefore didn't
recognize "Window
> Managers".  That will be fixed in the next
version.

Alright, thanks very much!
Cheers
Nico
-- 
Nico Golde - http://ngolde.de
- nionjabber.ccc.de - GPG: 0x73647CFF
For security reasons, all text in this mail is double-rot13
encrypted.
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )