From 1d2879b27bb008e16fa0b246a13f9244cc4ed71a Mon Sep 17 00:00:00 2001 From: avl Date: Sun, 31 Jan 2010 11:25:46 +0000 Subject: Update to 2.29.6. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13550 df743ca5-7f9a-e211-a948-0013205c9059 --- x11/gnome-menus/Makefile | 49 ++++ 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 | 302 +++++++++++++++++++++ ...imple-editor_GMenuSimpleEditor_menutreemodel.py | 20 ++ x11/gnome-menus/files/patch-util_Makefile.in | 10 + x11/gnome-menus/pkg-descr | 14 + x11/gnome-menus/pkg-plist | 199 ++++++++++++++ 9 files changed, 613 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-simple-editor_GMenuSimpleEditor_menutreemodel.py create mode 100644 x11/gnome-menus/files/patch-util_Makefile.in 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..0a648dd20 --- /dev/null +++ b/x11/gnome-menus/Makefile @@ -0,0 +1,49 @@ +# 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.100 2009/10/18 23:13:39 marcus Exp $ +# + +PORTNAME= gnome-menus +PORTVERSION= 2.29.6 +CATEGORIES= x11 gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Implementation of the FreeDesktop Desktop Menu Spec + +USE_GETTEXT= yes +USE_BZIP2= yes +USE_GMAKE= yes +USE_GNOME= gnomeprefix gnomehack intlhack glib20 ltverhack +USE_AUTOTOOLS= libtool:22 +USE_PYTHON= yes +USE_LDCONFIG= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +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|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/simple-editor/GMenuSimpleEditor/menutreemodel.py + @${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|' \ + ${WRKSRC}/util/Makefile.in + +post-install: + @${INSTALL_DATA} ${WRKSRC}/layout/applications.menu \ + ${PREFIX}/etc/xdg/menus/gnome-applications.menu + @${INSTALL_DATA} ${WRKSRC}/KDE.directory \ + ${PREFIX}/share/desktop-directories + +.include diff --git a/x11/gnome-menus/distinfo b/x11/gnome-menus/distinfo new file mode 100644 index 000000000..a63a368fa --- /dev/null +++ b/x11/gnome-menus/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/gnome-menus-2.29.6.tar.bz2) = dbf0a1d5c51a4c0e337ab81ddbb198b3 +SHA256 (gnome2/gnome-menus-2.29.6.tar.bz2) = 314b9654838da39872445592826c57782ca9e94ad6e5403c2106da31070cb2a2 +SIZE (gnome2/gnome-menus-2.29.6.tar.bz2) = 463992 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 @@ + Applications + X-GNOME-Menu-Applications.directory + +- +- +- /etc/X11/applnk ++ + /usr/share/gnome/apps + + +@@ -31,6 +30,8 @@ + applications here --> + Accessibility + System ++ Qt ++ KDE + + + +@@ -43,6 +44,8 @@ + + Accessibility + Settings ++ Qt ++ KDE + + + +@@ -54,6 +57,8 @@ + + + Development ++ Qt ++ KDE + + emacs.desktop + +@@ -66,6 +71,8 @@ + + + Education ++ Qt ++ KDE + + + +@@ -77,6 +84,8 @@ + + + Game ++ Qt ++ KDE + + + +@@ -88,6 +97,8 @@ + + + Graphics ++ Qt ++ KDE + + + +@@ -99,6 +110,8 @@ + + + Network ++ Qt ++ KDE + + + +@@ -110,6 +123,8 @@ + + + AudioVideo ++ Qt ++ KDE + + + +@@ -121,6 +136,8 @@ + + + Office ++ Qt ++ KDE + + + +@@ -133,6 +150,8 @@ + + System + Settings ++ Qt ++ KDE + + + +@@ -147,8 +166,197 @@ + Core + Settings + Screensaver ++ Qt ++ KDE + + + + ++ ++ ++ ++ ++ ++ ++ KDE ++ KDE.directory ++ ++ ++ ++ Accessories ++ Accessories.directory ++ ++ ++ ++ Qt ++ KDE ++ ++ Utility ++ ++ System ++ ++ ++ ++ ++ ++ ++ ++ Accessibility ++ Accessibility.directory ++ ++ ++ ++ Qt ++ KDE ++ ++ Accessibility ++ ++ Settings ++ ++ ++ ++ ++ ++ ++ ++ Development ++ Development.directory ++ ++ ++ ++ Qt ++ KDE ++ ++ Development ++ ++ ++ ++ ++ ++ ++ Education ++ Education.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-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)) diff --git a/x11/gnome-menus/files/patch-util_Makefile.in b/x11/gnome-menus/files/patch-util_Makefile.in new file mode 100644 index 000000000..fd9b0fcf0 --- /dev/null +++ b/x11/gnome-menus/files/patch-util_Makefile.in @@ -0,0 +1,10 @@ +--- util/Makefile.in.orig 2009-10-18 19:06:36.000000000 -0400 ++++ util/Makefile.in 2009-10-18 19:10:40.000000000 -0400 +@@ -313,6 +313,7 @@ gnome_menu_spec_test_SOURCES = \ + + gnome_menu_spec_test_LDADD = \ + ../libmenu/libgnome-menu.la \ ++ %%PTHREAD_LIBS%% \ + $(GLIB_LIBS) \ + $(NULL) + 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..8240dedae --- /dev/null +++ b/x11/gnome-menus/pkg-plist @@ -0,0 +1,199 @@ +etc/xdg/menus/gnome-applications.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/desktop-directories/AudioVideo.directory +share/desktop-directories/Development.directory +share/desktop-directories/Education.directory +share/desktop-directories/Game.directory +share/desktop-directories/Graphics.directory +share/desktop-directories/Hardware.directory +share/desktop-directories/InternetAndNetwork.directory +share/desktop-directories/KDE.directory +share/desktop-directories/LookAndFeel.directory +share/desktop-directories/Network.directory +share/desktop-directories/Office.directory +share/desktop-directories/Personal.directory +share/desktop-directories/Settings-System.directory +share/desktop-directories/Settings.directory +share/desktop-directories/System-Tools.directory +share/desktop-directories/System.directory +share/desktop-directories/Utility-Accessibility.directory +share/desktop-directories/Utility.directory +share/desktop-directories/X-GNOME-Menu-Applications.directory +share/desktop-directories/X-GNOME-Menu-System.directory +share/desktop-directories/X-GNOME-Other.directory +share/gnome-menus/examples/gnome-menus-ls.py +share/locale/af/LC_MESSAGES/gnome-menus.mo +share/locale/ar/LC_MESSAGES/gnome-menus.mo +share/locale/as/LC_MESSAGES/gnome-menus.mo +share/locale/ast/LC_MESSAGES/gnome-menus.mo +share/locale/be/LC_MESSAGES/gnome-menus.mo +share/locale/be@latin/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/ca@valencia/LC_MESSAGES/gnome-menus.mo +share/locale/crh/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/dv/LC_MESSAGES/gnome-menus.mo +share/locale/dz/LC_MESSAGES/gnome-menus.mo +share/locale/el/LC_MESSAGES/gnome-menus.mo +share/locale/en@shaw/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/fur/LC_MESSAGES/gnome-menus.mo +share/locale/ga/LC_MESSAGES/gnome-menus.mo +share/locale/gl/LC_MESSAGES/gnome-menus.mo +share/locale/gn/LC_MESSAGES/gnome-menus.mo +share/locale/gu/LC_MESSAGES/gnome-menus.mo +share/locale/ha/LC_MESSAGES/gnome-menus.mo +share/locale/he/LC_MESSAGES/gnome-menus.mo +share/locale/hi/LC_MESSAGES/gnome-menus.mo +share/locale/hr/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/ig/LC_MESSAGES/gnome-menus.mo +share/locale/io/LC_MESSAGES/gnome-menus.mo +share/locale/is/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/kk/LC_MESSAGES/gnome-menus.mo +share/locale/kn/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/mai/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/nds/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/oc/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/ps/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/si/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@latin/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/uz@cyrillic/LC_MESSAGES/gnome-menus.mo +share/locale/vi/LC_MESSAGES/gnome-menus.mo +share/locale/xh/LC_MESSAGES/gnome-menus.mo +share/locale/yo/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-menus/examples +@dirrm share/gnome-menus +@dirrmtry share/desktop-directories +@dirrm include/gnome-menus +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/yo/LC_MESSAGES +@dirrmtry share/locale/yo +@dirrmtry share/locale/xh/LC_MESSAGES +@dirrmtry share/locale/xh +@dirrmtry share/locale/uz@cyrillic/LC_MESSAGES +@dirrmtry share/locale/uz@cyrillic +@dirrmtry share/locale/ug/LC_MESSAGES +@dirrmtry share/locale/ug +@dirrmtry share/locale/te/LC_MESSAGES +@dirrmtry share/locale/te +@dirrmtry share/locale/sr@latin/LC_MESSAGES +@dirrmtry share/locale/sr@latin +@dirrmtry share/locale/si/LC_MESSAGES +@dirrmtry share/locale/si +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/ps/LC_MESSAGES +@dirrmtry share/locale/ps +@dirrmtry share/locale/oc/LC_MESSAGES +@dirrmtry share/locale/oc +@dirrmtry share/locale/nds/LC_MESSAGES +@dirrmtry share/locale/nds +@dirrmtry share/locale/mr/LC_MESSAGES +@dirrmtry share/locale/mr +@dirrmtry share/locale/mg/LC_MESSAGES +@dirrmtry share/locale/mg +@dirrmtry share/locale/mai/LC_MESSAGES +@dirrmtry share/locale/mai +@dirrmtry share/locale/ky/LC_MESSAGES +@dirrmtry share/locale/ky +@dirrmtry share/locale/ku/LC_MESSAGES +@dirrmtry share/locale/ku +@dirrmtry share/locale/kk/LC_MESSAGES +@dirrmtry share/locale/kk +@dirrmtry share/locale/io/LC_MESSAGES +@dirrmtry share/locale/io +@dirrmtry share/locale/ig/LC_MESSAGES +@dirrmtry share/locale/ig +@dirrmtry share/locale/hy/LC_MESSAGES +@dirrmtry share/locale/hy +@dirrmtry share/locale/ha/LC_MESSAGES +@dirrmtry share/locale/ha +@dirrmtry share/locale/gn/LC_MESSAGES +@dirrmtry share/locale/gn +@dirrmtry share/locale/fur/LC_MESSAGES +@dirrmtry share/locale/fur +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrmtry share/locale/dv/LC_MESSAGES +@dirrmtry share/locale/dv +@dirrmtry share/locale/crh/LC_MESSAGES +@dirrmtry share/locale/crh +@dirrmtry share/locale/ca@valencia/LC_MESSAGES +@dirrmtry share/locale/ca@valencia +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN +@dirrmtry share/locale/be@latin/LC_MESSAGES +@dirrmtry share/locale/be@latin +@dirrmtry share/locale/ast/LC_MESSAGES +@dirrmtry share/locale/ast +@dirrmtry share/locale/as/LC_MESSAGES +@dirrmtry share/locale/as +@dirrmtry etc/xdg/menus -- cgit v1.2.3