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
Description:   Opened: 2002-01-04 18:52 0000
We need to patch the freetype sources to look for the right config.  Should be
easy.

------- Comment #1 From Mikael Hallendal (hallski) (RETIRED) 2002-01-06 23:54:33 0000 -------
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).

------- Comment #2 From Geert Bevin 2002-01-08 16:51:05 0000 -------
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

------- Comment #3 From Martin Schlemmer (RETIRED) 2002-01-12 10:55:11 0000 -------
From the CHANGELOG:

 402. Install the XftConfig file under $(CONFDIR), with a link from the
      usual place (based on #4569, Branden Robinson).

------- Comment #4 From Martin Schlemmer (RETIRED) 2002-01-12 15:55:04 0000 -------
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.

------- Comment #5 From Mikael Hallendal (hallski) (RETIRED) 2002-01-13 23:55:28 0000 -------
I'm assigning this one to you azarah, hope it's ok.

------- Comment #6 From Daniel Robbins (RETIRED) 2002-01-14 00:05:14 0000 -------
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.

------- Comment #7 From Martin Schlemmer (RETIRED) 2002-01-23 16:51:22 0000 -------
Fixed in the 4.2.0 ebuilds