Bug#478578: lintian: Please recognise (and accept) menu-2 format
Package: lintian
Version: 1.23.46
Severity: normal
Lintian does not recognise menu-2 format in debian/menu files. It
complains in the following way:
$ lintian -i qrfcview_0.62-5_i386.deb
E: qrfcview: bad-test-in-menu-item /usr/share/menu/qrfcview:1
N:
N: The menu file contains an item that does not start with the text
N: "?package(somepackage):". All menu file lines must test for the
N: existence of a package in this way.
N:
E: qrfcview: menu-item-missing-required-tag needs /usr/share/menu/qrfcview:2
N:
N: The menu item has a line that is missing a required tag. It's likely
N: that the line will have no effect without this tag. install-menu may
N: report this as an error during package installation.
N:
E: qrfcview: bad-test-in-menu-item /usr/share/menu/qrfcview:3
E: qrfcview: bad-test-in-menu-item /usr/share/menu/qrfcview:4
E: qrfcview: bad-test-in-menu-item /usr/share/menu/qrfcview:5
E: qrfcview: bad-test-in-menu-item /usr/share/menu/qrfcview:6
E: qrfcview: bad-test-in-menu-item /usr/share/menu/qrfcview:7
E: qrfcview: bad-test-in-menu-item /usr/share/menu/qrfcview:8
E: qrfcview: bad-test-in-menu-item /usr/share/menu/qrfcview:9
though the menu file is in correct menu-2 format:
!C menu-2
?package(qrfcview):
needs="X11"
section="Applications/Text"
title="qRFCView"
description="RFC Viewer"
command="/usr/bin/qRFCView"
icon="/usr/share/pixmaps/qrfcview.xpm"
;
(see http://lists.debian.org/debian-devel-announce/2007/07/msg00000.html)
All packages in those pages:
http://lintian.debian.org/reports/tags/bad-test-in-menu-item.html
and
http://lintian.debian.org/reports/tags/menu-item-missing-required-tag.html
are simply using menu-2 format.
Notice that this bug report is different from #447391: I do not ask
you to put menu-2 as standard, simply not to choke on it.
Thanks for your work on Lintian,
Frédéric Lehobey
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-6-k7 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lintian depends on:
ii binutils 2.18.1~cvs20080103-4 The GNU assembler, linker and bina
ii diffstat 1.45-2 produces graph of changes introduc
ii dpkg-dev 1.14.18 package building tools for Debian
ii file 4.23-2 Determines file type using "magic"
ii gettext 0.17-2 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libparse-debianchan 1.1.1-2 parse Debian changelogs and output
ii liburi-perl 1.35.dfsg.1-1 Manipulates and accesses URI strin
ii man-db 2.5.1-3 on-line manual pager
ii perl [libdigest-md5 5.8.8-12 Larry Wall's Practical Extraction
lintian recommends no packages.
-- no debconf information
Reply to: