Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2001 09:41:35 -0700 (PDT)
From:      tkato@prontomail.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/28066: Update port: x11-wm/xfce
Message-ID:  <200106111641.f5BGfZL84653@freefall.freebsd.org>

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

>Number:         28066
>Category:       ports
>Synopsis:       Update port: x11-wm/xfce
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 11 09:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>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:
>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?200106111641.f5BGfZL84653>