#(c) Copyright Barry Kauler, August 2012, puppylinux.com
#Licence GPL3 (see /usr/share/doc/legal)
#the menu hierarchy used in Puppy built from Woof >= 20120816
#'X-' categories are unofficial, Puppy-specific.
#note, "Sub" below means no specific sub-category allocated.
#the first two columns correspond to the category[;subcategory] field in a puppy pkg db entry.
# if there is no ;subcategory then the "Sub" row applies.
#XDG-CATEGORIES are Category names to be found in .desktop files.
#xdg-categories are assigned to menu locations by the .menu files in /etc/xdg/menus
# -- in addition to official XDG-CATEGORIES, have X-<category>-<subcategory>, for example X-System-storage
#Reference on xdg categories: http://standards.freedesktop.org/menu-spec/latest/apa.html

PUPHIERARCHY='
CATEGORY   SUB-CATEGORY    XDG-CATEGORIES                    EXAMPLES

Desktop    :Sub            X-Desktop                                           #eventmanager
Desktop    :appearance     X-Desktop-appearance,DesktopSettings                #desk_icon_theme_browndust gtk_theme_fishpie pwallpaper pcur
Desktop    :settings       X-Desktop-settings,X-DesktopCountry,Accessibility   #pupx xclock xkbconfigmanager
Desktop    :windows        X-Desktop-windows                                   #blackbox e16 fbpanel fluxbox fvwm icewm jwm2 lxpanel
Desktop    :sleep          X-Desktop-sleep,Screensaver                         #xlock_gui xlockmore
Desktop    :applet         X-Desktop-applet,X-DesktopApplets,Clock             #gfontsel glipper minixcal xclipboard

System     :Sub            X-System,System,HardwareSettings,Core               #bootmanager
System     :process        X-System-process,Monitor,X-SystemSchedule           #asapm lxtask pprocess pschedule
System     :memory         X-System-memory,X-SystemMemory                      #freememapplet_xlib memtest
System     :print          X-System-print                                      #gtklp hpijs
System     :storage        X-System-storage                                    #gparted grub
System     :security       X-System-security,Security                          #loginmanager

Setup      :Sub            X-Setup                                             #
Setup      :puppy          X-Setup-puppy,X-SetupEntry,PackageManager           #petget quicksetup
Setup      :wizard         X-Setup-wizard,X-SetupWizard                        #net_setup
Setup      :installation   X-Setup-installation,X-SetupUtility                 #wakepup2

Utility    :Sub            X-Utility,Utility,Electronics,Emulator,Engineering  #xdelta
Utility    :development    X-Utility-development,Development,Building,Debugger,IDE,Profiling,ProjectManagement,RevisionControl,Translation,GUIDesigner #anjuta bacon lxrad
Utility    :package        X-Utility-package,Archiving,Compression             #pbackup pmirror xarchiver
Utility    :shell          X-Utility-shell,TerminalEmulator,Shell              #cutecom minicom picocom rxvt
Utility    :help           X-Utility-help,Documentation                        #linux-faqs linux-howtos man-pages

Filesystem :Sub            X-Filesystem,FileSystem,FileTools                   #
Filesystem :filemanager    X-Filesystem-filemanager,FileManager                #gfnrename gwhere mc nautilus rox_filer
Filesystem :mount          X-Filesystem-mount,X-FilesystemMount                #pdrive 
Filesystem :find           X-Filesystem-find,X-FilesystemFind                  #pfind zfind
Filesystem :storage        X-Filesystem-storage,X-FilesystemUtility            #gdmap partview

Graphic    :Sub            X-Graphic,2DGraphics,3DGraphics                     #
Graphic    :paint          X-Graphic-paint,RasterGraphics                      #mtpaint xpaint
Graphic    :draw           X-Graphic-draw,VectorGraphics                       #inkscape inkscapelite inkview varicad xfig
Graphic    :flow           X-Graphic-flow,Chart,FlowChart,Presentation         #dia
Graphic    :viewer         X-Graphic-viewer,Viewer,X-Graphic-viewer            #eog flphoto fotoxx gimageview gpicview
Graphic    :camera         X-Graphic-camera,Photography                        #gphoto2 gtkam pupcamera
Graphic    :scanner        X-Graphic-scanner,Scanning,OCR                      #peasyscan xsane
Graphic    :print          X-Graphic-print                                     #peasyprint
Graphic    :utility        X-Graphic-utility,X-GraphicUtility                  #gcolor2 grabc scale2x

