;ò
-Q!Ac        ]   @   sú  d  k  Td k Z d k Z d k Z d k Z d k Z d k Z d k Z d k Z d d d d d d d d	 d
 d d d d d d d d d d d d d d d d d d d d d d  d! d" d# d$ d% d& d' d( d) d* d+ d, d- d. d/ d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d: d; d< d= d> d? d@ dA dB dC dD dE dF dG dH dI dJ dK dL dM dN dO dP dQ dR dS dT dU dV dW dX dY dZ d[ d\ d] d^ f] Z	 d_ d` da db f Z
 dc dd f de df f dg dh f f Z e i di ƒ Z e i dj ƒ Z e i dk ƒ Z e i dl ƒ Z e i dm ƒ Z e i dn ƒ Z e i do ƒ Z e i dp ƒ Z e i dq ƒ Z e i dr ƒ Z e i ds ƒ Z e i dt e	 ƒ Z e i du e i ƒ Z e i dv e
 ƒ Z e i dw e ƒ Z e i dx ƒ Z e i e i dy dz ƒ ƒ Z  e i d{ ƒ Z! e i d| ƒ Z" e i d} e i# ƒ Z$ e i d~ ƒ Z% x% e$ D] Z& e i e& d ƒ e& d <qWd€ e i f d „  ƒ  YZ' e' ƒ  Z( e i) o§ e* d‚ dƒ d„ d… d† d‡ dˆ d‰ dŠ d‹ dŒ d dŽ d d d‘ d’ d“ d” d• d– d— d˜ d™ dš d› dœ d dž dŸ d  d¡ d¢ d£ d¤ d¥ d¦ d§ d¨ d© dª d« d¬ d­ d® d¯ d° d± d² d³ d´ dµ ƒ4 n d S(¶   (   s   *Ns   Office/Accessoriess   Office/Address Bookss   Office/Communications/Faxs   Office/Communications/PDAs   Office/Communications/Phones   Office/Communications/Others   Office/Drawings   Office/Graphss   Office/Presentationss   Office/Publishings   Office/Spreadsheetss   Office/Tasks Managements   Office/Time Managements   Office/Wordprocessorss   Office/Others   Internet/Chats   Internet/File Transfers   Internet/Instant Messagings   Internet/Mails   Internet/Newss   Internet/Remote Accesss   Internet/Video Conferences   Internet/Web Browserss   Internet/Web Editorss   Internet/Others   Multimedia/Graphicss   Multimedia/Sounds   Multimedia/Videos   Multimedia/Others   System/Archiving/Backups   System/Archiving/CD Burnings   System/Archiving/Compressions   System/Archiving/Others"   System/Configuration/Boot and Inits   System/Configuration/GNOMEs   System/Configuration/Hardwares   System/Configuration/KDEs   System/Configuration/Networkings   System/Configuration/Packagings   System/Configuration/Printings   System/Configuration/Userss   System/Configuration/Others   System/File toolss   System/Monitorings   System/Session/Windowmanagerss   System/Terminalss   System/Text Toolss   System/Others   More Applications/Accessibilitys    More Applications/Communicationss   More Applications/Databasess-   More Applications/Development/Code Generatorss6   More Applications/Development/Development Environmentss*   More Applications/Development/Interpreterss#   More Applications/Development/Toolss#   More Applications/Development/Others   More Applications/Documentations   More Applications/Editorss#   More Applications/Education/Economys%   More Applications/Education/Geographys#   More Applications/Education/Historys%   More Applications/Education/Languagess&   More Applications/Education/Literatures$   More Applications/Education/Sciencess"   More Applications/Education/Sportss!   More Applications/Education/Others   More Applications/Emulatorss   More Applications/Financess!   More Applications/Games/Adventures   More Applications/Games/Arcades   More Applications/Games/Boardss   More Applications/Games/Cardss   More Applications/Games/Puzzless   More Applications/Games/Sportss    More Applications/Games/Strategys   More Applications/Games/Toyss   More Applications/Games/Others2   More Applications/Sciences/Artificial Intelligences$   More Applications/Sciences/Astronomys"   More Applications/Sciences/Biologys$   More Applications/Sciences/Chemistrys+   More Applications/Sciences/Computer Sciences-   More Applications/Sciences/Data visualizations&   More Applications/Sciences/Electricitys&   More Applications/Sciences/Geosciencess+   More Applications/Sciences/Image Processings&   More Applications/Sciences/Mathematicss-   More Applications/Sciences/Numerical Analysiss-   More Applications/Sciences/Parallel Computings"   More Applications/Sciences/Physicss#   More Applications/Sciences/Roboticss    More Applications/Sciences/Others   More Applications/Others   gnomes   icewms   kdes   wmakers   /usr/share/icons/s   normals   /usr/share/icons/mini/s   minis   /usr/share/icons/large/s   larges   ^/usr/lib/menu/([^/]+)$s(   ^/usr/share/(gnome/apps|applnk)/([^/]+)$s   \?package\((.*)\):s   needs=("([^"]+)"|([^ 	"]+))s   section=("([^"]+)"|([^ 	"]+))s    ["\s]title=("([^"]+)"|([^ 	"]+))s   longtitle=("([^"]+)"|([^ 	"]+))s   command=(?:"([^"]+)"|([^ 	"]+))s"   [/usr/bin/]?kdesu -c "?([^ 	"]+)"?s   [/usr/bin/]?kdesus   icon="?([^" ]+)s   ValidMenuSectionss   ^[^#]*update-menuss   ExtraMenuNeedss   IconPaths'   /usr/share/icons/(mini/|large/).*\.xpm$s   IconFilenames   .*\.png$s   [0-9A-Z]s   ([0-9.][0-9.]+)($|\s)s   MenuLauncherss   /i    s	   MenuCheckc           B   s   t  Z d „  Z d „  Z RS(   Nc         C   s   t  i  i |  d ƒ d  S(   Ns	   MenuCheck(   s   AbstractChecks   __init__s   self(   s   self(    (    s   /usr/share/rpmlint/MenuCheck.pys   __init__œ   s    c         C   s¦  | i ƒ  o d  Sn | i ƒ  } | t i } g  } | i ƒ  } xœ| i	 ƒ  D]Ž} t i | ƒ }	 |	 o¾ |	 i d ƒ } | | d } t i | ƒ o t | d | ƒ qÛ| | j o t | d | ƒ n | d @d j o t | d | ƒ n | d @d j o t | d | ƒ n | i | ƒ qM t i | ƒ }	 |	 o6 | | d } t i | ƒ o t | d	 | ƒ qÛqM t i | ƒ }	 |	 oR | | d } t i | ƒ o t i d
 | d | ƒ o t | d | ƒ qÛqM qM Wt | ƒ d j o°| i ƒ  } | g  j o° | t i p | t i } | o t | d ƒ n# t i | ƒ o t | d ƒ n | t i  p | t i! } | o t | d ƒ q»t i | ƒ o t | d ƒ q»n xä| D]Ø} d | | f } t$ i% | ƒ } x°t' i( | d ƒ D]œ} t* i | ƒ }	 |	 o7 |	 i d ƒ } | | j o t | d | | ƒ q]n t, | d | ƒ d } t. i | ƒ }	 |	 o¹t' i( |	 i d ƒ p |	 i d ƒ ƒ }
 |
 d } xï t0 D]ç } | d i | ƒ oÍ d } | d o­ | i3 d |
 d ƒ p- | i3 d |
 d ƒ p | i3 d |
 d ƒ o
 d } n4 x0 | d D]$ } | | i5 ƒ  j o d } Pq:q:W| o t | d | d d ƒ qŠn |
 d } Pq²q²Wyk | d d j o | | nK | i3 d | ƒ p% | i3 d | ƒ p | i3 d | ƒ o t6 | ‚ n Wq8t6 j
 o t | d | ƒ q8Xn d } t7 i | ƒ }	 |	 ox |	 i8 ƒ  } | d p | d } t; i | d ƒ o t | d | ƒ n t< i | ƒ }	 |	 o t | d | ƒ qÜn t | d | ƒ t= } t> i | ƒ }	 |	 oœ |	 i8 ƒ  } | d p | d } t; i | d ƒ o t | d | ƒ n t< i | ƒ }	 |	 o t | d | ƒ n t? i | ƒ o t | d  | ƒ q¤n t | d! | ƒ t= } t@ i | ƒ }	 |	 oæ |	 i8 ƒ  } t' iA | d p | d ƒ } | d" d# d$ f j o~ tC i | ƒ }	 |	 oT |	 i8 ƒ  } | d p | d } | o( | tE j o t | d% | | ƒ q`qtqœt, | d& | ƒ q°| tF j o t, | d' | | ƒ q°n t, | d( | ƒ tG i | ƒ }	 |	 oÀ |	 i d ƒ } tI i | ƒ o t | d) | ƒ n | d d j o
 | d" j o t | d* | ƒ q–xg tJ D]K } y | | d | Wq3t6 j
 o" t | | d d+ | | ƒ q3Xq3Wqút | d, | ƒ qúWqÂWn d  S(-   Ni   i    s   non-file-in-menu-dirs   non-coherent-menu-filenamei$  s   non-readable-menu-fileiI   s   executable-menu-files   old-menu-entrys   None",s   /s   non-transparent-xpms   menu-without-postins   postin-without-update-menuss   menu-without-postuns   postun-without-update-menuss#   /lib/cpp %s%s 2>/dev/null| grep ^\?s   
