will xc/lib/font be modularised?

Daniel Stone daniel at fooishbar.org
Tue Jul 26 06:47:06 EST 2005


On Wed, Jul 20, 2005 at 11:48:42PM +1000, Drew Parsons wrote:
> I'm trying to take up the challenge of autotooling Xprint (please tell
> me if you've already done it.  It's sufficiently hard work that I don't
> want to do it for no reason).
> 
> I've got it to the point where the Xprint subdirectories are being
> compiled.  The build stalls in Xprint/ps:
> PsFTFonts.c:45:16: error: ft.h: No such file or directory
> PsFTFonts.c:47:21: error: ftfuncs.h: No such file or directory
> 
> ft.h is defined in xc/lib/font/FreeType.  There is no hint of lib/font
> in the modularised lib hierarchy.  Were you planning to make this part
> of the monolith tree obselete, or has it simple not been done yet? (No,
> I'm not going to try to take it on as well as Xprint!)

/cvs/xorg/lib/Xfont.

> Do you want the Xprint changes I've already made (some new Makefile.am
> files and changes to xserver/xorg/Makefile.am|configure.ac)?
> 
> I suspect you'll want to make the following change straight away. Line
> 767 of proto/Print/ currently says:
> 	#include "fontstruct.h"       /* FontResolutionPtr */
> I suspect this should really be saying
> 	#include <X11/fonts/fontstruct.h>       /* FontResolutionPtr */
> Otherwise there are issues identifying the include directory.

Correct.

> "cvs -d :pserver:anoncvs at cvs.freedesktop.org:/cvs/xorg diff" does not
> behave the way I would expect, generating a patch file which I could use
> to let you know what changes I made.  How do you suggest I create
> patches?

cvs -d ... diff -u 2>/dev/null

Cheers,
Daniel


More information about the xorg-modular mailing list