Contents
$XORG_PREFIX
/lib/X11/modules/{drivers,input}
The Xorg drivers provide the means for the xserver to take advantage of installed hardware.
This package is known to build and work properly using an LFS-7.0 platform.
Download (HTTP): http://xorg.freedesktop.org/releases/individual/driver/
Download (FTP): ftp://ftp.x.org/pub/individual/driver/
Download MD5 sum: http://anduin.linuxfromscratch.org/files/BLFS/svn/xorg/driver-7.6-2.md5
Download size: 18.1 MB
Estimated disk space required: 71.6 MB
Estimated build time: 3.9 SBU
Required download list: http://anduin.linuxfromscratch.org/files/BLFS/svn/xorg/driver-7.6-2.wget
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/Xorg7Drivers
To download the needed files using wget, use the following commands:
mkdir driver && cd driver && grep -v '^#' ../driver-7.6-2.wget | wget -i- -c \ -B http://xorg.freedesktop.org/releases/individual/driver/ && md5sum -c ../driver-7.6-2.md5
It is very important not to build display drivers that cannot be used with your hardware. For instance, do not build Sun drivers for an x86 PC as the Sun drivers will expect to see SPARC symbols exported from the kernel. Failure to follow this warning will result in a display lockup, which requires a hard reboot, when configuring Xorg for the first time. For this reason, these drivers have been commented out in the wget file.
Install the drivers by running the following commands for each package:
case $(basename "$PWD") in xf86-input-evdev-[0-9]* | xf86-video-ati-[0-9]* | \ xf86-video-fbdev-[0-9]* | xf86-video-glint-[0-9]* | \ xf86-video-newport-[0-9]* ) sed -i -e "s/\xc3\xb8/\\\\[\/o]/" \ -e "s/\xc3\xa4/\\\\[:a]/" \ -e "s/\xc3\x9c/\\\\[:U]/" man/*.man ;; esac && case $(basename "$PWD") in xf86-video-s3-[0-9]* | xf86-video-xgi-[0-9]* ) for file in `grep -Rl "xf86Version.h" *` do sed 's@xf86Version.h@xorgVersion.h@g' -i "$file" done ;; esac && ./configure $XORG_CONFIG \ --with-xorg-module-dir=$XORG_PREFIX/lib/X11/modules && make
These packages do not provide test suites.
Now as the root
user:
make install
sed -i ... man/*.man: A few packages install man pages in UTF-8 encoding, and they will not display correctly using Man-DB. This command converts the offending characters to ones that man can properly display.
--with-xorg-module-dir=...
:
This switch ensures that the drivers are installed into the correct
directory.
$XORG_PREFIX
/lib/X11/modules/{drivers,input}
Last updated on 2011-12-11 23:49:52 +0000