[Midnightbsd-cvs] mports: mports/x11: add gnome-menus

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Sep 1 01:51:57 EDT 2007


Log Message:
-----------
add gnome-menus

Modified Files:
--------------
    mports/x11:
        Makefile (r1.30 -> r1.31)

Added Files:
-----------
    mports/x11/gnome-menus:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/x11/gnome-menus/files:
        KDE.directory (r1.1)
        patch-Makefile.in (r1.1)
        patch-layout::applications.menu (r1.1)
        patch-layout::preferences.menu (r1.1)
        patch-simple-editor_GMenuSimpleEditor_menutreemodel.py (r1.1)

-------------- next part --------------
--- /dev/null
+++ 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
--- /dev/null
+++ x11/gnome-menus/pkg-plist
@@ -0,0 +1,145 @@
+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/Hardware.directory
+share/gnome/desktop-directories/Internet.directory
+share/gnome/desktop-directories/InternetAndNetwork.directory
+share/gnome/desktop-directories/KDE.directory
+share/gnome/desktop-directories/LookAndFeel.directory
+share/gnome/desktop-directories/Multimedia.directory
+share/gnome/desktop-directories/Office.directory
+share/gnome/desktop-directories/Other.directory
+share/gnome/desktop-directories/Personal.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/gnome/desktop-directories/System.directory
+share/locale/ar/LC_MESSAGES/gnome-menus.mo
+share/locale/be/LC_MESSAGES/gnome-menus.mo
+share/locale/be at 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/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/gl/LC_MESSAGES/gnome-menus.mo
+share/locale/gn/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/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/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 at 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
+ at dirrm share/gnome/desktop-directories
+ at dirrm include/gnome-menus
+ at dirrmtry etc/xdg/menus
+ at dirrmtry etc/xdg
+ at dirrmtry share/locale/zh_HK/LC_MESSAGES
+ at dirrmtry share/locale/zh_HK
+ at dirrmtry share/locale/xh/LC_MESSAGES
+ at dirrmtry share/locale/xh
+ at dirrmtry share/locale/ug/LC_MESSAGES
+ at dirrmtry share/locale/ug
+ at dirrmtry share/locale/te/LC_MESSAGES
+ at dirrmtry share/locale/te
+ at dirrmtry share/locale/rw/LC_MESSAGES
+ at dirrmtry share/locale/rw
+ at dirrmtry share/locale/oc/LC_MESSAGES
+ at dirrmtry share/locale/oc
+ at dirrmtry share/locale/mr/LC_MESSAGES
+ at dirrmtry share/locale/mr
+ at dirrmtry share/locale/mg/LC_MESSAGES
+ at dirrmtry share/locale/mg
+ at dirrmtry share/locale/ky/LC_MESSAGES
+ at dirrmtry share/locale/ky
+ at dirrmtry share/locale/ku/LC_MESSAGES
+ at dirrmtry share/locale/ku
+ at dirrmtry share/locale/hy/LC_MESSAGES
+ at dirrmtry share/locale/hy
+ at dirrmtry share/locale/gn/LC_MESSAGES
+ at dirrmtry share/locale/gn
+ at dirrmtry share/locale/dz/LC_MESSAGES
+ at dirrmtry share/locale/dz
+ at dirrmtry share/locale/bn_IN/LC_MESSAGES
+ at dirrmtry share/locale/bn_IN
+ at dirrmtry share/locale/be at latin/LC_MESSAGES
+ at dirrmtry share/locale/be at latin
--- /dev/null
+++ x11/gnome-menus/Makefile
@@ -0,0 +1,57 @@
+# New ports collection makefile for:	gnome-menus
+# Date created:				30 November 2004
+# Whom:					Joe Marcus Clarke <marcus at FreeBSD.org>
+#
+# $MidnightBSD: mports/x11/gnome-menus/Makefile,v 1.1 2007/09/01 05:51:55 laffer1 Exp $
+# $FreeBSD: ports/x11/gnome-menus/Makefile,v 1.13 2007/07/03 06:59:12 marcus Exp $
+#   $MCom: ports/x11/gnome-menus/Makefile,v 1.50 2007/03/12 22:36:46 marcus Exp $
+#
+
+PORTNAME=	gnome-menus
+PORTVERSION=	2.18.3
+CATEGORIES=	x11 gnome
+MASTER_SITES=	${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR=	sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+DIST_SUBDIR=	gnome2
+
+MAINTAINER=	ports at MidnightBSD.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 <bsd.port.pre.mk>
+
+.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|%%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 <bsd.port.post.mk>
--- /dev/null
+++ x11/gnome-menus/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/gnome-menus-2.18.3.tar.bz2) = e2b97b01b33b9744baf26982a8ad588a
+SHA256 (gnome2/gnome-menus-2.18.3.tar.bz2) = c6c0b9a93426dbdcb47fb7e586b9d910e2dbc0e9c894c0f322d08971a7b70933
+SIZE (gnome2/gnome-menus-2.18.3.tar.bz2) = 437539
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/x11/Makefile,v
retrieving revision 1.30
retrieving revision 1.31
diff -Lx11/Makefile -Lx11/Makefile -u -r1.30 -r1.31
--- x11/Makefile
+++ x11/Makefile
@@ -9,6 +9,7 @@
     SUBDIR += etoile
     SUBDIR += etoile-iterm
     SUBDIR += etoile-xwindowserverkit
+    SUBDIR += gnome-menus
     SUBDIR += idesk
     SUBDIR += kde3
     SUBDIR += kdebase3
--- /dev/null
+++ 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 -->
--- /dev/null
+++ 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 = 
+- at HAVE_PYTHON_TRUE@PYTHON_SUBDIRS = python simple-editor
++ at HAVE_PYTHON_TRUE@PYTHON_SUBDIRS = python
+ ALL_SUBDIRS = \
+ 	po 			\
+ 	libmenu			\
--- /dev/null
+++ x11/gnome-menus/files/patch-layout::preferences.menu
@@ -0,0 +1,41 @@
+--- layout/preferences.menu.orig	Tue Feb 13 04:18:01 2007
++++ layout/preferences.menu	Tue Feb 13 16:54:35 2007
+@@ -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 -->
--- /dev/null
+++ 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
--- /dev/null
+++ 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/gnome/:%%LOCALBASE%%/share/:/usr/share/"
+ 
+     for data_dir in data_dirs.split (":"):
+         retval = load_icon_from_path (os.path.join (data_dir, "pixmaps", icon_value))


More information about the Midnightbsd-cvs mailing list