source: x/installing/xorg7.xml@ e257101

10.0 10.1 11.0 11.1 11.2 11.3 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 ken/inkscape-core-mods krejzi/svn lazarus nosym perl-modules plabs/python-mods qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since e257101 was e257101, checked in by DJ Lucas <dj@…>, 17 years ago

xorg and xorg7 cleanup

git-svn-id: svn:// af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.5 KB
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
8<sect1 id="xorg7" xreflabel="Xorg-&xorg7-version;">
9 <?dbhtml filename="xorg7.html"?>
11 <sect1info>
12 <othername>$LastChangedBy$</othername>
13 <date>$Date$</date>
14<!-- <keywordset>
15 <keyword role="package">X11R&xorg7-version;-src.tar</keyword>
16 <keyword role="ftpdir">Xorg7</keyword>
17 </keywordset>
18########## Need a way to fix this on the mirrors ##########
19##### Maybe a single tarball is the way to handle it ######
22 </sect1info>
24 <title>Introduction to Xorg-&xorg7-version;</title>
26 <indexterm zone="xorg7">
27 <primary sortas="a-xorg7">Xorg</primary>
28 </indexterm>
31 <para><application>Xorg</application> is a freely redistributable,
32 open-source implementation of the <application>X</application> Window
33 System. This system provides a client/server interface between display
34 hardware (the mouse, keyboard, and video displays) and the desktop
35 environment, while also providing both the windowing infrastructure and a
36 standardized application interface (API).</para>
38 <para condition="html" role="usernotes">User Notes:
39 <ulink url='&blfs-wiki;/Xorg-&xorg7-version;'/></para>
41 <bridgehead renderas="sect3">Xorg Download and Installation
42 Instructions</bridgehead>
44 <para>Xorg-7.0.0 introduced a completely auto-tooled, modular build system.
45 The code is otherwise identical to that in the Xorg-6.9.0 release.
46 With the new modular build system, it is no longer possible to download
47 the entire package in a single file. In fact, there may be as many as
48 280 files that need to be fetched from the download location. To assist
49 with such a large task, installing <xref linkend="wget"/> is strongly
50 recommended for downloading the needed files. A complete
51 <application>wget</application> file list is provided for each section
52 that includes multiple packages.</para>
54 <para>Given the number of packages available, deciding which packages you
55 need to install for your particular setup may seem a bit overwhelming at
56 first. Take a look at
57 <ulink url="">this thread</ulink>
58 to get an idea of what you will need. If you are
59 unsure, you should install all packages at the cost of extra
60 disk space.</para>
62 <note>
63 <para>Even if you intend to download only the necessary packages, you
64 should download the wget file lists and use the package versions in the
65 file. Newer packages are likely intended for the next release of
66 <application>Xorg</application> and have already proved to be
67 incompatible with the current version of
68 <application>GTK+</application>. The installed size of
69 <application>Xorg</application> can be reduced considerably by
70 installing only the packages that you will need and use, however, the
71 BLFS book cannot account for all dependencies and build options for
72 the individual <application>Xorg</application> packages. The
73 instructions assume that all packages have been built. A
74 <ulink url=";">wiki</ulink>
75 page containing dependency information, is under development. You are
76 encouraged to add to these pages if you discover additional information
77 that may be helpful to other users who selectively install individual
78 packages.</para>
79 </note>
81 <para>Additionally, because of the large number of repetitive commands,
82 you are encouraged to script the build. For most sections, you can use
83 a script with commands similar to the following, to compile and install
84 all packages in a wget file list:</para>
86<screen>bash -e #exit on all errors
87for package in $(cat ../wgetlist.wget)
89 packagedir=$(echo $package | sed 's/.tar.bz2//')
90 tar -xf $package
91 cd $packagedir
92 ./configure $XORG_CONFIG
93 make
94 make install
95 cd ..
96 rm -rf $packagedir
97 rm -f $package
98done 2&gt;&amp;1 | tee -a ../xorg-compile.log #log the entire loop</screen>
100 <para>The above shell will exit immediately on error. If it runs to
101 completion, you should manually exit the shell before continuing on to
102 the next set of instructions.</para>
104 <sect2>
105 <title>Setting up the Xorg Build Environment</title>
107 <para>First, you'll need to create a working directory:</para>
109<screen><userinput>mkdir xc &amp;&amp;
110cd xc</userinput></screen>
112 <para>As with previous releases of the X Window System, it may be
113 desirable to install <application>Xorg</application> into an alternate
114 prefix. This is no longer common practice among Linux distributions.
115 The common installation prefix for <application>Xorg</application> on
116 Linux is <filename class="directory">/usr</filename>. There is no
117 standard alternate prefix, nor is there any exception in the current
118 revision of the Filesystem Hierarchy Standard for Release 7 of the X
119 Window System. Alan Coopersmith of Sun Microsystems, has recently
120 stated "At Sun, we were using
121 <filename class="directory">/usr/X11</filename> and plan to stick with
122 it." Only the <filename class="directory">/opt/*</filename> prefix or
123 the <filename class="directory">/usr</filename> prefix adhere to the
124 current FHS guidelines.</para>
126 <para>Choose your installation prefix, and set the
127 <envar>XORG_PREFIX</envar> variable with the following
128 command:</para>
130<screen><userinput>export XORG_PREFIX="<replaceable>&lt;PREFIX&gt;</replaceable>"</userinput></screen>
132 <para>Throughout these instructions, you will use the same three
133 <command>configure</command> switches for all of the packages. Create the
134 <envar>XORG_CONFIG</envar> variable to use for substitution:</para>
136<screen><userinput>export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc --localstatedir=/var"</userinput></screen>
138 <para>If you've decided to use an alternate prefix, be sure to add
139 <filename class="directory">
140 <replaceable>&lt;PREFIX&gt;</replaceable>/bin</filename> to your
141 <envar>PATH</envar> environment variable and <filename class="directory">
142 <replaceable>&lt;PREFIX&gt;</replaceable>/lib/pkgconfig</filename>
143 to your <envar>PKG_CONFIG_PATH</envar> variable. For detailed instructions,
144 see <xref linkend="postlfs-config-profile"/>. You should also add
145 <filename class="directory">
146 <replaceable>&lt;PREFIX&gt;</replaceable>/lib</filename> to the
147 <filename>/etc/</filename> file.</para>
149 </sect2>
Note: See TracBrowser for help on using the repository browser.