Bug 112851 - x11-fonts/linux-fontconfig /etc/fonts/fonts.conf not updated with xorg 7.2
Summary: x11-fonts/linux-fontconfig /etc/fonts/fonts.conf not updated with xorg 7.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-emulation (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-22 09:50 UTC by Dmitry Karasik
Modified: 2007-05-23 16:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Karasik 2007-05-22 09:50:02 UTC
After upgrade to modular X, X11BASE was moved from /usr/X11R6 to /usr/local, and in particular fonts are now located in /usr/local/lib/X11/fonts, not /usr/X11R6/lib/X11/fonts. However, linux-fontconfig configuration file /etc/fonts/fonts.conf contains the old reference to /usr/X11R6, and thus no fontconfig-based linux programs will not run (linux-firefox even crashes without any fontconfig fonts).

Fix: 

Workaround:

- Replace /usr/X11R6/lib/X11/fonts to /usr/local/lib/X11/fonts in /compat/linux/etc/fonts/fonts.conf.
- Run /compat/linux/usr/bin/fc-cache as root
How-To-Repeat: Install f.ex. print/acroread7 or www/linux-firefox and run it. acroread7 complains to unavailability of fonts, whereas linux-firefox silently crashes.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-05-22 14:28:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-emulation

Over to maintainer
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2007-05-23 12:15:01 UTC
State Changed
From-To: open->feedback

The workarounds suggested needs to be done both or are alternatives? I edited 
the path in fonts.conf, and fonts now appear in acroread just fine. linux-opera 
is still messed up.
Comment 3 Boris Samorodov freebsd_committer freebsd_triage 2007-05-23 16:20:18 UTC
State Changed
From-To: feedback->closed

The problem is solved by today's commit to the port x11-fonts/linux-fontconfig. 
Thanks for the report!