debian/ 0000775 0000000 0000000 00000000000 12311515216 007165 5 ustar debian/desktop-files/ 0000775 0000000 0000000 00000000000 12311515216 011736 5 ustar debian/desktop-files/ActionGames.directory.in 0000664 0000000 0000000 00000000125 12311515216 016461 0 ustar [Desktop Entry]
_Name=Action
_Comment=Action games
Icon=weather-storm
Type=Directory
debian/desktop-files/AdventureGames.directory.in 0000664 0000000 0000000 00000000116 12311515216 017201 0 ustar [Desktop Entry]
_Name=Adventure
_Comment=Adventure style games
Type=Directory
debian/desktop-files/ArcadeGames.directory.in 0000664 0000000 0000000 00000000134 12311515216 016423 0 ustar [Desktop Entry]
_Name=Arcade
_Comment=Arcade style games
Icon=gnome-joystick
Type=Directory
debian/desktop-files/BlocksGames.directory.in 0000664 0000000 0000000 00000000144 12311515216 016462 0 ustar [Desktop Entry]
_Name=Falling blocks
_Comment=Falling blocks games
Icon=quadrapassel
Type=Directory
debian/desktop-files/BoardGames.directory.in 0000664 0000000 0000000 00000000115 12311515216 016272 0 ustar [Desktop Entry]
_Name=Board
_Comment=Board games
Icon=desktop
Type=Directory
debian/desktop-files/CardGames.directory.in 0000664 0000000 0000000 00000000124 12311515216 016114 0 ustar [Desktop Entry]
_Name=Cards
_Comment=Card games
Icon=gnome-aisleriot
Type=Directory
debian/desktop-files/Debian.directory.in 0000664 0000000 0000000 00000000145 12311515216 015453 0 ustar [Desktop Entry]
_Name=Debian
_Comment=The Debian menu
Icon=debian-logo
Type=Directory
NoDisplay=true
debian/desktop-files/GnomeScience.directory.in 0000664 0000000 0000000 00000000150 12311515216 016624 0 ustar [Desktop Entry]
_Name=Science
_Comment=Scientific applications
Icon=applications-science
Type=Directory
debian/desktop-files/KidsGames.directory.in 0000664 0000000 0000000 00000000130 12311515216 016132 0 ustar [Desktop Entry]
_Name=Kids
_Comment=Games for kids
Icon=gnome-amusements
Type=Directory
debian/desktop-files/LogicGames.directory.in 0000664 0000000 0000000 00000000133 12311515216 016300 0 ustar [Desktop Entry]
_Name=Logic
_Comment=Logic and puzzle games
Icon=system-run
Type=Directory
debian/desktop-files/RolePlayingGames.directory.in 0000664 0000000 0000000 00000000142 12311515216 017470 0 ustar [Desktop Entry]
_Name=Role playing
_Comment=Role playing games
Icon=avatar-default
Type=Directory
debian/desktop-files/Settings-System.directory.in 0000664 0000000 0000000 00000000205 12311515216 017350 0 ustar [Desktop Entry]
Type=Directory
_Name=Administration
_Comment=Change system-wide settings (affects all users)
Icon=preferences-system
debian/desktop-files/Settings.directory.in 0000664 0000000 0000000 00000000150 12311515216 016065 0 ustar [Desktop Entry]
_Name=Preferences
_Comment=Personal preferences
Icon=preferences-desktop
Type=Directory
debian/desktop-files/SimulationGames.directory.in 0000664 0000000 0000000 00000000112 12311515216 017364 0 ustar [Desktop Entry]
_Name=Simulation
_Comment=Simulation games
Type=Directory
debian/desktop-files/SportsGames.directory.in 0000664 0000000 0000000 00000000123 12311515216 016534 0 ustar [Desktop Entry]
_Name=Sports
_Comment=Sports games
Icon=trophy-gold
Type=Directory
debian/desktop-files/StrategyGames.directory.in 0000664 0000000 0000000 00000000106 12311515216 017045 0 ustar [Desktop Entry]
_Name=Strategy
_Comment=Strategy games
Type=Directory
debian/patches/ 0000775 0000000 0000000 00000000000 12311515216 010614 5 ustar debian/patches/01_default_prefix.patch 0000664 0000000 0000000 00000002645 12311515216 015145 0 ustar --- a/libmenu/gmenu-tree.c
+++ b/libmenu/gmenu-tree.c
@@ -391,6 +391,16 @@
}
}
+static char *
+prefix_menu_name (const char *orig_name)
+{
+ char *prefix;
+ prefix = g_getenv ("XDG_MENU_PREFIX");
+ if (prefix == NULL)
+ prefix = "gnome-";
+ return g_strconcat (prefix, orig_name, NULL);
+}
+
static gboolean
gmenu_tree_canonicalize_path (GMenuTree *tree,
GError **error)
@@ -416,6 +426,9 @@
menu_file = tree->basename;
xdg_menu_prefix = g_getenv ("XDG_MENU_PREFIX");
+ if (xdg_menu_prefix == NULL)
+ xdg_menu_prefix = "gnome-";
+
if (xdg_menu_prefix != NULL)
{
gchar *prefixed_basename;
@@ -2077,13 +2090,10 @@
found = FALSE;
menu_file = g_strconcat (menu_name, ".menu", NULL);
- if (strcmp (menu_file, "applications.menu") == 0 &&
- g_getenv ("XDG_MENU_PREFIX"))
+ if (strcmp (menu_file, "applications.menu") == 0)
{
char *prefixed_basename;
- prefixed_basename = g_strdup_printf ("%s%s",
- g_getenv ("XDG_MENU_PREFIX"),
- menu_file);
+ prefixed_basename = prefix_menu_name (menu_file);
found = load_parent_merge_file_from_basename (tree, loaded_menu_files,
layout, prefixed_basename,
canonical_basedir);
debian/patches/02_kill_debian_menu.patch 0000664 0000000 0000000 00000001132 12311515216 015414 0 ustar Index: gnome-menus-3.4.2/libmenu/desktop-entries.c
===================================================================
--- gnome-menus-3.4.2.orig/libmenu/desktop-entries.c 2011-10-24 13:48:12.000000000 +0200
+++ gnome-menus-3.4.2/libmenu/desktop-entries.c 2013-01-02 21:11:23.617525227 +0100
@@ -250,6 +250,8 @@ desktop_entry_load_directory (DesktopEnt
static gboolean
desktop_entry_load (DesktopEntry *entry)
{
+ if (strstr (entry->path, "/menu-xdg/"))
+ return FALSE;
if (entry->type == DESKTOP_ENTRY_DESKTOP)
{
DesktopEntryDesktop *entry_desktop = (DesktopEntryDesktop*)entry;
debian/patches/03_kde-legacydirs.patch 0000664 0000000 0000000 00000000513 12311515216 015025 0 ustar --- a/layout/gnome-applications.menu
+++ b/layout/gnome-applications.menu
@@ -7,7 +7,6 @@
X-GNOME-Menu-Applications.directory
-
/etc/X11/applnk
/usr/share/gnome/apps
debian/patches/08_settings-menus.patch 0000664 0000000 0000000 00000014005 12311515216 015131 0 ustar Index: b/layout/gnome-applications.menu
===================================================================
--- a/layout/gnome-applications.menu
+++ b/layout/gnome-applications.menu
@@ -259,6 +259,118 @@
dconf-editor.desktop
setroubleshoot.desktop
+
+
debian/patches/09_app_install_entry.patch 0000664 0000000 0000000 00000001142 12311515216 015672 0 ustar Description: Include Software Center in menus
Index: b/layout/gnome-applications.menu
===================================================================
--- a/layout/gnome-applications.menu
+++ b/layout/gnome-applications.menu
@@ -433,4 +433,16 @@
+
+ ubuntu-software-center.desktop
+
+
+
+
+
+
+
+ ubuntu-software-center.desktop
+
+
debian/patches/09_games-menu.patch 0000664 0000000 0000000 00000006722 12311515216 014212 0 ustar Index: b/layout/gnome-applications.menu
===================================================================
--- a/layout/gnome-applications.menu
+++ b/layout/gnome-applications.menu
@@ -115,8 +115,107 @@
Game
-
-
+ ActionGame
+ AdventureGame
+ ArcadeGame
+ BoardGame
+ BlocksGame
+ CardGame
+ KidsGame
+ LogicGame
+ Simulation
+ SportsGame
+ StrategyGame
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -239,6 +338,7 @@
System
Settings
+ Game
X-GNOME-Utilities
debian/patches/11_science-menu.patch 0000664 0000000 0000000 00000002070 12311515216 014510 0 ustar --- a/layout/gnome-applications.menu
+++ b/layout/gnome-applications.menu
@@ -88,10 +88,23 @@
Education
+ Science
+
+
+