source: x/installing/xorg7.xml@ 9f12e36

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9f12e36 was 9f12e36, checked in by Randy McMurchy <randy@…>, 18 years ago

Removed 'keywordset' blocks and extra spaces from the XML files (note this was by accident as I meant to do just in the gnome directory but I was in the root of BOOK when I ran the script, but this was going to happen anyway so I don't think it is a big deal)

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

  • Property mode set to 100644
File size: 6.6 KB
Line 
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
8<sect1 id="xorg7" xreflabel="Xorg-&xorg7-version;">
9 <?dbhtml filename="xorg7.html"?>
10
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 ######
20-->
21
22 </sect1info>
23
24 <title>Introduction to Xorg-&xorg7-version;</title>
25
26 <indexterm zone="xorg7">
27 <primary sortas="a-xorg7">Xorg</primary>
28 </indexterm>
29
30
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>
37
38 <para condition="html" role="usernotes">User Notes:
39 <ulink url='&blfs-wiki;/Xorg7'/></para>
40
41 <bridgehead renderas="sect3">Xorg Download and Installation
42 Instructions</bridgehead>
43
44 <para>Xorg-7.0.0 introduced a completely auto-tooled, modular build system.
45 With the new modular build system, it is no longer possible to download
46 the entire package in a single file. In fact, there may be as many as
47 293 files that need to be fetched from the download location. To assist
48 with such a large task, installing <xref linkend="wget"/> is strongly
49 recommended for downloading the needed files. A complete
50 <application>wget</application> file list is provided for each section
51 that includes multiple packages.</para>
52
53 <para>Given the number of packages available, deciding which packages you
54 need to install for your particular setup may seem a bit overwhelming at
55 first. Take a look at
56 <ulink url="http://lists.x.org/archives/xorg-modular/2005-November/000801.html">this thread</ulink>
57 to get an idea of what you will need. If you are
58 unsure, you should install all packages at the cost of extra
59 disk space.</para>
60
61 <note>
62 <para>Even if you intend to download only the necessary packages, you
63 should download the wget file lists. The list of files are ordered by
64 dependency, and the package versions listed in the files are known to
65 work well with each other. Newer packages are likely intended for the
66 next release of <application>Xorg</application> and have already proved
67 to be incompatible with current versions of software installed in BLFS.
68 The installed size of <application>Xorg</application> can be reduced
69 considerably by installing only the packages that you will need and use,
70 however, the BLFS book cannot account for all dependencies and build
71 options for the individual <application>Xorg</application> packages.
72 The instructions assume that all packages have been built. A
73 <ulink url="http://wiki.linuxfromscratch.org/blfs/wiki/Xorg-&xorg7-version;">wiki</ulink>
74 page containing dependency information is under development. You are
75 encouraged to add to these pages if you discover additional information
76 that may be helpful to other users who selectively install individual
77 packages.</para>
78 </note>
79
80 <para>Additionally, because of the large number of repetitive commands,
81 you are encouraged to script the build. For most sections, you can use
82 a script with commands similar to the following, to compile and install
83 all packages in a wget file list:</para>
84
85<screen>bash -e #exit on all errors
86for package in $(cat ../wgetlist.wget)
87do
88 packagedir=$(echo $package | sed 's/.tar.bz2//')
89 tar -xf $package
90 cd $packagedir
91 ./configure $XORG_CONFIG
92 make
93 make install
94 cd ..
95 rm -rf $packagedir
96 rm -f $package
97done 2&gt;&amp;1 | tee -a ../xorg-compile.log #log the entire loop</screen>
98
99 <para>The above shell will exit immediately on error. If it runs to
100 completion, you should manually exit the shell before continuing on to
101 the next set of instructions.</para>
102
103 <sect2>
104 <title>Setting up the Xorg Build Environment</title>
105
106 <para>First, you'll need to create a working directory:</para>
107
108<screen><userinput>mkdir xc &amp;&amp;
109cd xc</userinput></screen>
110
111 <para>As with previous releases of the X Window System, it may be
112 desirable to install <application>Xorg</application> into an alternate
113 prefix. This is no longer common practice among Linux distributions.
114 The common installation prefix for <application>Xorg</application> on
115 Linux is <filename class="directory">/usr</filename>. There is no
116 standard alternate prefix, nor is there any exception in the current
117 revision of the Filesystem Hierarchy Standard for Release 7 of the X
118 Window System. Alan Coopersmith of Sun Microsystems, has recently
119 stated "At Sun, we were using
120 <filename class="directory">/usr/X11</filename> and plan to stick with
121 it." Only the <filename class="directory">/opt/*</filename> prefix or
122 the <filename class="directory">/usr</filename> prefix adhere to the
123 current FHS guidelines.</para>
124
125 <para>Choose your installation prefix, and set the
126 <envar>XORG_PREFIX</envar> variable with the following
127 command:</para>
128
129<screen><userinput>export XORG_PREFIX="<replaceable>&lt;PREFIX&gt;</replaceable>"</userinput></screen>
130
131 <para>Throughout these instructions, you will use the same three
132 <command>configure</command> switches for all of the packages. Create the
133 <envar>XORG_CONFIG</envar> variable to use for substitution:</para>
134
135<screen><userinput>export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
136 --localstatedir=/var --datadir=$XORG_PREFIX/lib"</userinput></screen>
137
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/ld.so.conf</filename> file.</para>
148
149 </sect2>
150
151</sect1>
Note: See TracBrowser for help on using the repository browser.