GNOME Bugzilla – Bug 92788
add fcpackage to bootstrap
Last modified: 2004-12-22 21:47:04 UTC
this patch adds fcpackage to bootstrap, except I'm not sure how to get Imake to change the install prefix, so the Xft1/Xrender subdirs are commented out.
Created attachment 10966 [details] [review] patch to add fcpackage
Don't you get compile problems in Xft2 if you don't build the Xrender directory? (ie. it uses functions not found in older versions of the Xrender client library). It would be good to work out how to get those bits to install in a prefix though (damn imake).
Haven't tested it, but it may be possible to pass "-DProjectRoot=$(prefix)" to xmkmf or imake to set where it should install things. Probably needs some more thought ...
I thought I got it to compile, but I may have done something wrong.
Some notes on building XRender library outside of the tree: cd Xrender mkdir exports mkdir exports/include mkdir exports/include/X11 mkdir exports/include/X11/extensions ln -s ../../../../render.h exports/include/X11/extensions xmkmf -DProjectRoot=$(prefix) make INCROOT=/usr/X11R6/include USRLIBDIR=/usr/X11R6/lib depend all make install That seemed to work for me (tested on an RH7.3 system, which has older render headers installed on the system).
Just noting that this is sane, and will be in the next version of GARNOME, rather than the hacked up patch I was using. ;-) http://bugzilla.gnome.org/show_bug.cgi?id=99071 Thanks James!
Added fcpackage to the main build for the gnome22 module set. It is set as a dependency for pango now. I have it building the fontconfig, Xrender and Xft directories. Not sure if I should bother getting it to build the Xft1 dir.