Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2007 18:12:01 +0100
From:      "Florent Thoumie" <flz@xbsd.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/116263: x11-toolkits/gtk20: reduce X deps
Message-ID:  <20070910165642.F331911689@smtp.xbsd.org>
Resent-Message-ID: <200709101730.l8AHU2S7043337@freefall.freebsd.org>

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

>Number:         116263
>Category:       ports
>Synopsis:       x11-toolkits/gtk20: reduce X deps
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 10 17:30:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Florent Thoumie
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
Xbsd.org
>Environment:
System: FreeBSD nikki.xbsd.org 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386


	
>Description:

Upcoming x11/pixman may depend on gtk20, which depends on xorg-libraries,
which in turn depends on pixman.

This patch fixes the circular dependency by specifying explicitely which
X libraries gtk20 depends on.

It is expected that some (a lot?) ports will break, cause they assume that
gtk20 will bring all the X libraries.

>How-To-Repeat:
	
>Fix:

	

--- gtk20.diff begins here ---
? gtk20.diff
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/x11-toolkits/gtk20/Makefile,v
retrieving revision 1.199
diff -u -r1.199 Makefile
--- Makefile	17 Jul 2007 04:30:08 -0000	1.199
+++ Makefile	10 Sep 2007 16:50:14 -0000
@@ -8,7 +8,7 @@
 
 PORTNAME=	gtk
 PORTVERSION=	2.10.14
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \
 		ftp://ftp.gtk.org/pub/gtk/v2.10/ \
@@ -42,7 +42,7 @@
 USE_AUTOTOOLS=	libtool:15
 USE_GNOME=	gnomehack atk pango ltverhack
 USE_GETTEXT=	yes
-USE_XLIB=	yes
+USE_XORG=	xext xrender x11 xinerama xi xrandr xcursor xfixes
 CONFIGURE_ARGS=	--enable-static --with-xinput=yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
 			  -I${LOCALBASE}/include" \
--- gtk20.diff ends here ---


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



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