<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>11086</bug_id>
          
          <creation_ts>2002-11-22 07:51 0000</creation_ts>
          <short_desc>emerge gnome works, but gnome fails to run</short_desc>
          <delta_ts>2003-02-04 19:42:18 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GNOME</component>
          <version>1.4_rc1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>billk@iinet.net.au</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          <cc>azarah@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>billk@iinet.net.au</who>
            <bug_when>2002-11-22 07:51:44 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2002-11-22 16:58:47 0000</bug_when>
            <thetext>Xfree 4.2.1 i suppose (no revision) ?

What does your fonts.conf look like ?

What is the ouput of &apos;fc-cache -f --verbose&apos; ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>billk@iinet.net.au</who>
            <bug_when>2002-11-22 17:18:45 0000</bug_when>
            <thetext>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 &quot;&lt;dir&gt;/usr/X11R6/lib/X11/fonts&lt;/dir&gt;&quot; 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
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>billk@iinet.net.au</who>
            <bug_when>2002-11-22 17:22:09 0000</bug_when>
            <thetext>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
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2002-11-22 17:34:12 0000</bug_when>
            <thetext>How do you know its missing when it isnt there in the first place ? I suppose
you refer to the &lt;dir&gt;/usr/X11R6/lib/X11/fonts&lt;/dir&gt; 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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>billk@iinet.net.au</who>
            <bug_when>2002-11-22 17:44:46 0000</bug_when>
            <thetext>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:

&lt;!-- Font directory list configured for Gentoo --&gt;

	&lt;dir&gt;/usr/X11R6/lib/X11/fonts&lt;/dir&gt;
	&lt;dir&gt;/usr/share/fonts&lt;/dir&gt;
	&lt;dir&gt;~/.fonts&lt;/dir&gt;

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

BillK
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2002-11-22 17:47:31 0000</bug_when>
            <thetext>On a closer look it seems that my previous statement isn&apos;t completely correct,
so i&apos;d really like to know : was the &apos;&lt;dir&gt;/usr/X11R6/lib/X11/fonts&lt;/dir&gt;&apos; line
around or not ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2002-11-22 17:53:37 0000</bug_when>
            <thetext>Ok that clears things up. Thanks for your report.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2002-11-23 19:57:37 0000</bug_when>
            <thetext>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 &apos;/usr/X11R6/lib/X11/fonts&apos;
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
&apos;/usr/X11R6/lib/X11/fonts&apos; .

Comments ?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>thread@threadbox.net</who>
            <bug_when>2002-11-24 14:27:23 0000</bug_when>
            <thetext>Bill Kenworthy had the fix for me:  &lt;!-- Font directory list configured for Gentoo --&gt;          &lt;dir&gt;/usr/X11R6/lib/X11/fonts&lt;/dir&gt;         &lt;dir&gt;/usr/share/fonts&lt;/dir&gt;         &lt;dir&gt;~/.fonts&lt;/dir&gt;  Adding that one line (with X11R6) solved the problem. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2002-11-25 10:20:35 0000</bug_when>
            <thetext>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&apos;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...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2002-11-25 13:46:29 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2002-11-25 17:27:46 0000</bug_when>
            <thetext>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&apos;re around (thats what
happens now) and just include the base ones automaticly. I&apos;ll have a look at it.

On second thought: if we _do_ include xfree as a dep to fontconfig, it&apos;s cache
will also be filled with the base xfree fonts, eliminating another possible
point of failure.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2002-11-25 17:41:39 0000</bug_when>
            <thetext>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 ...
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2002-11-25 17:47:48 0000</bug_when>
            <thetext>hmm ok, good point. We could make the xfree ebuild do a cache update instead,
i&apos;ll look at fixing the config.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2002-11-25 18:50:45 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2002-11-26 17:29:36 0000</bug_when>
            <thetext>foser: did you update freetype as the deps suggest ?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2002-11-26 18:46:13 0000</bug_when>
            <thetext>Azarah: hmm already had that revision 

/me kicks his local tree

i&apos;ll change it back</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2002-12-09 12:19:53 0000</bug_when>
            <thetext>This should be slowly fixed as we&apos;re moving towards fully using xft2.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>