From nobody@FreeBSD.org  Wed Aug  8 04:22:42 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 2E25D37B403
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  8 Aug 2001 04:22:42 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f78BMgP34954;
	Wed, 8 Aug 2001 04:22:42 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200108081122.f78BMgP34954@freefall.freebsd.org>
Date: Wed, 8 Aug 2001 04:22:42 -0700 (PDT)
From: KATO Tsuguru <tkato@prontomail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: x11-wm/xfce
X-Send-Pr-Version: www-1.0

>Number:         29541
>Category:       ports
>Synopsis:       Update port: x11-wm/xfce
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    nakai
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 08 04:30:07 PDT 2001
>Closed-Date:    Thu Aug 9 22:25:46 PDT 2001
>Last-Modified:  Thu Aug 09 22:26:02 PDT 2001
>Originator:     KATO Tsuguru
>Release:        4.3-RELEASE i386
>Organization:
>Environment:
>Description:
- Add MASTER_SITE_SOURCEFORGE to MASTER_SITE
- Support GTK_CONFIG properly
- Use internal sound playing function by default

Remove file:
files/patch-ak

No response from maintainer.

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/x11-wm/xfce/Makefile x11-wm/xfce/Makefile
--- /usr/ports/x11-wm/xfce/Makefile	Tue Aug  7 06:54:14 2001
+++ x11-wm/xfce/Makefile	Wed Aug  8 20:18:50 2001
@@ -7,8 +7,11 @@
 
 PORTNAME=	xfce
 PORTVERSION=	3.8.6
+PORTREVISION=	1
 CATEGORIES=	x11-wm
-MASTER_SITES=	http://www.xfce.org/archive/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
+		http://www.xfce.org/archive/
+MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	nakai@FreeBSD.org
 
@@ -35,6 +38,8 @@
 		's|DATADIRNAME=lib|DATADIRNAME=share|g ; \
 		 s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
 		 s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
+	@${PERL} -pi -e 's|gtk-config|${GTK_CONFIG:T}|g' ${WRKSRC}/xfce/setup.c
+	@${PERL} -pi -e 's|xfplay|internal|g' ${WRKSRC}/other/xfsoundrc.in
 
 pre-build:
 	${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}/libtool
diff -urN /usr/ports/x11-wm/xfce/files/patch-ak x11-wm/xfce/files/patch-ak
--- /usr/ports/x11-wm/xfce/files/patch-ak	Sun May  6 08:56:25 2001
+++ x11-wm/xfce/files/patch-ak	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- xfce/setup.c.orig	Sun May  6 08:51:24 2001
-+++ xfce/setup.c	Sun May  6 08:51:34 2001
-@@ -132,7 +132,7 @@
-    list = g_list_append(list, "xfce");
- 
-    /* Try to find the location of gtk engines */
--   if ((pdata=popen("gtk-config --prefix","r")) != NULL
-+   if ((pdata=popen("gtk12-config --prefix","r")) != NULL
-                    && fgets(buffer, sizeof(buffer), pdata) != NULL)
-      {
-        char *path;

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->nakai 
Responsible-Changed-By: lioux 
Responsible-Changed-When: Wed Aug 8 10:04:59 PDT 2001 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29541 
State-Changed-From-To: open->closed 
State-Changed-By: nakai 
State-Changed-When: Thu Aug 9 22:25:46 PDT 2001 
State-Changed-Why:  
Update commited, thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29541 
>Unformatted:
