Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2008 16:16:51 -0800 (AKDT)
From:      Mel <mel@rachie.is-a-geek.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        MAINTAINER <gnome@FreeBSD.org>
Subject:   [PATCH] xcomposite needed for gtk
Message-ID:  <20080816001651.45E1BA831A6@packages-7.rachie.is-a-geek.net>

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

>Submitter-Id:	current-users
>Originator:	Mel
>Confidential:	no 
>Synopsis:	[PATCH] xcomposite needed for gtk
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 7.0-STABLE i386
>Environment:
System: FreeBSD packages-7.rachie.is-a-geek.net 7.0-STABLE FreeBSD 7.0-STABLE #3: Sun Aug 3 05:37:19 AKDT 2008 root@squish.rachie.is-a-geek.net:/data/obj/data/RELENG_7/src/sys/GENERIC-PF i386


	
>Description:
http://sendpr.rachie.is-a-geek.net/firefox-3.0.1_1,1.log

The first few lines are ls -al /var/db/pkg. The gnomeloganalyzer reported
"stale libraries", which couldn't be the case since everything is built
from scratch. Hence, I looked further.

Build is done as make -DBATCH -DUSE_PACKAGE_DEPENDS. Contents of specific
options files from /var/db/ports can be made available if needed.

>How-To-Repeat:
	In a (mostly) clean environment, build www/firefox3 or anything that
	needs x11-toolkits/gtk20.

>Fix:
The following patch successfully builds firefox3. No further testing has
been done.

--- gtk20.diff begins here ---
--- x11-toolkits/gtk20/Makefile.orig	2008-07-01 19:05:29.000000000 -0800
+++ x11-toolkits/gtk20/Makefile	2008-08-15 08:19:23.000000000 -0800
@@ -8,7 +8,7 @@
 
 PORTNAME=	gtk
 PORTVERSION=	2.12.11
-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/%SUBDIR%/ \
@@ -42,6 +42,7 @@
 USE_GNOME=	gnomehack atk pango ltverhack
 USE_GETTEXT=	yes
 USE_XORG=	xext xrender x11 xinerama xi xrandr xcursor xfixes xdamage
+USE_XORG+=	xcomposite
 CONFIGURE_ARGS=	--enable-static --with-xinput=yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
 			  -I${LOCALBASE}/include" \
--- gtk20.diff ends here ---




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