Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57922 - xorg-x11 touches fonts.conf
Summary: xorg-x11 touches fonts.conf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 60292
  Show dependency tree
 
Reported: 2004-07-21 17:39 UTC by SpanKY
Modified: 2004-08-21 22:54 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 SpanKY gentoo-dev 2004-07-21 17:39:29 UTC
when xorg-x11 installs, it fixes fonts.conf to point to /usr/share/fonts instead of the old /usr/X11R6/lib/X11/fonts

however, when upgrading font-config to 2.2.3, the ebuild nuked the fixed fonts.conf with the broken one and the file now points to the /usr/X11R6/ tree again
Comment 1 foser (RETIRED) gentoo-dev 2004-08-08 02:40:21 UTC
are you sure you aren't mixing things up ? This is the gentoo ebuild ?

The ebuild pretty much hardcodes the new path in the config file, so i don't see how this could happen.

Attach your /etc/fonts/fonts.conf please.
Comment 2 SpanKY gentoo-dev 2004-08-08 14:01:42 UTC
why would i report something that wasnt related to the ebuild ?  anyways, here is some proof that this bug exists

root@vapier 1 ~ # ebuild /usr/portage/media-libs/fontconfig/fontconfig-2.2.3.ebuild clean unpack compile install
<output of package doing its thing>
root@vapier 1 ~ # cd /var/tmp/portage/fontconfig-2.2.3/image/etc/fonts
root@vapier 1 fonts # grep X11R6 *
fonts.conf:     <dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
fonts.conf:      <dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
fonts.conf:     <dir>/usr/X11R6/lib/X11/fonts/75dpi</dir>
fonts.conf:     <dir>/usr/X11R6/lib/X11/fonts/100dpi</dir>
fonts.conf.new: <dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
fonts.conf.new:  <dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
fonts.conf.new: <dir>/usr/X11R6/lib/X11/fonts/75dpi</dir>
fonts.conf.new: <dir>/usr/X11R6/lib/X11/fonts/100dpi</dir>
Comment 3 foser (RETIRED) gentoo-dev 2004-08-08 14:58:23 UTC
the X11R6 entries are not relevant, you should check if it points to /usr/share/fonts of course. The lack of that seems to be your initial complaint (or i must misinterpret it).
Comment 4 SpanKY gentoo-dev 2004-08-08 18:15:26 UTC
it points to <dir>/usr/share/fonts</dir> and that's it
Comment 5 foser (RETIRED) gentoo-dev 2004-08-09 03:05:52 UTC
Well, that's good isn't it. Now what is your problem exactly, cause i really don't see what you mean then ?
Comment 6 SpanKY gentoo-dev 2004-08-09 04:52:43 UTC
does pointing fonts.conf at /usr/share/fonts cause it to recursively descend into subdirectories ?
Comment 7 foser (RETIRED) gentoo-dev 2004-08-09 05:19:40 UTC
yes
Comment 8 SpanKY gentoo-dev 2004-08-09 07:19:58 UTC
then the question is, why does xorg-x11 bother with sedding the /usr/X11R6/ font paths to point to /usr/share/fonts/
Comment 9 foser (RETIRED) gentoo-dev 2004-08-09 08:09:42 UTC
i'm not sure what that has todo with your initial bugreport. Fontconfig paths are fine in your situation afaics. So that closes this or do you still have some real problems ?
Comment 10 SpanKY gentoo-dev 2004-08-09 08:55:54 UTC
the bug report was about the discrepancy of how fontconfig installs fonts.conf and how xorg-x11 expects it to be

you say just having /usr/share/fonts in fonts.conf is enough, fine

i'll let the X peeps take a look at it so you can stop reading about this bug
Comment 11 foser (RETIRED) gentoo-dev 2004-08-09 11:39:17 UTC
After talking to vapier in IRC it became clear that xorg-x11 touches fonts.conf, this is bad and unneeded.
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2004-08-09 15:18:39 UTC
k I'll take care of this at some point. Didn't realize fc was recursive at the time. Wonder why it bothers listing individual directories in /usr/X11R6/lib/X11/fonts then. This is only an annoyance in etc-update and so forth though, since it'll screw up the md5.
Comment 13 Donnie Berkholz (RETIRED) gentoo-dev 2004-08-21 22:54:41 UTC
Fixed in 6.7.99.902