[Xr] small adjustments

Bill Spitzak spitzak at d2.com
Mon Jul 7 21:19:56 PDT 2003


I have not been sucessful in getting Xr to compile without Xrender.

First it uses a lot of symbols from Xrender and new Xlib.h header files:

XFixed
XDouble
XTransform
XPointFixed
XPointDouble
XLineFixed
XTriangle
XTrapezoid
PictStandard*
PictOp*

I was able to get most things to compile by copying the definitions and 
pasting the above from a new Xrender, and by using the old Xrender.h header 
file.

However the programs don't link because they want many functions from Xft. I 
was unable to compile Xft because it wanted the new version of fontconfig. I 
was unable to compile fontconfig because it barfed on the target 
"confdir.sgml.in" and after messing with it to get around that I was unable 
to get it to produce a pkgconfig file that was acceptable to the xft make 
script.

All in all a rather frustrating experience.

This is exactly the sort of stuff people complain about with Linux. There is 
no reason for this mess. To the average programmer there should be ONE 
library to draw things. Thoug to be charitable I can see an excuse to put 
Freetype into it's own library. Would it be possible to gather fontconfig, 
Xrender, Xr, Xft, libpiximage, and all this other stuff and make ONE library?

-- 
                   ,~,~,~,~ ~ ~ ~ ~
     /\_       _|_========___         Bill Spitzak
 ~~~/\/\\~~~~~~\____________/~~~~~~~~ spitzak at d2.com




More information about the cairo mailing list