Subject: Re: CVS commit: src/x11/share/fonts
To: None <drochner@netbsd.org>
From: None <cgd@broadcom.com>
List: source-changes
Date: 03/08/2004 14:26:40
The ordering seems to be a bit more complex than this.  I don't know
what the right ordering *is*, but i did verify that w/o this change
things built OK, but with the change they did not.

With this change installed, cross building w/ x11 (via build.sh) shows
that these files are missing during set creation:

===========  8 missing files  ==============
Files in flist but missing from DESTDIR.
File wasn't installed ?
------------------------------------------
./usr/X11R6/lib/X11/fonts/100dpi/encodings.dir
./usr/X11R6/lib/X11/fonts/75dpi/encodings.dir
./usr/X11R6/lib/X11/fonts/CID/encodings.dir
./usr/X11R6/lib/X11/fonts/TTF/encodings.dir
./usr/X11R6/lib/X11/fonts/Type1/encodings.dir
./usr/X11R6/lib/X11/fonts/cyrillic/encodings.dir
./usr/X11R6/lib/X11/fonts/local/encodings.dir
./usr/X11R6/lib/X11/fonts/misc/encodings.dir
========  end of 8 missing files  ==========

I've verified that they *ARE* present in the metalog, and i can see
them being installed in the build log (by the fonts.scale target in
Makefile.mkfontscale, i believe).

I'm assuming that subsequent ${MKFONTSCALE} invocation (in the
fonts.dir target in Makefile.mkfontscale) is causing the encodings.dir
files to be removed.

(That it worked before this change seems to be luck only, but good
luck at least.)




chris

At Mon, 8 Mar 2004 09:30:46 +0000 (UTC), "Matthias Drochner" wrote:
> Module Name:	src
> Committed By:	drochner
> Date:		Mon Mar  8 09:30:09 UTC 2004
> 
> Modified Files:
> 	src/x11/share/fonts: Makefile.mkfontscale
> 
> Log Message:
> mkfontscale must be run before mkfontdir
> (can't modern mkfontdir do both at once???)