First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 11086
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Bill Kenworthy <billk@iinet.net.au>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 11086 depends on: Show dependency tree
Show dependency graph
Bug 11086 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-11-22 07:51 0000
As above - gnome fails to start as it has no fonts registered.  Line for x11
fonts missing out of /etc/font/font.conf in lines added for gentoo.  Clean,
fresh install.  Others apparently have same problem.

------- Comment #1 From foser (RETIRED) 2002-11-22 16:58:47 0000 -------
Xfree 4.2.1 i suppose (no revision) ?

What does your fonts.conf look like ?

What is the ouput of 'fc-cache -f --verbose' ?

------- Comment #2 From Bill Kenworthy 2002-11-22 17:18:45 0000 -------
Too late as its now fixed for screen dumps etc but:
/etc/font/fonts.conf was missing the line previously mentioned (blank line?) and
the output of fc-cache --verbose was nothing.  Now it lists the x-fonts after
adding "<dir>/usr/X11R6/lib/X11/fonts</dir>" and running an fc-cache.  Details
were listed on gentoo-user email list after I posted the problem, with the
comment that its happening a lot.

BillK

------- Comment #3 From Bill Kenworthy 2002-11-22 17:22:09 0000 -------
forgot to add (new install into blank partition on 18th Nov):

wdk@rattus wdk $ emerge xfree -s
Searching...   
[ Results for search key : xfree ]
[ Applications found : 1 ]
 
*  x11-base/xfree
      Latest version available: 4.2.1
      Latest version installed: 4.2.1
      Size of downloaded files: 62,844 kB
      Homepage:    http://www.xfree.org
      Description: Xfree86: famous and free X server

BillK

------- Comment #4 From foser (RETIRED) 2002-11-22 17:34:12 0000 -------
How do you know its missing when it isnt there in the first place ? I suppose
you refer to the <dir>/usr/X11R6/lib/X11/fonts</dir> line (just to make sure),
cause that doesnt make a lot of sense : it comes out of the box with a config
file having that line in it.

------- Comment #5 From Bill Kenworthy 2002-11-22 17:44:46 0000 -------
The reason I knew it was missing is that the gentoo-user list told me what to
look for and what to add into the file to fix it.  Its in the section:

<!-- Font directory list configured for Gentoo -->

	<dir>/usr/X11R6/lib/X11/fonts</dir>
	<dir>/usr/share/fonts</dir>
	<dir>~/.fonts</dir>

The X11 fonts line is the one added.  As its under the gentoo comment, it looks
like a gentoo problem, not xfree's

BillK

------- Comment #6 From foser (RETIRED) 2002-11-22 17:47:31 0000 -------
On a closer look it seems that my previous statement isn't completely correct,
so i'd really like to know : was the '<dir>/usr/X11R6/lib/X11/fonts</dir>' line
around or not ?

------- Comment #7 From foser (RETIRED) 2002-11-22 17:53:37 0000 -------
Ok that clears things up. Thanks for your report.

------- Comment #8 From Martin Schlemmer (RETIRED) 2002-11-23 19:57:37 0000 -------
foser:  I think this is problem number one with fontconfig.  I could be wrong,
but I am going to go
          so far and say that we could assume that '/usr/X11R6/lib/X11/fonts'
are not added if that dir
          do not exist ....

possible solution:   create the dir in pkg_setup(), bump the revision, and mask
previous revisions
                            in package.mask.

Maybe also do a foreced updated of /etc/fonts/fonts.conf if it do not contain
'/usr/X11R6/lib/X11/fonts' .

Comments ?

------- Comment #9 From Adam Bellinson 2002-11-24 14:27:23 0000 -------
Bill Kenworthy had the fix for me:  <!-- Font directory list configured for
Gentoo -->          <dir>/usr/X11R6/lib/X11/fonts</dir>        
<dir>/usr/share/fonts</dir>         <dir>~/.fonts</dir>  Adding that one line
(with X11R6) solved the problem. 

------- Comment #10 From foser (RETIRED) 2002-11-25 10:20:35 0000 -------
Azarah : Yes, couldnt we make it fontconfig depend on xfree ? I mean is there
any use for it without it ? Besides that it seems that even if some xfree dirs
are around in some cases those can't be found, i saw that happen with the xft
ebuild and i wanted to add specified include/header dirs for X to the fontconfig
configure step. Only i forgot to do that before i went away for the weekend...

------- Comment #11 From Martin Schlemmer (RETIRED) 2002-11-25 13:46:29 0000 -------
Maybe, but I do not think its needed.  Redhat at least have fontconfig seperate
from X, and only
depend on freetype and expat.  Another solution would be to install our own
fonts.conf, but I think
just having that dir present will solve the issue.  I will try to verify this.

------- Comment #12 From foser (RETIRED) 2002-11-25 17:27:46 0000 -------
i meant it as a way to ensure the fonts dir being around. We could probably
alter the configure script to not probe dirs if they're around (thats what
happens now) and just include the base ones automaticly. I'll have a look at it.

On second thought: if we _do_ include xfree as a dep to fontconfig, it's cache
will also be filled with the base xfree fonts, eliminating another possible
point of failure.

------- Comment #13 From Martin Schlemmer (RETIRED) 2002-11-25 17:41:39 0000 -------
Problem 1:  For xfree-4.2.1 fontconfig is a dep (ok, not for -r1).  This will
be
true as well for 4.3.0 ...

------- Comment #14 From foser (RETIRED) 2002-11-25 17:47:48 0000 -------
hmm ok, good point. We could make the xfree ebuild do a cache update instead,
i'll look at fixing the config.

------- Comment #15 From foser (RETIRED) 2002-11-25 18:50:45 0000 -------
I just added fontconfig-2.0-r4 which should always include
/usr/X11R6/lib/X11/fonts in fonts.conf .

And offtopic : Azarah im disabling the pango-1.1 hinting patch, it breaks my
pango compilation.

------- Comment #16 From Martin Schlemmer (RETIRED) 2002-11-26 17:29:36 0000 -------
foser: did you update freetype as the deps suggest ?

------- Comment #17 From foser (RETIRED) 2002-11-26 18:46:13 0000 -------
Azarah: hmm already had that revision 

/me kicks his local tree

i'll change it back

------- Comment #18 From foser (RETIRED) 2002-12-09 12:19:53 0000 -------
This should be slowly fixed as we're moving towards fully using xft2.

First Last Prev Next    No search results available      Search page      Enter new bug