ports/53998: Add a dependency xrender to fontconfig
foxfair at drago.fomokka.net
foxfair at drago.fomokka.net
Wed Jul 2 05:50:10 UTC 2003
>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:
More information about the freebsd-ports-bugs
mailing list