s    incoherent-package-value-in-menus   unable-to-parse-menu-entryi   s   /bin/s	   /usr/bin/s   /usr/X11R6/bin/s*   use-of-launcher-in-menu-but-no-requires-ons   menu-command-not-in-packages   menu-longtitle-not-capitalizeds   version-in-menu-longtitles   no-longtitle-in-menus   menu-title-not-capitalizeds   version-in-menu-titles   invalid-titles   no-title-in-menus   x11s   texts   wms   invalid-menu-sections   unable-to-parse-menu-sections   strange-needss   unable-to-parse-menu-needss   invalid-menu-icon-types   hardcoded-path-in-menu-icons   -icon-not-in-packages   no-icon-in-menu(L   s   pkgs   isSources   filess   rpms   RPMTAG_NAMEs   pkgnames   menuss   dirNames   dirnames   keyss   fs   menu_file_regexs   searchs   ress   groups   basenames   modes   stats   S_ISREGs
   printErrors   printWarnings   appends   old_menu_file_regexs   xpm_ext_regexs   Pkgs   greps   lens   dirs   RPMTAG_POSTINs   RPMTAG_POSTINPROGs   postins   update_menus_regexs   RPMTAG_POSTUNs   RPMTAG_POSTUNPROGs   postuns   strs   commandss	   getoutputs   cmds   strings   splits   lines   package_regexs   packages	   printInfos   commands   command_regexs   command_lines	   launcherss   launchers   founds   has_keys   ls	   req_namess   KeyErrors   longtitle_regexs   groupss   grps   titles   capital_regexs   version_regexs   Nones   title_regexs   bad_title_regexs   needs_regexs   lowers   needss   section_regexs   sections   valid_sectionss   standard_needss
   icon_regexs   icons   icon_ext_regexs
   icon_pathss   path(   s   selfs   pkgs   cmds   basenames   packages   dirnames   needss   grps   titles   ress   command_lines   menuss   icons   modes   filess   paths   lines   pkgnames   postuns   fs   launchers   ls   postins   commands   strs   founds   sections   dir(    (    s   /usr/share/rpmlint/MenuCheck.pys   checkŸ   s    ,  (
 H
 	 
	= ((   s   __name__s
   __module__s   __init__s   check(    (    (    s   /usr/share/rpmlint/MenuCheck.pys	   MenuCheckš   s   	s   non-file-in-menu-dirs@   /usr/lib/menu must not contain something else than normal files.s   non-coherent-menu-filenames5   The menu file name should be /usr/lib/menu/<package>.s   non-readable-menu-files4   The menu file isn't readable. Check the permissions.s   old-menu-entrys   
s   non-transparent-xpms0   xpm icon should be transparent to used in menus.s   menu-without-postinsO   A menu file exists in the package but no %post is present to call
update-menus.s   postin-without-update-menussJ   A menu file exists in the package but the %post doesn't call update-menus.s   menu-without-postunsQ   A menu file exists in the package but no %postun is present to call
update-menus.s   postun-without-update-menussL   A menu file exists in the package but the %postun doesn't call update-menus.s    incoherent-package-value-in-menusG   The package field of the menu entry isn't the same as the package name.s*   use-of-launcher-in-menu-but-no-requires-onsY   The menu command uses a launcher but there is no require on the package
that contains it.s   menu-command-not-in-packages<   The command used in the menu isn't contained in the package.s   menu-longtitle-not-capitalizedsD   The longtitle field of the menu doesn't start with a capital letter.s   version-in-menu-longtitles—   A version is contained in the longtitle field of the menu entry. This is bad because
it will be prone to error when the version of the package changes.s   no-longtitle-in-menus4   The longtitle field isn't present in the menu entry.s   menu-title-not-capitalizedsF   The title field of the menu entry doesn't start with a capital letter.s   version-in-menu-titles“   A version is contained in the title field of the menu entry. This is bad because
it will be prone to error when the version of the package changes.s   no-title-in-menus0   The title field isn't present in the menu entry.s   invalid-menu-sections3   The section field of the menu entry isn't standard.s   unable-to-parse-menu-sections=   rpmlint wasn't able to parse the menu section. Please report.s   hardcoded-path-in-menu-iconsi   The path of the icon is hardcoded in the menu entry. This prevent multiple sizes
of the icon to be found.s   normal-icon-not-in-packages-   The normal icon isn't present in the package.s   mini-icon-not-in-packages+   The mini icon isn't present in the package.s   large-icon-not-in-packages,   The large icon isn't present in the package.s   no-icon-in-menus-   The menu entry doesn't contain an icon field.s   invalid-titles2   The menu title contains invalid characters like /.(+   s   Filters   AbstractChecks   rpms   res   commandss   strings   syss   stats   Pkgs   DEFAULT_VALID_SECTIONSs   DEFAULT_EXTRA_MENU_NEEDSs   DEFAULT_ICON_PATHs   compiles   menu_file_regexs   old_menu_file_regexs   package_regexs   needs_regexs   section_regexs   title_regexs   longtitle_regexs   command_regexs   kdesu_command_regexs   kdesu_bin_regexs
   icon_regexs   Configs	   getOptions   valid_sectionss	   MULTILINEs   update_menus_regexs   standard_needss
   icon_pathss   xpm_ext_regexs   icon_ext_regexs   capital_regexs   version_regexs   DEFAULT_LAUNCHERSs	   launcherss   bad_title_regexs   ls	   MenuChecks   checks   infos
   addDetails(#   s   icon_ext_regexs   section_regexs   title_regexs   DEFAULT_EXTRA_MENU_NEEDSs   bad_title_regexs   needs_regexs   rpms	   MenuChecks   capital_regexs   checks   res   kdesu_bin_regexs   xpm_ext_regexs   package_regexs   stats   strings   kdesu_command_regexs   command_regexs   DEFAULT_ICON_PATHs   DEFAULT_VALID_SECTIONSs	   launcherss   syss   commandss   standard_needss   old_menu_file_regexs   menu_file_regexs   longtitle_regexs   ls   valid_sectionss
   icon_pathss   Pkgs   version_regexs   update_menus_regexs
   icon_regexs   AbstractCheck(    (    s   /usr/share/rpmlint/MenuCheck.pys   ?
   s¶   								ÿ `! ¯	
