From nobody@FreeBSD.org  Mon Jun 11 09:41:35 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 D3F9837B40A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 11 Jun 2001 09:41:35 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.3/8.11.3) id f5BGfZL84653;
	Mon, 11 Jun 2001 09:41:35 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200106111641.f5BGfZL84653@freefall.freebsd.org>
Date: Mon, 11 Jun 2001 09:41:35 -0700 (PDT)
From: tkato@prontomail.com
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: x11-wm/xfce
X-Send-Pr-Version: www-1.0

>Number:         28066
>Category:       ports
>Synopsis:       Update port: x11-wm/xfce
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    nakai
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 11 09:50:01 PDT 2001
>Closed-Date:    Sun Aug 5 12:26:05 PDT 2001
>Last-Modified:  Sun Aug 05 12:26:23 PDT 2001
>Originator:     KATO Tsuguru
>Release:        4.3-RELEASE i386
>Organization:
>Environment:
>Description:
- Add MASTER_SITE_SOURCEFORGE to MASTER_SITES
- Add graphics/gdk_pixbuf to LIB_DEPENDS
- Support GTK_CONFIG properly

Remove file:
files/patch-ak

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/x11-wm/xfce/Makefile x11-wm/xfce/Makefile
--- /usr/ports/x11-wm/xfce/Makefile	Mon Jun 11 19:20:13 2001
+++ x11-wm/xfce/Makefile	Mon Jun 11 22:41:17 2001
@@ -7,13 +7,18 @@
 
 PORTNAME=	xfce
 PORTVERSION=	3.8.3
+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
 
+LIB_DEPENDS=	gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
+
 USE_X_PREFIX=	yes
-USE_IMLIB=	yes
+USE_GTK=	yes
 USE_XPM=	yes
 USE_LIBTOOL=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
@@ -33,6 +38,7 @@
 		'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
 
 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: okazaki 
Responsible-Changed-When: Mon Jun 11 17:38:31 PDT 2001 
Responsible-Changed-Why:  
over to maintainer 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28066 
State-Changed-From-To: open->closed 
State-Changed-By: nakai 
State-Changed-When: Sun Aug 5 12:26:05 PDT 2001 
State-Changed-Why:  
Update committed, thanks!. 

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