diff options
Diffstat (limited to 'x11/gnome-menus')
-rw-r--r-- | x11/gnome-menus/Makefile | 40 | ||||
-rw-r--r-- | x11/gnome-menus/distinfo | 2 | ||||
-rw-r--r-- | x11/gnome-menus/files/KDE.directory | 5 | ||||
-rw-r--r-- | x11/gnome-menus/files/patch-layout::applications.menu | 357 | ||||
-rw-r--r-- | x11/gnome-menus/files/patch-layout::preferences.menu | 41 | ||||
-rw-r--r-- | x11/gnome-menus/files/patch-layout::settings.menu | 22 | ||||
-rw-r--r-- | x11/gnome-menus/pkg-descr | 12 | ||||
-rw-r--r-- | x11/gnome-menus/pkg-plist | 100 |
8 files changed, 579 insertions, 0 deletions
diff --git a/x11/gnome-menus/Makefile b/x11/gnome-menus/Makefile new file mode 100644 index 000000000..6a3de58d4 --- /dev/null +++ b/x11/gnome-menus/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: gnome-menus +# Date created: 30 November 2004 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gnome-menus +PORTVERSION= 2.11.1 +CATEGORIES= x11 gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.11 +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Implementation of the FreeDesktop Desktop Menu Spec + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_REINPLACE= yes +USE_GMAKE= yes +USE_GNOME= gnomeprefix gnomehack intlhack gnomevfs2 +USE_LIBTOOL_VER=15 +USE_PYTHON= yes +INSTALLS_SHLIB= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/share/gnome|${X11BASE}/share/gnome|g' \ + ${WRKSRC}/layout/applications.menu \ + ${WRKSRC}/layout/settings.menu + @${SED} -e 's|/usr/local|${LOCALBASE}|g' \ + < ${FILESDIR}/KDE.directory > ${WRKSRC}/KDE.directory + +post-install: + @${MKDIR} ${PREFIX}/share/gnome/desktop-directories + @${INSTALL_DATA} ${WRKSRC}/KDE.directory ${PREFIX}/share/gnome/desktop-directories + +.include <bsd.port.mk> diff --git a/x11/gnome-menus/distinfo b/x11/gnome-menus/distinfo new file mode 100644 index 000000000..3c4c1f0e4 --- /dev/null +++ b/x11/gnome-menus/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/gnome-menus-2.11.1.tar.bz2) = 367a0b73d8db65eff2e54f2b566cdcf9 +SIZE (gnome2/gnome-menus-2.11.1.tar.bz2) = 384567 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-layout::applications.menu b/x11/gnome-menus/files/patch-layout::applications.menu new file mode 100644 index 000000000..a3644747b --- /dev/null +++ b/x11/gnome-menus/files/patch-layout::applications.menu @@ -0,0 +1,357 @@ +--- layout/applications.menu.orig Wed Mar 9 11:49:53 2005 ++++ layout/applications.menu Fri Mar 25 11:45:09 2005 +@@ -6,24 +6,26 @@ + <Name>Applications</Name> + <Directory>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 --> + <DefaultAppDirs/> + <DefaultDirectoryDirs/> + +- <!-- Read in overrides and child menus from applications-merged/ --> +- <DefaultMergeDirs/> +- + <!-- Accessories submenu --> + <Menu> + <Name>Accessories</Name> + <Directory>Accessories.directory</Directory> + <Include> + <And> ++ <Not> ++ <Or> ++ <Category>Qt</Category> ++ <Category>KDE</Category> ++ </Or> ++ </Not> + <Category>Utility</Category> + <Not> + <Category>System</Category> +@@ -38,6 +40,12 @@ + <Directory>Accessibility.directory</Directory> + <Include> + <And> ++ <Not> ++ <Or> ++ <Category>Qt</Category> ++ <Category>KDE</Category> ++ </Or> ++ </Not> + <Category>Accessibility</Category> + <Not> + <Category>Settings</Category> +@@ -52,6 +60,12 @@ + <Directory>Development.directory</Directory> + <Include> + <And> ++ <Not> ++ <Or> ++ <Category>Qt</Category> ++ <Category>KDE</Category> ++ </Or> ++ </Not> + <Category>Development</Category> + </And> + <Filename>emacs.desktop</Filename> +@@ -64,6 +78,12 @@ + <Directory>Edutainment.directory</Directory> + <Include> + <And> ++ <Not> ++ <Or> ++ <Category>Qt</Category> ++ <Category>KDE</Category> ++ </Or> ++ </Not> + <Category>Education</Category> + </And> + </Include> +@@ -75,6 +95,12 @@ + <Directory>Games.directory</Directory> + <Include> + <And> ++ <Not> ++ <Or> ++ <Category>Qt</Category> ++ <Category>KDE</Category> ++ </Or> ++ </Not> + <Category>Game</Category> + </And> + </Include> +@@ -86,6 +112,12 @@ + <Directory>Graphics.directory</Directory> + <Include> + <And> ++ <Not> ++ <Or> ++ <Category>Qt</Category> ++ <Category>KDE</Category> ++ </Or> ++ </Not> + <Category>Graphics</Category> + </And> + </Include> +@@ -97,6 +129,12 @@ + <Directory>Internet.directory</Directory> + <Include> + <And> ++ <Not> ++ <Or> ++ <Category>Qt</Category> ++ <Category>KDE</Category> ++ </Or> ++ </Not> + <Category>Network</Category> + </And> + </Include> +@@ -108,6 +146,12 @@ + <Directory>Multimedia.directory</Directory> + <Include> + <And> ++ <Not> ++ <Or> ++ <Category>Qt</Category> ++ <Category>KDE</Category> ++ </Or> ++ </Not> + <Category>AudioVideo</Category> + </And> + </Include> +@@ -119,6 +163,12 @@ + <Directory>Office.directory</Directory> + <Include> + <And> ++ <Not> ++ <Or> ++ <Category>Qt</Category> ++ <Category>KDE</Category> ++ </Or> ++ </Not> + <Category>Office</Category> + </And> + </Include> +@@ -130,6 +180,12 @@ + <Directory>System-Tools.directory</Directory> + <Include> + <And> ++ <Not> ++ <Or> ++ <Category>Qt</Category> ++ <Category>KDE</Category> ++ </Or> ++ </Not> + <Category>System</Category> + <Not><Category>Settings</Category></Not> + </And> +@@ -143,11 +199,204 @@ + <OnlyUnallocated/> + <Include> + <And> ++ <Not> ++ <Or> ++ <Category>Qt</Category> ++ <Category>KDE</Category> ++ </Or> ++ </Not> + <Category>Application</Category> + <Not><Category>Core</Category></Not> + <Not><Category>Settings</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 --> ++ ++ <!-- KEdutainment --> ++ <Menu> ++ <Name>Edutainment</Name> ++ <Directory>Edutainment.directory</Directory> ++ <Include> ++ <And> ++ <Or> ++ <Category>Qt</Category> ++ <Category>KDE</Category> ++ </Or> ++ <Category>Education</Category> ++ </And> ++ </Include> ++ </Menu> <!-- End KEdutainment --> ++ ++ <!-- 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-layout::preferences.menu b/x11/gnome-menus/files/patch-layout::preferences.menu new file mode 100644 index 000000000..fef1dc0dc --- /dev/null +++ b/x11/gnome-menus/files/patch-layout::preferences.menu @@ -0,0 +1,41 @@ +--- layout/preferences.menu.orig Sat Dec 11 07:58:50 2004 ++++ layout/preferences.menu Tue Mar 1 01:28:57 2005 +@@ -9,12 +9,15 @@ + <DefaultAppDirs/> + <DefaultDirectoryDirs/> + +- <!-- Read in overrides and child menus from preferences-merged/ --> +- <DefaultMergeDirs/> +- + <!-- Stuff in the toplevel --> + <Include> + <And> ++ <Not> ++ <Or> ++ <Category>Qt</Category> ++ <Category>KDE</Category> ++ </Or> ++ </Not> + <Category>Settings</Category> + <Not> + <Or> +@@ -36,10 +39,19 @@ + <Directory>Settings-Accessibility.directory</Directory> + <Include> + <And> ++ <Not> ++ <Or> ++ <Category>Qt</Category> ++ <Category>KDE</Category> ++ </Or> ++ </Not> + <Category>Settings</Category> + <Category>Accessibility</Category> + </And> + </Include> + </Menu> ++ ++ <!-- Read in overrides and child menus from preferences-merged/ --> ++ <DefaultMergeDirs/> + + </Menu> <!-- End Prefs --> diff --git a/x11/gnome-menus/files/patch-layout::settings.menu b/x11/gnome-menus/files/patch-layout::settings.menu new file mode 100644 index 000000000..115f03ce7 --- /dev/null +++ b/x11/gnome-menus/files/patch-layout::settings.menu @@ -0,0 +1,22 @@ +--- layout/settings.menu.orig Thu Apr 14 17:36:13 2005 ++++ layout/settings.menu Tue May 17 18:42:56 2005 +@@ -25,10 +25,19 @@ + <Directory>System-Settings.directory</Directory> + <Include> + <And> ++ <Not> ++ <Or> ++ <Category>Qt</Category> ++ <Category>KDE</Category> ++ </Or> ++ </Not> + <Category>Settings</Category> + <Category>System</Category> + </And> + </Include> + </Menu> <!-- End System Settings --> ++ ++ <!-- Read in overrides and child menus from settings-merged/ --> ++ <DefaultMergeDirs/> + + </Menu> <!-- End Applications --> diff --git a/x11/gnome-menus/pkg-descr b/x11/gnome-menus/pkg-descr new file mode 100644 index 000000000..3f2b7c336 --- /dev/null +++ b/x11/gnome-menus/pkg-descr @@ -0,0 +1,12 @@ +This package is free software and is part of the +GNOME project. + +The package contains an implementation of the draft "Desktop +Menu Specification" from freedesktop.org: + + http://www.freedesktop.org/Standards/menu-spec + +Also contained here are the GNOME menu layout configuration +files, .directory files and assorted menu related utility programs. + +-- gnome-menus README diff --git a/x11/gnome-menus/pkg-plist b/x11/gnome-menus/pkg-plist new file mode 100644 index 000000000..b75bad9fc --- /dev/null +++ b/x11/gnome-menus/pkg-plist @@ -0,0 +1,100 @@ +bin/gnome-menu-spec-test +bin/gmenu-simple-editor +etc/xdg/menus/applications.menu +etc/xdg/menus/preferences.menu +etc/xdg/menus/settings.menu +include/gnome-menus/gmenu-tree.h +lib/libgnome-menu.a +lib/libgnome-menu.so +lib/libgnome-menu.so.2 +libdata/pkgconfig/libgnome-menu.pc +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/__init__.py +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/__init__.pyc +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/__init__.pyo +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/config.py +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/config.pyc +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/config.pyo +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/main.py +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/main.pyc +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/main.pyo +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/maindialog.py +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/maindialog.pyc +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/maindialog.pyo +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/menufilewriter.py +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/menufilewriter.pyc +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/menufilewriter.pyo +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/menutreemodel.py +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/menutreemodel.pyc +%%PYTHON_SITELIBDIR%%/GMenuSimpleEditor/menutreemodel.pyo +%%PYTHON_SITELIBDIR%%/gmenu.so +share/gnome/desktop-directories/Accessibility.directory +share/gnome/desktop-directories/Accessories.directory +share/gnome/desktop-directories/Applications.directory +share/gnome/desktop-directories/Development.directory +share/gnome/desktop-directories/Edutainment.directory +share/gnome/desktop-directories/Games.directory +share/gnome/desktop-directories/Graphics.directory +share/gnome/desktop-directories/Internet.directory +share/gnome/desktop-directories/KDE.directory +share/gnome/desktop-directories/Multimedia.directory +share/gnome/desktop-directories/Office.directory +share/gnome/desktop-directories/Other.directory +share/gnome/desktop-directories/Settings-Accessibility.directory +share/gnome/desktop-directories/Settings.directory +share/gnome/desktop-directories/System-Settings.directory +share/gnome/desktop-directories/System-Tools.directory +share/gnome/gnome-menus/glade/gmenu-simple-editor.glade +share/locale/ar/LC_MESSAGES/gnome-menus.mo +share/locale/bg/LC_MESSAGES/gnome-menus.mo +share/locale/ca/LC_MESSAGES/gnome-menus.mo +share/locale/cs/LC_MESSAGES/gnome-menus.mo +share/locale/cy/LC_MESSAGES/gnome-menus.mo +share/locale/da/LC_MESSAGES/gnome-menus.mo +share/locale/de/LC_MESSAGES/gnome-menus.mo +share/locale/el/LC_MESSAGES/gnome-menus.mo +share/locale/en_GB/LC_MESSAGES/gnome-menus.mo +share/locale/en_CA/LC_MESSAGES/gnome-menus.mo +share/locale/es/LC_MESSAGES/gnome-menus.mo +share/locale/et/LC_MESSAGES/gnome-menus.mo +share/locale/eu/LC_MESSAGES/gnome-menus.mo +share/locale/fa/LC_MESSAGES/gnome-menus.mo +share/locale/fi/LC_MESSAGES/gnome-menus.mo +share/locale/fr/LC_MESSAGES/gnome-menus.mo +share/locale/gu/LC_MESSAGES/gnome-menus.mo +share/locale/hi/LC_MESSAGES/gnome-menus.mo +share/locale/hu/LC_MESSAGES/gnome-menus.mo +share/locale/id/LC_MESSAGES/gnome-menus.mo +share/locale/it/LC_MESSAGES/gnome-menus.mo +share/locale/ja/LC_MESSAGES/gnome-menus.mo +share/locale/ko/LC_MESSAGES/gnome-menus.mo +share/locale/lt/LC_MESSAGES/gnome-menus.mo +share/locale/mk/LC_MESSAGES/gnome-menus.mo +share/locale/ms/LC_MESSAGES/gnome-menus.mo +share/locale/nb/LC_MESSAGES/gnome-menus.mo +share/locale/ne/LC_MESSAGES/gnome-menus.mo +share/locale/nl/LC_MESSAGES/gnome-menus.mo +share/locale/nn/LC_MESSAGES/gnome-menus.mo +share/locale/no/LC_MESSAGES/gnome-menus.mo +share/locale/pa/LC_MESSAGES/gnome-menus.mo +share/locale/pl/LC_MESSAGES/gnome-menus.mo +share/locale/pt/LC_MESSAGES/gnome-menus.mo +share/locale/pt_BR/LC_MESSAGES/gnome-menus.mo +share/locale/ro/LC_MESSAGES/gnome-menus.mo +share/locale/ru/LC_MESSAGES/gnome-menus.mo +share/locale/rw/LC_MESSAGES/gnome-menus.mo +share/locale/sk/LC_MESSAGES/gnome-menus.mo +share/locale/sq/LC_MESSAGES/gnome-menus.mo +share/locale/sr/LC_MESSAGES/gnome-menus.mo +share/locale/sr@Latn/LC_MESSAGES/gnome-menus.mo +share/locale/sv/LC_MESSAGES/gnome-menus.mo +share/locale/th/LC_MESSAGES/gnome-menus.mo +share/locale/tr/LC_MESSAGES/gnome-menus.mo +share/locale/uk/LC_MESSAGES/gnome-menus.mo +share/locale/vi/LC_MESSAGES/gnome-menus.mo +share/locale/xh/LC_MESSAGES/gnome-menus.mo +share/locale/zh_CN/LC_MESSAGES/gnome-menus.mo +share/locale/zh_TW/LC_MESSAGES/gnome-menus.mo +@dirrm share/gnome/desktop-directories +@dirrm include/gnome-menus +@dirrm etc/xdg/menus +@dirrm etc/xdg |