Bug 6028 - encodings.dir files in system encodings dirs generated incorrectly
Summary: encodings.dir files in system encodings dirs generated incorrectly
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Fonts/other (show other bugs)
Version: 7.0.0
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-25 00:57 UTC by Mike A. Harris
Modified: 2006-08-31 07:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Mike A. Harris 2006-02-25 00:57:06 UTC
When the "encodings" package builds, it gzips the *.enc files then invokes
mkfontscale to generate an encodings.dir file in the same directory.  It does
this in both the main dir and the "large" dir.  However, it attempts to do
this directly in /usr/...  rather than in DESTDIR prefixed location.

The resulting installation into DESTDIR ends up with bogus encodings.dir
files somehow, which contain entries for *.enc files that don't even
exist. Some of them are compressed and others are not.

Manually running "mkfontscale -e $DESTDIR/path/to/encodings -n" after
"make install" causes the encodings.dir files to be regenerated correctly
however.
Comment 1 Mike A. Harris 2006-02-25 01:03:29 UTC
Instead of running mkfontscale to generate encodings.dir files in the
encodings directories during "make", it should be ran during "make install"
instead, and it should honour DESTDIR so that it is not trying to invoke
on the installed OS, but in the fake root DESTDIR points at instead.
Comment 2 Mike A. Harris 2006-02-25 01:05:55 UTC
Here's a bug reference to illustrate the problem this issue causes:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173875
Comment 3 Mike A. Harris 2006-08-31 07:32:22 UTC
Uninteresting bug.


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.