From d9cf394f2ff130a4417f6628971ecbc06aeb85ac Mon Sep 17 00:00:00 2001 From: kwm Date: Tue, 17 May 2005 17:00:11 +0000 Subject: Add and update to 2.11.1. If someone want to tweak the python stuff, go ahead. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3969 df743ca5-7f9a-e211-a948-0013205c9059 --- x11/gnome-menus/Makefile | 40 +++ x11/gnome-menus/distinfo | 2 + x11/gnome-menus/files/KDE.directory | 5 + .../files/patch-layout::applications.menu | 357 +++++++++++++++++++++ .../files/patch-layout::preferences.menu | 41 +++ x11/gnome-menus/files/patch-layout::settings.menu | 22 ++ x11/gnome-menus/pkg-descr | 12 + x11/gnome-menus/pkg-plist | 100 ++++++ 8 files changed, 579 insertions(+) create mode 100644 x11/gnome-menus/Makefile create mode 100644 x11/gnome-menus/distinfo create mode 100644 x11/gnome-menus/files/KDE.directory create mode 100644 x11/gnome-menus/files/patch-layout::applications.menu create mode 100644 x11/gnome-menus/files/patch-layout::preferences.menu create mode 100644 x11/gnome-menus/files/patch-layout::settings.menu create mode 100644 x11/gnome-menus/pkg-descr create mode 100644 x11/gnome-menus/pkg-plist (limited to 'x11') 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 +# +# $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 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 @@ + Applications + Applications.directory + +- +- +- /etc/X11/applnk ++ + /usr/share/gnome/apps + + + + + +- +- +- + + + Accessories + Accessories.directory + + ++ ++ ++ Qt ++ KDE ++ ++ + Utility + + System +@@ -38,6 +40,12 @@ + Accessibility.directory + + ++ ++ ++ Qt ++ KDE ++ ++ + Accessibility + + Settings +@@ -52,6 +60,12 @@ + Development.directory + + ++ ++ ++ Qt ++ KDE ++ ++ + Development + + emacs.desktop +@@ -64,6 +78,12 @@ + Edutainment.directory + + ++ ++ ++ Qt ++ KDE ++ ++ + Education + + +@@ -75,6 +95,12 @@ + Games.directory + + ++ ++ ++ Qt ++ KDE ++ ++ + Game + + +@@ -86,6 +112,12 @@ + Graphics.directory + + ++ ++ ++ Qt ++ KDE ++ ++ + Graphics + + +@@ -97,6 +129,12 @@ + Internet.directory + + ++ ++ ++ Qt ++ KDE ++ ++ + Network + + +@@ -108,6 +146,12 @@ + Multimedia.directory + + ++ ++ ++ Qt ++ KDE ++ ++ + AudioVideo + + +@@ -119,6 +163,12 @@ + Office.directory + + ++ ++ ++ Qt ++ KDE ++ ++ + Office + + +@@ -130,6 +180,12 @@ + System-Tools.directory + + ++ ++ ++ Qt ++ KDE ++ ++ + System + Settings + +@@ -143,11 +199,204 @@ + + + ++ ++ ++ Qt ++ KDE ++ ++ + Application + Core + Settings + + + ++ ++ ++ ++ ++ ++ ++ ++ KDE ++ KDE.directory ++ ++ ++ ++ Accessories ++ Accessories.directory ++ ++ ++ ++ Qt ++ KDE ++ ++ Utility ++ ++ System ++ ++ ++ ++ ++ ++ ++ ++ Accessibility ++ Accessibility.directory ++ ++ ++ ++ Qt ++ KDE ++ ++ Accessibility ++ ++ Settings ++ ++ ++ ++ ++ ++ ++ ++ Development ++ Development.directory ++ ++ ++ ++ Qt ++ KDE ++ ++ Development ++ ++ ++ ++ ++ ++ ++ Edutainment ++ Edutainment.directory ++ ++ ++ ++ Qt ++ KDE ++ ++ Education ++ ++ ++ ++ ++ ++ ++ Games ++ Games.directory ++ ++ ++ ++ Qt ++ KDE ++ ++ Game ++ ++ ++ ++ ++ ++ ++ Graphics ++ Graphics.directory ++ ++ ++ ++ Qt ++ KDE ++ ++ Graphics ++ ++ ++ ++ ++ ++ ++ Internet ++ Internet.directory ++ ++ ++ ++ Qt ++ KDE ++ ++ Network ++ ++ ++ ++ ++ ++ ++ Multimedia ++ Multimedia.directory ++ ++ ++ ++ Qt ++ KDE ++ ++ AudioVideo ++ ++ ++ ++ ++ ++ ++ Office ++ Office.directory ++ ++ ++ ++ Qt ++ KDE ++ ++ ++ Office ++ ++ ++ ++ ++ ++ ++ ++ System ++ System-Tools.directory ++ ++ ++ ++ Qt ++ KDE ++ ++ System ++ Settings ++ ++ ++ ++ ++ ++ ++ Other ++ Other.directory ++ ++ ++ ++ ++ Qt ++ KDE ++ ++ Application ++ Core ++ Settings ++ ++ ++ ++ + + 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 @@ + + + +- +- +- + + + ++ ++ ++ Qt ++ KDE ++ ++ + Settings + + +@@ -36,10 +39,19 @@ + Settings-Accessibility.directory + + ++ ++ ++ Qt ++ KDE ++ ++ + Settings + Accessibility + + + ++ ++ ++ + + 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 @@ + System-Settings.directory + + ++ ++ ++ Qt ++ KDE ++ ++ + Settings + System + + + ++ ++ ++ + + 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 -- cgit v1.2.3