On Fri, Sep 19, 2003 at 02:01:00PM -0400, Harold L Hunt II wrote: >Matthieu (and Matthias), > > >Matthias Scheler wrote: > >> On Thu, Sep 18, 2003 at 10:58:19PM +0200, Matthieu Herrb wrote: >> >>>It seems to me that the C langage version of ucs2any.pl developped by >>>Ben Collver and other NetBSD developpers is now stable enough to be >>>included in XFree86. >> >> >> Two comments: >> 1.) While it is stable enough it is quite slow due to excessive and >> ineffecient use of regular expressions. >> 2.) A while ago I reported the fonts get build twice. We could confirm >> that problem in the meantime and found out that it was related >> to using a C version of "ucs2any". Tatoku Ogaito finally fixed >> it by adding "includes :: ucs2any" to "xc/fonts/util/Imakefile". > >Fonts get built twice on Cygwin as well. In fact, they probably get >built twice on all platforms. > >The xc/fonts/util/Imakefile already has "includes:: ucs2any" in it in >the version that I am compiling; yet, ucs2any is still run for each font >during both the "includes" step and later during the "all" step.
Maybe removing the includes part of MakeTruncatedUCSBdfFont and MakeBdfFontFromUCSMaster would be sufficient? I don't remember why the conversion was done in the includes phase instead of the all phase, but removing the includes part from those rules worked here when I just tested it. If it does need to be done in the includes phase, for example, because a host version of ucs2any is needed to do the conversion when cross-compliling, but a target version of ucs2any needs to get built later for installation, then I'd just remove $(UCS2ANY) as a dependency in MakeBdfFontFromUCSMaster(). If a dependency is still desired, make it be the source rather than the binary. BTW, how are things like host vs target imake binaries handled when cross-compiling? David -- David Dawes X-Oz Technologies www.XFree86.org/~dawes www.x-oz.com _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