Document   :Sub            X-Document                                          #
Document   :layout         X-Document-layout,Publishing,WordProcessor,WebDevelopment      #abiword amaya lyx scribus
Document   :catalog        X-Document-catalog,Dictionary                       #
Document   :edit           X-Document-edit,TextEditor                          #bluefish e3 geany gedit jed joe leafpad medit
Document   :viewer         X-Document-viewer,Viewer                            #epdfview xman xpdf
Document   :utility        X-Document-utility,X-DocumentUtility                #PeasyPDF pdict

Business   :Sub            X-Business,X-Calculate                              #
Business   :spreadsheet    X-Business-spreadsheet,Spreadsheet                  #gnumeric
Business   :planner        X-Business-planner,ProjectManagement                #planner
Business   :finance        X-Business-finance,Finance                          #acct expensetracker grisbi homebank moneymanagerx
Business   :calc           X-Business-calc,Calculator,X-CalculateUtility       #calcoo cgtkcalc galculator gmeasures ycalc xcalc

Personal   :Sub            X-Personal                                          #
Personal   :database       X-Personal-database,ContactManagement               #dlume
Personal   :date           X-Personal-date,Calendar                            #osmo
Personal   :organizer      X-Personal-organizer,PDA                            #didiwiki notecase pplog
Personal   :security       X-Personal-security                                 #fpm2
Personal   :timing         X-Personal-timing,X-PersonalUtility                 #pstopwatch ptimer
Personal   :education      X-Personal-education,Languages,Science,ArtificialIntelligence,Astronomy,Biology,Chemistry,ComputerScience,DataVisualization,Economy,Electricity,Geography,Geology,Geoscience,History,ImageProcessing,Literature,Math,NumericalAnalysis,MedicalSoftware,Physics,Robotics,Sports,ParallelComputing #

Network    :Sub            X-Network,Network                                   #
Network    :firewall       X-Network-firewall                                  #fwbuilder linux_firewall
Network    :phone          X-Network-phone,Dialup                              #gnome-ppp gpptp pppoeconf_pup rp_pppoe_cli wvdial
Network    :connect        X-Network-connect,HamRadio,RemoteAccess             #pwireless
Network    :transfer       X-Network-transfer                                  #file_sharing-curlftpfs-mpscan pure_ftpd
Network    :utility        X-Network-utility                                   #

Internet   :Sub            X-Internet                                          #
Internet   :browser        X-Internet-browser,WebBrowser                       #dillo seamonkey
Internet   :chat           X-Internet-chat,Chat,InstantMessaging,VideoConference  #ayttm pidgin pidgin_perl psip wengophone xchat
Internet   :mailnews       X-Internet-mailnews,Email,News                      #fetchmail getmail mailx mozilla-thunderbird pan sendmail sylpheed
Internet   :transfer       X-Internet-transfer,Telephony,IRCClient,FileTransfer,P2P #axel bareftp gcurl gftp lftp ncftp puppy-podcast-grabber pwget
Internet   :login          X-Internet-login                                    #ssh_gui
Internet   :block          X-Internet-block                                    #adblock
Internet   :utility        X-Internet-utility                                  #flashplayer gurlchecker

Multimedia :Sub            X-Multimedia,Recorder                               #
Multimedia :mediaplayer    X-Multimedia-mediaplayer,Player                     #amarok amp audacious gecko-mediaplayer gnome-mplayer gxine
Multimedia :audiovideo     X-Multimedia-audiovideo,AudioVideo,AudioVideoEditing,Tuner      #
Multimedia :sound          X-Multimedia-sound,Music,Audio,Midi,Mixer,Sequencer #absvolume absvolume_puppy audacity aumix madplay mhwaveedit sgmixer
Multimedia :video          X-Multimedia-video,Video,TV                         #pupdvdtool
Multimedia :optical        X-Multimedia-optical,DiskBurning                    #cdw grafburn pburn
Multimedia :utility        X-Multimedia-utility                                #

Fun        :Sub            X-Fun,Game,Amusement,BlocksGame,KidsGame,Simulation,SportsGame #
Fun        :adventure      X-Fun-adventure,ActionGame,AdventureGame,RolePlaying  #lincity
Fun        :boardgame      X-Fun-boardgame,BoardGame                           #gnuchess
Fun        :cardgame       X-Fun-cardgame,CardGame                             #
Fun        :puzzle         X-Fun-puzzle,StrategyGame,LogicGame                 #picpuz rubix
Fun        :shooter        X-Fun-shooter                                       #xsoldier
Fun        :arcade         X-Fun-arcade,ArcadeGame                             #
'
