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
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