ports/80409: [PATCH] x11-wm/xfce4-desktop: use "xfce4-session-logout" instead of "quit" cmd

chinsan chinsan at mail2000.com.tw
Wed Apr 27 15:50:24 UTC 2005


>Number:         80409
>Category:       ports
>Synopsis:       [PATCH] x11-wm/xfce4-desktop: use "xfce4-session-logout" instead of "quit" cmd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 27 15:50:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     chinsan
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD chinsan.twbbs.org 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
	- In order to fix the bug which selecting "quit" on xfce4-menu 
	  doesn't work, use "xfce4-session-logout" instead of "quit" cmd.
	  (aka s/quit/xfce4-session-logout/g)
	- Port maintainer (oliver at FreeBSD.org) is cc'd.

>How-To-Repeat:
>Fix:

--- xfce4-desktop.4.2.1_1.patch begins here ---
diff -ruN xfce4-desktop.orig/Makefile xfce4-desktop/Makefile
--- xfce4-desktop.orig/Makefile	Sat Apr  2 19:57:44 2005
+++ xfce4-desktop/Makefile	Wed Apr 27 23:24:09 2005
@@ -7,7 +7,7 @@
 
 PORTNAME=	xfce4-desktop
 PORTVERSION=	4.2.1
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	x11-wm xfce
 MASTER_SITES=	http://www.us.xfce.org/archive/xfce-${PORTVERSION}/src/ \
 		http://www.ca-us.xfce.org/archive/xfce-${PORTVERSION}/src/ \
@@ -37,10 +37,41 @@
 CONFIGURE_ENV=	CFLAGS=-I${LOCALBASE}/include \
 		CPPFLAGS=-I${LOCALBASE}/include \
 		LIBS=-L${LOCALBASE}/lib
+CONF_DATA = \
+	menu.xml 							\
+	menu.xml.az 							\
+	menu.xml.ca 							\
+	menu.xml.da							\
+	menu.xml.de 							\
+	menu.xml.es							\
+	menu.xml.et							\
+	menu.xml.eu							\
+	menu.xml.fa_IR 							\
+	menu.xml.fi							\
+	menu.xml.fr 							\
+	menu.xml.he							\
+	menu.xml.hu 							\
+	menu.xml.ja							\
+	menu.xml.ko							\
+	menu.xml.ms  							\
+	menu.xml.nl  							\
+	menu.xml.pt_BR							\
+	menu.xml.ro							\
+	menu.xml.ru							\
+	menu.xml.sk							\
+	menu.xml.ta 							\
+	menu.xml.tr 							\
+	menu.xml.uk							\
+	menu.xml.vi 							\
+	menu.xml.zh_CN							\
+	menu.xml.zh_TW
 
 MAN1=		xfdesktop.1
 
 post-patch:
+.for file in ${CONF_DATA}
+	@${REINPLACE_CMD} -e 's|"quit"|"xfce4-session-logout"|g'  ${WRKSRC}/${file}
+.endfor
 	@${REINPLACE_CMD} -e 's|G_INLINE_FUNC||g' ${WRKSRC}/src/xfce-desktop.c
 
 .include <bsd.port.mk>
--- xfce4-desktop.4.2.1_1.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list