On Sun, 14 Mar 2010 13:22:43 -0400
linux fan <[email protected]> wrote:

> On 3/13/10, Andrew Benton <[email protected]> wrote:
> >> The confusion originates with new font-util which creates
> >> /usr/lib/pkgconfig/fontutil.pc having the fontrootdir equate
> >> by default to /usr/share/fonts/X11 and all the font packages
> >> determine the font installation dir from that.
> >
> > Are you sure? If I install a font in my home folder with
> > sh configure --with-fontrootdir=/home/andy/tmp
> > make install
> 
> Yes, but the individual font packages do allow the override
> --with-fontrootdir.
> 
> > You only need to recompile xorg-server, it's not a big job. You
> > need to set the option
> 
> I decided on the do-over. Like glibc, it seems too important to have
> defects in the install. I tried recompiling, but the x-server locked
> up the system.
> 
> > --with-default-font-path=/usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,\
> > /usr/share/fonts/X11/75dpi,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/cyrillic,\
> > /usr/share/fonts/X11/TTF,/usr/share/fonts/X11/OTF
> >
> 
> Looking at configure, it would use the --with-fontdir=FONTDIR as the
> basedir for TTF, OTF, et. al., so that seems redundant.
> 
> I will try
> # font-util configure
>            --prefix=/usr \
>             --sysconfdir=/etc \
>             --mandir=/usr/share/man \
>             --localstatedir=/var \
>             --with-fontrootdir=/usr/share/fonts
> 
> # xorg-server configure
>             --prefix=/usr \
>             --sysconfdir=/etc \
>             --mandir=/usr/share/man \
>             --localstatedir=/var \
>             --with-module-dir=/usr/lib/X11/modules \
>             --with-xkb-output=/var/lib/xkb \
>             --enable-install-setuid \
>             --with-fontdir=/usr/share/fonts
> 
IMHO its easier to recompile x-server adding 
  --with-fontdir=$XORG_PREFIX/share/fonts/X11
fixes the incorrect dir and removes the log errrors
 
---
David Jensen
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to