source: x/installing/xorg-server.xml@ 5788617

11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 5788617 was 27bcf01, checked in by Pierre Labastie <pierre.labastie@…>, 2 years ago

Fix xorg-server for gcc-12

  • Property mode set to 100644
File size: 13.6 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
[72f9c9a1]7 <!ENTITY xorg-server-download-http "&xorg-download-http;/xserver/xorg-server-&xorg-server-version;.tar.xz">
8 <!ENTITY xorg-server-download-ftp "&xorg-download-ftp;/xserver/xorg-server-&xorg-server-version;.tar.xz">
[4e08bcca]9 <!ENTITY xorg-server-md5sum "66687cf9d5cd1fdaa9bf78fc2a154437">
[ab5ea1f1]10 <!ENTITY xorg-server-size "4.7 MB">
[e964150]11 <!ENTITY xorg-server-buildsize "175 MB (with tests)">
12 <!ENTITY xorg-server-time "0.3 SBU (using parallelism=4; with tests)">
[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 <date>$Date$</date>
[3f72a148]20 </sect1info>
21
22 <title>Xorg-Server-&xorg-server-version;</title>
23
[5faf7f7e]24 <indexterm zone="xorg-server">
[2f4014b]25 <primary sortas="a-xorg-server">xorg-server</primary>
[3f72a148]26 </indexterm>
27
[5e8be1c]28 <sect2 role="package">
[2f4014b]29 <title>Introduction to Xorg Server</title>
[5e8be1c]30
[2f4014b]31 <para>
32 The <application>Xorg</application> Server is the core
33 of the X Window system.
34 </para>
[5e8be1c]35
[f1a479c7]36 &lfs111_checked;
[3b69a2aa]37
[5e8be1c]38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
[2f4014b]41 <para>
42 Download (HTTP): <ulink url="&xorg-server-download-http;"/>
43 </para>
[5e8be1c]44 </listitem>
45 <listitem>
[2f4014b]46 <para>
47 Download (FTP): <ulink url="&xorg-server-download-ftp;"/>
48 </para>
[5e8be1c]49 </listitem>
50 <listitem>
[2f4014b]51 <para>
52 Download MD5 sum: &xorg-server-md5sum;
53 </para>
[5e8be1c]54 </listitem>
55 <listitem>
[2f4014b]56 <para>
57 Download size: &xorg-server-size;
58 </para>
[5e8be1c]59 </listitem>
60 <listitem>
[2f4014b]61 <para>
62 Estimated disk space required: &xorg-server-buildsize;
63 </para>
[5e8be1c]64 </listitem>
65 <listitem>
[2f4014b]66 <para>
67 Estimated build time: &xorg-server-time;
68 </para>
[5e8be1c]69 </listitem>
70 </itemizedlist>
[51dfb3e]71
[6039a39]72<!-- Prime support is now automatically added in DRI3, and this patch
73 may break things on some setups.
[52a90a3]74 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
75 <itemizedlist spacing="compact">
76 <listitem>
77 <para>
78 Optional patch:
79 <ulink url="&patch-root;/xorg-server-&xorg-server-version;-add_prime_support-1.patch"/>
80 </para>
81 </listitem>
[6039a39]82 </itemizedlist>-->
[52a90a3]83
[5e8be1c]84 <bridgehead renderas="sect3">Xorg Server Dependencies</bridgehead>
85
86 <bridgehead renderas="sect4">Required</bridgehead>
[2f4014b]87 <para role="required">
[ab5ea1f1]88 <xref linkend="libxcvt"/>,
89 <xref linkend="pixman"/>,
[9eac457]90 <xref linkend="xorg7-font"/> (only font-util), and at runtime:
[e71a98d9]91 <xref role="runtime" linkend="xkeyboard-config"/>
[2f4014b]92 </para>
[5e8be1c]93
[53a89e5]94 <bridgehead renderas="sect4">Recommended</bridgehead>
[51dfb3e]95 <para role="recommended">
[9eac457]96 <phrase revision="sysv"><xref linkend="elogind"/>,</phrase>
[623b3bc]97 <xref linkend="libepoxy"/> (needed for glamor),
98 <xref linkend="libtirpc"/>, and
[ab5ea1f1]99 <phrase revision="sysv"><xref role="runtime"
100 linkend="polkit"/> (runtime)</phrase>
101 <phrase revision="systemd"><xref linkend="systemd"/></phrase>
[597ac4bd]102 </para>
[53a89e5]103
[b1e3537]104 <bridgehead renderas="sect4">Optional</bridgehead>
[a7ec376]105 <para role="optional">
[e71a98d9]106 <xref role="runtime" linkend="acpid"/> (runtime),
[2f4014b]107 <xref linkend="doxygen"/> (to build API documentation),
[caec3e22]108 <xref linkend="fop"/> (to build documentation),
[751dd1e]109 <xref linkend="libunwind"/>,
[94b42903]110 <xref linkend="nettle"/>,
111 <xref linkend="libgcrypt"/>,
[f9387090]112 <xref linkend="xcb-util-keysyms"/>,
[9bff4bc]113 <xref linkend="xcb-util-image"/>,
114 <xref linkend="xcb-util-renderutil"/>,
[ab5ea1f1]115 <xref linkend="xcb-util-wm"/> (all four to build Xephyr),
[caec3e22]116 <xref linkend="xmlto"/> (to build documentation),
[c53fe5a7]117 <ulink url="https://gitlab.freedesktop.org/xorg/test/rendercheck">rendercheck</ulink> (for tests), and
[caec3e22]118 <ulink url="https://www.x.org/archive/individual/doc/">xorg-sgml-doctools</ulink> (to build documentation)
[2f4014b]119 </para>
[9ba5bd9]120
[5e8be1c]121 <para condition="html" role="usernotes">User Notes:
[2f4014b]122 <ulink url='&blfs-wiki;/Xorg7Server'/>
123 </para>
[5e8be1c]124 </sect2>
[10eeae12]125
[3f72a148]126 <sect2 role="installation">
127 <title>Installation of Xorg Server</title>
[6039a39]128<!-- Patch removed
[2717491]129 <para>
[8af694bb]130 If you have downloaded the optional patch, apply it by running the
[6dd40f9]131 following command:
[a2c6cd2]132 </para>
133
[6039a39]134<screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-add_prime_support-1.patch</userinput></screen>-->
[a2c6cd2]135
[27bcf01]136 <para>
137 Fix an issue with gcc-12 and later:
138 </para>
139
140<screen><userinput>sed -i '/(SourcePictPtr)/s/sizeof([^)]*)/sizeof(SourcePict)/' render/picture.c</userinput></screen>
141
[52a90a3]142 <para>
143 Install the server by running the following commands:
144 </para>
[3f72a148]145
[ab5ea1f1]146<screen><userinput>mkdir build &amp;&amp;
[c53fe5a7]147cd build &amp;&amp;
[ab5ea1f1]148
149meson --prefix=$XORG_PREFIX \
[f3b995a]150 --localstatedir=/var \
[ab5ea1f1]151 -Dsuid_wrapper=true \
152 -Dxkb_output_dir=/var/lib/xkb &amp;&amp;
153ninja</userinput></screen>
[597ac4bd]154
[2f4014b]155 <para>
[ab5ea1f1]156 To test the results, issue: <command>ninja test</command>. You
[f885719]157 will need to run <command>ldconfig</command> as the <systemitem
158 class="username">root</systemitem> user first or some tests may fail.
[2f4014b]159 </para>
[ad54ac8]160
[2f4014b]161 <para>
162 Now as the <systemitem class="username">root</systemitem>
163 user:
164 </para>
[3f72a148]165
[ab5ea1f1]166<screen role="root" revision="sysv"><userinput>ninja install &amp;&amp;
[2f4014b]167mkdir -pv /etc/X11/xorg.conf.d &amp;&amp;
[468d722]168cat &gt;&gt; /etc/sysconfig/createfiles &lt;&lt; "EOF"
[be9c663]169<literal>/tmp/.ICE-unix dir 1777 root root
170/tmp/.X11-unix dir 1777 root root</literal>
[468d722]171EOF</userinput></screen>
[3f72a148]172
[ab5ea1f1]173<screen role="root" revision="systemd"><userinput>ninja install &amp;&amp;
[597ac4bd]174mkdir -pv /etc/X11/xorg.conf.d</userinput></screen>
175
[3f72a148]176 </sect2>
177
178 <sect2 role="commands">
179 <title>Command Explanations</title>
[ab5ea1f1]180<!-- built by default now
[53a89e5]181 <para>
[ab5ea1f1]182 <parameter>- -enable-glamor</parameter>: Build the Glamor DIX (Device
[2b04d83]183 Independent X) module which is currently used by: R600 or later radeon
184 video chipsets, the modesetting driver (which is part of this package)
185 for hardware using KMS which offers acceleration, and (optionally) the
186 intel driver.
[53a89e5]187 </para>
[ab5ea1f1]188-->
[fad8db2]189 <para>
[ab5ea1f1]190 <parameter>-Dsuid_wrapper=true</parameter>: Builds the suid-root
[ec603a13]191 wrapper for legacy driver support on rootless xserver systems.
[fad8db2]192 </para>
[27373006]193
[51dfb3e]194 <para>
[ab5ea1f1]195 <option>-Dsystemd_logind=false</option>:
[27373006]196 This switch disables <phrase revision="systemd">systemd-logind</phrase>
[c53fe5a7]197 <phrase revision="sysv">elogind</phrase> integration, allowing Xorg Server
[27373006]198 to work without having the <phrase revision="systemd">systemd</phrase>
[51dfb3e]199 <phrase revision="elogind">elogind</phrase> PAM module configured.
[597ac4bd]200 </para>
[ab5ea1f1]201<!-- seems to be completely removed with meson build:
[27373006]202 <para>
[ab5ea1f1]203 <option>- -enable-install-setuid</option>:
[27373006]204 This switch restores the setuid bit to the Xorg executable allowing Xorg
205 Server to work with a virtual terminal designated on the
206 <command>startx</command> command line.
207 </para>
[ab5ea1f1]208-->
[597ac4bd]209 <para revision="sysv">
[2f4014b]210 <command>cat &gt;&gt; /etc/sysconfig/createfiles...</command>: This
211 command creates the <filename class="directory">/tmp/.ICE-unix</filename>
212 and <filename class="directory">/tmp/.X11-unix</filename> directories at
213 startup, and ensures that the permissions and ownership are correct as
214 required by the server.
215 </para>
[468d722]216
[9bff4bc]217 <para>
[c53fe5a7]218 <option>-Dxephyr=true</option>: This option allows building Xephyr if its
219 dependencies are met.
[9bff4bc]220 </para>
221
[3f72a148]222 </sect2>
223
[7ab35da]224 <sect2 role="content">
225 <title>Contents</title>
226
227 <segmentedlist>
228 <segtitle>Installed Programs</segtitle>
[95e8211]229 <segtitle>Installed Libraries</segtitle>
[7ab35da]230 <segtitle>Installed Directories</segtitle>
231
232 <seglistitem>
[2f4014b]233 <seg>
[ab5ea1f1]234 gtf, X, Xnest, Xorg, Xvfb, and optionally Xephyr
[2f4014b]235 </seg>
[95e8211]236 <seg>
[ab5ea1f1]237 several under $XORG_PREFIX/lib/xorg/modules/ including the
238 <filename class="libraryfile">modesetting_drv.so</filename>
239 driver
[95e8211]240 </seg>
[2f4014b]241 <seg>
[ab5ea1f1]242 /etc/X11/xorg.conf.d,
243 $XORG_PREFIX/include/xorg,
244 $XORG_PREFIX/lib/xorg, and
245 $XORG_PREFIX/share/X11/xorg.conf.d
[2f4014b]246 </seg>
[ab5ea1f1]247
[7ab35da]248 </seglistitem>
249 </segmentedlist>
250
251 <variablelist>
252 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
253 <?dbfo list-presentation="list"?>
254 <?dbhtml list-presentation="table"?>
[ab5ea1f1]255<!-- Now in libxcvt:
[7ab35da]256 <varlistentry id="cvt-x7">
257 <term><command>cvt</command></term>
258 <listitem>
[2f4014b]259 <para>
[4c24eb0a]260 calculates VESA CVT mode lines
[2f4014b]261 </para>
[5faf7f7e]262 <indexterm zone="xorg-server cvt-x7">
[7ab35da]263 <primary sortas="b-cvt">cvt</primary>
264 </indexterm>
265 </listitem>
266 </varlistentry>
[ab5ea1f1]267Removed in this release:
[7c472863]268 <varlistentry id="dmx-x7">
269 <term><command>dmx*</command></term>
270 <listitem>
[2f4014b]271 <para>
[4c24eb0a]272 are various tools used for manipulating the dmx server
[2f4014b]273 </para>
[5faf7f7e]274 <indexterm zone="xorg-server dmx-x7">
[7c472863]275 <primary sortas="b-dmx">dmx*</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
[ab5ea1f1]279-->
[7ab35da]280 <varlistentry id="gtf-x7">
281 <term><command>gtf</command></term>
282 <listitem>
[2f4014b]283 <para>
[4c24eb0a]284 calculates VESA GTF mode lines
[2f4014b]285 </para>
[5faf7f7e]286 <indexterm zone="xorg-server gtf-x7">
[7ab35da]287 <primary sortas="b-gtf">gtf</primary>
288 </indexterm>
289 </listitem>
290 </varlistentry>
[ab5ea1f1]291<!-- No dmx in this release
[7c472863]292 <varlistentry id="vdltodmx-x7">
293 <term><command>vdltodmx</command></term>
294 <listitem>
[2f4014b]295 <para>
296 is a tool used to convert VDL config files to DMX config
[4c24eb0a]297 files
[2f4014b]298 </para>
[5faf7f7e]299 <indexterm zone="xorg-server vdltodmx-x7">
[7c472863]300 <primary sortas="b-vdltodmx">vdltodmx</primary>
301 </indexterm>
302 </listitem>
303 </varlistentry>
[ab5ea1f1]304-->
[7ab35da]305 <varlistentry id="X-x7">
306 <term><command>X</command></term>
307 <listitem>
[2f4014b]308 <para>
[4c24eb0a]309 is a symbolic link to Xorg
[2f4014b]310 </para>
[5faf7f7e]311 <indexterm zone="xorg-server X-x7">
[7ab35da]312 <primary sortas="b-X">X</primary>
313 </indexterm>
314 </listitem>
315 </varlistentry>
[ab5ea1f1]316<!-- No dmx in this release
[6d772cc]317 <varlistentry id="Xdmx">
318 <term><command>Xdmx</command></term>
319 <listitem>
320 <para>
321 is a proxy X server that uses one or more other X servers as
[4c24eb0a]322 its display devices
[6d772cc]323 </para>
324 <indexterm zone="xorg-server Xdmx">
325 <primary sortas="b-Xdmx">Xdmx</primary>
326 </indexterm>
327 </listitem>
328 </varlistentry>
[ab5ea1f1]329-->
[9bff4bc]330 <varlistentry id="Xephyr-x7">
331 <term><command>Xephyr</command></term>
332 <listitem>
333 <para>
[4c24eb0a]334 is a nested X server which supports modern X extensions
[9bff4bc]335 </para>
336 <indexterm zone="xorg-server Xephyr-x7">
337 <primary sortas="b-Xephyr">Xephyr</primary>
338 </indexterm>
339 </listitem>
340 </varlistentry>
341
[7ab35da]342 <varlistentry id="Xnest-x7">
343 <term><command>Xnest</command></term>
344 <listitem>
[2f4014b]345 <para>
[4c24eb0a]346 is a nested X server
[2f4014b]347 </para>
[5faf7f7e]348 <indexterm zone="xorg-server Xnest-x7">
[7ab35da]349 <primary sortas="b-Xnest">Xnest</primary>
350 </indexterm>
351 </listitem>
352 </varlistentry>
353
354 <varlistentry id="Xorg-x7">
355 <term><command>Xorg</command></term>
356 <listitem>
[2f4014b]357 <para>
[4c24eb0a]358 is the X11R7 X Server
[2f4014b]359 </para>
[5faf7f7e]360 <indexterm zone="xorg-server Xorg-x7">
[7ab35da]361 <primary sortas="b-Xorg">Xorg</primary>
362 </indexterm>
363 </listitem>
364 </varlistentry>
365
366 <varlistentry id="Xvfb-x7">
367 <term><command>Xvfb</command></term>
368 <listitem>
[2f4014b]369 <para>
[4c24eb0a]370 is the virtual framebuffer X server for X Version 11
[2f4014b]371 </para>
[5faf7f7e]372 <indexterm zone="xorg-server Xvfb-x7">
[7ab35da]373 <primary sortas="b-Xvfb">Xvfb</primary>
374 </indexterm>
375 </listitem>
376 </varlistentry>
[ab5ea1f1]377<!-- No dmx in this release
[7c472863]378 <varlistentry id="xdmxconfig-x7">
379 <term><command>xdmxconfig</command></term>
380 <listitem>
[2f4014b]381 <para>
[4c24eb0a]382 is a graphical configuration utility for the dmx server
[2f4014b]383 </para>
[5faf7f7e]384 <indexterm zone="xorg-server xdmxconfig-x7">
[7c472863]385 <primary sortas="b-xdmxconfig">xdmxconfig</primary>
386 </indexterm>
387 </listitem>
388 </varlistentry>
[ab5ea1f1]389Xwayland has been separated to xwayland package
[facb5590]390 <varlistentry id="Xwayland-x7">
391 <term><command>Xwayland</command></term>
392 <listitem>
393 <para>
394 allows the X server to run X clients under wayland (i.e. wayland
395 provides the input devices and handles the presentation of the
[4c24eb0a]396 windows)
[facb5590]397 </para>
398 <indexterm zone="xorg-server Xwayland-x7">
399 <primary sortas="b-Xwayland">Xwayland</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
[ab5ea1f1]403-->
[9bff4bc]404 <varlistentry id="modesetting_drv-x7">
405 <term><filename class="libraryfile">modesetting_drv.so</filename></term>
406 <listitem>
407 <para>
408 provides a video driver for machines using Kernel Mode Setting (KMS).
409 This will use glamor if that has been enabled and the hardware offers
[4c24eb0a]410 acceleration
[9bff4bc]411 </para>
412 <indexterm zone="xorg-server modesetting_drv-x7">
413 <primary sortas="c-modesetting_drv">modesetting_drv.so</primary>
414 </indexterm>
415 </listitem>
416 </varlistentry>
417
[7ab35da]418 </variablelist>
419
420 </sect2>
421
[3f72a148]422</sect1>
Note: See TracBrowser for help on using the repository browser.