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

lintian: r29 - in trunk: checks debian



Author: jeroen
Date: 2004-02-12 03:04:52 +0100 (Thu, 12 Feb 2004)
New Revision: 29

Modified:
   trunk/checks/menu-format
   trunk/checks/menu-format.desc
   trunk/debian/changelog
Log:
checks/menu-format
+ Menu sub-policy 3.6.0 added two sections (Closes: #207529)


Modified: trunk/checks/menu-format
===================================================================
--- trunk/checks/menu-format	2004-02-12 00:58:20 UTC (rev 28)
+++ trunk/checks/menu-format	2004-02-12 02:04:52 UTC (rev 29)
@@ -32,23 +32,29 @@
 my @needs_tag_vals=qw(x11 text vc asmodule fvwmmodule fvwm2module fvwm95module
 		      fvwmother wm dwww wmaker);
 
+# Authorative source of menu sections:
+# http://www.debian.org/doc/packaging-manuals/menu-policy/ch2#s2.1
+
 # This is a list of all valid section on the root menu.
 my @root_sections=qw(Apps Games Screen WindowManagers XShells Help);
 
 # This is a list of all valid sections a menu item or submenu can go in.
+# Note: toplevel sections that are by letter of policy allowed ('Apps',
+# 'Games' and 'Screen') are not included anyway, as their use is discouraged.
 my @sections=qw(
 		Apps/Databases
 		Apps/Editors
+		Apps/Education
 		Apps/Emulators
 		Apps/Graphics
 		Apps/Hamradio
 		Apps/Math
 		Apps/Net
 		Apps/Programming
+		Apps/Science
+		Apps/Tools
 		Apps/Technical
-		Apps/Tools
 		Apps/Text
-		Apps/Science
 		Apps/Shells
 		Apps/Sound
 		Apps/Viewers
@@ -58,6 +64,7 @@
 		Games/Board
 		Games/Card
 		Games/Puzzles
+		Games/Simulation
 		Games/Sports
 		Games/Strategy
 		Games/Tetris-like

Modified: trunk/checks/menu-format.desc
===================================================================
--- trunk/checks/menu-format.desc	2004-02-12 00:58:20 UTC (rev 28)
+++ trunk/checks/menu-format.desc	2004-02-12 02:04:52 UTC (rev 29)
@@ -87,6 +87,9 @@
  .
  Note that most root sections have to be subsectioned, and should not be
  used as sections directly.
+ .
+ See: http://www.debian.org/doc/packaging-manuals/menu-policy/ch2#s2.1
+Ref: Debian Menu sub-policy 2.1
 
 Tag: menu-item-creates-new-root-section
 Type: error

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-02-12 00:58:20 UTC (rev 28)
+++ trunk/debian/changelog	2004-02-12 02:04:52 UTC (rev 29)
@@ -34,6 +34,7 @@
      + Check for required POTFILES.in and template.pot in debian/po
    * checks/menu-format
      + Drop menu-icon-has-bad-colors, it doesn't apply anymore (Closes: #199341)
+     + Menu sub-policy 3.6.0 added two sections (Closes: #207529)
    * checks/scripts
      + Recognise the 'tcl' interpreter, not the same as tclsh (Closes: #230182)
 
@@ -52,9 +53,8 @@
        Choices is only a substitution variable (Closes: #200802,#222648)
      + fix testing of dependencies to eliminate false
        positives of missing-debconf-dependency (Closes: #195201)
-  * 
 
- -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl>  Thu, 12 Feb 2004 01:56:54 +0100
+ -- Jeroen van Wolffelaar <jeroen@wolffelaar.nl>  Thu, 12 Feb 2004 02:56:27 +0100
 
 lintian (1.22.9) unstable; urgency=low
 



Reply to: