Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19 - freetype ebuild uses /usr/X11R6/lib/X11/XftConfig rather than the one in /etc/X11
Summary: freetype ebuild uses /usr/X11R6/lib/X11/XftConfig rather than the one in /etc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-04 18:52 UTC by Daniel Robbins (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Robbins (RETIRED) gentoo-dev 2002-01-04 18:52:46 UTC
We need to patch the freetype sources to look for the right config.  Should be easy.
Comment 1 Mikael Hallendal (hallski) (RETIRED) gentoo-dev 2002-01-06 23:54:33 UTC
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 Geert Bevin 2002-01-08 16:51:05 UTC
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 Martin Schlemmer (RETIRED) gentoo-dev 2002-01-12 10:55:11 UTC
From the CHANGELOG:

 402. Install the XftConfig file under $(CONFDIR), with a link from the
      usual place (based on #4569, Branden Robinson).
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-01-12 15:55:04 UTC
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 Mikael Hallendal (hallski) (RETIRED) gentoo-dev 2002-01-13 23:55:28 UTC
I'm assigning this one to you azarah, hope it's ok.
Comment 6 Daniel Robbins (RETIRED) gentoo-dev 2002-01-14 00:05:14 UTC
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 Martin Schlemmer (RETIRED) gentoo-dev 2002-01-23 16:51:22 UTC
Fixed in the 4.2.0 ebuilds