[feeb99a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[feeb99a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[84e0b212] | 7 | <!ENTITY xfree86-download-http "http://gnu.kookel.org/ftp/XFree86/&xfree86-version;/source/">
|
---|
| 8 | <!ENTITY xfree86-download-ftp "ftp://ftp.xfree86.org/pub/XFree86/&xfree86-version;/source/">
|
---|
| 9 | <!ENTITY xfree86-md5sum "ftp://ftp.xfree86.org/pub/XFree86/&xfree86-version;/source/SUMS.md5sum">
|
---|
| 10 | <!ENTITY xfree86-size "51 MB">
|
---|
[fb69e2e] | 11 | <!ENTITY xfree86-buildsize "740 MB">
|
---|
[84e0b212] | 12 | <!ENTITY xfree86-time "12 SBU">
|
---|
[feeb99a] | 13 | ]>
|
---|
| 14 |
|
---|
[ea9f7caf] | 15 | <sect1 id="xfree86" xreflabel="XFree86">
|
---|
[06092fc] | 16 | <?dbhtml filename="xfree86.html" ?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>XFree86-&xfree86-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="xfree86">
|
---|
| 26 | <primary sortas="a-xfree86">XFree86</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to XFree86</title>
|
---|
| 31 |
|
---|
| 32 | <para><application>XFree86</application> is a freely redistributable
|
---|
| 33 | open-source implementation of the <application>X Window
|
---|
| 34 | System</application>. <application>XFree86</application> provides a
|
---|
| 35 | client/server interface between display hardware (the mouse, keyboard,
|
---|
| 36 | and video displays) and the desktop environment, while also providing
|
---|
| 37 | both the windowing infrastructure and a standardized application
|
---|
| 38 | interface (API).</para>
|
---|
| 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&xfree86-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&xfree86-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &xfree86-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &xfree86-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &xfree86-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &xfree86-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
| 61 |
|
---|
[3109c7ce] | 62 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 63 | <itemizedlist spacing="compact">
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>Required patch: <ulink
|
---|
| 66 | url="&patch-root;/XFree86-&xfree86-version;-freetype_internals-1.patch"/></para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
[06092fc] | 70 | <bridgehead renderas="sect3">XFree86 Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[76a39aa] | 73 | <para role="required"><xref linkend="libpng"/></para>
|
---|
[06092fc] | 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[76a39aa] | 76 | <para role="optional"><xref linkend="linux-pam"/>; the
|
---|
[06092fc] | 77 | following packages are included in the <application>XFree86</application>
|
---|
| 78 | package, however they are updated more often than the
|
---|
[52535ba5] | 79 | <application>XFree86</application> package and are highly recommended:
|
---|
[06092fc] | 80 | <xref linkend="expat"/>, <xref linkend="freetype2"/>,
|
---|
| 81 | <xref linkend="fontconfig"/>.</para>
|
---|
| 82 |
|
---|
| 83 | <note>
|
---|
| 84 | <para>If you choose not to install <application>expat</application>,
|
---|
| 85 | <application>FreeType2</application>, and
|
---|
| 86 | <application>Fontconfig</application>, the
|
---|
| 87 | <filename>host.def</filename> file below will have to be modified to
|
---|
| 88 | instruct <application>XFree86</application> to build them.</para>
|
---|
| 89 | </note>
|
---|
| 90 |
|
---|
[1663c2b5] | 91 | <para condition="html" role="usernotes">User Notes:
|
---|
[ea9f7caf] | 92 | <ulink url='&blfs-wiki;/XFree86'/></para>
|
---|
[18bcaf6] | 93 |
|
---|
[06092fc] | 94 | <bridgehead renderas="sect3">Download Instructions</bridgehead>
|
---|
| 95 |
|
---|
| 96 | <para>There are several files that need to be fetched from the download
|
---|
| 97 | location:</para>
|
---|
| 98 |
|
---|
| 99 | <itemizedlist spacing='compact'>
|
---|
| 100 | <listitem>
|
---|
[84e0b212] | 101 | <para><filename>XFree86-&xfree86-version;-src-1.tgz</filename></para>
|
---|
[06092fc] | 102 | </listitem>
|
---|
| 103 | <listitem>
|
---|
[84e0b212] | 104 | <para><filename>XFree86-&xfree86-version;-src-2.tgz</filename></para>
|
---|
[06092fc] | 105 | </listitem>
|
---|
| 106 | <listitem>
|
---|
[84e0b212] | 107 | <para><filename>XFree86-&xfree86-version;-src-3.tgz</filename></para>
|
---|
[06092fc] | 108 | </listitem>
|
---|
| 109 | <listitem>
|
---|
[84e0b212] | 110 | <para><filename>XFree86-&xfree86-version;-src-4.tgz</filename></para>
|
---|
[06092fc] | 111 | </listitem>
|
---|
| 112 | <listitem>
|
---|
[84e0b212] | 113 | <para><filename>XFree86-&xfree86-version;-src-5.tgz</filename></para>
|
---|
[06092fc] | 114 | </listitem>
|
---|
| 115 | <listitem>
|
---|
[84e0b212] | 116 | <para><filename>XFree86-&xfree86-version;-src-6.tgz</filename></para>
|
---|
[06092fc] | 117 | </listitem>
|
---|
| 118 | <listitem>
|
---|
[84e0b212] | 119 | <para><filename>XFree86-&xfree86-version;-src-7.tgz</filename></para>
|
---|
[06092fc] | 120 | </listitem>
|
---|
| 121 | </itemizedlist>
|
---|
| 122 |
|
---|
| 123 | <para>The first three packages are the <application>XFree86</application>
|
---|
| 124 | programs, the fourth and fifth are fonts, the sixth is normal documentation,
|
---|
[fb69e2e] | 125 | and the seventh is hardcopy documentation.</para>
|
---|
[06092fc] | 126 |
|
---|
| 127 | <para>To check your downloads for integrity, download the
|
---|
| 128 | <filename>SUMS.md5sum</filename> file. Then:</para>
|
---|
| 129 |
|
---|
| 130 | <screen><userinput>md5sum -c SUMS.md5sum</userinput></screen>
|
---|
| 131 |
|
---|
| 132 | <para>The only errors you should see are for <filename>README</filename>,
|
---|
[78de21f] | 133 | <filename>doctools-1.3.x.tgz</filename>, <filename>utils-1.1.x.tgz</filename>
|
---|
[06092fc] | 134 | and <filename>XFree86-xtest-4.0.x.tar.bz2</filename> files if you did not
|
---|
| 135 | download them.</para>
|
---|
[feeb99a] | 136 |
|
---|
[06092fc] | 137 | </sect2>
|
---|
[feeb99a] | 138 |
|
---|
[06092fc] | 139 | <sect2 role="kernel" id='xfree86-kernel'>
|
---|
| 140 | <title>Kernel Configuration</title>
|
---|
[52535ba5] | 141 |
|
---|
[06092fc] | 142 | <para>If you have an Intel P6 (Pentium Pro, Pentium II and later), it is
|
---|
| 143 | recommended that you compile MTRR (Memory Type Range Registers) support
|
---|
| 144 | into the kernel. The kernel can map Cyrix and AMD CPUs to the MTRR
|
---|
| 145 | interface, so selecting this option is useful for those processors also.
|
---|
| 146 | This option is found in the "Processor type and features" menu. It can
|
---|
| 147 | increase performance of image write operations 2.5 times or more on PCI
|
---|
| 148 | or AGP video cards.</para>
|
---|
[52535ba5] | 149 |
|
---|
[06092fc] | 150 | <indexterm zone="xfree86 xfree86-kernel">
|
---|
| 151 | <primary sortas="d-xfree86">XFree86</primary>
|
---|
| 152 | </indexterm>
|
---|
[52535ba5] | 153 |
|
---|
[06092fc] | 154 | <para>In the "Character Devices" section, enable AGP Support and select
|
---|
| 155 | the chipset support on your motherboard. If you do not know the chipset,
|
---|
| 156 | you may select all the chip types at the expense of extra kernel size.
|
---|
| 157 | You can usually determine your motherboard's chipset by running the
|
---|
| 158 | command <command>lspci</command>, a program from the
|
---|
| 159 | <xref linkend="pciutils"/> package.</para>
|
---|
| 160 |
|
---|
| 161 | <para>In the "Character Devices" section, <emphasis>disable</emphasis>
|
---|
| 162 | Direct Rendering Manager unless you have a Direct Rendering Infrastructure
|
---|
| 163 | (DRI) supported video card. A complete list of DRI supported video cards
|
---|
| 164 | can be found at <ulink url="http://dri.sourceforge.net" /> in the Status
|
---|
| 165 | section. Currently, supported cards include those from 3dfx (Voodoo,
|
---|
| 166 | Banshee), 3Dlabs, ATI (Rage Pro, Rage 128, Radeon 7X00, Radeon 2), Intel
|
---|
| 167 | (i810, i815), and Matrox (G200, G400, G450).</para>
|
---|
| 168 |
|
---|
| 169 | <para>Additionally NVidia provides their own closed source binary drivers,
|
---|
| 170 | which do not make use of DRI. If you intend to use these drivers, do not
|
---|
| 171 | enable DRI.</para>
|
---|
| 172 |
|
---|
| 173 | <para>If you made any changes to the kernel configuration, recompile and
|
---|
| 174 | install the new kernel.</para>
|
---|
| 175 |
|
---|
| 176 | </sect2>
|
---|
[52535ba5] | 177 |
|
---|
[06092fc] | 178 | <sect2 role="installation">
|
---|
| 179 | <title>Installation of XFree86</title>
|
---|
| 180 |
|
---|
[3109c7ce] | 181 | <sect3>
|
---|
| 182 |
|
---|
| 183 | <title>Preparing the Sources</title>
|
---|
| 184 |
|
---|
| 185 | <para>Three fixes are needed for <application>XFree86</application>.
|
---|
| 186 | First, a patch is needed to build against newer <application>FreeType</application>
|
---|
| 187 | releases. Second, the macro "PAGE_MASK" is manually defined because
|
---|
| 188 | including <filename>asm/page.h</filename> from the Linux kernel headers
|
---|
[b6289f9] | 189 | does not work when compiling with <parameter>-ansi</parameter>. Third,
|
---|
[3109c7ce] | 190 | the Linux kernel headers no longer install the unneeded header
|
---|
| 191 | <filename>linux/config.h</filename>. A <command>sed</command> is used
|
---|
[b6289f9] | 192 | to remove all usage of this header. Finally, one of the input drivers
|
---|
| 193 | will not build with the <parameter>-ansi</parameter> setting, so the
|
---|
| 194 | <application>GCC</application> default is restored. Perform these
|
---|
| 195 | actions with the following commands:</para>
|
---|
[3109c7ce] | 196 |
|
---|
| 197 | <screen><userinput>patch -Np1 -i ../XFree86-&xfree86-version;-freetype_internals-1.patch &&
|
---|
| 198 | sed -i '/page.h/c #define PAGE_MASK (~(getpagesize() - 1))' \
|
---|
| 199 | programs/Xserver/hw/xfree86/fbdevhw/fbdevhw.c &&
|
---|
| 200 | grep -rl '^#include <linux/config.h>' . | \
|
---|
[b6289f9] | 201 | xargs sed -i '\@^#include <linux/config.h>@d' &&
|
---|
| 202 | echo 'CCOPTIONS += -std=gnu89' >> \
|
---|
| 203 | programs/Xserver/hw/xfree86/input/ur98/Imakefile</userinput></screen>
|
---|
[3109c7ce] | 204 |
|
---|
| 205 | </sect3>
|
---|
| 206 |
|
---|
[140a5c55] | 207 | <sect3>
|
---|
| 208 |
|
---|
[84e0b212] | 209 | <title>Setting Up a Shadow Directory</title>
|
---|
| 210 |
|
---|
| 211 | <para>When building <application>XFree86</application>, you should create
|
---|
| 212 | a shadow directory of symbolic links for the compiled code. To do that,
|
---|
| 213 | first make <command>lndir</command>. Starting from the
|
---|
| 214 | <filename class='directory'>xc</filename> directory:</para>
|
---|
| 215 |
|
---|
[fb69e2e] | 216 | <screen><userinput>make -C config/util -f Makefile.ini lndir</userinput></screen>
|
---|
[84e0b212] | 217 |
|
---|
| 218 | <para>Now create the shadow tree:</para>
|
---|
| 219 |
|
---|
| 220 | <screen><userinput>mkdir ../xcbuild &&
|
---|
| 221 | cd ../xcbuild &&
|
---|
[9a2fba9] | 222 | ../xc/config/util/lndir ../xc</userinput></screen>
|
---|
[84e0b212] | 223 |
|
---|
| 224 | </sect3>
|
---|
| 225 |
|
---|
[06092fc] | 226 | <sect3>
|
---|
| 227 | <title>Creating 'host.def'</title>
|
---|
| 228 |
|
---|
| 229 | <para>Although <application>XFree86</application> will compile without
|
---|
| 230 | a <filename>host.def</filename> file, the following file is recommended
|
---|
| 231 | for customizing the installation. Start from the
|
---|
[78de21f] | 232 | <filename class="directory">xcbuild</filename> directory.</para>
|
---|
[06092fc] | 233 |
|
---|
| 234 | <note>
|
---|
| 235 | <para>The <filename>host.def</filename> file is a
|
---|
| 236 | <application>C</application> file, not the usual configuration file.
|
---|
| 237 | If you make any changes, be sure the comment characters (/* and */)
|
---|
| 238 | are balanced. Most of the entries in the file below are commented
|
---|
| 239 | out with the default settings shown.</para>
|
---|
| 240 | </note>
|
---|
| 241 |
|
---|
[8e37798] | 242 | <screen><?dbfo keep-together="auto"?><userinput>cat > config/cf/host.def << "EOF"
|
---|
[06092fc] | 243 | <literal>/* Begin XFree86 host.def file */
|
---|
[feeb99a] | 244 |
|
---|
[b6289f9] | 245 | /* COMPILER SETTINGS
|
---|
| 246 | * The default compiler settings for x86 are shown below. These settings
|
---|
| 247 | * and those for other architectures can be found in config/cf/xfree86.cf.
|
---|
| 248 | #define DefaultGcc2i386Opt -O2 -fno-strength-reduce -fno-strict-aliasing
|
---|
[45b2f690] | 249 | */
|
---|
| 250 |
|
---|
[b6289f9] | 251 | /* INPUT DRIVERS
|
---|
| 252 | * The build will pick the correct drivers for your platform, but a shorter
|
---|
| 253 | * list can be defined to reduce compile time if they will not all be needed.
|
---|
| 254 | * The list below shows the default input drivers from config/cf/xfree86.cf.
|
---|
| 255 | *
|
---|
| 256 | #define XInputDrivers mouse keyboard acecad calcomp citron \
|
---|
| 257 | digitaledge dmc dynapro elographics tek4957 \
|
---|
| 258 | microtouch mutouch penmount spaceorb summa \
|
---|
| 259 | wacom void magellan magictouch hyperpen \
|
---|
| 260 | jamstudio fpit palmax \
|
---|
| 261 | OSXInputDrivers ExtraXInputDrivers
|
---|
| 262 | */
|
---|
[0f82fcc] | 263 |
|
---|
[b6289f9] | 264 | /* VIDEO DRIVERS
|
---|
| 265 | * The build will pick the correct drivers for your platform, but a shorter
|
---|
| 266 | * list can be defined to reduce compile time if they will not all be needed.
|
---|
| 267 | * The list below shows the default input drivers from config/cf/xfree86.cf.
|
---|
| 268 | *
|
---|
| 269 | #define XF86CardDrivers mga glint nv tga s3 s3virge sis xgi rendition \
|
---|
| 270 | neomagic i740 tdfx savage cirrus vmware tseng \
|
---|
[8e37798] | 271 | trident chips aspeed apm GlideDriver i128 \
|
---|
| 272 | NscDriver ati i810 AgpGartDrivers DevelDrivers ark \
|
---|
| 273 | cyrix siliconmotion via fbdev vesa vga dummy \
|
---|
[b6289f9] | 274 | XF86OSCardDrivers XF86ExtraCardDrivers
|
---|
| 275 | */
|
---|
[fb69e2e] | 276 |
|
---|
[b6289f9] | 277 | /* SYSTEM LIBRARIES
|
---|
| 278 | * These settings ensure we use our libraries. Comment them if you prefer to
|
---|
| 279 | * use the versions shipped with XFree86.
|
---|
| 280 | */
|
---|
| 281 | #define HasFreetype2 YES
|
---|
| 282 | #define HasFontconfig YES
|
---|
| 283 | #define HasExpat YES
|
---|
| 284 | #define HasLibpng YES
|
---|
| 285 | #define HasZlib YES
|
---|
| 286 |
|
---|
| 287 | /* Use Linux-PAM with xdm
|
---|
| 288 | #define HasPam YES
|
---|
| 289 | */
|
---|
[fb69e2e] | 290 |
|
---|
[b6289f9] | 291 | /* GENERAL SETTINGS
|
---|
| 292 | */
|
---|
| 293 | #define ManPath /usr/share/man
|
---|
| 294 | #define DocDir /usr/share/doc/xfree86-4.6.0
|
---|
| 295 |
|
---|
| 296 | /* INSTALLATION PREFIX
|
---|
| 297 | * The default is to install into /usr/X11R6. If you would like to install
|
---|
| 298 | * into /usr, uncomment these options.
|
---|
| 299 | #define ProjectRoot /usr
|
---|
| 300 | #define LinkGLToUsrLib NO
|
---|
| 301 | #define LinkGLToUsrInclude NO
|
---|
| 302 | */
|
---|
[feeb99a] | 303 |
|
---|
[06092fc] | 304 | /* End XFree86 host.def file */</literal>
|
---|
| 305 | EOF</userinput></screen>
|
---|
[feeb99a] | 306 |
|
---|
[0f82fcc] | 307 | <para>Edit the file for your hardware and desires. You can find more
|
---|
| 308 | options by reading the other files in
|
---|
[d7ac3b8] | 309 | <filename class="directory">xc/config/cf</filename> and on the
|
---|
| 310 | <ulink url='&blfs-wiki;/XFree86'>wiki</ulink>.</para>
|
---|
[feeb99a] | 311 |
|
---|
[06092fc] | 312 | </sect3>
|
---|
[feeb99a] | 313 |
|
---|
[06092fc] | 314 | <sect3>
|
---|
| 315 | <title>Build Commands</title>
|
---|
[89a0adcf] | 316 |
|
---|
[06092fc] | 317 | <para>Install <application>XFree86</application> by running the
|
---|
| 318 | following commands:</para>
|
---|
[feeb99a] | 319 |
|
---|
[3109c7ce] | 320 | <screen><userinput>( make World 2>&1 | tee xfree-compile.log && exit $PIPESTATUS )</userinput></screen>
|
---|
[fb69e2e] | 321 |
|
---|
| 322 | <para>This package does not come with a test suite.</para>
|
---|
[06092fc] | 323 |
|
---|
| 324 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 325 | user:</para>
|
---|
[52535ba5] | 326 |
|
---|
[d4d6592] | 327 | <screen role="root"><userinput>make install install.man</userinput></screen>
|
---|
[7b7468c1] | 328 |
|
---|
| 329 | <para>If you installed <application>XFree86</application> into the default
|
---|
| 330 | prefix, <filename class="directory">/usr/X11R6</filename>, make these
|
---|
| 331 | symlinks to work around some applications which look for things in the
|
---|
| 332 | wrong place. As <systemitem class="username">root</systemitem>:</para>
|
---|
| 333 |
|
---|
| 334 | <screen role="root"><userinput>ln -v -s ../X11R6/bin /usr/bin/X11 &&
|
---|
[fb69e2e] | 335 | ln -v -s ../X11R6/lib/X11 /usr/lib/X11 &&
|
---|
| 336 | ln -v -s ../X11R6/include/X11 /usr/include/X11</userinput></screen>
|
---|
[06092fc] | 337 |
|
---|
[18bcaf6] | 338 | <para>The <application>XFree86</application> fonts have been installed
|
---|
| 339 | outside of <application>Fontconfig</application>'s default search path
|
---|
[7b7468c1] | 340 | of <filename class="directory">/usr/share/fonts</filename>. In order
|
---|
[18bcaf6] | 341 | for <application>Fontconfig</application> to find the installed TrueType
|
---|
[7b7468c1] | 342 | fonts, you should make symlinks to their directories. If you installed
|
---|
| 343 | <application>XFree86</application> with the prefix
|
---|
| 344 | <filename class="directory">/usr</filename>, omit /X11R6 from the
|
---|
| 345 | following commands. As <systemitem class="username">root</systemitem>:
|
---|
| 346 | </para>
|
---|
[18bcaf6] | 347 |
|
---|
[aebc72fa] | 348 | <screen role="root"><userinput>install -d -m755 /usr/share/fonts &&
|
---|
| 349 | ln -svn /usr/X11R6/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF &&
|
---|
[18bcaf6] | 350 | ln -svn /usr/X11R6/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF</userinput></screen>
|
---|
| 351 |
|
---|
[6e34843] | 352 | <para><application>XFree86</application> installs the
|
---|
[29f1eea6] | 353 | <application>XRender</application> and
|
---|
| 354 | <application>XExtensions</application> extension libraries but does not
|
---|
| 355 | install the corresponding <application>pkg-config</application> files.
|
---|
[7b7468c1] | 356 | Create the files with these commands. If you installed
|
---|
| 357 | <application>XFree86</application> with the prefix
|
---|
| 358 | <filename class="directory">/usr</filename>, omit /X11R6 from the
|
---|
| 359 | paths. As <systemitem class="username">root</systemitem>:</para>
|
---|
[6e34843] | 360 |
|
---|
| 361 | <screen role="root"><userinput>cat > /usr/X11R6/lib/pkgconfig/xrender.pc << "EOF"
|
---|
| 362 | <literal>prefix=/usr/X11R6
|
---|
| 363 | exec_prefix=${prefix}
|
---|
| 364 | libdir=${exec_prefix}/lib
|
---|
| 365 | includedir=${prefix}/include
|
---|
| 366 |
|
---|
| 367 | Name: Xrender
|
---|
| 368 | Description: X Render Library
|
---|
| 369 | Version: 0.8.3
|
---|
| 370 | Cflags: -I${includedir} -I/usr/X11R6/include
|
---|
| 371 | Libs: -L${libdir} -lXrender -L/usr/X11R6/lib -lX11</literal>
|
---|
[29f1eea6] | 372 |
|
---|
| 373 | EOF
|
---|
| 374 |
|
---|
| 375 | cat > /usr/X11R6/lib/pkgconfig/xextensions.pc << "EOF"
|
---|
| 376 | <literal>prefix=/usr/X11R6
|
---|
| 377 | exec_prefix=${prefix}
|
---|
| 378 | libdir=${exec_prefix}/lib
|
---|
| 379 | includedir=${prefix}/include
|
---|
| 380 |
|
---|
| 381 | Name: XExtensions
|
---|
| 382 | Description: Sundry X extension headers
|
---|
| 383 | Version: 1.0.1
|
---|
| 384 | Cflags: -I${includedir}</literal>
|
---|
| 385 |
|
---|
[6e34843] | 386 | EOF</userinput></screen>
|
---|
| 387 |
|
---|
[3f72a148] | 388 | <para>You should now continue on to the <xref linkend="x-setup"/> section
|
---|
[9f12e36] | 389 | to complete the configuration of
|
---|
[3f72a148] | 390 | <application>XFree86</application>.</para>
|
---|
| 391 |
|
---|
[06092fc] | 392 | </sect3>
|
---|
| 393 |
|
---|
| 394 | </sect2>
|
---|
| 395 |
|
---|
| 396 | <sect2 role="commands">
|
---|
| 397 | <title>Command Explanations</title>
|
---|
| 398 |
|
---|
[fb69e2e] | 399 | <para><command>( make World 2>&1 | tee xfree-compile.log
|
---|
[06092fc] | 400 | && exit $PIPESTATUS )</command>:
|
---|
| 401 | This command runs multiple <filename>Makefile</filename>s to completely
|
---|
[fb69e2e] | 402 | rebuild the system. <option>2>&1</option>
|
---|
[06092fc] | 403 | redirects error messages to the same location as standard output. The
|
---|
| 404 | <command>tee</command> command allows viewing of the output while logging
|
---|
| 405 | the results to a file. The parentheses around the command runs the entire
|
---|
[bfb7882] | 406 | command in a subshell and finally the <command>exit $PIPESTATUS</command>
|
---|
[06092fc] | 407 | ensures the result of the <command>make</command> is returned as the result
|
---|
| 408 | and not the result of the <command>tee</command> command.</para>
|
---|
| 409 |
|
---|
| 410 | <note>
|
---|
| 411 | <para>When rebuilding <application>XFree86</application>, a separate
|
---|
| 412 | command that may be used if only minor changes are made to the sources
|
---|
| 413 | is <command>make Everything</command>. This does not automatically
|
---|
| 414 | remove generated files and only rebuilds those files or programs that
|
---|
| 415 | are out of date.</para>
|
---|
| 416 | </note>
|
---|
| 417 |
|
---|
[7b7468c1] | 418 | <para><command>ln -v -s ...</command>: These commands are present to
|
---|
[06092fc] | 419 | enable other (broken) packages to build against
|
---|
| 420 | <application>XFree86</application>, even though the Filesystem Hierarchy
|
---|
| 421 | Standard says: <quote>In general, software must not be installed or managed
|
---|
| 422 | via the above symbolic links. They are intended for utilization by
|
---|
| 423 | users only.</quote></para>
|
---|
| 424 |
|
---|
| 425 | </sect2>
|
---|
| 426 |
|
---|
| 427 | <sect2 id="xfree86-contents" role="content"
|
---|
| 428 | xreflabel="XFree86 Contents and Descriptions">
|
---|
| 429 | <title>Contents</title>
|
---|
| 430 |
|
---|
| 431 | <para>The <application>XFree86</application> package contains the
|
---|
| 432 | <application>X Window System</application> for Linux (and other operating
|
---|
| 433 | systems). It includes the <application>X</application> server, fonts,
|
---|
| 434 | <command>xterm</command>, a simple window manager (<command>twm</command>),
|
---|
| 435 | various utilities, video output drivers, and various input drivers
|
---|
| 436 | including the mouse and keyboard.</para>
|
---|
| 437 |
|
---|
| 438 | <para><application>XFree86</application> also contains libraries and header
|
---|
| 439 | files for development of the <application>X Window System</application>
|
---|
| 440 | programs.</para>
|
---|
| 441 |
|
---|
| 442 | <note>
|
---|
| 443 | <para>The following lists are not comprehensive. The full list of
|
---|
[fb69e2e] | 444 | programs is (if you install into
|
---|
| 445 | <filename class="directory">/usr/X11R6</filename>) in
|
---|
| 446 | <filename class="directory">/usr/X11R6/bin</filename>.
|
---|
[06092fc] | 447 | For additional information about these programs, see the respective
|
---|
| 448 | man page.</para>
|
---|
| 449 | </note>
|
---|
| 450 |
|
---|
| 451 | <segmentedlist>
|
---|
| 452 | <segtitle>Installed Programs</segtitle>
|
---|
| 453 | <segtitle>Installed Libraries</segtitle>
|
---|
| 454 | <segtitle>Installed Directories</segtitle>
|
---|
| 455 |
|
---|
| 456 | <seglistitem>
|
---|
| 457 | <seg>XFree86, xf86config, xf86cfg, startx, xinit, twm, xterm,
|
---|
| 458 | xwininfo, x11perf, xlsfonts, xvidtune, xload, xcalc, xclock,
|
---|
| 459 | oclock, and xmodmap</seg>
|
---|
| 460 | <seg>libGL.so, libGLU.so, libSM.so, libXi.so, libXrender.so,
|
---|
| 461 | libXt.so, and libXfont.so</seg>
|
---|
| 462 | <seg>/usr/X11R6/ and /etc/X11/</seg>
|
---|
| 463 | </seglistitem>
|
---|
| 464 | </segmentedlist>
|
---|
| 465 |
|
---|
| 466 | <variablelist>
|
---|
| 467 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 468 | <?dbfo list-presentation="list"?>
|
---|
| 469 | <?dbhtml list-presentation="table"?>
|
---|
| 470 |
|
---|
| 471 | <varlistentry id="XFree86">
|
---|
| 472 | <term><command>XFree86</command></term>
|
---|
| 473 | <listitem>
|
---|
| 474 | <para>is the X11R6 implementation of the <application>X Window
|
---|
| 475 | System</application> server.</para>
|
---|
| 476 | <indexterm zone="xfree86 XFree86">
|
---|
| 477 | <primary sortas="b-XFree86">XFree86</primary>
|
---|
| 478 | </indexterm>
|
---|
| 479 | </listitem>
|
---|
| 480 | </varlistentry>
|
---|
| 481 |
|
---|
| 482 | <varlistentry id="xf86config">
|
---|
| 483 | <term><command>xf86config</command></term>
|
---|
| 484 | <listitem>
|
---|
| 485 | <para>is an interactive program for generating an
|
---|
| 486 | <filename>XF86Config</filename> file for use with
|
---|
| 487 | <application>XFree86</application> <application>X</application>
|
---|
| 488 | servers.</para>
|
---|
| 489 | <indexterm zone="xfree86 xf86config">
|
---|
| 490 | <primary sortas="b-xf86config">xf86config</primary>
|
---|
| 491 | </indexterm>
|
---|
| 492 | </listitem>
|
---|
| 493 | </varlistentry>
|
---|
| 494 |
|
---|
| 495 | <varlistentry id="xf86cfg">
|
---|
| 496 | <term><command>xf86cfg</command></term>
|
---|
| 497 | <listitem>
|
---|
| 498 | <para>is a tool to configure <application>XFree86</application>
|
---|
| 499 | that can be used to either write the initial configuration file
|
---|
| 500 | or make customizations to the current configuration.</para>
|
---|
| 501 | <indexterm zone="xfree86 xf86cfg">
|
---|
| 502 | <primary sortas="b-xf86cfg">xf86cfg</primary>
|
---|
| 503 | </indexterm>
|
---|
| 504 | </listitem>
|
---|
| 505 | </varlistentry>
|
---|
| 506 |
|
---|
| 507 | <varlistentry id="startx">
|
---|
| 508 | <term><command>startx</command></term>
|
---|
| 509 | <listitem>
|
---|
| 510 | <para>is a script to initialize the <application>X</application>
|
---|
| 511 | session. It runs <command>xinit</command>.</para>
|
---|
| 512 | <indexterm zone="xfree86 startx">
|
---|
| 513 | <primary sortas="b-startx">startx</primary>
|
---|
| 514 | </indexterm>
|
---|
| 515 | </listitem>
|
---|
| 516 | </varlistentry>
|
---|
| 517 |
|
---|
| 518 | <varlistentry id="xinit">
|
---|
| 519 | <term><command>xinit</command></term>
|
---|
| 520 | <listitem>
|
---|
| 521 | <para>is used to start the <application>X Window
|
---|
| 522 | System</application> server.</para>
|
---|
| 523 | <indexterm zone="xfree86 xinit">
|
---|
| 524 | <primary sortas="b-xinit">xinit</primary>
|
---|
| 525 | </indexterm>
|
---|
| 526 | </listitem>
|
---|
| 527 | </varlistentry>
|
---|
| 528 |
|
---|
| 529 | <varlistentry id="twm">
|
---|
| 530 | <term><command>twm</command></term>
|
---|
| 531 | <listitem>
|
---|
| 532 | <para>(Tab Window Manager) is a window manager included with the
|
---|
| 533 | <application>X Window System</application>.</para>
|
---|
| 534 | <indexterm zone="xfree86 twm">
|
---|
| 535 | <primary sortas="b-twm">twm</primary>
|
---|
| 536 | </indexterm>
|
---|
| 537 | </listitem>
|
---|
| 538 | </varlistentry>
|
---|
| 539 |
|
---|
| 540 | <varlistentry id="xterm">
|
---|
| 541 | <term><command>xterm</command></term>
|
---|
| 542 | <listitem>
|
---|
| 543 | <para>is a terminal emulator for <application>X</application>.</para>
|
---|
| 544 | <indexterm zone="xfree86 xterm">
|
---|
| 545 | <primary sortas="b-xterm">xterm</primary>
|
---|
| 546 | </indexterm>
|
---|
| 547 | </listitem>
|
---|
| 548 | </varlistentry>
|
---|
| 549 |
|
---|
| 550 | <varlistentry id="xwininfo">
|
---|
| 551 | <term><command>xwininfo</command></term>
|
---|
| 552 | <listitem>
|
---|
| 553 | <para>is a window information utility for
|
---|
| 554 | <application>X</application>.</para>
|
---|
| 555 | <indexterm zone="xfree86 xwininfo">
|
---|
| 556 | <primary sortas="b-xwininfo">xwininfo</primary>
|
---|
| 557 | </indexterm>
|
---|
| 558 | </listitem>
|
---|
| 559 | </varlistentry>
|
---|
| 560 |
|
---|
| 561 | <varlistentry id="x11perf">
|
---|
| 562 | <term><command>x11perf</command></term>
|
---|
| 563 | <listitem>
|
---|
| 564 | <para>is an <application>X</application>11 server performance
|
---|
| 565 | test program.</para>
|
---|
| 566 | <indexterm zone="xfree86 x11perf">
|
---|
| 567 | <primary sortas="b-x11perf">x11perf</primary>
|
---|
| 568 | </indexterm>
|
---|
| 569 | </listitem>
|
---|
| 570 | </varlistentry>
|
---|
| 571 |
|
---|
| 572 | <varlistentry id="xlsfonts">
|
---|
| 573 | <term><command>xlsfonts</command></term>
|
---|
| 574 | <listitem>
|
---|
| 575 | <para>is a program to list fonts available to the
|
---|
| 576 | <application>X</application> server.</para>
|
---|
| 577 | <indexterm zone="xfree86 xlsfonts">
|
---|
| 578 | <primary sortas="b-xlsfonts">xlsfonts</primary>
|
---|
| 579 | </indexterm>
|
---|
| 580 | </listitem>
|
---|
| 581 | </varlistentry>
|
---|
| 582 |
|
---|
| 583 | <varlistentry id="xvidtune">
|
---|
| 584 | <term><command>xvidtune</command></term>
|
---|
| 585 | <listitem>
|
---|
| 586 | <para>is a video mode tuner for
|
---|
| 587 | <application>XFree86</application>.</para>
|
---|
| 588 | <indexterm zone="xfree86 xvidtune">
|
---|
| 589 | <primary sortas="b-xvidtune">xvidtune</primary>
|
---|
| 590 | </indexterm>
|
---|
| 591 | </listitem>
|
---|
| 592 | </varlistentry>
|
---|
| 593 |
|
---|
| 594 | <varlistentry id="xload">
|
---|
| 595 | <term><command>xload</command></term>
|
---|
| 596 | <listitem>
|
---|
| 597 | <para> is a system load average display for
|
---|
| 598 | <application>X</application>.</para>
|
---|
| 599 | <indexterm zone="xfree86 xload">
|
---|
| 600 | <primary sortas="b-xload">xload</primary>
|
---|
| 601 | </indexterm>
|
---|
| 602 | </listitem>
|
---|
| 603 | </varlistentry>
|
---|
| 604 |
|
---|
| 605 | <varlistentry id="xcalc">
|
---|
| 606 | <term><command>xcalc</command></term>
|
---|
| 607 | <listitem>
|
---|
| 608 | <para>is a scientific calculator for
|
---|
| 609 | <application>X</application>.</para>
|
---|
| 610 | <indexterm zone="xfree86 xcalc">
|
---|
| 611 | <primary sortas="b-xcalc">xcalc</primary>
|
---|
| 612 | </indexterm>
|
---|
| 613 | </listitem>
|
---|
| 614 | </varlistentry>
|
---|
| 615 |
|
---|
| 616 | <varlistentry id="xclock">
|
---|
| 617 | <term><command>xclock</command></term>
|
---|
| 618 | <listitem>
|
---|
| 619 | <para>is a clock programs for <application>X</application>.</para>
|
---|
| 620 | <indexterm zone="xfree86 xclock">
|
---|
| 621 | <primary sortas="b-xclock">xclock</primary>
|
---|
| 622 | </indexterm>
|
---|
| 623 | </listitem>
|
---|
| 624 | </varlistentry>
|
---|
| 625 |
|
---|
| 626 | <varlistentry id="oclock">
|
---|
| 627 | <term><command>oclock</command></term>
|
---|
| 628 | <listitem>
|
---|
| 629 | <para>is a clock programs for <application>X</application>.</para>
|
---|
| 630 | <indexterm zone="xfree86 oclock">
|
---|
| 631 | <primary sortas="b-oclock">oclock</primary>
|
---|
| 632 | </indexterm>
|
---|
| 633 | </listitem>
|
---|
| 634 | </varlistentry>
|
---|
| 635 |
|
---|
| 636 | <varlistentry id="xmodmap">
|
---|
| 637 | <term><command>xmodmap</command></term>
|
---|
| 638 | <listitem>
|
---|
| 639 | <para>is a utility for modifying keymaps and pointer button
|
---|
| 640 | mappings in <application>X</application>.</para>
|
---|
| 641 | <indexterm zone="xfree86 xmodmap">
|
---|
| 642 | <primary sortas="b-xmodmap">xmodmap</primary>
|
---|
| 643 | </indexterm>
|
---|
| 644 | </listitem>
|
---|
| 645 | </varlistentry>
|
---|
| 646 |
|
---|
| 647 | </variablelist>
|
---|
| 648 |
|
---|
| 649 | </sect2>
|
---|
| 650 |
|
---|
[f45b1953] | 651 | </sect1>
|
---|