Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Aug 2002 23:44:12 -0500 (CDT)
From:      Glenn Johnson <glennpj@charter.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41753: Have GNOME apps show up in menu and properly start xscreensaver
Message-ID:  <200208180444.g7I4iCH4000789@gforce.johnson.home>

next in thread | raw e-mail | index | archive | help

>Number:         41753
>Category:       ports
>Synopsis:       Have GNOME apps show up in menu and properly start xscreensaver
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 17 21:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Glenn Johnson
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD gforce.johnson.home 4.6-STABLE FreeBSD 4.6-STABLE #0: Sat Aug 17 20:58:06 CDT 2002 root@gforce.johnson.home:/usr/obj/usr/src/sys/GFORCE i386


	
>Description:
        Add a patch to have GNOME applications show up in the User menu
        if they exist on the system.  Add a patch to have the startup
        file use the proper arguments for xscreensaver.  Also, test if
        xscreensaver is present.
>How-To-Repeat:
	
>Fix:

	

--- xfce.patch begins here ---
diff -ruN xfce.old/Makefile xfce/Makefile
--- xfce.old/Makefile	Sat Aug  3 06:35:44 2002
+++ xfce/Makefile	Sat Aug 17 23:30:07 2002
@@ -7,6 +7,7 @@
 
 PORTNAME=	xfce
 PORTVERSION=	3.8.16
+PORTREVISION=	1
 CATEGORIES=	x11-wm
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
 		http://www.xfce.org/archive/
diff -ruN xfce.old/files/patch-other_xinitrc.in xfce/files/patch-other_xinitrc.in
--- xfce.old/files/patch-other_xinitrc.in	Wed Dec 31 18:00:00 1969
+++ xfce/files/patch-other_xinitrc.in	Sat Aug 17 23:30:07 2002
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- other/xinitrc.in.orig	Sat Aug 17 22:58:13 2002
++++ other/xinitrc.in	Sat Aug 17 23:01:46 2002
+@@ -41,7 +41,9 @@
+ # fi
+ 
+ # Launch xscreensaver (if available)
+-xscreensaver -no-splash -lock-mode &
++if [ -x /usr/X11R6/bin/xscreensaver ]; then
++	xscreensaver -nosplash &
++fi
+ 
+ # Finally, launch XFce window manager
+ exec xfwm
diff -ruN xfce.old/files/patch-xfmenu_xfmenu.c xfce/files/patch-xfmenu_xfmenu.c
--- xfce.old/files/patch-xfmenu_xfmenu.c	Wed Dec 31 18:00:00 1969
+++ xfce/files/patch-xfmenu_xfmenu.c	Sat Aug 17 23:30:07 2002
@@ -0,0 +1,17 @@
+
+$FreeBSD$
+
+--- xfmenu/xfmenu.c.orig	Sat Aug 17 22:36:16 2002
++++ xfmenu/xfmenu.c	Sat Aug 17 22:40:44 2002
+@@ -483,6 +483,11 @@
+       menupath = g_strconcat ("/opt/gnome", GMENUPATH, NULL);
+       gnomedirs = g_list_append (gnomedirs, menupath);
+     }
++    if (!(gnomedir) || (strcmp ("/usr/X11R6", gnomedir) != 0))
++    {
++      menupath = g_strconcat ("/usr/X11R6", GMENUPATH, NULL);
++      gnomedirs = g_list_append (gnomedirs, menupath);
++    }
+     if (home)
+     {
+       menupath = g_strconcat (home, "/.gnome/apps", NULL);
--- xfce.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208180444.g7I4iCH4000789>