<?xml version="1.0"?>
<Menu>
  <Menu>
    <Name>Accessories</Name>
    <Directory>Utility.directory</Directory>
    <Categories>
      <And>
        <Category>Utility</Category>
        <Not>
          <Category>Accessibility</Category>
        </Not>
      </And>
    </Categories>
  </Menu>
  <Menu>
    <Name>Universal Access</Name>
    <Directory>Utility-Accessibility.directory</Directory>
    <Icon>preferences-desktop-accessibility</Icon>
    <Categories>
      <And>
        <Category>Accessibility</Category>
        <Not>
          <Category>Settings</Category>
        </Not>
      </And>
    </Categories>
  </Menu>
  <Menu>
    <Name>Developer Tools</Name>
    <Icon>applications-development</Icon>
    <Directory>Development.directory</Directory>
    <Categories>
      <Category>Development</Category>
      <Filename>emacs.desktop</Filename>
    </Categories>
    <Menu>
      <Name>Debugging</Name>
      <Icon>applications-debugging</Icon>
      <Categories>
        <Category>Debugging</Category>
      </Categories>
    </Menu>
    <Menu>
      <Name>Graphic Interface Design</Name>
      <Icon>applications-interfacedesign</Icon>
      <Categories>
        <Category>GUIDesigner</Category>
      </Categories>
    </Menu>
    <!-- <Menu>
     <Name>Haskell</Name>
     <Name xml:lang="th">Haskell</Name>
     <Icon>applications-haskell</Icon>
     <Categories>
  <Or>
      <SCSection>haskell</SCSection>
      <SCSection>restricted/haskell</SCSection>
      <SCSection>universe/haskell</SCSection>
      <SCSection>multiverse/haskell</SCSection>
  </Or>
     </Categories>
 </Menu>-->
    <Menu>
      <Name>IDEs</Name>
      <Icon>applications-ide</Icon>
      <Categories>
        <Category>IDE</Category>
      </Categories>
    </Menu>
    <!-- <Menu>
     <Name>Java</Name>
     <Name xml:lang="th">Java</Name>
     <Icon>applications-java</Icon>
     <Categories>
  <Or>
      <SCSection>java</SCSection>
      <SCSection>restricted/java</SCSection>
      <SCSection>universe/java</SCSection>
      <SCSection>multiverse/java</SCSection>
  </Or>
     </Categories>
 </Menu>-->
    <!-- <Menu>
     <Name>Libraries</Name>
     <Name xml:lang="th">Libraries</Name>
     <Icon>applications-libraries</Icon>
     <Categories>
  <Or>
      <SCSection>libdevel</SCSection>
      <SCSection>restricted/libdevel</SCSection>
      <SCSection>universe/libdevel</SCSection>
      <SCSection>multiverse/libdevel</SCSection>
  </Or>
     </Categories>
 </Menu>-->
    <!-- <Menu>
     <Name>Lisp</Name>
     <Name xml:lang="th">Lisp</Name>
     <Icon>applications-lisp</Icon>
     <Categories>
  <Or>
      <SCSection>lisp</SCSection>
      <SCSection>restricted/lisp</SCSection>
      <SCSection>universe/lisp</SCSection>
      <SCSection>multiverse/lisp</SCSection>
  </Or>
     </Categories>
 </Menu>-->
    <Menu>
      <Name>Localization</Name>
      <Icon>preferences-desktop-locale</Icon>
      <Categories>
        <And>
          <Category>Translation</Category>
        </And>
      </Categories>
    </Menu>
    <!-- <Menu>
     <Name>Mono/CLI</Name>
     <Icon>applications-monodevelopment</Icon>
     <Categories>
  <Or>
      <SCSection>cli-mono</SCSection>
      <SCSection>restricted/cli-mono</SCSection>
      <SCSection>universe/cli-mono</SCSection>
      <SCSection>multiverse/cli-mono</SCSection>
  </Or>
     </Categories>
 </Menu>-->
    <!-- <Menu>
     <Name>OCaml</Name>
     <Name xml:lang="th">OCaml</Name>
     <Icon>applications-caml</Icon>
     <Categories>
  <Or>
      <SCSection>ocaml</SCSection>
      <SCSection>restricted/ocaml</SCSection>
      <SCSection>universe/ocaml</SCSection>
      <SCSection>multiverse/ocaml</SCSection>
  </Or>
     </Categories>
 </Menu>-->
    <!-- <Menu>
     <Name>Perl</Name>
     <Name xml:lang="th">Perl</Name>
     <Icon>applications-perl</Icon>
     <Categories>
  <Or>
      <SCSection>perl</SCSection>
      <SCSection>restricted/perl</SCSection>
      <SCSection>universe/perl</SCSection>
      <SCSection>multiverse/perl</SCSection>
  </Or>
     </Categories>
 </Menu>-->
    <Menu>
      <Name>Profiling</Name>
      <Icon>applications-profiling</Icon>
      <Categories>
        <Category>Profiling</Category>
      </Categories>
    </Menu>
    <!-- <Menu>
     <Name>Python</Name>
     <Name xml:lang="th">Python</Name>
     <Icon>applications-python</Icon>
     <Categories>
  <Or>
      <SCSection>python</SCSection>
      <SCSection>restricted/python</SCSection>
      <SCSection>universe/python</SCSection>
      <SCSection>multiverse/python</SCSection>
  </Or>
     </Categories>
 </Menu>-->
    <!-- <Menu>
     <Name>Ruby</Name>
     <Name xml:lang="th">Ruby</Name>
     <Icon>applications-ruby</Icon>
     <Categories>
  <Or>
      <SCSection>ruby</SCSection>
      <SCSection>restricted/ruby</SCSection>
      <SCSection>universe/ruby</SCSection>
      <SCSection>multiverse/ruby</SCSection>
  </Or>
     </Categories>
 </Menu>-->
    <Menu>
      <Name>Version Control</Name>
      <Icon>applications-versioncontrol</Icon>
      <Categories>
        <Or>
          <!--      <SCSection>vcs</SCSection>
      <SCSection>restricted/vcs</SCSection>
      <SCSection>universe/vcs</SCSection>
      <SCSection>multiverse/vcs</SCSection>-->
          <Category>RevisionControl</Category>
        </Or>
      </Categories>
    </Menu>
    <Menu>
      <Name>Web Development</Name>
      <Icon>applications-internet</Icon>
      <Directory>kde-development-webdevelopment.directory</Directory>
      <Categories>
        <And>
          <Category>WebDevelopment</Category>
        </And>
      </Categories>
    </Menu>
  </Menu>
  <Menu>
    <Name>Education</Name>
    <Directory>Education.directory</Directory>
    <Icon>applications-education</Icon>
    <Categories>
      <And>
        <Category>Education</Category>
        <Not>
          <Category>Science</Category>
        </Not>
      </And>
    </Categories>
  </Menu>
  <Menu>
    <Name>Science &amp; Engineering</Name>
    <Icon>applications-science</Icon>
    <Directory>kde-science.directory</Directory>
    <Categories>
      <Or>
        <Category>Science</Category>
        <Category>Engineering</Category>
      </Or>
    </Categories>
    <Menu>
      <Name>Astronomy</Name>
      <Icon>applications-astronomy</Icon>
      <Categories>
        <Category>Astronomy</Category>
      </Categories>
    </Menu>
    <Menu>
      <Name>Biology</Name>
      <Icon>applications-biology</Icon>
      <Categories>
        <Category>Biology</Category>
      </Categories>
    </Menu>
    <Menu>
      <Name>Chemistry</Name>
      <Icon>applications-science</Icon>
      <Categories>
        <Category>Chemistry</Category>
      </Categories>
    </Menu>
    <Menu>
      <Name>Computer Science &amp; Robotics</Name>
      <Icon>computer</Icon>
      <Categories>
        <Or>
          <Category>ArtificialIntelligence</Category>
          <Category>ComputerScience</Category>
          <Category>Robotics</Category>
        </Or>
      </Categories>
    </Menu>
    <Menu>
      <Name>Electronics</Name>
      <Icon>cpu</Icon>
      <Categories>
        <Category>Electronics</Category>
      </Categories>
    </Menu>
    <Menu>
      <Name>Engineering</Name>
      <Icon>applications-engineering</Icon>
      <Categories>
        <Category>Engineering</Category>
      </Categories>
    </Menu>
    <Menu>
      <Name>Geography</Name>
      <Icon>applications-geography</Icon>
      <Categories>
        <Category>Geography</Category>
      </Categories>
    </Menu>
    <Menu>
      <Name>Geology</Name>
      <Icon>applications-geology</Icon>
      <Categories>
        <Or>
          <Category>Geology</Category>
          <Category>Geoscience</Category>
        </Or>
      </Categories>
    </Menu>
    <Menu>
      <Name>Mathematics</Name>
      <Icon>applications-mathematics</Icon>
      <Directory>kde-edu-mathematics.directory</Directory>
      <Categories>
        <Or>
          <Category>DataVisualization</Category>
          <Category>Math</Category>
          <Category>NumericalAnalysis</Category>
          <!--      <SCSection>math</SCSection>
      <SCSection>restricted/math</SCSection>
      <SCSection>universe/math</SCSection>
      <SCSection>multiverse/math</SCSection>
      <SCSection>gnu-r</SCSection>
      <SCSection>restricted/gnu-r</SCSection>
      <SCSection>universe/gnu-r</SCSection>
      <SCSection>multiverse/gnu-r</SCSection>-->
        </Or>
      </Categories>
    </Menu>
    <Menu>
      <Name>Physics</Name>
      <Icon>applications-physics</Icon>
      <Categories>
        <Category>Physics</Category>
      </Categories>
    </Menu>
  </Menu>
  <Menu>
    <Name>Fonts</Name>
    <Icon>preferences-desktop-font</Icon>
    <PkGroups>fonts</PkGroups>
  </Menu>
  <Menu>
    <Name>Games</Name>
    <Directory>kde-games.directory</Directory>
    <Icon>applications-games</Icon>
    <Categories>
      <And>
        <Category>Game</Category>
      </And>
    </Categories>
    <Menu>
      <Name>Arcade</Name>
      <Icon>applications-arcade</Icon>
      <Directory>kde-games-arcade.directory</Directory>
      <Categories>
        <Category>ArcadeGame</Category>
      </Categories>
    </Menu>
    <Menu>
      <Name>Board Games</Name>
      <Icon>applications-boardgames</Icon>
      <Directory>kde-games-board.directory</Directory>
      <Categories>
        <Category>BoardGame</Category>
      </Categories>
    </Menu>
    <Menu>
      <Name>Card Games</Name>
      <Icon>applications-cardgames</Icon>
      <Directory>kde-games-card.directory</Directory>
      <Categories>
        <Category>CardGame</Category>
      </Categories>
    </Menu>
    <Menu>
      <Name>Puzzles</Name>
      <Icon>applications-puzzles</Icon>
      <Directory>kde-games-logic.directory</Directory>
      <Categories>
        <Category>LogicGame</Category>
      </Categories>
    </Menu>
    <Menu>
      <Name>Role Playing</Name>
      <Icon>meeting-attending</Icon>
      <Categories>
        <Category>RolePlaying</Category>
      </Categories>
    </Menu>
    <Menu>
      <Name>Simulation</Name>
      <Icon>input-gaming</Icon>
      <Categories>
        <Category>Simulation</Category>
      </Categories>
    </Menu>
    <Menu>
      <Name>Sports</Name>
      <Directory>SportsGames.directory</Directory>
      <Icon>applications-toys</Icon>
      <Categories>
        <Category>SportsGame</Category>
      </Categories>
    </Menu>
  </Menu>
  <Menu>
    <Name>Graphics</Name>
    <Icon>applications-graphics</Icon>
    <Directory>Graphics.directory</Directory>
    <Categories>
      <And>
        <Category>Graphics</Category>
      </And>
    </Categories>
    <Menu>
      <Name>3D</Name>
      <Icon>applications-3D</Icon>
      <Categories>
        <And>
          <Category>3DGraphics</Category>
        </And>
      </Categories>
    </Menu>
    <Menu>
      <Name>Drawing</Name>
      <Icon>applications-drawing</Icon>
      <Categories>
        <And>
          <Category>VectorGraphics</Category>
        </And>
      </Categories>
    </Menu>
    <Menu>
      <Name>Painting &amp; Editing</Name>
      <Icon>preferences-desktop-color</Icon>
      <Categories>
        <And>
          <Category>RasterGraphics</Category>
        </And>
      </Categories>
    </Menu>
    <Menu>
      <Name>Photography</Name>
      <Icon>camera-photo</Icon>
      <Categories>
        <And>
          <Category>Photography</Category>
        </And>
      </Categories>
    </Menu>
    <Menu>
      <Name>Publishing</Name>
      <Icon>applications-publishing</Icon>
      <Categories>
        <And>
          <Category>Publishing</Category>
        </And>
      </Categories>
    </Menu>
    <Menu>
      <Name>Scanning &amp; OCR</Name>
      <Icon>scanner</Icon>
      <Categories>
        <Or>
          <Category>Scanning</Category>
          <Category>OCR</Category>
        </Or>
      </Categories>
    </Menu>
    <Menu>
      <Name>Viewers</Name>
      <Icon>layer-visible-on</Icon>
      <Categories>
        <And>
          <Category>Viewer</Category>
        </And>
      </Categories>
    </Menu>
  </Menu>
  <Menu>
    <Name>Internet</Name>
    <Directory>kde-internet.directory</Directory>
    <Icon>applications-internet</Icon>
    <Categories>
      <And>
        <Category>Network</Category>
      </And>
    </Categories>
    <Menu>
      <Name>Chat</Name>
      <Icon>applications-chat</Icon>
      <Categories>
        <And>
          <Category>InstantMessaging</Category>
        </And>
      </Categories>
    </Menu>
    <Menu>
      <Name>File Sharing</Name>
      <Icon>preferences-system-network-sharing</Icon>
      <Categories>
        <And>
          <Category>FileTransfer</Category>
        </And>
      </Categories>
    </Menu>
    <Menu>
      <Name>Mail</Name>
      <Icon>view-pim-mail</Icon>
      <Categories>
        <And>
          <Category>Email</Category>
        </And>
      </Categories>
    </Menu>
    <Menu>
      <Name>Web Browsers</Name>
      <Icon>applications-webbrowsers</Icon>
      <Categories>
        <And>
          <Category>WebBrowser</Category>
        </And>
      </Categories>
    </Menu>
  </Menu>
  <Menu>
    <Name>Multimedia</Name>
    <Directory>kde-multimedia.directory</Directory>
    <Icon>applications-multimedia</Icon>
    <Categories>
      <And>
        <Category>AudioVideo</Category>
      </And>
    </Categories>
  </Menu>
  <Menu>
    <Name>Office</Name>
    <Directory>kde-office.directory</Directory>
    <Icon>applications-office</Icon>
    <Categories>
      <And>
        <Category>Office</Category>
      </And>
    </Categories>
  </Menu>
  <Menu>
    <Name>Themes &amp; Tweaks</Name>
    <Icon>preferences-other</Icon>
    <Categories>
      <Category>Settings</Category>
    </Categories>
  </Menu>
  <!--     <Menu> -->
  <!--  <Name>System</Name> -->
  <!--  <Icon>applications-system</Icon> -->
  <!--  TODO What this session means??  -->
  <!--  <OnlyUnallocated/> -->
  <!--  <Categories> -->
  <!--  </Categories> -->
  <!--     </Menu> -->
</Menu>
