Changeset 7461475 for x


Ignore:
Timestamp:
10/11/2004 02:29:01 AM (20 years ago)
Author:
Igor Živković <igor@…>
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, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
c3af16e
Parents:
603db43
Message:

Updated to Xorg-6.8.1.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/xorg.xml

    r603db43 r7461475  
    55  %general-entities;
    66
    7   <!ENTITY xorg-download-http "http://freedesktop.org/~xorg/X11R6.7.0/src/">
     7  <!ENTITY xorg-download-http "http://freedesktop.org/~xorg/X11R&xorg-version;/src-single/X11R&xorg-version;-src.tar.bz2">
    88  <!ENTITY xorg-download-ftp  " ">
    9   <!ENTITY xorg-size          "70.3 MB">
     9  <!ENTITY xorg-size          "41 MB">
    1010  <!ENTITY xorg-buildsize     "645 MB">
    1111  <!ENTITY xorg-time          "17.1 SBU">
     
    2828and <application>XFree86</application>. These packages are quite similar. In
    2929fact, the base system of <application>Xorg</application> is
    30 <application>XFree86</application>-RC2. The primary difference as of this
     30<application>XFree86</application>-4.4.0RC2. The primary difference as of this
    3131writing is the license provisions of the packages.  For someone building a
    3232package for their own use, these issues are not significant.  Most large
     
    8080<sect3><title>Download Instructions</title>
    8181 
    82 <para>There are several files that need to be fetched from the download
     82<para>As an alternative to downloading the entire source tree in a single
     83file, there are several files that need to be fetched from the download
    8384location:</para>
     85
    8486<itemizedlist spacing='compact'>
    8587<listitem><para><filename>X11R6.7.0-src1.tar.gz</filename></para></listitem>
     
    98100is hardcopy documentation.</para>
    99101 
    100 <para>To check your downloads for integrity, download the
     102<para>To check your file for integrity, download the
    101103<filename>md5sums</filename> file. Then:</para>
    102104 
    103105<screen><userinput><command>md5sum -c md5sums</command></userinput></screen>
    104106 
    105 <para>All seven packages should give an OK status.</para>
     107<para>The package (or all seven packages) should give an OK status.</para>
    106108</sect3>
    107109</sect2>
     
    132134(<acronym>DRI</acronym>) supported video card.  A complete list of
    133135<acronym>DRI</acronym> supported video cards can be found at
    134 <ulink url="http://dri.sourceforge.net" /> in the Status section.
     136<ulink url="http://dri.sourceforge.net" /> in the "Status" section.
    135137Currently, supported cards include those from 3dfx (Voodoo, Banshee), 3Dlabs,
    136138ATI (Rage Pro, Rage 128, Radeon 7X00, Radeon 2), Intel (i810, i815), and
    137 Matrox (G200, G400, G450). If you do enable <acronym>DRI</acronym> here, make
    138 sure you select the video card(s) you want to support as a
    139 <emphasis>module</emphasis>.</para>
     139Matrox (G200, G400, G450).</para>
    140140 
    141141<para>Additionally NVidia provides their own closed source binary drivers,
     
    143143drivers, do not enable <acronym>DRI</acronym>.</para>
    144144 
    145 <para>If you made any changes to the kernel configuration, recompile the
    146 kernel.</para>
    147  
    148 <para>Copy the <filename>arch/i386/boot/bzImage</filename> and
    149 <filename>System.map</filename> from the kernel build directory to
    150 <filename class='directory'>/boot</filename>. Edit
    151 <filename>/boot/grub/menu.lst</filename> and add the new kernel to the boot
    152 menu. (If you use lilo, edit <filename>/etc/lilo.conf</filename> and run
    153 <command>lilo</command>.)</para>
     145<para>If you made any changes to the kernel configuration, recompile and
     146install the new kernel.</para>
    154147 
    155148<note><para>If you build <application>Xorg</application> in a
     
    206199/* #define DefaultGcc2PpcOpt  -O2 -mcpu=750 */
    207200
    208 #define HasFreetype2             YES
    209 #define HasFontconfig            YES
    210 #define HasExpat                 YES
    211 #define HasLibpng                YES
    212 #define HasZlib                  YES
     201#define HasFreetype2            YES
     202#define HasFontconfig           YES
     203#define HasExpat                YES
     204#define HasLibpng               YES
     205#define HasZlib                 YES
    213206
    214207/*
     
    239232#define XInputDrivers           mouse keyboard
    240233
     234/* Disable everything Xprint related until we get it figured out. */
     235
     236#define BuildXprint             NO
    241237
    242238/* End Xorg host.def file */
     
    261257ln -sf ../X11R6/include/X11 /usr/include/X11</command></userinput></screen>
    262258 
    263 </sect3>
    264 
    265 <sect3>
    266 <title>Updating Direct Rendering Infrastructure (<acronym>DRI</acronym>)</title>
    267 <para>If you have one of the supported <acronym>DRI</acronym> cards and
    268 have enabled <acronym>DRI</acronym> kernel modules as explained
    269 above, you now need to update the kernel modules to ensure they are compatible
    270 with the current version of <application>Xorg</application>. To do this,
    271 perform the following:</para>
    272  
    273 <screen><userinput><command>cd programs/Xserver/hw/xfree86/os-support/linux/drm/kernel &amp;&amp;
    274 make -f Makefile.linux  &amp;&amp;
    275 mkdir -p /lib/modules/`uname -r`/kernel/drivers/char/drm/  &amp;&amp;
    276 cp gamma.o radeon.o sis.o r128.o i810.o i830.o mga.o tdfx.o \
    277     /lib/modules/`uname -r`/kernel/drivers/char/drm/  &amp;&amp;
    278 depmod -a</command></userinput></screen>
    279  
    280 <warning><para>If you recompile or upgrade your kernel, you will need to
    281 re-copy the appropriate driver module(s) to the kernel module library and rerun
    282 the <command>depmod -a</command> command.</para></warning>
    283  
    284 <note><para>If you created <acronym>AGP</acronym> support as a module when
    285 compiling the kernel, you may have to add a line to
    286 <filename>/etc/modules.conf</filename> to ensure the agpgart module is loaded.
    287 For instance, the <acronym>AGP</acronym> version of the Radeon video card will
    288 use the <filename>radeon.o</filename> driver. It will need to have the line
    289 <screen>below radeon agpgart</screen> in <filename>/etc/modules.conf</filename>
    290 to enable <acronym>DRI</acronym> support.</para></note>
    291259</sect3>
    292260</sect2>
     
    333301symbolic links. They are intended for utilization by users only."</para>
    334302 
    335 <!-- <para><command>make  CC=/opt/gcc-2.95.3/bin/gcc -f Makefile.linux</command>:
    336 This builds the <application>Xorg</application> compatible kernel modules using
    337 the same compiler used to compile the kernel.</para> -->
    338  
    339 <para><command>cp gamma.o radeon.o sis.o r128.o i810.o i830.o mga.o tdfx.o
    340 /lib/modules/`uname -r`/kernel/drivers/char/drm/</command>: Put the kernel
    341 module(s) where the kernel can find them. You only need to copy the driver you
    342 need to support your video card.</para>
    343  
    344 <para><command>depmod -a</command>: Update the modules.dep file for module
    345 management.</para>
    346 
    347303</sect2>
    348304
     
    355311<screen><userinput><command>ldconfig</command></userinput></screen>
    356312 
    357 <para>Ensure <filename class='directory'>/usr/X11R6/bin</filename> is added to
    358 your <envar>PATH</envar> environment variable. Instructions for doing this are
     313<para>Ensure <filename class="directory">/usr/X11R6/bin</filename>
     314and <filename class="directory">/usr/X11R6/lib/pkgconfig</filename>
     315are added to your <envar>PATH</envar> and <envar>PKG_CONFIG_PATH</envar>
     316environment variables. Instructions for doing this are
    359317described in the section "<xref linkend='postlfs-config-profile'/>."</para>
    360  
    361 <para>Expand the <envar>PKG_CONFIG_PATH</envar> so that other packages
    362 can find <application>X</application> libraries. Procedures for this are also
    363 described in the section "<xref linkend='postlfs-config-profile'/>."</para>
    364 
    365 <para>Set up your mouse:
    366 <screen><userinput><command>ln -s psaux /dev/mouse</command></userinput></screen>
    367  
    368 Adjust the symbolic link as necessary for other types of mice.  For instance,
    369 a serial mouse on the first serial port would be linked to ttyS0.</para>
    370318 
    371319<para>Create the <filename>xorg.conf</filename> file with:
     
    377325 
    378326<para>Edit <filename>xorg.conf.new</filename> to suit your system.  The details
    379 of the file are located in the man page <command>man xorg.conf</command>. Some
     327of the file are located in the xorg.conf man page. Some
    380328things you may want to do are:</para>
    381329 
    382330<itemizedlist>
    383  
     331
    384332<listitem><para>Section "Files". Change the order of the font paths searched.
    385333You may want to put 100dpi fonts ahead of 75dpi fonts if your system normally
     
    387335directories completely.</para></listitem>
    388336 
     337<listitem><para>Sections "InputDevice". Specify the
     338<parameter>Device</parameter> parameter to "/dev/input/mice" and
     339<parameter>Protocol</parameter> to "auto" to set up your mouse. You may
     340also want to change the keyboard autorepeat rate by adding
     341<parameter>Option "Autorepeat" "250 30"</parameter>.</para></listitem>
     342 
    389343<listitem><para>Section "Monitor".  Specify the
    390344<parameter>VertRefresh</parameter> and <parameter>HorizSync</parameter> values
    391345if the system does not automatically detect the monitor and its values.</para>
    392346</listitem>
    393  
    394 <listitem><para>Section "InputDevice".  You may want to change the keyboard
    395 autorepeat rate by adding <parameter>Option "Autorepeat" "250 30"</parameter>.
    396 </para></listitem>
    397347 
    398348<listitem><para>Section "Device".  You may want to set some of the options
Note: See TracChangeset for help on using the changeset viewer.