summaryrefslogtreecommitdiffstats
path: root/x11/gnome-menus/files
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-02-22 03:18:39 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-02-22 03:18:39 +0800
commit9061f6c27be802b1270b35b129d21a03c321722a (patch)
tree84dba18f225718b152e5508203f83619f1b25217 /x11/gnome-menus/files
parent0079069c90d57495a8659288c871c0617f26de5a (diff)
downloadmarcuscom-ports-9061f6c27be802b1270b35b129d21a03c321722a.tar
marcuscom-ports-9061f6c27be802b1270b35b129d21a03c321722a.tar.gz
marcuscom-ports-9061f6c27be802b1270b35b129d21a03c321722a.tar.bz2
marcuscom-ports-9061f6c27be802b1270b35b129d21a03c321722a.tar.lz
marcuscom-ports-9061f6c27be802b1270b35b129d21a03c321722a.tar.xz
marcuscom-ports-9061f6c27be802b1270b35b129d21a03c321722a.tar.zst
marcuscom-ports-9061f6c27be802b1270b35b129d21a03c321722a.zip
Update to 2.25.91.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11890 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-menus/files')
-rw-r--r--x11/gnome-menus/files/KDE.directory5
-rw-r--r--x11/gnome-menus/files/patch-Makefile.in11
-rw-r--r--x11/gnome-menus/files/patch-layout::applications.menu302
-rw-r--r--x11/gnome-menus/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py20
4 files changed, 338 insertions, 0 deletions
diff --git a/x11/gnome-menus/files/KDE.directory b/x11/gnome-menus/files/KDE.directory
new file mode 100644
index 000000000..d8cacb750
--- /dev/null
+++ b/x11/gnome-menus/files/KDE.directory
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Name=KDE
+Comment=Some comment about KDE menu
+Icon=/usr/local/share/icons/default.kde/48x48/apps/kmenu.png
+Type=Directory
diff --git a/x11/gnome-menus/files/patch-Makefile.in b/x11/gnome-menus/files/patch-Makefile.in
new file mode 100644
index 000000000..621e0233c
--- /dev/null
+++ b/x11/gnome-menus/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Mon Jul 24 15:57:52 2006
++++ Makefile.in Mon Jul 24 15:58:05 2006
+@@ -244,7 +244,7 @@ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ NULL =
+-@HAVE_PYTHON_TRUE@PYTHON_SUBDIRS = python simple-editor
++@HAVE_PYTHON_TRUE@PYTHON_SUBDIRS = python
+ ALL_SUBDIRS = \
+ po \
+ libmenu \
diff --git a/x11/gnome-menus/files/patch-layout::applications.menu b/x11/gnome-menus/files/patch-layout::applications.menu
new file mode 100644
index 000000000..116dad13f
--- /dev/null
+++ b/x11/gnome-menus/files/patch-layout::applications.menu
@@ -0,0 +1,302 @@
+--- layout/applications.menu.orig 2008-04-21 15:49:29.000000000 -0400
++++ layout/applications.menu 2008-04-28 14:51:24.000000000 -0400
+@@ -6,9 +6,8 @@
+ <Name>Applications</Name>
+ <Directory>X-GNOME-Menu-Applications.directory</Directory>
+
+- <!-- Scan legacy dirs first, as later items take priority -->
+- <KDELegacyDirs/>
+- <LegacyDir>/etc/X11/applnk</LegacyDir>
++ <!-- Scan legacy dirs first, as later items take priority
++ <LegacyDir>/etc/X11/applnk</LegacyDir> -->
+ <LegacyDir>/usr/share/gnome/apps</LegacyDir>
+
+ <!-- Read standard .directory and .desktop file locations -->
+@@ -31,6 +30,8 @@
+ applications here -->
+ <Not><Category>Accessibility</Category></Not>
+ <Not><Category>System</Category></Not>
++ <Not><Category>Qt</Category></Not>
++ <Not><Category>KDE</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End Accessories -->
+@@ -43,6 +44,8 @@
+ <And>
+ <Category>Accessibility</Category>
+ <Not><Category>Settings</Category></Not>
++ <Not><Category>Qt</Category></Not>
++ <Not><Category>KDE</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End Accessibility -->
+@@ -54,6 +57,8 @@
+ <Include>
+ <And>
+ <Category>Development</Category>
++ <Not><Category>Qt</Category></Not>
++ <Not><Category>KDE</Category></Not>
+ </And>
+ <Filename>emacs.desktop</Filename>
+ </Include>
+@@ -66,6 +71,8 @@
+ <Include>
+ <And>
+ <Category>Education</Category>
++ <Not><Category>Qt</Category></Not>
++ <Not><Category>KDE</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End Education -->
+@@ -77,6 +84,8 @@
+ <Include>
+ <And>
+ <Category>Game</Category>
++ <Not><Category>Qt</Category></Not>
++ <Not><Category>KDE</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End Games -->
+@@ -88,6 +97,8 @@
+ <Include>
+ <And>
+ <Category>Graphics</Category>
++ <Not><Category>Qt</Category></Not>
++ <Not><Category>KDE</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End Graphics -->
+@@ -99,6 +110,8 @@
+ <Include>
+ <And>
+ <Category>Network</Category>
++ <Not><Category>Qt</Category></Not>
++ <Not><Category>KDE</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End Internet -->
+@@ -110,6 +123,8 @@
+ <Include>
+ <And>
+ <Category>AudioVideo</Category>
++ <Not><Category>Qt</Category></Not>
++ <Not><Category>KDE</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End Multimedia -->
+@@ -121,6 +136,8 @@
+ <Include>
+ <And>
+ <Category>Office</Category>
++ <Not><Category>Qt</Category></Not>
++ <Not><Category>KDE</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End Office -->
+@@ -133,6 +150,8 @@
+ <And>
+ <Category>System</Category>
+ <Not><Category>Settings</Category></Not>
++ <Not><Category>Qt</Category></Not>
++ <Not><Category>KDE</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End System Tools -->
+@@ -147,8 +166,197 @@
+ <Not><Category>Core</Category></Not>
+ <Not><Category>Settings</Category></Not>
+ <Not><Category>Screensaver</Category></Not>
++ <Not><Category>Qt</Category></Not>
++ <Not><Category>KDE</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End Other -->
+
++ <!-- Read in overrides and child menus from applications-merged/ -->
++ <DefaultMergeDirs/>
++
++ <!-- KDE -->
++ <Menu>
++ <KDELegacyDirs/>
++ <Name>KDE</Name>
++ <Directory>KDE.directory</Directory>
++
++ <!-- KAccessories submenu -->
++ <Menu>
++ <Name>Accessories</Name>
++ <Directory>Accessories.directory</Directory>
++ <Include>
++ <And>
++ <Or>
++ <Category>Qt</Category>
++ <Category>KDE</Category>
++ </Or>
++ <Category>Utility</Category>
++ <Not>
++ <Category>System</Category>
++ </Not>
++ </And>
++ </Include>
++ </Menu> <!-- End KAccessories -->
++
++ <!-- KAccessibility submenu -->
++ <Menu>
++ <Name>Accessibility</Name>
++ <Directory>Accessibility.directory</Directory>
++ <Include>
++ <And>
++ <Or>
++ <Category>Qt</Category>
++ <Category>KDE</Category>
++ </Or>
++ <Category>Accessibility</Category>
++ <Not>
++ <Category>Settings</Category>
++ </Not>
++ </And>
++ </Include>
++ </Menu> <!-- End KAccessibility -->
++
++ <!-- KDevelopment Tools -->
++ <Menu>
++ <Name>Development</Name>
++ <Directory>Development.directory</Directory>
++ <Include>
++ <And>
++ <Or>
++ <Category>Qt</Category>
++ <Category>KDE</Category>
++ </Or>
++ <Category>Development</Category>
++ </And>
++ </Include>
++ </Menu> <!-- End KDevelopment Tools -->
++
++ <!-- KEducation -->
++ <Menu>
++ <Name>Education</Name>
++ <Directory>Education.directory</Directory>
++ <Include>
++ <And>
++ <Or>
++ <Category>Qt</Category>
++ <Category>KDE</Category>
++ </Or>
++ <Category>Education</Category>
++ </And>
++ </Include>
++ </Menu> <!-- End KEducation -->
++
++ <!-- KGames -->
++ <Menu>
++ <Name>Games</Name>
++ <Directory>Games.directory</Directory>
++ <Include>
++ <And>
++ <Or>
++ <Category>Qt</Category>
++ <Category>KDE</Category>
++ </Or>
++ <Category>Game</Category>
++ </And>
++ </Include>
++ </Menu> <!-- End KGames -->
++
++ <!-- KGraphics -->
++ <Menu>
++ <Name>Graphics</Name>
++ <Directory>Graphics.directory</Directory>
++ <Include>
++ <And>
++ <Or>
++ <Category>Qt</Category>
++ <Category>KDE</Category>
++ </Or>
++ <Category>Graphics</Category>
++ </And>
++ </Include>
++ </Menu> <!-- End KGraphics -->
++
++ <!-- KInternet -->
++ <Menu>
++ <Name>Internet</Name>
++ <Directory>Internet.directory</Directory>
++ <Include>
++ <And>
++ <Or>
++ <Category>Qt</Category>
++ <Category>KDE</Category>
++ </Or>
++ <Category>Network</Category>
++ </And>
++ </Include>
++ </Menu> <!-- End KInternet -->
++
++ <!-- KMultimedia -->
++ <Menu>
++ <Name>Multimedia</Name>
++ <Directory>Multimedia.directory</Directory>
++ <Include>
++ <And>
++ <Or>
++ <Category>Qt</Category>
++ <Category>KDE</Category>
++ </Or>
++ <Category>AudioVideo</Category>
++ </And>
++ </Include>
++ </Menu> <!-- End KMultimedia -->
++
++ <!-- KOffice -->
++ <Menu>
++ <Name>Office</Name>
++ <Directory>Office.directory</Directory>
++ <Include>
++ <And>
++ <Or>
++ <Category>Qt</Category>
++ <Category>KDE</Category>
++ </Or>
++ <Or>
++ <Category>Office</Category>
++ </Or>
++ </And>
++ </Include>
++ </Menu><!-- End KOffice -->
++
++ <!-- KSystem Tools-->
++ <Menu>
++ <Name>System</Name>
++ <Directory>System-Tools.directory</Directory>
++ <Include>
++ <And>
++ <Or>
++ <Category>Qt</Category>
++ <Category>KDE</Category>
++ </Or>
++ <Category>System</Category>
++ <Not><Category>Settings</Category></Not>
++ </And>
++ </Include>
++ </Menu> <!-- End KSystem Tools -->
++
++ <!-- KOther -->
++ <Menu>
++ <Name>Other</Name>
++ <Directory>Other.directory</Directory>
++ <OnlyUnallocated/>
++ <Include>
++ <And>
++ <Or>
++ <Category>Qt</Category>
++ <Category>KDE</Category>
++ </Or>
++ <Category>Application</Category>
++ <Not><Category>Core</Category></Not>
++ <Not><Category>Settings</Category></Not>
++ </And>
++ </Include>
++ </Menu> <!-- End KOther -->
++ </Menu> <!-- KDE -->
++
+ </Menu> <!-- End Applications -->
diff --git a/x11/gnome-menus/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py b/x11/gnome-menus/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py
new file mode 100644
index 000000000..b134a5817
--- /dev/null
+++ b/x11/gnome-menus/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py
@@ -0,0 +1,20 @@
+--- simple-editor/GMenuSimpleEditor/menutreemodel.py.orig Mon Apr 11 05:36:04 2005
++++ simple-editor/GMenuSimpleEditor/menutreemodel.py Tue Sep 6 11:04:46 2005
+@@ -29,7 +29,7 @@
+ if os.environ.has_key ("XDG_CONFIG_DIRS"):
+ conf_dirs = os.environ["XDG_CONFIG_DIRS"]
+ if not conf_dirs:
+- conf_dirs = "/etc/xdg"
++ conf_dirs = "%%LOCALBASE%%/etc/xdg"
+
+ for conf_dir in conf_dirs.split (":"):
+ menu_file_path = os.path.join (conf_dir, "menus", menu_file)
+@@ -51,7 +51,7 @@
+ if os.environ.has_key ("XDG_DATA_DIRS"):
+ data_dirs = os.environ["XDG_DATA_DIRS"]
+ if not data_dirs:
+- data_dirs = "/usr/local/share/:/usr/share/"
++ data_dirs = "%%LOCALBASE%%/share/"
+
+ for data_dir in data_dirs.split (":"):
+ retval = load_icon_from_path (os.path.join (data_dir, "pixmaps", icon_value))