From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 1 22:50:09 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A79AB37B401 for ; Tue, 1 Jul 2003 22:50:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E23143FF5 for ; Tue, 1 Jul 2003 22:50:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h625o8Up062963 for ; Tue, 1 Jul 2003 22:50:08 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h625o80v062962; Tue, 1 Jul 2003 22:50:08 -0700 (PDT) Resent-Date: Tue, 1 Jul 2003 22:50:08 -0700 (PDT) Resent-Message-Id: <200307020550.h625o80v062962@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, foxfair@drago.fomokka.net Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7FEB37B401 for ; Tue, 1 Jul 2003 22:48:17 -0700 (PDT) Received: from drago.fomokka.net (drago.fomokka.net [140.117.205.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA72B44001 for ; Tue, 1 Jul 2003 22:48:16 -0700 (PDT) (envelope-from foxfair@drago.fomokka.net) Received: from drago.fomokka.net (liforg@localhost [127.0.0.1]) by drago.fomokka.net (8.12.9/8.12.8) with ESMTP id h625mFR7028841 for ; Wed, 2 Jul 2003 13:48:15 +0800 (CST) (envelope-from foxfair@drago.fomokka.net) Received: (from foxfair@localhost) by drago.fomokka.net (8.12.9/8.12.8/Submit) id h625mFI9028840; Wed, 2 Jul 2003 13:48:15 +0800 (CST) Message-Id: <200307020548.h625mFI9028840@drago.fomokka.net> Date: Wed, 2 Jul 2003 13:48:15 +0800 (CST) From: foxfair@drago.fomokka.net To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/53998: Add a dependency xrender to fontconfig X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: foxfair@drago.fomokka.net List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 05:50:10 -0000 >Number: 53998 >Category: ports >Synopsis: Add a dependency xrender to fontconfig >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 01 22:50:08 PDT 2003 >Closed-Date: >Last-Modified: >Originator: foxfair >Release: FreeBSD 4.8-STABLE i386 >Organization: >Environment: System: FreeBSD drago.fomokka.net 4.8-STABLE #4 >Description: There is a well-known problem when build fontconfig or certain ports depend on it, since fontconfig lacks of proper dependency on xrender(X render library). >How-To-Repeat: install current version of XF86 / Xft / fontconfig common set in a fresh new environment. You can obtain some similar messages during the configure stage as following: checking for pkg-config... /usr/local/bin/pkg-config checking for xrender >= 0.8.2... gnome-config: not found gnome-config: not found Package xrender was not found in the pkg-config search path. Perhaps you should add the directory containing `xrender.pc' to the PKG_CONFIG_PATH environment variable No package 'xrender' found checking for xrender >= 0... gnome-config: not found gnome-config: not found Package xrender was not found in the pkg-config search path. Perhaps you should add the directory containing `xrender.pc' to the PKG_CONFIG_PATH environment variable No package 'xrender' found checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking X11/extensions/Xrender.h usability... yes checking X11/extensions/Xrender.h presence... yes checking for X11/extensions/Xrender.h... yes checking for XRenderQueryVersion... yes checking for freetype-config... freetype-config checking for fontconfig >= 1.0.1... yes checking FONTCONFIG_CFLAGS... -I/usr/X11R6/include checking FONTCONFIG_LIBS... -L/usr/X11R6/lib -lfontconfig >Fix: The patch needs render and xrender exist in the ports tree first, refer to PRs: ports/53995 & ports/53996. Apply this patch to fontconfig's Makefile: --- Makefile.orig Wed Jul 2 13:25:15 2003 +++ Makefile Wed Jul 2 13:38:17 2003 @@ -7,6 +7,7 @@ PORTNAME= fontconfig PORTVERSION= 2.2.1 +PORTREVISION= 1 CATEGORIES= x11-fonts MASTER_SITES= http://www.fontconfig.org/release/ \ http://nexp.cs.pdx.edu/fontconfig/release/ @@ -15,7 +16,8 @@ COMMENT= An XML-based font configuration API for X Windows LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ - expat.4:${PORTSDIR}/textproc/expat2 + expat.4:${PORTSDIR}/textproc/expat2 \ + Xrender.1:${PORTSDIR}/x11-toolkits/xrender USE_GMAKE= yes PREFIX?= ${X11BASE} >Release-Note: >Audit-Trail: >Unformatted: