Changeset 19e9cee for x


Ignore:
Timestamp:
09/14/2002 09:47:22 PM (22 years ago)
Author:
Bruce Dubbs <bdubbs@…>
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, v1_0, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
bc013897
Parents:
07ba0069
Message:

Added freetype2 to xfree86; removed objprelink from kde; Update kde to 3.0.3

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

Location:
x
Files:
1 added
9 edited

Legend:

Unmodified
Added
Removed
  • x/installing/dri.xml

    r07ba0069 r19e9cee  
    1111<note><para>These instructions were developed from the DRI Compilation Guide at
    1212<userinput><ulink url="http://www.xfree86.org/4.2.0/DRIcomp.html"/></userinput>
    13 and modified for more recent versions of the DRI.
    14 </para></note>
    15 
    16 <para>
    17 The DRI drivers generally work on systems with Intel or AMD CPUs. However,
    18 there is limited support for Alpha and PowerPC support underway.
    19 </para>
    20 
    21 <para>
    22 DRI support is currently in beta status.  The following video cards are
     13and modified for more recent versions of the DRI.</para></note>
     14
     15<para>The DRI drivers generally work on systems with Intel or AMD CPUs.
     16However, there is limited support for Alpha and PowerPC support
     17underway.</para>
     18
     19<para>DRI support is currently in beta status.  The following video cards are
    2320presently supported:</para>
     21
    2422<itemizedlist>
     23
    2524 <listitem><para>3dfx (Voodoo 5 5500, Voodoo4 4500, Voodoo3 3500 TV,
    2625 Voodoo3 3000 {AGP, PCI}, Voodoo3 2000 {AGP, PCI}, Voodoo Banshee,
    27  Velocity 100/200)
    28  </para></listitem>
    29  <listitem><para>Matrox (G200, G400)
    30  </para></listitem>
     26 Velocity 100/200)</para></listitem>
     27 
     28 <listitem><para>Matrox (G200, G400) </para></listitem>
     29
    3130 <listitem><para>Intel Motherboard Chipsets (i810, i810-dc100, i810e, i815,
    32  i830)
    33  </para></listitem>
     31 i830) </para></listitem>
     32 
    3433 <listitem><para>ATI (Rage {128, Fury, Magnum}, XPERT {2000, 128, 99},
    35  All-in-Wonder 128, Radeon {SDR AGP, DDR AGP, 32MB SDR PCI}
    36  </para></listitem>
    37  <listitem><para>3Dlabs (Oxygen 2000) [No longer actively being developed]
    38  </para></listitem>
     34 All-in-Wonder 128, Radeon {SDR AGP, DDR AGP, 32MB SDR PCI} </para></listitem>
     35 
     36 <listitem><para>3Dlabs (Oxygen 2000) [No longer actively being
     37 developed] </para></listitem>
     38
    3939</itemizedlist>
    4040
    41 <para>
    42 For 3dfx Voodoo3 hardware, you'll also need Glide3 headers and runtime library.
    43 These can be obtained from
    44 <userinput><ulink url="http://linux.3dfx.com"/></userinput>.
    45 </para>
     41<para>For 3dfx Voodoo3 hardware, you'll also need Glide3 headers and
     42runtime library.  These can be obtained
     43from <userinput><ulink url="http://linux.3dfx.com"/></userinput>.</para>
    4644
    4745<sect2><title>Updating the Kernel</title>
    48 <para>
    49 In the kernel configuration "Character Devices" section,
     46
     47<para>In the kernel configuration "Character Devices" section,
    5048if you havn't already done so, <emphasis>enable</emphasis> Direct Rendering
    5149Manager. Also select the type of video card(s) that you want to support as
    5250a <emphasis>module</emphasis>.  This is necessary to ensure the kernel
    53 has the proper linkages when the DRI code is compiled.
    54 </para>
     51has the proper linkages when the DRI code is compiled.</para>
     52
    5553<para>If necessary, recompile the kernel with
    56 <screen>make dep &amp;&amp;
     54<screen><userinput>make dep &amp;&amp;
    5755make bzImage&amp;&amp;
    5856make modules &amp;&amp;
    59 make modules_install</screen>
    60 </para>
    61 <para>
    62 Copy <filename>/usr/src/linux/arch/i386/boot/bzImage</filename> and
     57make modules_install</userinput></screen></para>
     58
     59<para>Copy <filename>/usr/src/linux/arch/i386/boot/bzImage</filename> and
    6360<filename>/usr/src/linux/System.map</filename> to
    6461<filename>/boot</filename>, edit <filename>/etc/lilo.conf</filename>
    65 appropriately and run <userinput>lilo</userinput>.
    66 </para>
    67 </sect2>
    68 
    69 <sect2>
    70 <title>Getting the DRI driver source code</title>
    71 <para>
    72 Get the DRI sources by
    73 <screen>cd /usr/src
     62appropriately and run <userinput>lilo</userinput>.</para>
     63
     64</sect2>
     65
     66<sect2><title>Getting the DRI driver source code</title>
     67
     68<para>Get the DRI sources by
     69<screen><userinput>cd /usr/src
    7470mkdir DRI-CVS
    7571cd DRI-CVS
    76 cvs -d:pserver:anonymous@cvs.dri.sourceforge.net:/cvsroot/dri login
     72cvs -d:pserver:anonymous@cvs.dri.sourceforge.net:/cvsroot/dri login</userinput>
    7773    (hit ENTER when prompted for a password)
    78 cvs -z3 -d:pserver:anonymous@cvs.dri.sourceforge.net:/cvsroot/dri co xc</screen>
    79 </para>
     74<userinput>cvs -z3 -d:pserver:anonymous@cvs.dri.sourceforge.net:/cvsroot/dri co xc</userinput></screen></para>
     75
    8076<note><para>The -z3 flag causes compression to be used in order to reduce the
    8177download time.</para></note>
    8278
    8379<para>Since, the DRI drivers are beta, you can update the sources by
    84 <screen>cd /usr/src/DRI-CVS
    85 cvs -z3 update -dA xc</screen></para>
     80<screen><userinput>cd /usr/src/DRI-CVS
     81cvs -z3 update -dA xc</userinput></screen></para>
    8682     
    8783<para>There is no need to download or install the Mesa source files separately.
    88 The download is about 99Mb and the build size 477Mb.
    89 </para>
     84The download is about 99Mb and the build size 477Mb.</para>
     85
    9086</sect2>
    9187
    9288<sect2><title>Building the DRI</title>
     89
    9390<para>DRI drivers will be built in a separate directory from the main XFree86
    9491sources.  To access the proper files, link the files to a build directoy:
    95 <screen>cd /usr/src/DRI-CVS
     92<screen><userinput>cd /usr/src/DRI-CVS
    9693ln -s xc XFree40
    9794mkdir build
    9895cd build
    99 lndir -silent -ignorelinks ../XFree40</screen>
    100 </para>
     96lndir -silent -ignorelinks ../XFree40</userinput></screen></para>
    10197           
    10298<para>Now update the <filename>host.def</filename> file. The only change
    10399necessary is to uncomment the <parameter>BuildXF86DRM</parameter> define.
    104 Since DRI is still in Beta, changing the optimizations is not recommended.
    105 </para>
    106 <para>
    107 If you do not want to build all the drivers, change
    108 <parameter>XF86CardDrivers</parameter> and <parameter>DriDrivers</parameter>
    109 to eliminate those that you don't want.
    110 </para>
     100Since DRI is still in Beta, changing the optimizations is not
     101recommended.</para>
     102
     103<para>If you do not want to build all the drivers,
     104change <parameter>XF86CardDrivers</parameter>
     105and <parameter>DriDrivers</parameter> to eliminate those that
     106you don't want.</para>
     107
    111108<para>Ensure the Linux 2.4.x headers are available in
    112109<filename>/usr/src/linux/include/linux</filename>.</para>
     
    118115number.</para>
    119116
    120 
    121117<sect3><title>Compiling the DRI</title>
    122118
    123 <note><para>
    124 If you build XFree86 in a chroot environment, make sure the kernel version of the base
    125 system and the target system are the same.
    126 </para></note>
    127 
    128 <warning><para>Do not use -j option for <filename>make</filename></para>
    129 </warning>
    130 
    131 <para>Build the system by                   
    132 <screen>cd xc &amp;&amp;
    133 make World 2&gt;&amp;1 | tee World.log</screen></para>
    134 
    135 <para>Using <userinput>less</userinput> or an editor, examine
    136 <filename>World.log</filename>
    137 for errors by searching for the pattern ***.  Also examine the directory
    138 <filename>/usr/src/DRI-CVS/build/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/</filename>
    139 for the drivers you built:</para>
     119<note><para>If you build XFree86 in a chroot environment, make sure the
     120kernel version of the base system and the target system are
     121the same.</para></note>
     122
     123<warning><para>Do not use -j option
     124for <filename>make</filename></para></warning>
     125
     126<para>Build the system using:
     127<screen><userinput>cd xc &amp;&amp;
     128make World 2&gt;&amp;1 | tee World.log</userinput></screen></para>
     129
     130<para>Using <userinput>less</userinput> or an editor,
     131examine <filename>World.log</filename> for errors by searching for
     132the pattern ***.  Also examine the
     133directory <filename>/usr/src/DRI-CVS/build/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/</filename> for
     134the drivers you built:</para>
     135
    140136<itemizedlist>
    141 <listitem><para>For the 3dfx Voodoo, you should see <filename>tdfx.o</filename>
    142 </para></listitem>
    143 <listitem><para>For the Matrox G200/G400, you should see
    144 <filename>mga.o</filename>
    145 </para></listitem>
    146 <listitem><para>For the ATI Rage 128, you should see <filename>r128.o</filename>
    147 </para></listitem>
    148 <listitem><para>For the ATI Radeon, you should see <filename>radeon.o</filename>
    149 </para></listitem>
    150 <listitem><para>For the Intel i81x, you should see <filename>i810.o</filename>
    151 </para></listitem>
    152 <listitem><para>For the Intel i830, you should see <filename>i830.o</filename>
    153 </para></listitem>
     137
     138<listitem><para>For the 3dfx Voodoo, you should
     139see <filename>tdfx.o</filename></para></listitem>
     140
     141<listitem><para>For the Matrox G200/G400, you should
     142see <filename>mga.o</filename></para></listitem>
     143
     144<listitem><para>For the ATI Rage 128, you should
     145see <filename>r128.o</filename></para></listitem>
     146
     147<listitem><para>For the ATI Radeon, you should
     148see <filename>radeon.o</filename></para></listitem>
     149
     150<listitem><para>For the Intel i81x, you should
     151see <filename>i810.o</filename></para></listitem>
     152
     153<listitem><para>For the Intel i830, you should
     154see <filename>i830.o</filename></para></listitem>
     155
    154156</itemizedlist>
    155157
     
    158160
    159161<sect2><title>Installing the DRI drivers</title>
    160 <para>Copy the kernel module that for your video card to
    161 <filename>/lib/modules/2.4.x/kernel/drivers/char/drm/</filename>
     162
     163<para>Copy the kernel module that for your video card
     164to <filename>/lib/modules/2.4.x/kernel/drivers/char/drm/</filename>
    162165then run <userinput>modprobe &lt;module name&gt;</userinput>.</para>
    163166 
     
    167170<para>Now install the other portions of the DRI that were built and ensure the
    168171libraries can be found correctly
    169 <screen>make install &amp;&amp;
    170 ldconfig</screen></para>
    171 
    172 <para>
    173 If you use X locale information, do the following
    174 <screen>cd /usr/src/DRI-CVS/build/xc/nls
     172<screen><userinput>make install &amp;&amp;
     173ldconfig</userinput></screen></para>
     174
     175<para>If you use X locale information, do the following
     176<screen><userinput>cd /usr/src/DRI-CVS/build/xc/nls
    175177../config/util/xmkmf -a
    176178make
    177 make install</screen></para>
     179make install</userinput></screen></para>
    178180                       
    179181</sect2>
     
    181183<sect2><title>Configuring XFree86 for the DRI</title>
    182184     
    183 <para>On the DRI web site,
    184 <userinput><ulink url="http://dri.sourceforge.net"/></userinput>,
    185 in the resources section, you'll find example
    186 <filename>XF86Config</filename>
     185<para>On the DRI web site, <ulink url="http://dri.sourceforge.net"/>,
     186in the resources section, you'll find example <filename>XF86Config</filename>
    187187files for a number of graphics cards. These configuration files also setup
    188 DRI options so it's highly recommended that you look at these examples.
    189 </para>     
    190                                              
     188DRI options so it's highly recommended that you look at these examples.</para>     
    191189<para>Generally you can start with your existing configuration file,
    192190<filename>/etc/X11/XFConfig-4</filename>, but if you run into trouble
    193 you may want to start with a new file as in the basic XFree86 installation.
    194 </para>
     191you may want to start with a new file as in the basic XFree86
     192installation.</para>
    195193
    196194<para>Edit <filename>XF86Config-4</filename> to ensure
     
    212210
    213211<para>Make any other changes for font paths, screen modes, etc., as needed
    214 and save the configuration file.
    215 </para>
    216 
    217 <note><para>
    218 DMA-based DRI drivers (that's most DRI drivers) cannot function unless
    219 bus mastering is enabled for your graphics card. By default, some systems
    220 don't having bus mastering on. You should enable it in your BIOS.
    221 </para></note>
     212and save the configuration file.</para>
     213
     214<note><para>DMA-based DRI drivers (that's most DRI drivers) cannot function
     215unless bus mastering is enabled for your graphics card. By default, some
     216systems don't having bus mastering on. You should enable it in your
     217BIOS.</para></note>
     218
    222219</sect2>
    223220 
     
    226223<para>Start (or restart) XFree86 with <userinput>startx</userinput>.</para>
    227224
    228 <para>
    229 Check the XFree86 log file, <filename>/var/log/XFree86.0.log</filename>,
     225<para>Check the XFree86 log file, <filename>/var/log/XFree86.0.log</filename>,
    230226for a statements like
    231227<screen>(II) R128(0): [drm] installed DRM signal handler
     
    2762720x28 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
    2772730x29 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
    278 0x2a 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow</screen>
    279 </para>
     2740x2a 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow</screen></para>
    280275
    281276<para>Run <userinput>ldd /usr/X11R6/bin/glxgears</userinput> and look for
     
    295290<filename>xterm</filename> will display how many frames were drawn every
    296291five seconds so this is a reasonable benchmark.  The window is scalable, and
    297 the frames drawn per second is highly dependent on the size of the window.
    298 </para>
    299 
    300 <para>
    301 For troubleshooting problems, check the DRI Users Guide at
    302 <userinput><ulink url="http://dri.sourceforge.net/doc/DRIuserguide.html"/></userinput>.
    303 </para>
    304 </sect2>
     292the frames drawn per second is highly dependent on the size of
     293the window.</para>
     294
     295<para>For troubleshooting problems, check the DRI Users Guide at
     296<userinput><ulink url="http://dri.sourceforge.net/doc/DRIuserguide.html"/></userinput>.</para>
     297
     298</sect2>
     299
    305300</sect1>
    306 
  • x/installing/truetype.xml

    r07ba0069 r19e9cee  
    33<title>Adding TrueType font support to XFree86</title>
    44
    5 <para>
    6 TrueType font support is now built into XFree86.  The following items need to
    7 be completed to make the fonts available.
    8 </para>
     5<para>TrueType font support is now built into XFree86.  The following items need to
     6be completed to make the fonts available.</para>
     7
    98<itemizedlist>
    109
    11 <listitem><para>Establish a directory for the fonts and move any TrueType fonts
    12 you want into that directory.
    13 </para></listitem>
     10<listitem><para>Establish a directory for the fonts and move any
     11TrueType fonts you want into that directory.</para></listitem>
     12
    1413<listitem><para>Create the <filename>fonts.scale</filename> and
    15 <filename>fonts.dir</filename> files in the TrueType font directory.
    16 </para></listitem>
     14<filename>fonts.dir</filename> files in the TrueType font
     15directory.</para></listitem>
     16
    1717<listitem><para>Ensure the truetype module is loaded in
    18 <filename>XF86Config</filename>.
    19 </para></listitem>
     18<filename>XF86Config</filename>.</para></listitem>
     19
    2020<listitem><para>Ensure the <parameter>FontPath</parameter> in
    21 <filename>XF86Config</filename> contains the TrueType font directory.
    22 </para></listitem>
     21<filename>XF86Config</filename> contains the TrueType font
     22directory.</para></listitem>
     23
    2324</itemizedlist>
    2425
    2526<sect2><title>Establish a TrueType font directory</title>
     27
    2628<para>The build of XFree86 as given above automatically creates a TrueType
    2729font directory: <filename>/usr/X11R6/lib/X11/fonts/TTF</filename>.  This
     
    3032into that directory.  If not, create a new directory, preferably in
    3133the <filename>/usr/X11R6/lib/X11/fonts/</filename> directory and put
    32 your TrueType fonts there.
    33 </para></sect2>
     34your TrueType fonts there.</para></sect2>
    3435
    3536<sect2><title>Create <filename>fonts.scale</filename> and
    3637<filename>fonts.dir</filename></title>
     38
    3739<para>To make the <filename>fonts.scale</filename> file, you have to build the
    3840program <filename>ttmkfdir</filename>. Unfortunately, this program needs
     
    4042that first.</para>
    4143
    42 <screen>Download location:
    43    <ulink url="http://prdownloads.sourceforge.net/freetype/freetype-1.3.1.tar.gz"/></screen>
     44<screen>Download location (HTTP):       <ulink url="http://prdownloads.sourceforge.net/freetype/freetype-1.3.1.tar.gz"/></screen>
    4445
    4546<para>Unpack the file and build with
    46 <screen>./configure --prefix=/usr &amp;&amp;
     47<screen><userinput>./configure --prefix=/usr &amp;&amp;
    4748make &amp;&amp;
    4849make install &amp;&amp;
    49 ldconfig</screen>
    50 </para>
     50ldconfig</userinput></screen></para>
    5151
    52 <para>
    53 Now build the <filename>ttmkfdir</filename> utility.
    54 
     52<para>Now build the <filename>ttmkfdir</filename> utility.
    5553<screen>Download location: <ulink url="http://freshmeat.net/projects/ttmkfdir"/></screen>
    5654The filename is <filename>ttmkfdir.tar.gz</filename>.
    5755</para>
    5856
    59 <para>
    60 This is a very short  program that unpacks it is files in the current
     57<para>This is a very short  program that unpacks it is files in the current
    6158directory, so its best to make a separate directory.
    62 <screen>mkdir ttmkfdir &amp;&amp;
     59<screen><userinput>mkdir ttmkfdir &amp;&amp;
    6360cd ttmkfdir &amp;&amp;
    64 tar zxvf ../ttmkfdir.tar.gz</screen>
    65 </para>
     61tar zxvf ../ttmkfdir.tar.gz</userinput></screen></para>
    6662
    6763<para>Edit the <filename>Makefile</filename> to make the following changes:
     
    7268
    7369<para>Run
    74 <screen>make &amp;&amp;
    75 install -m755 ttmkfdir /usr/bin</screen>
    76 </para>
     70<screen><userinput>make &amp;&amp;
     71install -m755 ttmkfdir /usr/bin</userinput></screen></para>
    7772
    7873<para>Now change to the directory where you have your TrueType fonts and run
    7974<screen>ttmkfdir -o fonts.scale &amp;&amp;
    80 mkfontdir</screen></para>
    81 </sect2>
     75mkfontdir</screen></para></sect2>
    8276
    83 <sect2><title>Ensure TrueType is loaded in <filename>XF86Config</filename>
    84 </title>
     77<sect2><title>Ensure TrueType is loaded in <filename>XF86Config</filename></title>
    8578<para>The "Module" section should look like:
    8679<screen>Section "Module"
     
    8881        Load  "freetype"
    8982        Load  "speedo"
    90 EndSection</screen>
    91 </para></sect2>
     83EndSection</screen></para></sect2>
    9284
    9385<sect2><title>Ensure the <parameter>FontPath</parameter> in
     
    9789        ...
    9890        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
    99 EndSection</screen>
    100 </para>
     91EndSection</screen></para>
    10192
    10293<para>XFree86 will now be able to use TrueType fonts when it is restarted.
    10394You can check to see if the new fonts are available with the
    104 <userinput>xlsfonts</userinput> program.
    105 </para>
    106 </sect2>
     95<userinput>xlsfonts</userinput> program.</para></sect2>
    10796
    10897</sect1>
  • x/installing/xfree86/xfree86-config.xml

    r07ba0069 r19e9cee  
    99variable in <filename>.bash_profile</filename>.  The statement should
    1010look something like <userinput>PATH=$PATH:/usr/X11R6/bin</userinput>
    11 and be placed before the <userinput>export PATH</userinput> statement.
     11and be placed before the <userinput>export PATH</userinput>
     12statement.</para>
    1213
    13 Run
     14<para>Run
    1415<screen>source ~/.bash_profile</screen></para>
    1516
    16 <para>Set up your mouse 
    17 <screen>cd /dev
    18 ln -s psaux mouse</screen>
     17<para>Set up your mouse:
     18<screen><userinput>cd /dev
     19ln -s psaux mouse</userinput></screen>
    1920
    2021Adjust the symbolic link as necessary for other types of mice.  For instance,
    21 a serial mouse on the first serial port would be linked to ttyS1.
    22 </para>
     22a serial mouse on the first serial port would be linked to ttyS1.</para>
    2323
    2424<para>Create the XF86Config file with
    25 <screen>cd ~
    26 XFree86 -configure</screen>
     25<screen><userinput>cd ~
     26XFree86 -configure</userinput></screen>
    2727The screen will go black and you may hear some clicking of the monitor.  This
    2828command will create a file, <filename>XF86Config.new</filename> in your home
    29 directory.
    30 </para>
     29directory.</para>
    3130
    32 <para>
    33 Edit <filename>XF86Config.new</filename> to suit your system.  The details
    34 of the file are located in the man page <userinput>man XF86Config</userinput>.
    35 Some things you may want to do are:</para>
     31<para>Edit <filename>XF86Config.new</filename> to suit your system.  The
     32details of the file are located in the man
     33page <userinput>man XF86Config</userinput>.  Some things you may want to
     34do are:</para>
     35
    3636<itemizedlist>
     37
    3738<listitem><para>Section "Files". Change the order of the font paths searched.
    38 You may want to put
    39 100dpi fonts ahead of 75dpi fonts if your system normally comes up closer
    40 to 100 dots per inch.  You may want to remove some font directories completely.
    41 </para></listitem>
    42 <listitem><para>
    43 Section "Module".  Remove or comment out some of the modules.  The "glx"
    44 and "dri" sections are not operational until we install DRI below.  Leaving
    45 modules in does not hurt anything.
    46 </para></listitem>
    47 <listitem><para>
    48 Section "InputDevice".  You may want to change the keyboard autorepeat rate
    49 by adding
    50 <userinput>Option "Autorepeat" "250 30"</userinput>.
    51 </para></listitem>
    52 <listitem><para>
    53 Section "Screen".  Add a DefaultDepth statement such as:
    54 <userinput>DefaultDepth 16</userinput>. In the SubSection for your default
    55 depth, add a modes line such as:
    56 <userinput> Modes "1280x1024" "1024x768"</userinput>.
    57 The first mode listed will normally be the starting resolution.
    58 </para></listitem>
     39You may want to put 100dpi fonts ahead of 75dpi fonts if your system normally
     40comes up closer to 100 dots per inch.  You may want to remove some font
     41directories completely.</para></listitem>
     42
     43<listitem><para>Section "Module".  Remove or comment out some of the modules. 
     44The "glx" and "dri" sections are not operational until we install DRI
     45below.  Leaving modules in does not hurt anything.</para></listitem>
     46
     47<listitem><para>Section "InputDevice".  You may want to change the keyboard
     48autorepeat rate by
     49adding <userinput>Option "Autorepeat" "250 30"</userinput>.</para></listitem>
     50
     51<listitem><para>Section "Screen".  Add a DefaultDepth statement such
     52as: <userinput>DefaultDepth 16</userinput>. In the SubSection for your
     53default depth, add a modes line such
     54as: <userinput> Modes "1280x1024" "1024x768"</userinput>.
     55The first mode listed will normally be the starting
     56resolution.</para></listitem>
     57
    5958</itemizedlist>
    6059
    61 <para>
    62 Test the system with
    63 <screen>XFree86 -xf86config ~/XF86Config.new</screen>
     60<para>Test the system with
     61<screen><userinput>XFree86 -xf86config ~/XF86Config.new</userinput></screen>
    6462You will only get a grey background with an X-shaped mouse cursor, but it
    6563confirms the system is working.  Exit with Control-Alt-Backspace.  If the
    66 system does not work, take a look at
    67 <filename>/var/log/XFree86.0.log</filename> to see what went wrong.
    68 </para>
    69 <para>
    70 Move the confiuration file to its final location
    71 <screen>mv ~/XF86Config.new /etc/X11/XF86Config-4</screen>
    72 </para>
    73 <para>
    74 Create <filename>.xinitrc</filename>
     64system does not work, take a look
     65at <filename>/var/log/XFree86.0.log</filename> to see what went
     66wrong.</para>
     67
     68<para>Move the confiuration file to its final location
     69<screen><userinput>mv ~/XF86Config.new /etc/X11/XF86Config-4</userinput></screen></para>
     70
     71<para>Create <filename>.xinitrc</filename>
    7572<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
    7673# Begin .xinitrc file
     
    8178This provides an initial screen with an xterm and a clock that is managed by a
    8279simple window manager, Tab Winow Manager.  For details of twm, see the
    83 man page.
    84 </para>
     80man page.</para>
    8581
    86 <para>
    87 Start X with
    88 <screen>startx</screen>
    89 to get basic funtional X Windows System.
    90 </para>
     82<para>Start X with
     83<screen><userinput>startx</userinput></screen>
     84to get basic funtional X Windows System.</para>
     85
    9186</sect2>
    9287
  • x/installing/xfree86/xfree86-desc.xml

    r07ba0069 r19e9cee  
    2626<sect3><title>xf86config</title>
    2727<para>An interactive program for generating an XF86Config file for use with
    28 XFree86 X servers.
    29 </para></sect3>
     28XFree86 X servers.</para></sect3>
    3029
    3130<sect3><title>xf86cfg</title>
    3231<para>A tool to configure XFree86 that can be used to either write the
    33 initial configuration file or make customizations to the current configuration.
    34 </para></sect3>
     32initial configuration file or make customizations to the current
     33configuration.</para></sect3>
    3534
    3635<sect3><title>startx</title>
    37 <para>A script to initialize the X session. It runs xinit.
    38 </para></sect3>
     36<para>A script to initialize the X session. It runs xinit.</para></sect3>
    3937
    4038<sect3><title>xinit</title>
    41 <para>This program is used to start the X Window System server.
    42 </para></sect3>
     39<para>This program is used to start the X Window System server.</para></sect3>
    4340
    4441<sect3><title>twm</title>
    45 <para>A Tab Window Manager for the X Window System.
    46 </para></sect3>
     42<para>A Tab Window Manager for the X Window System.</para></sect3>
    4743
    4844<sect3><title>xterm</title>
    49 <para>A terminal emulator for X.
    50 </para></sect3>
     45<para>A terminal emulator for X.</para></sect3>
    5146
    5247<sect3><title>xwininfo</title>
    53 <para>A window information utility for X.
    54 </para></sect3>
     48<para>A window information utility for X.</para></sect3>
    5549
    5650<sect3><title>x11perf</title>
    57 <para>An X11 server performance test program.
    58 </para></sect3>
     51<para>An X11 server performance test program.</para></sect3>
    5952
    6053<sect3><title>xlsfonts</title>
    61 <para>A program to list fonts available to the X server.
    62 </para></sect3>
     54<para>A program to list fonts available to the X server.</para></sect3>
    6355
    6456<sect3><title>xvidtune</title>
    65 <para>A video mode tuner for XFree86.
    66 </para></sect3>
     57<para>A video mode tuner for XFree86.</para></sect3>
    6758
    6859<sect3><title>xload</title>
    69 <para>A system load average display for X.
    70 </para></sect3>
     60<para>A system load average display for X.</para></sect3>
    7161
    7262<sect3><title>xcalc</title>
    73 <para>A scientific calculator for X.
    74 </para></sect3>
     63<para>A scientific calculator for X.</para></sect3>
    7564
    7665<sect3><title>xclock and oclock</title>
    77 <para>Clock programs for X.
    78 </para></sect3>
     66<para>Clock programs for X.</para></sect3>
    7967
    8068<sect3><title>xmodmap</title>
    81 <para>A utility for modifying keymaps and pointer button mappings in X.
    82 </para></sect3>
     69<para>A utility for modifying keymaps and pointer button mappings
     70in X.</para></sect3>
    8371
    8472</sect2>
  • x/installing/xfree86/xfree86-exp.xml

    r07ba0069 r19e9cee  
    22<title>Command explanations</title>
    33
    4 <para>
    5 <userinput>make World 2&gt;&amp;1 | tee xfree-compile.log &amp;&amp;</userinput>
    6 : This command runs multiple makefiles to completely rebuild the system. 
     4<para><userinput>make World 2&gt;&amp;1 | tee xfree-compile.log &amp;&amp;</userinput>:
     5This command runs multiple makefiles to completely rebuild the system. 
    76<userinput>2&gt;&amp;1</userinput> redirects error messages to the same location
    8 as normal output. The <userinput>tee</userinput>
    9 command allows viewing of the output while logging the results to a file.</para>
     7as normal output. The <userinput>tee</userinput> command allows viewing of
     8the output while logging the results to a file.</para>
    109
    11 <note><para>
    12 When rebuildng, a separate command that may be used if only minor changes
    13 are made to the sources is <userinput>make Everything</userinput>.  This does
    14 not automatically remove generated files and only rebuilds those files or
    15 programs that are out of date.
    16 </para></note>
     10<note><para>When rebuildng, a separate command that may be used if only minor
     11changes are made to the sources is <userinput>make
     12Everything</userinput>.  This does not automatically remove generated
     13files and only rebuilds those files or programs that are out
     14of date.</para></note>
    1715
    18 <para>
    19 <userinput>ln -sf /usr/X11R6/bin /usr/bin/X11</userinput>,
     16<para><userinput>ln -sf /usr/X11R6/bin /usr/bin/X11</userinput>,
    2017<userinput>ln -sf /usr/X11R6/lib/X11 /usr/lib/X11</userinput>, and
    2118<userinput>ln -sf /usr/X11R6/include/X11 /usr/include/X11</userinput>:
     
    2421says:
    2522"In general, software must not be installed or managed via the above
    26 symbolic links. They are intended for utilization by users only."
    27 </para>
    28 </sect2>
     23symbolic links. They are intended for utilization by users only."</para></sect2>
    2924
  • x/installing/xfree86/xfree86-inst.xml

    r07ba0069 r19e9cee  
    22<title>Installation of XFree86</title>
    33
    4 
    54<sect3>
    65<title>Kernel Compilation Settings</title>
    7 <para>
    8 If you have an Intel P6 (Pentium Pro, Pentium II and later) it is recommneded
     6<para>If you have an Intel P6 (Pentium Pro, Pentium II and later) it is recommneded
    97that you compile MTRR (Memory Type Range Registers) support into the kernel.
    108The kernel can map Cyrix and AMD CPUs to the MTRR interface so selecting this
     
    1210This option is found in the
    1311"Processor type and features" menu.  It can increase performance of
    14 image write operations 2.5 times or more on PCI or AGP video cards.
    15 </para>
     12image write operations 2.5 times or more on PCI or AGP video cards.</para>
    1613
    17 <para>
    18 In the "Character Devices" section, enable AGP Support and select the chipset
     14<para>In the "Character Devices" section, enable AGP Support and select the chipset
    1915support on your motherboard.  If you do not know the chipset, you may select
    2016all the chip types at the expense of extra kernel size. You can usually
    2117determine your motherboard's chipset by doing:
    22 <screen><userinput>cat /proc/pci</userinput></screen>
    23 </para>
     18<screen><userinput>cat /proc/pci</userinput></screen></para>
    2419
    25 <para>
    26 In the "Character Devices" section, <emphasis>disable</emphasis> Direct
     20<para>In the "Character Devices" section, <emphasis>disable</emphasis> Direct
    2721Rendering Manager unless you have a Direct Rendering Infrastructure (DRI)
    2822supported video card.  See the DRI section below for a list.  If you do
    2923enable DRI here, make sure you select the video card(s) you want to support
    30 as a <emphasis>module</emphasis>.
     24as a <emphasis>module</emphasis>.</para>
     25
     26<para>If you made any changes to the kernel configuration, recompile with
     27<screen><userinput>make dep &amp;&amp;
     28make bzImage &amp;&amp;
     29make modules &amp;&amp;
     30make modules_install</userinput></screen>
    3131</para>
    3232
    33 <para>If you made any changes to the kernel configuration, recompile with
    34 <screen>make dep &amp;&amp;
    35 make bzImage &amp;&amp;
    36 make modules &amp;&amp;
    37 make modules_install</screen>
    38 </para>
    39 
    40 <para>
    41 Copy <filename>/usr/src/linux/arch/i386/boot/bzImage</filename> and
     33<para>Copy <filename>/usr/src/linux/arch/i386/boot/bzImage</filename> and
    4234<filename>/usr/src/linux/System.map</filename> to
    4335<filename>/boot</filename>, edit <filename>/etc/lilo.conf</filename>
    44 appropriately and run <userinput>lilo</userinput>.
    45 </para>
     36appropriately and run <userinput>lilo</userinput>.</para>
    4637
    47 <note><para>
    48 If you build XFree86 in a chroot environment, make sure the kernel version of the base
    49 system and the target system are the same.  This is especially important if you
    50 enabled DRI support as a module as instructed above.
    51 </para></note>
     38<note><para>If you build XFree86 in a chroot environment, make sure the kernel
     39version of the base system and the target system are the same.  This is
     40especially important if you enabled DRI support as a module as
     41instructed above.</para></note>
    5242
    5343</sect3>
     44
    5445<sect3><title>Creating <filename>host.def</filename></title>
    5546
     
    7667 
    7768/* #define HasMTRRSupport      YES  */ /* Enabled in kernel see kernel docs */
    78 /* #define HasMMXSupport        NO         */ /* Any i586 or above */
     69/* #define HasMMXSupport        NO  */ /* Any i586 or above */
    7970/* #define HasKatmaiSupport     NO  */ /* PIII SSE instuctions */
    8071/* #define Has3DNowSupport      NO  */ /* AMD instructions */
     
    9990/* FONT SERVER AND LIBRARY SETTINGS ****************************************/
    10091
    101 
    10292/* These setting should be set by default, but we are making sure. *********/
    10393
    104 #define BuildFontServer                YES  /* Need for GhostScript Print Server */
    105 #define BuildFreetype2Library          YES  /* For using TrueType Fonts */
    106 #define SharedLibFont                  YES  /* Needed for Truetype */
    107 #define CompressAllFonts               YES
    108 #define GzipFontCompression            YES
     94#define BuildFontServer          YES  /* Need for GhostScript Print Server */
     95#define SharedLibFont            YES 
     96#define CompressAllFonts         YES
     97#define GzipFontCompression      YES
     98
     99/* These setting ensure we use the proper version of freetype **************/
     100#define HasFreetype2             YES
     101#define BuildFreetype2Library     NO
     102#define Freetype2Dir            /usr
    109103
    110104/* The font path can be redefined in the XF86Config file *******************/
     
    172166
    173167<para>Edit the file for your hardware and desires.</para>
     168
    174169</sect3>
    175170
     
    179174
    180175
    181 <para><screen><userinput>patch -Np1 -i ../4.2.0-4.2.1.diff &amp;&amp;</userinput>
    182 <userinput>make World 2&gt;&amp;1 | tee xfree-compile.log &amp;&amp;</userinput>
    183 <userinput>make install &amp;&amp;</userinput>
    184 <userinput>make install.man &amp;&amp;</userinput>
    185 <userinput>ln -sf /usr/X11R6/bin /usr/bin/X11 &amp;&amp;</userinput>
    186 <userinput>ln -sf /usr/X11R6/lib/X11 /usr/lib/X11 &amp;&amp;</userinput>
    187 <userinput>ln -sf /usr/X11R6/include/X11 /usr/include/X11</userinput></screen></para>
     176<para><screen><userinput>patch -Np1 -i ../4.2.0-4.2.1.diff &amp;&amp;
     177make World 2&gt;&amp;1 | tee xfree-compile.log &amp;&amp;
     178make install &amp;&amp;
     179make install.man &amp;&amp;
     180ln -sf /usr/X11R6/bin /usr/bin/X11 &amp;&amp;
     181ln -sf /usr/X11R6/lib/X11 /usr/lib/X11 &amp;&amp;
     182ln -sf /usr/X11R6/include/X11 /usr/include/X11</userinput></screen></para>
    188183
    189184</sect3>
  • x/installing/xfree86/xfree86-intro.xml

    r07ba0069 r19e9cee  
    88Estimated build time:           63m (667 MHz)</screen>
    99
    10 <para><screen>XFree86 depends on: LFS base installation</screen></para>
     10<para><screen>XFree86 depends on: <xref linkend="freetype2"/></screen></para>
    1111
    1212<para>Because XFree86 is such a large package, you may find that
     
    1818hardware (the mouse, keyboard, and video displays) and the desktop environment
    1919while also providing both the windowing infrastructure and a standardized
    20 application interface (API).
    21 </para>
     20application interface (API).</para>
    2221
    23 <para>
    24 There are several files that need to be fetched from the download location:
     22<para>There are several files that need to be fetched from the download location:
    2523<screen>X420src-1.tgz 25354 KB
    2624X420src-2.tgz 22683 KB   
    27 X420src-3.tgz  9089 KB   
    28 </screen>
    29 </para>
     25X420src-3.tgz  9089 KB</screen></para>
    3026
    31 <para>
    32 In addition, the following file will be needed:
    33 <screen><ulink url="ftp://ftp.xfree86.org/pub/XFree86/4.2.1/patches/4.2.0-4.2.1.diff.gz"/></screen>
    34 </para>
     27<para>In addition, the following file will be needed:
     28<screen><ulink url="ftp://ftp.xfree86.org/pub/XFree86/4.2.1/patches/4.2.0-4.2.1.diff.gz"/></screen></para>
    3529</sect2>
  • x/lib/lib.xml

    r07ba0069 r19e9cee  
    44
    55&lesstif;
     6&freetype2;
    67&qt;
    78&GTK;
  • x/x.ent

    r07ba0069 r19e9cee  
    1010<!-- X Libraries -->
    1111<!ENTITY x-lib SYSTEM "lib/lib.xml">
     12<!ENTITY % freetype SYSTEM "lib/freetype2/freetype2.ent">
    1213<!ENTITY % lesstif SYSTEM "lib/lesstif/lesstif.ent">
    1314<!ENTITY % qt SYSTEM "lib/qt/qt.ent">
     
    1617<!ENTITY % pango SYSTEM "lib/pango/pango.ent">
    1718<!ENTITY % fnlib SYSTEM "lib/fnlib/fnlib.ent">
     19%freetype;
    1820%lesstif;
    1921%qt;
Note: See TracChangeset for help on using the changeset viewer.