Summary: | fonts fail to build without mkfontscale and mkfontdir | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | David Coulthart <david.coulthart> | ||||
Component: | Build/Modular | Assignee: | Xorg Project Team <xorg-team> | ||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | high | CC: | dilinger | ||||
Version: | git | Keywords: | patch | ||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
David Coulthart
2005-11-27 09:18:01 UTC
Different OS distributions may have different standard ways of handling the fonts.* file creation timing. In our OS, it is done at font installation time, since multiple packages could install fonts into the same directory from the rpm packaging, so one package providing a static fonts.dir generated at build time is a bad thing. We work around that easily enough by just forcibly removing any of the font meta files that might be generated at build time, and then having the package own them as "ghost" files (files that the package claims ownership for, but does not provide static files for, instead generating them dynamically during installation). So, running mkfont* during build/install is not desireable to us, but we override it manually and blow the files away anyway. I'm not sure it would reduce build/install time much to make it a worthwhile configure option though to specify not to build the metadata files. If it is decided to make invocation of mkfont* optional during build, we'd probably use it tho, but it's not really that big a deal. ;) Nonetheless, the font packages should probably have a hard requirement on font-util package if the build/install hard codes executing mkfont*, so this problem should be fixed. This problem hits me too. Installing xserver/xorg fails when running -b command (because MKFONTSCALE before that is empty). Created attachment 6955 [details] [review] cause autoconf to bail if mkfontscale or mkfontdir are not found At the very least, the configure script should die if it can't find either one of these (mkfontscale, mkfontdir). Otherwise, the build dies w/ strange error messages because variables are just blank. Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future. (In reply to comment #3) > Created an attachment (id=6955) [details] > cause autoconf to bail if mkfontscale or mkfontdir are not found > patch applied to (i think) all font modules. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.