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 | <!ENTITY xorg-server-download-http "http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-&xorg-server-version;.tar.bz2">
|
---|
8 | <!ENTITY xorg-server-download-ftp " ">
|
---|
9 | <!ENTITY xorg-server-md5sum "d070c58a598fb52c5cb86344725c4ad6">
|
---|
10 | <!ENTITY xorg-server-size "6.1 MB">
|
---|
11 | <!ENTITY xorg-server-buildsize "424 MB">
|
---|
12 | <!ENTITY xorg-server-time "5.6 SBU">
|
---|
13 |
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="xorg7-server" xreflabel="Xorg-Server-&xorg-server-version;">
|
---|
17 | <?dbhtml filename="x7server.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy: dj $</othername>
|
---|
21 | <date>$Date: 2006-04-15 23:04:51 -0500 (Sat, 15 Apr 2006) $</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>Xorg-Server-&xorg-server-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="xorg7-server">
|
---|
27 | <primary sortas="a-xorg7-server">Xorg Server</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <para>The <application>Xorg</application> Server is the core
|
---|
31 | of the X Window system.</para>
|
---|
32 |
|
---|
33 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
34 | <itemizedlist spacing="compact">
|
---|
35 | <listitem>
|
---|
36 | <para>Download (HTTP): <ulink url="&xorg-server-download-http;"/></para>
|
---|
37 | </listitem>
|
---|
38 | <listitem>
|
---|
39 | <para>Download (FTP): <ulink url="&xorg-server-download-ftp;"/></para>
|
---|
40 | </listitem>
|
---|
41 | <listitem>
|
---|
42 | <para>Download MD5 sum: &xorg-server-md5sum;</para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>Download size: &xorg-server-size;</para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>Estimated disk space required: &xorg-server-buildsize;</para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Estimated build time: &xorg-server-time;</para>
|
---|
52 | </listitem>
|
---|
53 | </itemizedlist>
|
---|
54 |
|
---|
55 | <bridgehead renderas="sect3">Xorg Server Dependencies</bridgehead>
|
---|
56 |
|
---|
57 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
58 | <para role="required"><xref linkend="xorg7-font"/></para>
|
---|
59 |
|
---|
60 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
61 | <para role="optional"><xref linkend="mesalib"/> and
|
---|
62 | <xref linkend="luit"/></para>
|
---|
63 |
|
---|
64 | <para condition="html" role="usernotes">User Notes:
|
---|
65 | <ulink url='&blfs-wiki;/Xorg7Server'/></para>
|
---|
66 |
|
---|
67 | <sect2 role="installation">
|
---|
68 | <title>Installation of Xorg Server</title>
|
---|
69 |
|
---|
70 | <note>
|
---|
71 | <para>If you intend to build with <application>Mesa</application>,
|
---|
72 | you must have the <application>Mesa</application> source
|
---|
73 | directory available when building the
|
---|
74 | <application>Xorg-server</application>.</para>
|
---|
75 | </note>
|
---|
76 |
|
---|
77 | <!-- To be removed if/when proposed glibc patch is added to LFS SVN
|
---|
78 | Leave in in for a couple of weeks with 'you may need' and a testcase
|
---|
79 | around it to save the support list silly questions. Should remove in
|
---|
80 | a couple of weeks
|
---|
81 | <para>Recent <application>Glibc</application> may have a problem with its
|
---|
82 | installed <filename>sys/kd.h</filename> file. This has recently been
|
---|
83 | fixed in LFS SVN. Execute the following commands to work around a
|
---|
84 | broken <filename>kd.h</filename> file. The commands will only make the
|
---|
85 | modification if needed:</para>
|
---|
86 |
|
---|
87 | <screen><userinput>grep "__undef_LINUX" \
|
---|
88 | /usr/include/sys/kd.h 2>&1 > /dev/null || \
|
---|
89 | sed -i.bak '/CONFIG_H/i #include <linux/types.h>' \
|
---|
90 | hw/xfree86/os-support/linux/lnx_agp.c</userinput></screen>
|
---|
91 | End remove -->
|
---|
92 |
|
---|
93 | <para>Install the server by running the following commands:</para>
|
---|
94 |
|
---|
95 | <screen><userinput>sed -i \
|
---|
96 | 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/main@8' \
|
---|
97 | GL/glx/Makefile.in &&
|
---|
98 | sed -i \
|
---|
99 | 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/glapi@7' \
|
---|
100 | GL/glx/Makefile.in &&
|
---|
101 | ./configure $XORG_CONFIG \
|
---|
102 | --with-mesa-source='<replaceable></path/to></replaceable>/Mesa-&mesalib-version;' \
|
---|
103 | --with-fontdir=$XORG_PREFIX/lib/X11/fonts \
|
---|
104 | --with-module-dir=$XORG_PREFIX/lib/X11/modules \
|
---|
105 | --with-dri-driver-path=$XORG_PREFIX/lib/X11/modules/dri \
|
---|
106 | --enable-install-setuid &&
|
---|
107 | make</userinput></screen>
|
---|
108 |
|
---|
109 | <para>This package does not come with a test suite.</para>
|
---|
110 |
|
---|
111 | <para>Now as the <systemitem class="username">root</systemitem>
|
---|
112 | user:</para>
|
---|
113 |
|
---|
114 | <screen><userinput role="root">make install</userinput></screen>
|
---|
115 |
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="commands">
|
---|
119 | <title>Command Explanations</title>
|
---|
120 |
|
---|
121 | <para><command>sed -i '...' GL/glx/Makefile.in</command>: These commands
|
---|
122 | correct the search path for the <application>Mesa</application> headers.
|
---|
123 | The 8th and 7th instance of '-I$(top_builddir)' in the existing search
|
---|
124 | search path are replaced with <application>Mesa</application> paths.</para>
|
---|
125 |
|
---|
126 | <para><parameter>--with-mesa-source=...</parameter>: This switch directs
|
---|
127 | the build system to the location of the <application>Mesa</application>
|
---|
128 | source directory. If you wish to build without
|
---|
129 | <application>Mesa</application>, omit this switch.</para>
|
---|
130 |
|
---|
131 | <para><parameter>--with-module-dir=...</parameter>: This parameter
|
---|
132 | sets the destination for the installed modules.</para>
|
---|
133 |
|
---|
134 | <para><parameter>--with-dri-driver-path=...</parameter>: This is the
|
---|
135 | location of the <application>Mesa</application> DRI drivers.</para>
|
---|
136 |
|
---|
137 | <para><parameter>--enable-install-setuid</parameter>: The Xorg binary must
|
---|
138 | run as the root user. This switch ensures that the binary is installed
|
---|
139 | setuid when <command>make</command> is run by an unprivileged user.</para>
|
---|
140 |
|
---|
141 | <para><parameter>--disable-glx</parameter>: Disable building of the GLX
|
---|
142 | extension. This parameter is required if building without
|
---|
143 | <application>Mesa</application>.</para>
|
---|
144 |
|
---|
145 | <para><parameter>--disable-dri</parameter>: Disable building of the DRI
|
---|
146 | extension. This parameter is required if building without
|
---|
147 | <application>Mesa</application>.</para>
|
---|
148 |
|
---|
149 | <para><parameter>--disable-xprint</parameter>: Disable building of
|
---|
150 | the <application>Xprint</application> extension and server. This
|
---|
151 | parameter is required if building without
|
---|
152 | <application>Mesa</application>.</para>
|
---|
153 |
|
---|
154 | </sect2>
|
---|
155 |
|
---|
156 | </sect1>
|
---|