1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!-- Inserted as a reminder to do this. The mention of a test suite
|
---|
8 | is usually right before the root user installation commands. Please
|
---|
9 | delete these 12 (including one blank) lines after you are done.-->
|
---|
10 |
|
---|
11 | <!-- Use one of the two mentions below about a test suite,
|
---|
12 | delete the line that is not applicable. Of course, if the
|
---|
13 | test suite uses syntax other than "make check", revise the
|
---|
14 | line to reflect the actual syntax to run the test suite -->
|
---|
15 |
|
---|
16 | <!-- <para>This package does not come with a test suite.</para> -->
|
---|
17 | <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
|
---|
18 |
|
---|
19 | <!ENTITY xfree86-download-http "http://gnu.kookel.org/ftp/XFree86/&xfree86-version;/source/">
|
---|
20 | <!ENTITY xfree86-download-ftp "ftp://ftp.xfree86.org/pub/XFree86/&xfree86-version;/source/">
|
---|
21 | <!ENTITY xfree86-md5sum "ftp://ftp.xfree86.org/pub/XFree86/&xfree86-version;/source/SUMS.md5sum">
|
---|
22 | <!ENTITY xfree86-size "51 MB">
|
---|
23 | <!ENTITY xfree86-buildsize "775 MB">
|
---|
24 | <!ENTITY xfree86-time "12 SBU">
|
---|
25 | ]>
|
---|
26 |
|
---|
27 | <sect1 id="xfree86" xreflabel="XFree86-&xfree86-version;">
|
---|
28 | <?dbhtml filename="xfree86.html" ?>
|
---|
29 |
|
---|
30 | <sect1info>
|
---|
31 | <othername>$LastChangedBy$</othername>
|
---|
32 | <date>$Date$</date>
|
---|
33 | <keywordset>
|
---|
34 | <keyword role="package">XFree86-&xfree86-version;-src-1.tar</keyword>
|
---|
35 | <keyword role="ftpdir">XFree86</keyword>
|
---|
36 | </keywordset>
|
---|
37 | </sect1info>
|
---|
38 |
|
---|
39 | <title>XFree86-&xfree86-version;</title>
|
---|
40 |
|
---|
41 | <indexterm zone="xfree86">
|
---|
42 | <primary sortas="a-xfree86">XFree86</primary>
|
---|
43 | </indexterm>
|
---|
44 |
|
---|
45 | <sect2 role="package">
|
---|
46 | <title>Introduction to XFree86</title>
|
---|
47 |
|
---|
48 | <para><application>XFree86</application> is a freely redistributable
|
---|
49 | open-source implementation of the <application>X Window
|
---|
50 | System</application>. <application>XFree86</application> provides a
|
---|
51 | client/server interface between display hardware (the mouse, keyboard,
|
---|
52 | and video displays) and the desktop environment, while also providing
|
---|
53 | both the windowing infrastructure and a standardized application
|
---|
54 | interface (API).</para>
|
---|
55 |
|
---|
56 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
57 | <itemizedlist spacing="compact">
|
---|
58 | <listitem>
|
---|
59 | <para>Download (HTTP): <ulink url="&xfree86-download-http;"/></para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>Download (FTP): <ulink url="&xfree86-download-ftp;"/></para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>Download MD5 sum: &xfree86-md5sum;</para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>Download size: &xfree86-size;</para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>Estimated disk space required: &xfree86-buildsize;</para>
|
---|
72 | </listitem>
|
---|
73 | <listitem>
|
---|
74 | <para>Estimated build time: &xfree86-time;</para>
|
---|
75 | </listitem>
|
---|
76 | </itemizedlist>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
79 | <itemizedlist spacing='compact'>
|
---|
80 | <listitem>
|
---|
81 | <para>Required patch: <ulink
|
---|
82 | url="&patch-root;/XFree86-&xfree86-version;-kernel_headers-1.patch"/>
|
---|
83 | </para>
|
---|
84 | </listitem>
|
---|
85 | </itemizedlist>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect3">XFree86 Dependencies</bridgehead>
|
---|
88 |
|
---|
89 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
90 | <para role="required"><xref linkend="libpng"/></para>
|
---|
91 |
|
---|
92 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
93 | <para role="optional"><xref linkend="linux-pam"/>; the
|
---|
94 | following packages are included in the <application>XFree86</application>
|
---|
95 | package, however they are updated more often than the
|
---|
96 | <application>XFree86</application> package and are highly recommended:
|
---|
97 | <xref linkend="expat"/>, <xref linkend="freetype2"/>,
|
---|
98 | <xref linkend="fontconfig"/>.</para>
|
---|
99 |
|
---|
100 | <note>
|
---|
101 | <para>If you choose not to install <application>expat</application>,
|
---|
102 | <application>FreeType2</application>, and
|
---|
103 | <application>Fontconfig</application>, the
|
---|
104 | <filename>host.def</filename> file below will have to be modified to
|
---|
105 | instruct <application>XFree86</application> to build them.</para>
|
---|
106 | </note>
|
---|
107 |
|
---|
108 | <para condition="html" role="usernotes">User Notes:
|
---|
109 | <ulink url='&blfs-wiki;/XFree86-&xfree86-version;'/></para>
|
---|
110 |
|
---|
111 | <bridgehead renderas="sect3">Download Instructions</bridgehead>
|
---|
112 |
|
---|
113 | <para>There are several files that need to be fetched from the download
|
---|
114 | location:</para>
|
---|
115 |
|
---|
116 | <itemizedlist spacing='compact'>
|
---|
117 | <listitem>
|
---|
118 | <para><filename>XFree86-&xfree86-version;-src-1.tgz</filename></para>
|
---|
119 | </listitem>
|
---|
120 | <listitem>
|
---|
121 | <para><filename>XFree86-&xfree86-version;-src-2.tgz</filename></para>
|
---|
122 | </listitem>
|
---|
123 | <listitem>
|
---|
124 | <para><filename>XFree86-&xfree86-version;-src-3.tgz</filename></para>
|
---|
125 | </listitem>
|
---|
126 | <listitem>
|
---|
127 | <para><filename>XFree86-&xfree86-version;-src-4.tgz</filename></para>
|
---|
128 | </listitem>
|
---|
129 | <listitem>
|
---|
130 | <para><filename>XFree86-&xfree86-version;-src-5.tgz</filename></para>
|
---|
131 | </listitem>
|
---|
132 | <listitem>
|
---|
133 | <para><filename>XFree86-&xfree86-version;-src-6.tgz</filename></para>
|
---|
134 | </listitem>
|
---|
135 | <listitem>
|
---|
136 | <para><filename>XFree86-&xfree86-version;-src-7.tgz</filename></para>
|
---|
137 | </listitem>
|
---|
138 | </itemizedlist>
|
---|
139 |
|
---|
140 | <para>The first three packages are the <application>XFree86</application>
|
---|
141 | programs, the fourth and fifth are fonts, the sixth is normal documentation,
|
---|
142 | and the seventh is hardcopy documentation. There are also two packages
|
---|
143 | <filename>doctools-1.3.x.tgz</filename>, which contain programs to
|
---|
144 | regenerate hardcopy documentation, and <filename>utils-1.1.x.tgz</filename>,
|
---|
145 | which contain <application>GNU TAR</application> and
|
---|
146 | <application>zlib</application> which are already installed on an
|
---|
147 | LFS system.</para>
|
---|
148 |
|
---|
149 | <para>To check your downloads for integrity, download the
|
---|
150 | <filename>SUMS.md5sum</filename> file. Then:</para>
|
---|
151 |
|
---|
152 | <screen><userinput>md5sum -c SUMS.md5sum</userinput></screen>
|
---|
153 |
|
---|
154 | <para>The only errors you should see are for <filename>README</filename>,
|
---|
155 | <filename>doctools-1.3.x.tgz</filename>, <filename>utils-1.1.x.tgz</filename>
|
---|
156 | and <filename>XFree86-xtest-4.0.x.tar.bz2</filename> files if you did not
|
---|
157 | download them.</para>
|
---|
158 |
|
---|
159 | <!--
|
---|
160 | <para>The fixes subdirectory also has a <filename>SUMS.md5sum</filename>. Note that
|
---|
161 | this is the same filename as the sums for the main sources, so you need to rename the
|
---|
162 | file if you download it. Otherwise, you can just look at it and use it to
|
---|
163 | check against the patch files:</para>
|
---|
164 | <screen><userinput><command>md5sum 4.3.0-4.3.0.1.diff.gz</command></userinput>
|
---|
165 | <userinput><command>md5sum fontfile.diff</command></userinput></screen>
|
---|
166 |
|
---|
167 | <para>After unpacking the <filename>X430src-?.tgz</filename> files and uncompressing the
|
---|
168 | diff file, change to the <filename class="directory">xc</filename> directory and run:</para>
|
---|
169 |
|
---|
170 | <screen><userinput><command>patch -Np1 -i ../4.3.0-4.3.0.1.diff</command></userinput>
|
---|
171 | <userinput><command>pushd lib/font/fontfile/</command></userinput>
|
---|
172 | <userinput><command>patch -N -i ../../../../fontfile.diff</command></userinput>
|
---|
173 | <userinput><command>popd</command></userinput></screen>
|
---|
174 | -->
|
---|
175 |
|
---|
176 | </sect2>
|
---|
177 |
|
---|
178 | <sect2 role="kernel" id='xfree86-kernel'>
|
---|
179 | <title>Kernel Configuration</title>
|
---|
180 |
|
---|
181 | <para>If you have an Intel P6 (Pentium Pro, Pentium II and later), it is
|
---|
182 | recommended that you compile MTRR (Memory Type Range Registers) support
|
---|
183 | into the kernel. The kernel can map Cyrix and AMD CPUs to the MTRR
|
---|
184 | interface, so selecting this option is useful for those processors also.
|
---|
185 | This option is found in the "Processor type and features" menu. It can
|
---|
186 | increase performance of image write operations 2.5 times or more on PCI
|
---|
187 | or AGP video cards.</para>
|
---|
188 |
|
---|
189 | <indexterm zone="xfree86 xfree86-kernel">
|
---|
190 | <primary sortas="d-xfree86">XFree86</primary>
|
---|
191 | </indexterm>
|
---|
192 |
|
---|
193 | <para>In the "Character Devices" section, enable AGP Support and select
|
---|
194 | the chipset support on your motherboard. If you do not know the chipset,
|
---|
195 | you may select all the chip types at the expense of extra kernel size.
|
---|
196 | You can usually determine your motherboard's chipset by running the
|
---|
197 | command <command>lspci</command>, a program from the
|
---|
198 | <xref linkend="pciutils"/> package.</para>
|
---|
199 |
|
---|
200 | <para>In the "Character Devices" section, <emphasis>disable</emphasis>
|
---|
201 | Direct Rendering Manager unless you have a Direct Rendering Infrastructure
|
---|
202 | (DRI) supported video card. A complete list of DRI supported video cards
|
---|
203 | can be found at <ulink url="http://dri.sourceforge.net" /> in the Status
|
---|
204 | section. Currently, supported cards include those from 3dfx (Voodoo,
|
---|
205 | Banshee), 3Dlabs, ATI (Rage Pro, Rage 128, Radeon 7X00, Radeon 2), Intel
|
---|
206 | (i810, i815), and Matrox (G200, G400, G450).</para>
|
---|
207 |
|
---|
208 | <para>Additionally NVidia provides their own closed source binary drivers,
|
---|
209 | which do not make use of DRI. If you intend to use these drivers, do not
|
---|
210 | enable DRI.</para>
|
---|
211 |
|
---|
212 | <para>If you made any changes to the kernel configuration, recompile and
|
---|
213 | install the new kernel.</para>
|
---|
214 |
|
---|
215 | </sect2>
|
---|
216 |
|
---|
217 | <sect2 role="installation">
|
---|
218 | <title>Installation of XFree86</title>
|
---|
219 |
|
---|
220 | <sect3>
|
---|
221 | <title>Setting Up a Shadow Directory</title>
|
---|
222 |
|
---|
223 | <para>When building <application>XFree86</application>, you should create
|
---|
224 | a shadow directory of symbolic links for the compiled code. To do that,
|
---|
225 | first make <command>lndir</command>. Starting from the
|
---|
226 | <filename class='directory'>xc</filename> directory:</para>
|
---|
227 |
|
---|
228 | <screen><userinput>pushd config/util &&
|
---|
229 | make -f Makefile.ini lndir
|
---|
230 | popd</userinput></screen>
|
---|
231 |
|
---|
232 | <para>Now create the shadow tree:</para>
|
---|
233 |
|
---|
234 | <screen><userinput>mkdir ../xcbuild &&
|
---|
235 | cd ../xcbuild &&
|
---|
236 | ../xc/config/util/lndir ../xc</userinput></screen>
|
---|
237 |
|
---|
238 | </sect3>
|
---|
239 |
|
---|
240 | <sect3>
|
---|
241 | <title>Creating 'host.def'</title>
|
---|
242 |
|
---|
243 | <para>Although <application>XFree86</application> will compile without
|
---|
244 | a <filename>host.def</filename> file, the following file is recommended
|
---|
245 | for customizing the installation. Start from the
|
---|
246 | <filename class="directory">xcbuild</filename> directory.</para>
|
---|
247 |
|
---|
248 | <note>
|
---|
249 | <para>The <filename>host.def</filename> file is a
|
---|
250 | <application>C</application> file, not the usual configuration file.
|
---|
251 | If you make any changes, be sure the comment characters (/* and */)
|
---|
252 | are balanced. Most of the entries in the file below are commented
|
---|
253 | out with the default settings shown.</para>
|
---|
254 | </note>
|
---|
255 |
|
---|
256 | <screen><userinput>cat > config/cf/host.def << "EOF"
|
---|
257 | <literal>/* Begin XFree86 host.def file */
|
---|
258 |
|
---|
259 | /* System Related Information. If you read and configure only one
|
---|
260 | * section then it should be this one. The Intel architecture defaults
|
---|
261 | * are set for a i686 and higher. Axp is for the Alpha architecture
|
---|
262 | * and Ppc is for the Power PC. Note that there have been reports that
|
---|
263 | * the Ppc optimization line causes segmentation faults during build.
|
---|
264 | * If that happens, try building without the DefaultGcc2PpcOpt line. */
|
---|
265 |
|
---|
266 | /* #define DefaultGcc2i386Opt -O2 -fomit-frame-pointer -march=i686 */
|
---|
267 | /* #define DefaultGcc2AxpOpt -O2 -mcpu=ev6 */
|
---|
268 | /* #define DefaultGcc2PpcOpt -O2 -mcpu=750 */
|
---|
269 |
|
---|
270 | /* The following definitions are normally set properly by XFree86's
|
---|
271 | * scripts. You can uncomment them if you want to make sure. *********/
|
---|
272 |
|
---|
273 | /* #define HasMTRRSupport YES */ /* Enabled in kernel; */
|
---|
274 | /* see kernel docs */
|
---|
275 | /* #define HasMMXSupport NO */ /* Any i586 or above */
|
---|
276 | /* #define HasKatmaiSupport NO */ /* PIII SSE instructions */
|
---|
277 | /* #define Has3DNowSupport NO */ /* AMD instructions */
|
---|
278 |
|
---|
279 |
|
---|
280 | /* This setting reduces compile time a little by omitting rarely used
|
---|
281 | * input devices. You can find the complete list in
|
---|
282 | * config/cf/xfree86.cf *********************************************/
|
---|
283 |
|
---|
284 | #define XInputDrivers mouse void
|
---|
285 |
|
---|
286 | /* VIDEO DRIVERS ****************************************************/
|
---|
287 |
|
---|
288 | /* If you are sure you only want the drivers for one or a few video
|
---|
289 | * cards, you can delete the drivers you do not want. ***************/
|
---|
290 |
|
---|
291 |
|
---|
292 | #define XF86CardDrivers mga glint nv tga s3 s3virge sis rendition \
|
---|
293 | neomagic i740 tdfx savage \
|
---|
294 | cirrus vmware tseng trident chips apm \
|
---|
295 | GlideDriver fbdev i128 nsc \
|
---|
296 | ati i810 DevelDrivers ark \
|
---|
297 | cyrix siliconmotion \
|
---|
298 | vesa vga \
|
---|
299 | dummy XF86OSCardDrivers XF86ExtraCardDrivers
|
---|
300 |
|
---|
301 |
|
---|
302 | /* USER AND SYSTEM DEFAULT PATHS *************************************/
|
---|
303 |
|
---|
304 | /* These settings set the PATH variables used by xdm. See README for */
|
---|
305 | /* detailed description and modify the following as per your need. ***/
|
---|
306 |
|
---|
307 | /* #define DefaultSystemPath \
|
---|
308 | /usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin */
|
---|
309 | /* #define DefaultUserPath /usr/bin:/bin:/usr/X11R6/bin */
|
---|
310 |
|
---|
311 | /* FONT SERVER AND LIBRARY SETTINGS **********************************/
|
---|
312 |
|
---|
313 | /* These settings are the defaults **********************************/
|
---|
314 |
|
---|
315 | /* #define BuildFontServer YES */ /*For Ghostscript Print Server*/
|
---|
316 | /* #define SharedLibFont YES */
|
---|
317 | /* #define CompressAllFonts YES */
|
---|
318 | /* #define GzipFontCompression YES */
|
---|
319 |
|
---|
320 | /* These settings ensure we use our libraries ************************/
|
---|
321 | #define HasFreetype2 YES
|
---|
322 | #define HasFontconfig YES
|
---|
323 | #define HasExpat YES
|
---|
324 | #define HasLibpng YES
|
---|
325 | #define HasZlib YES
|
---|
326 |
|
---|
327 | /* INTERNATIONAL FONTS. Change to YES if you need any of them. These
|
---|
328 | * are the defaults. **************************************************/
|
---|
329 |
|
---|
330 | /* #define BuildCyrillicFonts NO */
|
---|
331 | /* #define BuildArabicFonts NO */
|
---|
332 | /* #define BuildISO8859_6Fonts NO */
|
---|
333 | /* #define BuildGreekFonts NO */
|
---|
334 | /* #define BuildISO8859_7Fonts NO */
|
---|
335 | /* #define BuildHebrewFonts NO */
|
---|
336 | /* #define BuildISO8859_8Fonts NO */
|
---|
337 | /* #define BuildKOI8_RFonts NO */
|
---|
338 | /* #define BuildJapaneseFonts NO */
|
---|
339 | /* #define BuildJISX0201Fonts NO */
|
---|
340 | /* #define BuildKoreanFonts NO */
|
---|
341 | /* #define BuildChineseFonts NO */
|
---|
342 |
|
---|
343 | /* DOCUMENTATION SETTINGS ********************************************/
|
---|
344 |
|
---|
345 | /* These setting are the defaults. ***********************************/
|
---|
346 |
|
---|
347 | /* #define BuildLinuxDocHtml NO */ /* X Docs in Html format */
|
---|
348 | /* #define BuildLinuxDocPS NO */ /* PostScript format */
|
---|
349 | /* #define BuildAllSpecsDocs NO */ /* Various docs */
|
---|
350 | /* #define BuildHtmlManPages NO */
|
---|
351 |
|
---|
352 | /* GENERAL SETTINGS: You generally want to leave these alone when
|
---|
353 | * building X on an LFS system ***************************************/
|
---|
354 |
|
---|
355 | #define GccWarningOptions -pipe /* Speed up compiles */
|
---|
356 | #define TermcapLibrary -lncurses
|
---|
357 | #define XprtServer YES /* Needed by realplayer */
|
---|
358 | #define XnestServer YES
|
---|
359 | #define XAppLoadDir EtcX11Directory/app-defaults
|
---|
360 | #define VarLibDir /var/lib
|
---|
361 | #define XFree86Devel NO
|
---|
362 | #define FSUseSyslog YES
|
---|
363 | #define ThreadedX YES
|
---|
364 | #define HasPam NO
|
---|
365 | #define SystemManDirectory /usr/share/man /*Instead of /usr/man*/
|
---|
366 | #define HasLibCrypt YES
|
---|
367 | #define InstallXinitConfig YES
|
---|
368 | #define InstallXdmConfig YES
|
---|
369 | #define ForceNormalLib YES
|
---|
370 | #define BuildSpecsDocs NO
|
---|
371 |
|
---|
372 | /* End XFree86 host.def file */</literal>
|
---|
373 | EOF</userinput></screen>
|
---|
374 |
|
---|
375 | <para>Edit the file for your hardware and desires.</para>
|
---|
376 |
|
---|
377 | </sect3>
|
---|
378 |
|
---|
379 | <sect3>
|
---|
380 | <title>Build Commands</title>
|
---|
381 |
|
---|
382 | <para>Install <application>XFree86</application> by running the
|
---|
383 | following commands:</para>
|
---|
384 |
|
---|
385 | <screen><userinput>patch -Np1 -i ../XFree86-&xfree86-version;-kernel_headers-1.patch &&
|
---|
386 | sed -i -e "s@^#include <linux/config.h>@/* & */@" \
|
---|
387 | `grep -lr linux/config.h *` &&
|
---|
388 | ( make WORLDOPTS="" World 2>&1 | \
|
---|
389 | tee xfree-compile.log && exit $PIPESTATUS )</userinput></screen>
|
---|
390 |
|
---|
391 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
392 | user:</para>
|
---|
393 |
|
---|
394 | <screen role="root"><userinput>make install &&
|
---|
395 | make install.man &&
|
---|
396 | ln -v -sf ../X11R6/bin /usr/bin/X11 &&
|
---|
397 | ln -v -sf ../X11R6/lib/X11 /usr/lib/X11 &&
|
---|
398 | ln -v -sf ../X11R6/include/X11 /usr/include/X11</userinput></screen>
|
---|
399 |
|
---|
400 | <para>The <application>XFree86</application> fonts have been installed
|
---|
401 | outside of <application>Fontconfig</application>'s default search path
|
---|
402 | of <filename class="directory">/usr/share/fonts</filename>. In order
|
---|
403 | for <application>Fontconfig</application> to find the installed TrueType
|
---|
404 | fonts, you should make symlinks to their directories. Assuming you've
|
---|
405 | installed <application>XFree86</application> in the default prefix, run the
|
---|
406 | following commands as the <systemitem class="username">root</systemitem>
|
---|
407 | user:</para>
|
---|
408 |
|
---|
409 | <screen role="root"><userinput>install -d -m755 /usr/share/fonts &&
|
---|
410 | ln -svn /usr/X11R6/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF &&
|
---|
411 | ln -svn /usr/X11R6/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF</userinput></screen>
|
---|
412 |
|
---|
413 | <para><application>XFree86</application> installs the
|
---|
414 | <application>XRender</application> and
|
---|
415 | <application>XExtensions</application> extension libraries but does not
|
---|
416 | install the corresponding <application>pkg-config</application> files.
|
---|
417 | Create the files by issuing the following commands as the
|
---|
418 | <systemitem class="username">root</systemitem> user:</para>
|
---|
419 |
|
---|
420 | <screen role="root"><userinput>cat > /usr/X11R6/lib/pkgconfig/xrender.pc << "EOF"
|
---|
421 | <literal>prefix=/usr/X11R6
|
---|
422 | exec_prefix=${prefix}
|
---|
423 | libdir=${exec_prefix}/lib
|
---|
424 | includedir=${prefix}/include
|
---|
425 |
|
---|
426 | Name: Xrender
|
---|
427 | Description: X Render Library
|
---|
428 | Version: 0.8.3
|
---|
429 | Cflags: -I${includedir} -I/usr/X11R6/include
|
---|
430 | Libs: -L${libdir} -lXrender -L/usr/X11R6/lib -lX11</literal>
|
---|
431 |
|
---|
432 | EOF
|
---|
433 |
|
---|
434 | cat > /usr/X11R6/lib/pkgconfig/xextensions.pc << "EOF"
|
---|
435 | <literal>prefix=/usr/X11R6
|
---|
436 | exec_prefix=${prefix}
|
---|
437 | libdir=${exec_prefix}/lib
|
---|
438 | includedir=${prefix}/include
|
---|
439 |
|
---|
440 | Name: XExtensions
|
---|
441 | Description: Sundry X extension headers
|
---|
442 | Version: 1.0.1
|
---|
443 | Cflags: -I${includedir}</literal>
|
---|
444 |
|
---|
445 | EOF</userinput></screen>
|
---|
446 |
|
---|
447 | <para>You should now continue on to the <xref linkend="x-setup"/> section
|
---|
448 | to complete the configuration of
|
---|
449 | <application>XFree86</application>.</para>
|
---|
450 |
|
---|
451 | </sect3>
|
---|
452 |
|
---|
453 | </sect2>
|
---|
454 |
|
---|
455 | <sect2 role="commands">
|
---|
456 | <title>Command Explanations</title>
|
---|
457 |
|
---|
458 | <para><command>sed -i -e "s@^#include <linux/config.h>@...</command>:
|
---|
459 | The <application>Linux-Libc-Headers</application> package installed in
|
---|
460 | LFS installs a <filename>/usr/include/linux/config.h</filename> file which
|
---|
461 | is not compatible with userspace applications. The recommended fix for
|
---|
462 | applications including this file is to remove it (see <ulink
|
---|
463 | url="http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/FAQ">
|
---|
464 | linux-libc-headers FAQ</ulink>). The <command>sed</command> uses
|
---|
465 | <command>grep -lr</command> to replace all occurrences. If you desire, just
|
---|
466 | remove (comment) the line in the appropriate video driver file if you
|
---|
467 | customized <filename>host.def</filename>.</para>
|
---|
468 |
|
---|
469 | <para><command>( make WORLDOPTS="" World 2>&1 | tee xfree-compile.log
|
---|
470 | && exit $PIPESTATUS )</command>:
|
---|
471 | This command runs multiple <filename>Makefile</filename>s to completely
|
---|
472 | rebuild the system. <envar>WORLDOPTS</envar>="" disables the default setting
|
---|
473 | to continue after encountering an error. <option>2>&1</option>
|
---|
474 | redirects error messages to the same location as standard output. The
|
---|
475 | <command>tee</command> command allows viewing of the output while logging
|
---|
476 | the results to a file. The parentheses around the command runs the entire
|
---|
477 | command in a subshell and finally the <command>exit $PIPESTATUS</command>
|
---|
478 | ensures the result of the <command>make</command> is returned as the result
|
---|
479 | and not the result of the <command>tee</command> command.</para>
|
---|
480 |
|
---|
481 | <note>
|
---|
482 | <para>When rebuilding <application>XFree86</application>, a separate
|
---|
483 | command that may be used if only minor changes are made to the sources
|
---|
484 | is <command>make Everything</command>. This does not automatically
|
---|
485 | remove generated files and only rebuilds those files or programs that
|
---|
486 | are out of date.</para>
|
---|
487 | </note>
|
---|
488 |
|
---|
489 | <para><command>ln -v -sf ...</command>: These commands are present to
|
---|
490 | enable other (broken) packages to build against
|
---|
491 | <application>XFree86</application>, even though the Filesystem Hierarchy
|
---|
492 | Standard says: <quote>In general, software must not be installed or managed
|
---|
493 | via the above symbolic links. They are intended for utilization by
|
---|
494 | users only.</quote></para>
|
---|
495 |
|
---|
496 | </sect2>
|
---|
497 |
|
---|
498 | <sect2 id="xfree86-contents" role="content"
|
---|
499 | xreflabel="XFree86 Contents and Descriptions">
|
---|
500 | <title>Contents</title>
|
---|
501 |
|
---|
502 | <para>The <application>XFree86</application> package contains the
|
---|
503 | <application>X Window System</application> for Linux (and other operating
|
---|
504 | systems). It includes the <application>X</application> server, fonts,
|
---|
505 | <command>xterm</command>, a simple window manager (<command>twm</command>),
|
---|
506 | various utilities, video output drivers, and various input drivers
|
---|
507 | including the mouse and keyboard.</para>
|
---|
508 |
|
---|
509 | <para><application>XFree86</application> also contains libraries and header
|
---|
510 | files for development of the <application>X Window System</application>
|
---|
511 | programs.</para>
|
---|
512 |
|
---|
513 | <note>
|
---|
514 | <para>The following lists are not comprehensive. The full list of
|
---|
515 | programs is in <filename class="directory">/usr/X11R6/bin</filename>.
|
---|
516 | For additional information about these programs, see the respective
|
---|
517 | man page.</para>
|
---|
518 | </note>
|
---|
519 |
|
---|
520 | <segmentedlist>
|
---|
521 | <segtitle>Installed Programs</segtitle>
|
---|
522 | <segtitle>Installed Libraries</segtitle>
|
---|
523 | <segtitle>Installed Directories</segtitle>
|
---|
524 |
|
---|
525 | <seglistitem>
|
---|
526 | <seg>XFree86, xf86config, xf86cfg, startx, xinit, twm, xterm,
|
---|
527 | xwininfo, x11perf, xlsfonts, xvidtune, xload, xcalc, xclock,
|
---|
528 | oclock, and xmodmap</seg>
|
---|
529 | <seg>libGL.so, libGLU.so, libSM.so, libXi.so, libXrender.so,
|
---|
530 | libXt.so, and libXfont.so</seg>
|
---|
531 | <seg>/usr/X11R6/ and /etc/X11/</seg>
|
---|
532 | </seglistitem>
|
---|
533 | </segmentedlist>
|
---|
534 |
|
---|
535 | <variablelist>
|
---|
536 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
537 | <?dbfo list-presentation="list"?>
|
---|
538 | <?dbhtml list-presentation="table"?>
|
---|
539 |
|
---|
540 | <varlistentry id="XFree86">
|
---|
541 | <term><command>XFree86</command></term>
|
---|
542 | <listitem>
|
---|
543 | <para>is the X11R6 implementation of the <application>X Window
|
---|
544 | System</application> server.</para>
|
---|
545 | <indexterm zone="xfree86 XFree86">
|
---|
546 | <primary sortas="b-XFree86">XFree86</primary>
|
---|
547 | </indexterm>
|
---|
548 | </listitem>
|
---|
549 | </varlistentry>
|
---|
550 |
|
---|
551 | <varlistentry id="xf86config">
|
---|
552 | <term><command>xf86config</command></term>
|
---|
553 | <listitem>
|
---|
554 | <para>is an interactive program for generating an
|
---|
555 | <filename>XF86Config</filename> file for use with
|
---|
556 | <application>XFree86</application> <application>X</application>
|
---|
557 | servers.</para>
|
---|
558 | <indexterm zone="xfree86 xf86config">
|
---|
559 | <primary sortas="b-xf86config">xf86config</primary>
|
---|
560 | </indexterm>
|
---|
561 | </listitem>
|
---|
562 | </varlistentry>
|
---|
563 |
|
---|
564 | <varlistentry id="xf86cfg">
|
---|
565 | <term><command>xf86cfg</command></term>
|
---|
566 | <listitem>
|
---|
567 | <para>is a tool to configure <application>XFree86</application>
|
---|
568 | that can be used to either write the initial configuration file
|
---|
569 | or make customizations to the current configuration.</para>
|
---|
570 | <indexterm zone="xfree86 xf86cfg">
|
---|
571 | <primary sortas="b-xf86cfg">xf86cfg</primary>
|
---|
572 | </indexterm>
|
---|
573 | </listitem>
|
---|
574 | </varlistentry>
|
---|
575 |
|
---|
576 | <varlistentry id="startx">
|
---|
577 | <term><command>startx</command></term>
|
---|
578 | <listitem>
|
---|
579 | <para>is a script to initialize the <application>X</application>
|
---|
580 | session. It runs <command>xinit</command>.</para>
|
---|
581 | <indexterm zone="xfree86 startx">
|
---|
582 | <primary sortas="b-startx">startx</primary>
|
---|
583 | </indexterm>
|
---|
584 | </listitem>
|
---|
585 | </varlistentry>
|
---|
586 |
|
---|
587 | <varlistentry id="xinit">
|
---|
588 | <term><command>xinit</command></term>
|
---|
589 | <listitem>
|
---|
590 | <para>is used to start the <application>X Window
|
---|
591 | System</application> server.</para>
|
---|
592 | <indexterm zone="xfree86 xinit">
|
---|
593 | <primary sortas="b-xinit">xinit</primary>
|
---|
594 | </indexterm>
|
---|
595 | </listitem>
|
---|
596 | </varlistentry>
|
---|
597 |
|
---|
598 | <varlistentry id="twm">
|
---|
599 | <term><command>twm</command></term>
|
---|
600 | <listitem>
|
---|
601 | <para>(Tab Window Manager) is a window manager included with the
|
---|
602 | <application>X Window System</application>.</para>
|
---|
603 | <indexterm zone="xfree86 twm">
|
---|
604 | <primary sortas="b-twm">twm</primary>
|
---|
605 | </indexterm>
|
---|
606 | </listitem>
|
---|
607 | </varlistentry>
|
---|
608 |
|
---|
609 | <varlistentry id="xterm">
|
---|
610 | <term><command>xterm</command></term>
|
---|
611 | <listitem>
|
---|
612 | <para>is a terminal emulator for <application>X</application>.</para>
|
---|
613 | <indexterm zone="xfree86 xterm">
|
---|
614 | <primary sortas="b-xterm">xterm</primary>
|
---|
615 | </indexterm>
|
---|
616 | </listitem>
|
---|
617 | </varlistentry>
|
---|
618 |
|
---|
619 | <varlistentry id="xwininfo">
|
---|
620 | <term><command>xwininfo</command></term>
|
---|
621 | <listitem>
|
---|
622 | <para>is a window information utility for
|
---|
623 | <application>X</application>.</para>
|
---|
624 | <indexterm zone="xfree86 xwininfo">
|
---|
625 | <primary sortas="b-xwininfo">xwininfo</primary>
|
---|
626 | </indexterm>
|
---|
627 | </listitem>
|
---|
628 | </varlistentry>
|
---|
629 |
|
---|
630 | <varlistentry id="x11perf">
|
---|
631 | <term><command>x11perf</command></term>
|
---|
632 | <listitem>
|
---|
633 | <para>is an <application>X</application>11 server performance
|
---|
634 | test program.</para>
|
---|
635 | <indexterm zone="xfree86 x11perf">
|
---|
636 | <primary sortas="b-x11perf">x11perf</primary>
|
---|
637 | </indexterm>
|
---|
638 | </listitem>
|
---|
639 | </varlistentry>
|
---|
640 |
|
---|
641 | <varlistentry id="xlsfonts">
|
---|
642 | <term><command>xlsfonts</command></term>
|
---|
643 | <listitem>
|
---|
644 | <para>is a program to list fonts available to the
|
---|
645 | <application>X</application> server.</para>
|
---|
646 | <indexterm zone="xfree86 xlsfonts">
|
---|
647 | <primary sortas="b-xlsfonts">xlsfonts</primary>
|
---|
648 | </indexterm>
|
---|
649 | </listitem>
|
---|
650 | </varlistentry>
|
---|
651 |
|
---|
652 | <varlistentry id="xvidtune">
|
---|
653 | <term><command>xvidtune</command></term>
|
---|
654 | <listitem>
|
---|
655 | <para>is a video mode tuner for
|
---|
656 | <application>XFree86</application>.</para>
|
---|
657 | <indexterm zone="xfree86 xvidtune">
|
---|
658 | <primary sortas="b-xvidtune">xvidtune</primary>
|
---|
659 | </indexterm>
|
---|
660 | </listitem>
|
---|
661 | </varlistentry>
|
---|
662 |
|
---|
663 | <varlistentry id="xload">
|
---|
664 | <term><command>xload</command></term>
|
---|
665 | <listitem>
|
---|
666 | <para> is a system load average display for
|
---|
667 | <application>X</application>.</para>
|
---|
668 | <indexterm zone="xfree86 xload">
|
---|
669 | <primary sortas="b-xload">xload</primary>
|
---|
670 | </indexterm>
|
---|
671 | </listitem>
|
---|
672 | </varlistentry>
|
---|
673 |
|
---|
674 | <varlistentry id="xcalc">
|
---|
675 | <term><command>xcalc</command></term>
|
---|
676 | <listitem>
|
---|
677 | <para>is a scientific calculator for
|
---|
678 | <application>X</application>.</para>
|
---|
679 | <indexterm zone="xfree86 xcalc">
|
---|
680 | <primary sortas="b-xcalc">xcalc</primary>
|
---|
681 | </indexterm>
|
---|
682 | </listitem>
|
---|
683 | </varlistentry>
|
---|
684 |
|
---|
685 | <varlistentry id="xclock">
|
---|
686 | <term><command>xclock</command></term>
|
---|
687 | <listitem>
|
---|
688 | <para>is a clock programs for <application>X</application>.</para>
|
---|
689 | <indexterm zone="xfree86 xclock">
|
---|
690 | <primary sortas="b-xclock">xclock</primary>
|
---|
691 | </indexterm>
|
---|
692 | </listitem>
|
---|
693 | </varlistentry>
|
---|
694 |
|
---|
695 | <varlistentry id="oclock">
|
---|
696 | <term><command>oclock</command></term>
|
---|
697 | <listitem>
|
---|
698 | <para>is a clock programs for <application>X</application>.</para>
|
---|
699 | <indexterm zone="xfree86 oclock">
|
---|
700 | <primary sortas="b-oclock">oclock</primary>
|
---|
701 | </indexterm>
|
---|
702 | </listitem>
|
---|
703 | </varlistentry>
|
---|
704 |
|
---|
705 | <varlistentry id="xmodmap">
|
---|
706 | <term><command>xmodmap</command></term>
|
---|
707 | <listitem>
|
---|
708 | <para>is a utility for modifying keymaps and pointer button
|
---|
709 | mappings in <application>X</application>.</para>
|
---|
710 | <indexterm zone="xfree86 xmodmap">
|
---|
711 | <primary sortas="b-xmodmap">xmodmap</primary>
|
---|
712 | </indexterm>
|
---|
713 | </listitem>
|
---|
714 | </varlistentry>
|
---|
715 |
|
---|
716 | </variablelist>
|
---|
717 |
|
---|
718 | </sect2>
|
---|
719 |
|
---|
720 | </sect1>
|
---|