From 25126528e31436faf8af2452efac2f70a1ba06c4 Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 7 Nov 2006 07:58:01 +0000 Subject: Update to 2.17.2. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7870 df743ca5-7f9a-e211-a948-0013205c9059 --- x11/gnome-menus/Makefile | 57 ++++ x11/gnome-menus/distinfo | 3 + x11/gnome-menus/files/KDE.directory | 5 + x11/gnome-menus/files/patch-Makefile.in | 11 + .../files/patch-layout::applications.menu | 357 +++++++++++++++++++++ .../files/patch-layout::preferences.menu | 41 +++ x11/gnome-menus/files/patch-layout::settings.menu | 22 ++ ...imple-editor_GMenuSimpleEditor_menutreemodel.py | 20 ++ x11/gnome-menus/pkg-descr | 14 + x11/gnome-menus/pkg-plist | 172 ++++++++++ 10 files changed, 702 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-Makefile.in 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/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py create mode 100644 x11/gnome-menus/pkg-descr create mode 100644 x11/gnome-menus/pkg-plist (limited to 'x11/gnome-menus') diff --git a/x11/gnome-menus/Makefile b/x11/gnome-menus/Makefile new file mode 100644 index 000000000..fadd104d6 --- /dev/null +++ b/x11/gnome-menus/Makefile @@ -0,0 +1,57 @@ +# New ports collection makefile for: gnome-menus +# Date created: 30 November 2004 +# Whom: Joe Marcus Clarke +# +# $FreeBSD$ +# $MCom: ports/x11/gnome-menus/Makefile,v 1.39 2006/10/03 11:32:43 ahze Exp $ +# + +PORTNAME= gnome-menus +PORTVERSION= 2.17.2 +CATEGORIES= x11 gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Implementation of the FreeDesktop Desktop Menu Spec + +USE_GETTEXT= yes +USE_BZIP2= yes +USE_XLIB= yes +USE_GMAKE= yes +USE_GNOME= gnomeprefix gnomehack intlhack gnomevfs2 ltverhack +USE_AUTOTOOLS= libtool:15 +USE_PYTHON= yes +USE_LDCONFIG= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.include + +.if exists(${LOCALBASE}/lib/libfam.so) || !defined(WITHOUT_FAM) +USE_FAM= yes +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|applications.menu||' \ + ${WRKSRC}/layout/Makefile.in + @${REINPLACE_CMD} -e 's|applications.menu|gnome-applications.menu|' \ + ${WRKSRC}/util/test-menu-spec.c + @${REINPLACE_CMD} -e 's|/usr/share/gnome|${LOCALBASE}/share/gnome|g' \ + ${WRKSRC}/layout/applications.menu \ + ${WRKSRC}/layout/settings.menu + @${SED} -e 's|/usr/local|${LOCALBASE}|g' \ + < ${FILESDIR}/KDE.directory > ${WRKSRC}/KDE.directory + @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g ; \ + s|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/simple-editor/GMenuSimpleEditor/menutreemodel.py + +post-install: + @${MKDIR} ${PREFIX}/share/gnome/desktop-directories + @${INSTALL_DATA} ${WRKSRC}/layout/applications.menu \ + ${PREFIX}/etc/xdg/menus/gnome-applications.menu + @${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..094d20d9b --- /dev/null +++ b/x11/gnome-menus/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/gnome-menus-2.17.2.tar.bz2) = 4eddca0b934723e41e81df11c69215f7 +SHA256 (gnome2/gnome-menus-2.17.2.tar.bz2) = 00305b05d1119d1332dafd22b7ecc973455ec5ce203299b00c3d6b74ef4f436a +SIZE (gnome2/gnome-menus-2.17.2.tar.bz2) = 442781 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..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/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py b/x11/gnome-menus/files/patch-simple-editor_GMenuSimpleEditor_menutreemodel.py new file mode 100644 index 000000000..562011969 --- /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 = "%%X11BASE%%/share/gnome/:%%LOCALBASE%%/share/gnome/:%%X11BASE%%/share/:%%LOCALBASE%%/share/:/usr/share/" + + for data_dir in data_dirs.split (":"): + retval = load_icon_from_path (os.path.join (data_dir, "pixmaps", icon_value)) diff --git a/x11/gnome-menus/pkg-descr b/x11/gnome-menus/pkg-descr new file mode 100644 index 000000000..7b27b4e2e --- /dev/null +++ b/x11/gnome-menus/pkg-descr @@ -0,0 +1,14 @@ +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 + +WWW: http://www.freedesktop.org/Standards/menu-spec diff --git a/x11/gnome-menus/pkg-plist b/x11/gnome-menus/pkg-plist new file mode 100644 index 000000000..3d2248519 --- /dev/null +++ b/x11/gnome-menus/pkg-plist @@ -0,0 +1,172 @@ +bin/gnome-menu-spec-test +etc/xdg/menus/gnome-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.la +lib/libgnome-menu.so +lib/libgnome-menu.so.2 +%%PYTHON_SITELIBDIR%%/gmenu.a +%%PYTHON_SITELIBDIR%%/gmenu.la +%%PYTHON_SITELIBDIR%%/gmenu.so +libdata/pkgconfig/libgnome-menu.pc +share/gnome/desktop-directories/Accessibility.directory +share/gnome/desktop-directories/Accessories.directory +share/gnome/desktop-directories/Applications.directory +share/gnome/desktop-directories/Desktop.directory +share/gnome/desktop-directories/Development.directory +share/gnome/desktop-directories/Education.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/Preferences.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/locale/ar/LC_MESSAGES/gnome-menus.mo +share/locale/be/LC_MESSAGES/gnome-menus.mo +share/locale/bg/LC_MESSAGES/gnome-menus.mo +share/locale/bn/LC_MESSAGES/gnome-menus.mo +share/locale/bn_IN/LC_MESSAGES/gnome-menus.mo +share/locale/br/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/dz/LC_MESSAGES/gnome-menus.mo +share/locale/el/LC_MESSAGES/gnome-menus.mo +share/locale/en_CA/LC_MESSAGES/gnome-menus.mo +share/locale/en_GB/LC_MESSAGES/gnome-menus.mo +share/locale/eo/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/gn/LC_MESSAGES/gnome-menus.mo +share/locale/gl/LC_MESSAGES/gnome-menus.mo +share/locale/gu/LC_MESSAGES/gnome-menus.mo +share/locale/he/LC_MESSAGES/gnome-menus.mo +share/locale/hi/LC_MESSAGES/gnome-menus.mo +share/locale/hu/LC_MESSAGES/gnome-menus.mo +share/locale/hy/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/ka/LC_MESSAGES/gnome-menus.mo +share/locale/ko/LC_MESSAGES/gnome-menus.mo +share/locale/ku/LC_MESSAGES/gnome-menus.mo +share/locale/ky/LC_MESSAGES/gnome-menus.mo +share/locale/lt/LC_MESSAGES/gnome-menus.mo +share/locale/lv/LC_MESSAGES/gnome-menus.mo +share/locale/mg/LC_MESSAGES/gnome-menus.mo +share/locale/mk/LC_MESSAGES/gnome-menus.mo +share/locale/ml/LC_MESSAGES/gnome-menus.mo +share/locale/mn/LC_MESSAGES/gnome-menus.mo +share/locale/mr/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/or/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/sl/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/ta/LC_MESSAGES/gnome-menus.mo +share/locale/te/LC_MESSAGES/gnome-menus.mo +share/locale/th/LC_MESSAGES/gnome-menus.mo +share/locale/tr/LC_MESSAGES/gnome-menus.mo +share/locale/ug/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_HK/LC_MESSAGES/gnome-menus.mo +share/locale/zh_TW/LC_MESSAGES/gnome-menus.mo +@dirrm share/gnome/desktop-directories +@dirrm include/gnome-menus +@dirrmtry etc/xdg/menus +@dirrmtry etc/xdg +@dirrmtry %%PYTHON_SITELIBDIR%% +@dirrmtry %%PYTHON_LIBDIR%% +@dirrmtry share/locale/zh_TW/LC_MESSAGES +@dirrmtry share/locale/zh_TW +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/zh_CN/LC_MESSAGES +@dirrmtry share/locale/zh_CN +@dirrmtry share/locale/xh/LC_MESSAGES +@dirrmtry share/locale/xh +@dirrmtry share/locale/uk/LC_MESSAGES +@dirrmtry share/locale/uk +@dirrmtry share/locale/ug/LC_MESSAGES +@dirrmtry share/locale/ug +@dirrmtry share/locale/te/LC_MESSAGES +@dirrmtry share/locale/te +@dirrmtry share/locale/sr/LC_MESSAGES +@dirrmtry share/locale/sr +@dirrmtry share/locale/sl/LC_MESSAGES +@dirrmtry share/locale/sl +@dirrmtry share/locale/sk/LC_MESSAGES +@dirrmtry share/locale/sk +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/ro/LC_MESSAGES +@dirrmtry share/locale/ro +@dirrmtry share/locale/pt/LC_MESSAGES +@dirrmtry share/locale/pt +@dirrmtry share/locale/pl/LC_MESSAGES +@dirrmtry share/locale/pl +@dirrmtry share/locale/nn/LC_MESSAGES +@dirrmtry share/locale/nn +@dirrmtry share/locale/ne/LC_MESSAGES +@dirrmtry share/locale/ne +@dirrmtry share/locale/mr/LC_MESSAGES +@dirrmtry share/locale/mr +@dirrmtry share/locale/mg/LC_MESSAGES +@dirrmtry share/locale/mg +@dirrmtry share/locale/ky/LC_MESSAGES +@dirrmtry share/locale/ky +@dirrmtry share/locale/ku/LC_MESSAGES +@dirrmtry share/locale/ku +@dirrmtry share/locale/ko/LC_MESSAGES +@dirrmtry share/locale/ko +@dirrmtry share/locale/hy/LC_MESSAGES +@dirrmtry share/locale/hy +@dirrmtry share/locale/gn/LC_MESSAGES +@dirrmtry share/locale/gn +@dirrmtry share/locale/gl/LC_MESSAGES +@dirrmtry share/locale/gl +@dirrmtry share/locale/fi/LC_MESSAGES +@dirrmtry share/locale/fi +@dirrmtry share/locale/el/LC_MESSAGES +@dirrmtry share/locale/el +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrmtry share/locale/cs/LC_MESSAGES +@dirrmtry share/locale/cs +@dirrmtry share/locale/ca/LC_MESSAGES +@dirrmtry share/locale/ca +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN +@dirrmtry share/locale/be/LC_MESSAGES +@dirrmtry share/locale/be -- cgit v1.2.3