source: x/installing/x7driver.xml@ 3b69a2aa

10.0 10.1 11.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 3b69a2aa was 3b69a2aa, checked in by DJ Lucas <dj@…>, 11 years ago

Separated Xorg Utilities packages.

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

  • Property mode set to 100644
File size: 5.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY x7drivers-download-http "http://xorg.freedesktop.org/releases/individual/driver/">
8 <!ENTITY x7drivers-download-ftp "ftp://ftp.x.org/pub/individual/driver/">
9 <!ENTITY x7drivers-wget "&files-anduin;/xorg/driver-&xorg7-release;.wget">
10 <!ENTITY x7drivers-md5sum "&files-anduin;/xorg/driver-&xorg7-release;.md5">
11 <!ENTITY x7drivers-size "17.3 MB">
12 <!ENTITY x7drivers-buildsize "212 MB">
13 <!ENTITY x7drivers-time "4.0 SBU">
14
15]>
16
17<sect1 id="xorg7-driver" xreflabel="Xorg Drivers">
18 <?dbhtml filename="x7driver.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>Xorg Drivers</title>
26
27 <indexterm zone="xorg7-driver">
28 <primary sortas="a-xorg7-driver">Xorg Drivers</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to Xorg Drivers</title>
33
34 <para>The <application>Xorg</application> drivers provide the means
35 for the xserver to take advantage of installed hardware.</para>
36
37 &lfs67_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&x7drivers-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&x7drivers-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: <ulink url="&x7drivers-md5sum;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download size: &x7drivers-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &x7drivers-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &x7drivers-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
62 <itemizedlist spacing="compact">
63 <listitem>
64 <para>Required download list: <ulink url="&x7drivers-wget;"/></para>
65 </listitem>
66 </itemizedlist>
67
68 <bridgehead renderas="sect3">Xorg Drivers Dependencies</bridgehead>
69
70 <bridgehead renderas="sect4">Required</bridgehead>
71 <para role="required"><xref linkend="xorg7-server"/></para>
72
73 <bridgehead renderas="sect4">Optional</bridgehead>
74 <para role="optional"><xref linkend="mesalib"/></para>
75
76 <para condition="html" role="usernotes">User Notes:
77 <ulink url='&blfs-wiki;/Xorg7Drivers'/></para>
78
79 </sect2>
80
81 <sect2>
82 <title>Downloading Xorg Drivers</title>
83
84 <para>To download the needed files using <application>wget</application>,
85 use the following commands:</para>
86
87<screen><userinput>mkdir driver &amp;&amp;
88cd driver &amp;&amp;
89grep -v '^#' ../driver-&xorg7-release;.wget | wget -i- -c \
90 -B http://xorg.freedesktop.org/releases/individual/driver/ &amp;&amp;
91md5sum -c ../driver-&xorg7-release;.md5</userinput></screen>
92
93 </sect2>
94
95 <sect2 role="installation">
96 <title>Installation of Xorg Drivers</title>
97
98 <warning><para>It is very important not to build display drivers that
99 cannot be used with your hardware. For instance, do not build Sun drivers
100 for an x86 PC as the Sun drivers will expect to see SPARC symbols
101 exported from the kernel. Failure to follow this warning will result
102 in a display lockup, which requires a hard reboot, when configuring
103 <application>Xorg</application> for the first time. For this reason,
104 these drivers have been commented out in the wget file.</para></warning>
105
106 <para>Install the drivers by running the following commands for each
107 package:</para>
108
109<screen><userinput>case $(basename "$PWD") in
110xf86-input-evdev-[0-9]* | xf86-video-ati-[0-9]* | \
111xf86-video-fbdev-[0-9]* | xf86-video-glint-[0-9]* | \
112xf86-video-newport-[0-9]* )
113 sed -i -e "s/\xc3\xb8/\\\\[\/o]/" \
114 -e "s/\xc3\xa4/\\\\[:a]/" \
115 -e "s/\xc3\x9c/\\\\[:U]/" man/*.man
116 ;;
117esac &amp;&amp;
118case $(basename "$PWD") in
119xf86-video-s3-[0-9]* | xf86-video-xgi-[0-9]* )
120 for file in `grep -Rl "xf86Version.h" *`
121 do
122 sed 's@xf86Version.h@xorgVersion.h@g' -i "$file"
123 done
124 ;;
125esac &amp;&amp;
126./configure $XORG_CONFIG \
127 --with-xorg-module-dir=$XORG_PREFIX/lib/X11/modules &amp;&amp;
128make</userinput></screen>
129
130 <para>These packages do not provide test suites.</para>
131
132 <para>Now as the <systemitem class="username">root</systemitem>
133 user:</para>
134
135<screen role="root"><userinput>make install</userinput></screen>
136
137 </sect2>
138
139 <sect2 role="commands">
140 <title>Command Explanations</title>
141
142 <para><command>sed -i ... man/*.man</command>: A few packages install
143 man pages in UTF-8 encoding, and they will not display correctly
144 using <application>Man-DB</application>. This command converts the
145 offending characters to ones that <command>man</command> can properly
146 display.</para>
147
148 <para><parameter>--with-xorg-module-dir=...</parameter>: This switch
149 ensures that the drivers are installed into the correct directory.</para>
150
151 </sect2>
152
153 <sect2 role="content">
154 <title>Contents</title>
155
156 <segmentedlist>
157 <segtitle>Installed Programs</segtitle>
158 <segtitle>Installed Libraries</segtitle>
159 <segtitle>Installed Directories</segtitle>
160
161 <seglistitem>
162 <seg>None</seg>
163 <seg>None</seg>
164 <seg><envar>$XORG_PREFIX</envar>/lib/X11/modules/{drivers,input}</seg>
165 </seglistitem>
166 </segmentedlist>
167
168 </sect2>
169
170</sect1>
Note: See TracBrowser for help on using the repository browser.