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/installing/xfree86
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.