r5764 - in trunk/BOOK: introduction/welcome x/installing

dnicholson at linuxfromscratch.org dnicholson at linuxfromscratch.org
Tue Mar 28 06:55:46 PST 2006


Author: dnicholson
Date: 2006-03-28 07:55:44 -0700 (Tue, 28 Mar 2006)
New Revision: 5764

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/x/installing/xfree86.xml
   trunk/BOOK/x/installing/xorg.xml
   trunk/BOOK/x/installing/xorg7.xml
Log:
Make only TrueType fonts available to Fontconfig for X servers. Fix luit patch name.

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2006-03-28 14:38:47 UTC (rev 5763)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2006-03-28 14:55:44 UTC (rev 5764)
@@ -45,6 +45,11 @@
       <para>March 28th, 2006</para>
       <itemizedlist>
         <listitem>
+          <para>[dnicholson] - Added commands to make only TrueType fonts
+          available to Fontconfig in Xorg-6.9.0, Xorg-7.0.0 and XFree86-4.5.0.
+          Fixed name of luit patch in Xorg-6.9.0.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Updated to Firefox-1.5.0.1.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/x/installing/xfree86.xml
===================================================================
--- trunk/BOOK/x/installing/xfree86.xml	2006-03-28 14:38:47 UTC (rev 5763)
+++ trunk/BOOK/x/installing/xfree86.xml	2006-03-28 14:55:44 UTC (rev 5764)
@@ -93,6 +93,9 @@
       instruct <application>XFree86</application> to build them.</para>
     </note>
 
+    <bridgehead renderas="sect3" condition="html" role="usernotes">User Notes:
+    <ulink url='&blfs-wiki;/XFree86-&xfree86-version;'/></bridgehead>
+
     <bridgehead renderas="sect3">Download Instructions</bridgehead>
 
     <para>There are several files that need to be fetched from the download
@@ -382,6 +385,18 @@
 ln -v -sf ../X11R6/lib/X11 /usr/lib/X11 &&
 ln -v -sf ../X11R6/include/X11 /usr/include/X11</userinput></screen>
 
+      <para>The <application>XFree86</application> fonts have been installed
+      outside of <application>Fontconfig</application>'s default search path
+      of <filename class="directory">/usr/share/fonts</filename>.  In order
+      for <application>Fontconfig</application> to find the installed TrueType
+      fonts, you should make symlinks to their directories.  Assuming you've
+      installed <application>XFree86</application> in the default prefix, run the
+      following commands as the <systemitem class="username">root</systemitem>
+      user:</para>
+
+<screen role="root"><userinput>ln -svn /usr/X11R6/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF &&
+ln -svn /usr/X11R6/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF</userinput></screen>
+
       <para><application>XFree86</application> installs the
       <application>XRender</application> and
       <application>XExtensions</application> extension libraries but does not

Modified: trunk/BOOK/x/installing/xorg.xml
===================================================================
--- trunk/BOOK/x/installing/xorg.xml	2006-03-28 14:38:47 UTC (rev 5763)
+++ trunk/BOOK/x/installing/xorg.xml	2006-03-28 14:55:44 UTC (rev 5764)
@@ -105,6 +105,9 @@
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional"><xref linkend="linux-pam"/></para>
 
+    <bridgehead renderas="sect3" condition="html" role="usernotes">User Notes:
+    <ulink url='&blfs-wiki;/Xorg-&xorg-version;'/></bridgehead>
+
     <bridgehead renderas="sect3">Download Instructions</bridgehead>
 
     <para>As an alternative to downloading the entire source tree in a single
@@ -203,7 +206,7 @@
       <filename>asm/types.h</filename>.  Fix both issues with the following
       commands:</para>
 
-<screen><userinput>patch -Np1 -i ../X11R&xorg-version;-luit_race-1.patch &&
+<screen><userinput>patch -Np1 -i ../xorg-&xorg-version;-luit_race-1.patch &&
 sed -i "s@*/@*/\n#include <linux/types.h>\n@" \
     programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c</userinput></screen>
 
@@ -373,6 +376,18 @@
 ln -v -s ../X11R6/lib/X11 /usr/lib/X11 &&
 ln -v -s ../X11R6/include/X11 /usr/include/X11</userinput></screen>
 
+      <para>The <application>Xorg</application> fonts have been installed
+      outside of <application>Fontconfig</application>'s default search path
+      of <filename class="directory">/usr/share/fonts</filename>.  In order
+      for <application>Fontconfig</application> to find the installed TrueType
+      fonts, you should make symlinks to their directories.  Assuming you've
+      installed <application>Xorg</application> in the default prefix, run the
+      following commands as the <systemitem class="username">root</systemitem>
+      user:</para>
+
+<screen role="root"><userinput>ln -svn /usr/X11R6/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF &&
+ln -svn /usr/X11R6/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF</userinput></screen>
+
     </sect3>
 
   </sect2>

Modified: trunk/BOOK/x/installing/xorg7.xml
===================================================================
--- trunk/BOOK/x/installing/xorg7.xml	2006-03-28 14:38:47 UTC (rev 5763)
+++ trunk/BOOK/x/installing/xorg7.xml	2006-03-28 14:55:44 UTC (rev 5764)
@@ -49,8 +49,8 @@
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional"><xref linkend="linux-pam"/></para>
 
-    <para condition="html" role="usernotes">User Notes:
-    <ulink role="usernotes" url='&blfs-wiki;/Xorg-7.0.0'/></para>
+    <bridgehead renderas="sect3" condition="html" role="usernotes">User Notes:
+    <ulink url='&blfs-wiki;/Xorg-&xorg7-version;'/></bridgehead>
 
     <bridgehead renderas="sect3">Xorg Download and Installation
     Instructions</bridgehead>
@@ -79,7 +79,7 @@
       and build options for individual <application>Xorg</application>
       packages.  The instructions assume that all packages have been built
       from a particular group unless otherwise noted. A
-      <ulink url="http://wiki.linuxfromscratch.org/blfs/wiki/Xorg-7.0.0">
+      <ulink url="http://wiki.linuxfromscratch.org/blfs/wiki/Xorg-&xorg7-version;">
       wiki</ulink> page containing dependency information, for users who wish
       to cut down on the installed size of <application>Xorg</application>, is
       under development.  You are encouraged to add to these
@@ -464,6 +464,17 @@
 
 <screen><userinput role="root">make install</userinput></screen>
 
+      <para>When all of the fonts have been installed, the system must be
+      configured so that <application>Fontconfig</application> can find the
+      TrueType fonts since they are outside of the default search path of
+      <filename class="directory">/usr/share/fonts</filename>.  Make symlinks
+      to the <application>Xorg</application> TrueType font directories by
+      running the following commands as the
+      <systemitem class="username">root</systemitem> user:</para>
+
+<screen><userinput role="root">ln -svn $XORG_PREFIX/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF &&
+ln -svn $XORG_PREFIX/lib/X11/fonts/TTF /usr/share/fonts/X11/TTF</userinput></screen>
+
       <note>
         <para>If you haven't done so, and intend to install
         <application>luit</application>, do so now.</para>




More information about the blfs-book mailing list