Changeset b9ad2f9a for x/installing


Ignore:
Timestamp:
10/02/2003 03:28:50 PM (21 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
0d2f891
Parents:
a294e133
Message:

proper, filename classes, Chap 27 & 28

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1272 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
x/installing
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • x/installing/installing.xml

    ra294e133 rb9ad2f9a  
    11<chapter id="x-installing">
    22<?dbhtml filename="installing.html" dir="x"?>
    3 <title>Installing X</title>
     3<title>X Window Environment</title>
     4
     5<para>This chapter contains a graphical user environment.</para>
    46
    57&xfree86;
  • x/installing/xfree86-setup.xml

    ra294e133 rb9ad2f9a  
    11<sect1 id="x-setup">
    22<?dbhtml filename="xfree86-setup.html" dir="x"?>
    3 <title>Setting up XFree86 Components</title>
    4 
    5 <sect2>
    6 <title>Checking Direct Rendering Infrastructure (DRI) Installation</title>
    7 <para>DRI is a framework for allowing software to access graphics hardware
    8 in a safe and efficient manner.  It is installed in XFree86 by default if
    9 you have a supported video card.  To check if DRI is installed properly,
     3<title>XFree86 Components</title>
     4
     5<sect2>
     6<title>Checking Direct Rendering Infrastructure (<acronym>DRI</acronym>) Installation</title>
     7<para><acronym>DRI</acronym> is a framework for allowing software to access graphics hardware
     8in a safe and efficient manner.  It is installed in
     9<application>XFree86</application> by default if
     10you have a supported video card.  To check if <acronym>DRI</acronym> is installed properly,
    1011check the log file <filename>/var/log/XFree86.0.log</filename> for statements
    1112like:</para>
     
    1314<para><screen>(II) R128(0): Direct rendering enabled</screen></para>
    1415
    15 <para>From an xterm, run <userinput>glxinfo</userinput> and look for the phrase:</para>
    16 <para><screen>direct rendering: Yes</screen></para>
    17 
    18 <para>You can also run the test program <userinput>glxgears</userinput>.
     16<para>From an <command>xterm</command>, run <command>glxinfo</command> and look for the phrase:</para>
     17<screen>direct rendering: Yes</screen>
     18
     19<para>You can also run the test program <command>glxgears</command>.
    1920This program brings up a window with three gears turning.  The
    20 <filename>xterm</filename> will display how many frames were drawn every
     21<command>xterm</command> will display how many frames were drawn every
    2122five seconds so this is a reasonable benchmark.  The window is scalable, and
    2223the frames drawn per second is highly dependent on the size of
    2324the window.</para>
    2425 
    25 <para>For troubleshooting problems, check the DRI Users Guide at
     26<para>For troubleshooting problems, check the <acronym>DRI</acronym> Users Guide at
    2627<userinput><ulink url="http://dri.sourceforge.net/doc/DRIuserguide.html"/></userinput>.
    2728</para>
     
    3132
    3233<sect2>
    33 <title>Adding TrueType fonts to XFree86</title>
    34 
    35 <para>TrueType font support is built into XFree86.  The following items need to
     34<title>Adding <application>TrueType</application> fonts to
     35<application>XFree86</application></title>
     36
     37<para><application>TrueType</application> font support is built into
     38<application>XFree86</application>.  The following items need to
    3639be completed to make the fonts available.</para>
    3740
     
    3942
    4043<listitem><para>Establish a directory for the fonts and move any
    41 TrueType fonts you want into that directory.</para></listitem>
     44<application>TrueType</application> fonts you want into that directory.</para></listitem>
    4245
    4346<listitem><para>Create the <filename>fonts.scale</filename> and
    44 <filename>fonts.dir</filename> files in the TrueType font
     47<filename>fonts.dir</filename> files in the
     48<application>TrueType</application> font
    4549directory.</para></listitem>
    4650
    47 <listitem><para>Ensure the truetype module is loaded in
     51<listitem><para>Ensure the <application>TrueType</application> module is loaded in
    4852<filename>XF86Config</filename>.</para></listitem>
    4953
    5054<listitem><para>Ensure the <parameter>FontPath</parameter> in
    51 <filename>XF86Config</filename> contains the TrueType font
     55<filename>XF86Config</filename> contains the
     56<application>TrueType</application> font
    5257directory.</para></listitem>
    5358
    5459</itemizedlist>
    5560
    56 <sect3><title>Establish a TrueType font directory</title>
    57 
    58 <para>The build of XFree86 as given above automatically creates a TrueType
    59 font directory: <filename>/usr/X11R6/lib/X11/fonts/TTF</filename>.  This
    60 directory already has some TrueType fonts and is set up correctly.
    61 If this directory is satisfactory, copy any other TrueType fonts you want
     61<sect3><title>Establish a <application>TrueType</application> font directory</title>
     62
     63<para>The build of <application>XFree86</application> as given above
     64automatically creates a <application>TrueType</application>
     65font directory: <filename class="directory">/usr/X11R6/lib/X11/fonts/TTF</filename>.  This
     66directory already has some <application>TrueType</application> fonts and is set up correctly.
     67If this directory is satisfactory, copy any other
     68<application>TrueType</application> fonts you want
    6269into that directory.  If not, create a new directory, preferably in
    63 the <filename>/usr/X11R6/lib/X11/fonts/</filename> directory and put
    64 your TrueType fonts there.</para></sect3>
     70the <filename class="directory">/usr/X11R6/lib/X11/fonts/</filename> directory and put
     71your <application>TrueType</application> fonts there.</para></sect3>
    6572
    6673<sect3><title>Create <filename>fonts.scale</filename> and
    6774<filename>fonts.dir</filename></title>
    6875
    69 <para>Now change to the directory where you have your TrueType fonts and run
    70 <screen><userinput>mkfontscale &amp;&amp;
    71 mkfontdir</userinput></screen></para></sect3>
    72 
    73 <sect3><title>Ensure TrueType is loaded in <filename>XF86Config</filename></title>
     76<para>Now change to the directory where you have your
     77<application>TrueType</application> fonts and run
     78<screen><userinput><command>mkfontscale &amp;&amp;
     79mkfontdir</command></userinput></screen></para></sect3>
     80
     81<sect3><title>Ensure <application>TrueType</application> is loaded in <filename>XF86Config</filename></title>
    7482<para>The "Module" section should look like:
    7583<screen>Section "Module"
     
    8088
    8189<sect3><title>Ensure the <parameter>FontPath</parameter> in
    82 <filename>XF86Config</filename> points to the TrueType font directory</title>
     90<filename>XF86Config</filename> points to the
     91<application>TrueType</application> font directory</title>
    8392<para>The "Files" section should look like
    8493<screen>Section "Files"
     
    92101<para>Finally, to update all the font
    93102cache files specified in <filename>/etc/fonts/fonts.conf</filename>, run
    94 <screen><userinput>fc-cache</userinput></screen>
     103<screen><userinput><command>fc-cache</command></userinput></screen>
    95104</para>
    96105
    97 <para>XFree86 will now be able to use TrueType fonts when it is restarted.
     106<para><application>XFree86</application> will now be able to use
     107<application>TrueType</application> fonts when it is restarted.
    98108You can check to see if the new fonts are available with the
    99 <userinput>xlsfonts</userinput>  or <userinput>xfontsel</userinput>
     109<command>xlsfonts</command>  or <command>xfontsel</command>
    100110program.</para>
    101111
    102 <note><para>You should re-run <userinput>mkfontscale</userinput> and 
    103 <userinput>mkfontdir</userinput> any time you add or delete TrueType fonts.
    104 You should also rerun <userinput>fc-cache</userinput> each time
     112<note><para>You should re-run <command>mkfontscale</command> and 
     113<command>mkfontdir</command> any time you add or delete
     114<application>TrueType</application> fonts.
     115You should also rerun <command>fc-cache</command> each time
    105116you add or remove any fonts.</para></note>
    106117
     
    111122<sect2>
    112123<title>Setting up keyboards</title>
    113 <para>In this version of XFree86, it has been reported that non-latin
     124<para>In this version of <application>XFree86</application>, it has been reported that non-latin
    114125keyboard layouts do not include latin configurations as was previous
    115126practice. To set up a keyboard for latin and non-latin input,
     
    126137
    127138<para>In this example, you can use the Alt-Shift combination to switch
    128 between keyboard layouts and use the Scroll Lock LED to indicate when
     139between keyboard layouts and use the Scroll Lock <acronym>LED</acronym> to indicate when
    129140the second layout is active.</para>
    130141</sect2>
  • x/installing/xfree86.xml

    ra294e133 rb9ad2f9a  
    1 <sect1 id="xfree86" xreflabel="xfree86-&xfree86-version;">
     1<sect1 id="xfree86" xreflabel="XFree86-&xfree86-version;">
    22<?dbhtml filename="xfree86.html" dir="x"?>
    33<title>XFree86-&xfree86-version;</title>
  • x/installing/xfree86/xfree86-exp.xml

    ra294e133 rb9ad2f9a  
    22<title>Command explanations</title>
    33
    4 <para><userinput>WORLDOPTS="" make World 2&gt;&amp;1 | tee xfree-compile.log</userinput> :
     4<para><command>WORLDOPTS="" make World 2&gt;&amp;1 | tee xfree-compile.log</command>:
    55This command runs multiple makefiles to completely rebuild the system.
    6 WORLDOPTS="" disables the default setting to continue after encountering an error.
    7 <userinput>2&gt;&amp;1</userinput> redirects error messages to the same location
    8 as normal output. The <userinput>tee</userinput> command allows viewing of
     6<envar>WORLDOPTS</envar>="" disables the default setting to continue after encountering an error.
     7<parameter>2&gt;&amp;1</parameter> redirects error messages to the same location
     8as normal output. The <command>tee</command> command allows viewing of
    99the output while logging the results to a file.</para>
    1010
    11 <note><para>When rebuilding XFree86, a separate command that may be used if only minor
    12 changes are made to the sources is <userinput>make
    13 Everything</userinput>.  This does not automatically remove generated
     11<note><para>When rebuilding <application>XFree86</application>, a separate command that may be used if only minor
     12changes are made to the sources is <command>make
     13Everything</command>.  This does not automatically remove generated
    1414files and only rebuilds those files or programs that are out
    1515of date.</para></note>
    1616
    17 <para><userinput>ln -sf /usr/X11R6/bin /usr/bin/X11</userinput>,
    18 <userinput>ln -sf /usr/X11R6/lib/X11 /usr/lib/X11</userinput>, and
    19 <userinput>ln -sf /usr/X11R6/include/X11 /usr/include/X11</userinput> : These
     17<para><command>ln -sf /usr/X11R6/bin /usr/bin/X11</command>,
     18<command>ln -sf /usr/X11R6/lib/X11 /usr/lib/X11</command>, and
     19<command>ln -sf /usr/X11R6/include/X11 /usr/include/X11</command>: These
    2020commands are present to enable other (broken) packages to build
    21 against XFree86.  We do this even though the Filesystem Hierarchy Standard
     21against <application>XFree86</application>.  We do this even though the Filesystem Hierarchy Standard
    2222says:
    2323"In general, software must not be installed or managed via the above
    2424symbolic links. They are intended for utilization by users only."</para>
    2525
    26 <para><userinput>make  CC=/opt/gcc-2.95.3/bin/gcc -f Makefile.linux</userinput> : This builds the
    27 XFree86 compatible kernel modules using the same compiler used to compile
     26<para><command>make  CC=/opt/gcc-2.95.3/bin/gcc -f Makefile.linux</command>: This builds the
     27<application>XFree86</application> compatible kernel modules using the same compiler used to compile
    2828the kernel.</para>
    2929
    30 <para><userinput>cp gamma.o radeon.o sis.o r128.o i810.o i830.o mga.o tdfx.o
    31 /lib/modules/`uname -r`/kernel/drivers/char/drm/</userinput> : Put the kernel
     30<para><command>cp gamma.o radeon.o sis.o r128.o i810.o i830.o mga.o tdfx.o
     31/lib/modules/`uname -r`/kernel/drivers/char/drm/</command>: Put the kernel
    3232module(s) where the kernel can find them. You only need to copy the driver you
    3333need to support your video card.</para>
    3434
    35 <para><userinput>depmod -a</userinput> : Update the modules.dep file for module
     35<para><command>depmod -a</command>: Update the modules.dep file for module
    3636management.</para>
    3737
Note: See TracChangeset for help on using the changeset viewer.