Bug 19 - freetype ebuild uses /usr/X11R6/lib/X11/XftConfig rather than the one in /etc/X11
|
Bug#:
19
|
Product: Gentoo Linux
|
Version: 1.0 RC6 r14
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: azarah@gentoo.org
|
Reported By: drobbins@gentoo.org
|
|
Component: Development
|
|
|
URL:
|
|
Summary: freetype ebuild uses /usr/X11R6/lib/X11/XftConfig rather than the one in /etc/X11
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2002-01-04 18:52 0000
|
We need to patch the freetype sources to look for the right config. Should be
easy.
So which is the correct? is it /etc/X11?
If so, we just set it to /etc/X11 and make a symlink from
/usr/X11R6/lib/X11/XftConfig -> /etc/X11/XftConfig (othewise the other way around).
I think that working with a symlink is a good solution and
/usr/X11R6/lib/X11/XftConfig seems to have to be the real file since that is
where freetype looks. /etc/X11/XftConfig is just for user convenience
From the CHANGELOG:
402. Install the XftConfig file under $(CONFDIR), with a link from the
usual place (based on #4569, Branden Robinson).
Meaning that it looks like /usr/X11R6/lib/X11/XftConfig -> /etc/X11/XftConfig
is the correct solution.
BTW, it is not in the freetype source, but in the Xft source, which is part
of X.
I'm assigning this one to you azarah, hope it's ok.
ok. /etc/X11/XftConfig is still the correct location according to the FHS.
Currently, the xfree ebuild installs a file to /etc/X11/XftConfig, but it is
ignored and the other one installed to /usr/X11R6/lib/X11/XftConfig is used
instead. Yes, the easy fix is to add a symlink, but I think actually fixing the
sources is a better idea.
Fixed in the 4.2.0 ebuilds