Date: Thu, 12 Feb 2004 15:26:27 -0600 From: Jeremy Messenger <mezz7@cox.net> To: freebsd-gnome@freebsd.org Subject: Patch port: devel/gnomevfs2, make KDE menu disappear if you don't have KDE install. Message-ID: <opr290idc28ckrg5@smtp.central.cox.net>
next in thread | raw e-mail | index | archive | help
------------OLvcvlQ7MApE0mfdIzUqOy Content-Type: text/plain; format=flowed; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hello, Today, I just finished install the Gnome 2.5.x on clean system and I don't have KDE in my system anymore. I noticed a bug that the KDE will still appear in the menu even I don't have any KDE in my system, because I have missed to add an '<DontShowIfEmpty/>' in the KDE's main <folder>. Here's an attach of gnomevfs2.diff with bump version to fix this simple bug. Pointy hat to: Mezz Cheers, Mezz -- bsdforums.org 's moderator, mezz. ------------OLvcvlQ7MApE0mfdIzUqOy Content-Disposition: attachment; filename=gnomevfs2.diff Content-Type: text/plain; name=gnomevfs2.diff Content-Transfer-Encoding: 8bit diff -ur gnomevfs2.orig/Makefile gnomevfs2/Makefile --- gnomevfs2.orig/Makefile Wed Feb 11 19:24:54 2004 +++ gnomevfs2/Makefile Thu Feb 12 15:23:59 2004 @@ -7,6 +7,7 @@ PORTNAME= gnomevfs2 PORTVERSION= 2.5.7 +PORTREVISION= 1 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-vfs/2.5 diff -ur gnomevfs2.orig/files/modules_vfolder_applications-all-users.vfolder-info.in gnomevfs2/files/modules_vfolder_applications-all-users.vfolder-info.in --- gnomevfs2.orig/files/modules_vfolder_applications-all-users.vfolder-info.in Wed Feb 11 19:24:55 2004 +++ gnomevfs2/files/modules_vfolder_applications-all-users.vfolder-info.in Thu Feb 12 15:16:14 2004 @@ -1,5 +1,5 @@ ---- modules/vfolder/applications-all-users.vfolder-info.in.orig Tue Feb 10 19:49:19 2004 -+++ modules/vfolder/applications-all-users.vfolder-info.in Tue Feb 10 19:59:22 2004 +--- modules/vfolder/applications-all-users.vfolder-info.in.orig Fri Oct 17 10:11:22 2003 ++++ modules/vfolder/applications-all-users.vfolder-info.in Thu Feb 12 15:15:40 2004 @@ -19,7 +19,14 @@ <MergeDir>/usr/share/gnome/apps/</MergeDir> @@ -163,7 +163,7 @@ <Keyword>Application</Keyword> <Not> <Keyword>Settings</Keyword> -@@ -204,6 +273,117 @@ +@@ -204,6 +273,118 @@ </Query> <DontShowIfEmpty/> </Folder> @@ -278,6 +278,7 @@ + </Query> + <DontShowIfEmpty/> + </Folder> ++ <DontShowIfEmpty/> + </Folder> <!-- KDE --> + </Folder> ------------OLvcvlQ7MApE0mfdIzUqOy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opr290idc28ckrg5>