Patch port: devel/gnomevfs2, make KDE menu disappear if you don't
have KDE install.
Jeremy Messenger
mezz7 at cox.net
Thu Feb 12 13:27:33 PST 2004
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.
-------------- next part --------------
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>
More information about the freebsd-gnome
mailing list