Bug 53998

Summary: Add a dependency xrender to fontconfig
Product: Ports & Packages Reporter: Foxfair Hu <foxfair>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Foxfair Hu 2003-07-02 06:50:08 UTC
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).

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:

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
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2003-07-04 15:57:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainers
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2003-07-23 00:32:24 UTC
State Changed
From-To: open->analyzed

That would create a circular dependency right now.  Xrender depends on 
XFree86-libraries which depend on fontconfig.  I'm trying to see if we can 
get the xrender/render ports added to the XFree86 umbrella.  It's not going 
to be easy.
Comment 3 Joe Marcus Clarke freebsd_committer freebsd_triage 2003-11-15 21:33:47 UTC
State Changed
From-To: analyzed->closed

This won't happen until X gets modularized (i.e. when 4.4 comes out).  At that 
time, these ports will see a lot of shakeup.