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

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 8210d19 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
RevLine 
[3f72a148]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" [
[3f72a148]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[2f4014b]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">
[fad8db2]9 <!ENTITY xorg-server-md5sum "8a9ff6ee9907360f09b5bdabb8089502">
10 <!ENTITY xorg-server-size "5.6 MB">
11 <!ENTITY xorg-server-buildsize "434 MB">
[08bd91b]12 <!ENTITY xorg-server-time "1.6 SBU">
[3f72a148]13]>
14
[5faf7f7e]15<sect1 id="xorg-server" xreflabel="Xorg-Server-&xorg-server-version;">
16 <?dbhtml filename="xorg-server.html"?>
[3f72a148]17
18 <sect1info>
[93f3de5]19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
[3f72a148]21 </sect1info>
22
23 <title>Xorg-Server-&xorg-server-version;</title>
24
[5faf7f7e]25 <indexterm zone="xorg-server">
[2f4014b]26 <primary sortas="a-xorg-server">xorg-server</primary>
[3f72a148]27 </indexterm>
28
[5e8be1c]29 <sect2 role="package">
[2f4014b]30 <title>Introduction to Xorg Server</title>
[5e8be1c]31
[2f4014b]32 <para>
33 The <application>Xorg</application> Server is the core
34 of the X Window system.
35 </para>
[5e8be1c]36
[c3c67b5b]37 &lfs76_checked;
[3b69a2aa]38
[5e8be1c]39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
[2f4014b]42 <para>
43 Download (HTTP): <ulink url="&xorg-server-download-http;"/>
44 </para>
[5e8be1c]45 </listitem>
46 <listitem>
[2f4014b]47 <para>
48 Download (FTP): <ulink url="&xorg-server-download-ftp;"/>
49 </para>
[5e8be1c]50 </listitem>
51 <listitem>
[2f4014b]52 <para>
53 Download MD5 sum: &xorg-server-md5sum;
54 </para>
[5e8be1c]55 </listitem>
56 <listitem>
[2f4014b]57 <para>
58 Download size: &xorg-server-size;
59 </para>
[5e8be1c]60 </listitem>
61 <listitem>
[2f4014b]62 <para>
63 Estimated disk space required: &xorg-server-buildsize;
64 </para>
[5e8be1c]65 </listitem>
66 <listitem>
[2f4014b]67 <para>
68 Estimated build time: &xorg-server-time;
69 </para>
[5e8be1c]70 </listitem>
71 </itemizedlist>
72
[52a90a3]73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact">
[8a999991]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>
[52a90a3]81 <listitem>
82 <para>
83 Optional patch:
[39cf62b]84 <ulink url="&patch-root;/xorg-server-&xorg-server-version;-add_prime_support-2.patch"/>
[52a90a3]85 </para>
86 </listitem>
87 </itemizedlist>
88
[5e8be1c]89 <bridgehead renderas="sect3">Xorg Server Dependencies</bridgehead>
90
91 <bridgehead renderas="sect4">Required</bridgehead>
[2f4014b]92 <para role="required">
[360311e]93 <xref linkend="openssl"/> or
94 <xref linkend="nettle"/> or
95 <xref linkend="libgcrypt"/>,
[2f4014b]96 <xref linkend="pixman"/>,
[534f7d7]97 <xref linkend="xorg7-font"/>, and
[2f4014b]98 <xref linkend="xkeyboard-config"/>
99 </para>
[5e8be1c]100
[02512b0]101 <bridgehead renderas="sect4">Recommended</bridgehead>
102 <para role="recommended">
[8a999991]103 <xref linkend="libepoxy"/> (for Glamor),
[bec12bc]104 <xref linkend="wayland"/> (both for <command>Xwayland</command>) and
[30b47c8]105 <xref linkend="systemd"/> (for Logind)
[02512b0]106 </para>
107
[b1e3537]108 <bridgehead renderas="sect4">Optional</bridgehead>
[2f4014b]109 <para>
[ecff6e58]110 <xref linkend="acpid"/> (runtime),
[2f4014b]111 <xref linkend="doxygen"/> (to build API documentation),
112 <xref linkend="fop"/>, (to build documentation),
[02512b0]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>
[2f4014b]116 </para>
[9ba5bd9]117
[5e8be1c]118 <para condition="html" role="usernotes">User Notes:
[2f4014b]119 <ulink url='&blfs-wiki;/Xorg7Server'/>
120 </para>
[5e8be1c]121 </sect2>
[10eeae12]122
[3f72a148]123 <sect2 role="installation">
124 <title>Installation of Xorg Server</title>
125
[8a999991]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
[52a90a3]133 <para>
134 If you have downloaded the optional patch, apply it by running
135 the following command:
136 </para>
137
[39cf62b]138<screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-add_prime_support-2.patch</userinput></screen>
[52a90a3]139
140 <para>
141 Install the server by running the following commands:
142 </para>
[3f72a148]143
[c3c67b5b]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 \
[fad8db2]146 --with-xkb-output=/var/lib/xkb \
147 --enable-dmx \
[02512b0]148 --enable-glamor \
[30b47c8]149 --enable-suid-wrapper &amp;&amp;
[3f72a148]150make</userinput></screen>
151
[2f4014b]152 <para>
153 To test the results, issue: <command>make check</command>.
154 </para>
[ad54ac8]155
[2f4014b]156 <para>
157 Now as the <systemitem class="username">root</systemitem>
158 user:
159 </para>
[3f72a148]160
[7c472863]161<screen role="root"><userinput>make install &amp;&amp;
[02512b0]162mkdir -pv /etc/X11/xorg.conf.d</userinput></screen>
[3f72a148]163
164 </sect2>
165
166 <sect2 role="commands">
167 <title>Command Explanations</title>
168
[c3c67b5b]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
[fad8db2]174 <para>
[02512b0]175 <parameter>--enable-dmx</parameter>: This switch enables building of the DMX
176 (Distributed Multihead X) server.
[fad8db2]177 </para>
178
[2f4014b]179 <para>
[8a999991]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).
[2f4014b]186 </para>
[468d7225]187
[145c513f]188 <para>
[30b47c8]189 <parameter>--enable-suid-wrapper</parameter>: This switch enables building of
[02512b0]190 the suid-root wrapper for legacy driver support on rootless xserver systems.
[fad8db2]191 </para>
192
[3f72a148]193 </sect2>
194
[7ab35da]195 <sect2 role="content">
196 <title>Contents</title>
197
198 <segmentedlist>
199 <segtitle>Installed Programs</segtitle>
[95e8211]200 <segtitle>Installed Libraries</segtitle>
[7ab35da]201 <segtitle>Installed Directories</segtitle>
202
203 <seglistitem>
[2f4014b]204 <seg>
205 cvt, dmxaddinput, dmxaddscreen, dmxinfo, dmxreconfig, dmxresize,
206 dmxrminput, dmxrmscreen, dmxtodmx, dmxwininfo, gtf, vdltodmx, X,
[02512b0]207 Xdmx, xdmxconfig, Xnest, Xorg, Xvfb, and Xwayland
[2f4014b]208 </seg>
[95e8211]209 <seg>
[02512b0]210 None
[95e8211]211 </seg>
[2f4014b]212 <seg>
213 $XORG_PREFIX/include/xorg,
214 $XORG_PREFIX/lib/xorg,
[534f7d7]215 $XORG_PREFIX/share/X11/xorg.conf.d, and
[2f4014b]216 /var/lib/xkb
217 </seg>
[7ab35da]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>
[2f4014b]229 <para>
230 calculates VESA CVT mode lines.
231 </para>
[5faf7f7e]232 <indexterm zone="xorg-server cvt-x7">
[7ab35da]233 <primary sortas="b-cvt">cvt</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
[7c472863]238 <varlistentry id="dmx-x7">
239 <term><command>dmx*</command></term>
240 <listitem>
[2f4014b]241 <para>
242 are various tools used for manipulating the dmx server.
243 </para>
[5faf7f7e]244 <indexterm zone="xorg-server dmx-x7">
[7c472863]245 <primary sortas="b-dmx">dmx*</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
[7ab35da]250 <varlistentry id="gtf-x7">
251 <term><command>gtf</command></term>
252 <listitem>
[2f4014b]253 <para>
254 calculates VESA GTF mode lines.
255 </para>
[5faf7f7e]256 <indexterm zone="xorg-server gtf-x7">
[7ab35da]257 <primary sortas="b-gtf">gtf</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
[7c472863]262 <varlistentry id="vdltodmx-x7">
263 <term><command>vdltodmx</command></term>
264 <listitem>
[2f4014b]265 <para>
266 is a tool used to convert VDL config files to DMX config
267 files.
268 </para>
[5faf7f7e]269 <indexterm zone="xorg-server vdltodmx-x7">
[7c472863]270 <primary sortas="b-vdltodmx">vdltodmx</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
[7ab35da]275 <varlistentry id="X-x7">
276 <term><command>X</command></term>
277 <listitem>
[2f4014b]278 <para>
279 is a symbolic link to Xorg.
280 </para>
[5faf7f7e]281 <indexterm zone="xorg-server X-x7">
[7ab35da]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>
[2f4014b]290 <para>
291 is a nested X server.
292 </para>
[5faf7f7e]293 <indexterm zone="xorg-server Xnest-x7">
[7ab35da]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>
[2f4014b]302 <para>
303 is the X11R7 X Server.
304 </para>
[5faf7f7e]305 <indexterm zone="xorg-server Xorg-x7">
[7ab35da]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>
[2f4014b]314 <para>
315 is the virtual framebuffer X server for X Version 11.
316 </para>
[5faf7f7e]317 <indexterm zone="xorg-server Xvfb-x7">
[7ab35da]318 <primary sortas="b-Xvfb">Xvfb</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
322
[7c472863]323 <varlistentry id="xdmxconfig-x7">
324 <term><command>xdmxconfig</command></term>
325 <listitem>
[2f4014b]326 <para>
327 is a graphical configuration utility for the dmx server.
328 </para>
[5faf7f7e]329 <indexterm zone="xorg-server xdmxconfig-x7">
[7c472863]330 <primary sortas="b-xdmxconfig">xdmxconfig</primary>
331 </indexterm>
332 </listitem>
333 </varlistentry>
334
[7ab35da]335 </variablelist>
336
337 </sect2>
338
[3f72a148]339</sect1>
Note: See TracBrowser for help on using the repository browser.