source: x/installing/xorg-server-systemd.xml@ c3c67b5b

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since c3c67b5b was c3c67b5b, checked in by Krejzi <krejzi@…>, 10 years ago

Check Xorg Section and Deps. Fix xserver and drivers for glibc-2.20.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14003 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 10.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY xorg-server-download-http "&xorg-download-http;/xserver/xorg-server-&xorg-server-version;.tar.bz2">
8 <!ENTITY xorg-server-download-ftp "&xorg-download-ftp;/xserver/xorg-server-&xorg-server-version;.tar.bz2">
9 <!ENTITY xorg-server-md5sum "8a9ff6ee9907360f09b5bdabb8089502">
10 <!ENTITY xorg-server-size "5.6 MB">
11 <!ENTITY xorg-server-buildsize "434 MB">
12 <!ENTITY xorg-server-time "1.6 SBU">
13]>
14
15<sect1 id="xorg-server" xreflabel="Xorg-Server-&xorg-server-version;">
16 <?dbhtml filename="xorg-server.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Xorg-Server-&xorg-server-version;</title>
24
25 <indexterm zone="xorg-server">
26 <primary sortas="a-xorg-server">xorg-server</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Xorg Server</title>
31
32 <para>
33 The <application>Xorg</application> Server is the core
34 of the X Window system.
35 </para>
36
37 &lfs76_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&xorg-server-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&xorg-server-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &xorg-server-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &xorg-server-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &xorg-server-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &xorg-server-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact">
75 <listitem>
76 <para>
77 Recommended patch:
78 <ulink url="&patch-root;/xorg-server-&xorg-server-version;-upstream_glamor_fix-1.patch"/>
79 </para>
80 </listitem>
81 <listitem>
82 <para>
83 Optional patch:
84 <ulink url="&patch-root;/xorg-server-&xorg-server-version;-add_prime_support-2.patch"/>
85 </para>
86 </listitem>
87 </itemizedlist>
88
89 <bridgehead renderas="sect3">Xorg Server Dependencies</bridgehead>
90
91 <bridgehead renderas="sect4">Required</bridgehead>
92 <para role="required">
93 <xref linkend="openssl"/> or
94 <xref linkend="nettle"/> or
95 <xref linkend="libgcrypt"/>,
96 <xref linkend="pixman"/>,
97 <xref linkend="xorg7-font"/>, and
98 <xref linkend="xkeyboard-config"/>
99 </para>
100
101 <bridgehead renderas="sect4">Recommended</bridgehead>
102 <para role="recommended">
103 <xref linkend="libepoxy"/> (for Glamor),
104 <xref linkend="wayland"/> (both for <command>Xwayland</command>) and
105 <xref linkend="systemd"/> (for Logind)
106 </para>
107
108 <bridgehead renderas="sect4">Optional</bridgehead>
109 <para>
110 <xref linkend="acpid"/> (runtime),
111 <xref linkend="doxygen"/> (to build API documentation),
112 <xref linkend="fop"/>, (to build documentation),
113 <xref linkend="gs"/> (to build documentation),
114 <xref linkend="xmlto"/>, (to build documentation), and
115 <ulink url="http://download.savannah.gnu.org/releases/libunwind/">libunwind</ulink>
116 </para>
117
118 <para condition="html" role="usernotes">User Notes:
119 <ulink url='&blfs-wiki;/Xorg7Server'/>
120 </para>
121 </sect2>
122
123 <sect2 role="installation">
124 <title>Installation of Xorg Server</title>
125
126 <para>
127 If you are going to build Glamor, apply the recommended patch by running
128 the following command:
129 </para>
130
131<screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-upstream_glamor_fix-1.patch</userinput></screen>
132
133 <para>
134 If you have downloaded the optional patch, apply it by running
135 the following command:
136 </para>
137
138<screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-add_prime_support-2.patch</userinput></screen>
139
140 <para>
141 Install the server by running the following commands:
142 </para>
143
144<screen><userinput>sed -i "/scrnintstr/i #include &lt;xorg-server.h&gt;" exa/exa.h glamor/glamor.h &amp;&amp;
145./configure $XORG_CONFIG \
146 --with-xkb-output=/var/lib/xkb \
147 --enable-dmx \
148 --enable-glamor \
149 --enable-suid-wrapper &amp;&amp;
150make</userinput></screen>
151
152 <para>
153 To test the results, issue: <command>make check</command>.
154 </para>
155
156 <para>
157 Now as the <systemitem class="username">root</systemitem>
158 user:
159 </para>
160
161<screen role="root"><userinput>make install &amp;&amp;
162mkdir -pv /etc/X11/xorg.conf.d</userinput></screen>
163
164 </sect2>
165
166 <sect2 role="commands">
167 <title>Command Explanations</title>
168
169 <para>
170 <command>sed -i ...</command>: This sed fixes several header files that are
171 broken with Glibc 2.20 so the drivers using them wouldn't fail to build.
172 </para>
173
174 <para>
175 <parameter>--enable-dmx</parameter>: This switch enables building of the DMX
176 (Distributed Multihead X) server.
177 </para>
178
179 <para>
180 <parameter>--enable-glamor</parameter>: This switch enables building
181 of the Glamor DIX module which is required by some drivers and
182 <command>Xwayland</command>. Remove it if you don't want to install
183 <application>libepoxy</application> and are not going to need
184 <command>Xwayland</command> or you don't have any hardware that
185 requires Glamor (Radeon "Southern Islands" and later GPUs).
186 </para>
187
188 <para>
189 <parameter>--enable-suid-wrapper</parameter>: This switch enables building of
190 the suid-root wrapper for legacy driver support on rootless xserver systems.
191 </para>
192
193 </sect2>
194
195 <sect2 role="content">
196 <title>Contents</title>
197
198 <segmentedlist>
199 <segtitle>Installed Programs</segtitle>
200 <segtitle>Installed Libraries</segtitle>
201 <segtitle>Installed Directories</segtitle>
202
203 <seglistitem>
204 <seg>
205 cvt, dmxaddinput, dmxaddscreen, dmxinfo, dmxreconfig, dmxresize,
206 dmxrminput, dmxrmscreen, dmxtodmx, dmxwininfo, gtf, vdltodmx, X,
207 Xdmx, xdmxconfig, Xnest, Xorg, Xvfb, and Xwayland
208 </seg>
209 <seg>
210 None
211 </seg>
212 <seg>
213 $XORG_PREFIX/include/xorg,
214 $XORG_PREFIX/lib/xorg,
215 $XORG_PREFIX/share/X11/xorg.conf.d, and
216 /var/lib/xkb
217 </seg>
218 </seglistitem>
219 </segmentedlist>
220
221 <variablelist>
222 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
223 <?dbfo list-presentation="list"?>
224 <?dbhtml list-presentation="table"?>
225
226 <varlistentry id="cvt-x7">
227 <term><command>cvt</command></term>
228 <listitem>
229 <para>
230 calculates VESA CVT mode lines.
231 </para>
232 <indexterm zone="xorg-server cvt-x7">
233 <primary sortas="b-cvt">cvt</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry id="dmx-x7">
239 <term><command>dmx*</command></term>
240 <listitem>
241 <para>
242 are various tools used for manipulating the dmx server.
243 </para>
244 <indexterm zone="xorg-server dmx-x7">
245 <primary sortas="b-dmx">dmx*</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
250 <varlistentry id="gtf-x7">
251 <term><command>gtf</command></term>
252 <listitem>
253 <para>
254 calculates VESA GTF mode lines.
255 </para>
256 <indexterm zone="xorg-server gtf-x7">
257 <primary sortas="b-gtf">gtf</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 <varlistentry id="vdltodmx-x7">
263 <term><command>vdltodmx</command></term>
264 <listitem>
265 <para>
266 is a tool used to convert VDL config files to DMX config
267 files.
268 </para>
269 <indexterm zone="xorg-server vdltodmx-x7">
270 <primary sortas="b-vdltodmx">vdltodmx</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
275 <varlistentry id="X-x7">
276 <term><command>X</command></term>
277 <listitem>
278 <para>
279 is a symbolic link to Xorg.
280 </para>
281 <indexterm zone="xorg-server X-x7">
282 <primary sortas="b-X">X</primary>
283 </indexterm>
284 </listitem>
285 </varlistentry>
286
287 <varlistentry id="Xnest-x7">
288 <term><command>Xnest</command></term>
289 <listitem>
290 <para>
291 is a nested X server.
292 </para>
293 <indexterm zone="xorg-server Xnest-x7">
294 <primary sortas="b-Xnest">Xnest</primary>
295 </indexterm>
296 </listitem>
297 </varlistentry>
298
299 <varlistentry id="Xorg-x7">
300 <term><command>Xorg</command></term>
301 <listitem>
302 <para>
303 is the X11R7 X Server.
304 </para>
305 <indexterm zone="xorg-server Xorg-x7">
306 <primary sortas="b-Xorg">Xorg</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
311 <varlistentry id="Xvfb-x7">
312 <term><command>Xvfb</command></term>
313 <listitem>
314 <para>
315 is the virtual framebuffer X server for X Version 11.
316 </para>
317 <indexterm zone="xorg-server Xvfb-x7">
318 <primary sortas="b-Xvfb">Xvfb</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
322
323 <varlistentry id="xdmxconfig-x7">
324 <term><command>xdmxconfig</command></term>
325 <listitem>
326 <para>
327 is a graphical configuration utility for the dmx server.
328 </para>
329 <indexterm zone="xorg-server xdmxconfig-x7">
330 <primary sortas="b-xdmxconfig">xdmxconfig</primary>
331 </indexterm>
332 </listitem>
333 </varlistentry>
334
335 </variablelist>
336
337 </sect2>
338
339</sect1>
Note: See TracBrowser for help on using the repository browser.