source: x/installing/x7server.xml@ e257101

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 e257101 was e257101, checked in by DJ Lucas <dj@…>, 18 years ago

xorg and xorg7 cleanup

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

  • Property mode set to 100644
File size: 4.7 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 <!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 "5cd3316f07ed32a05cbd69e73a71bc74">
10 <!ENTITY xorg-server-size "5.8 MB">
11 <!ENTITY xorg-server-buildsize "413 MB">
12 <!ENTITY xorg-server-time "5.96 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<!-- <keywordset>
23 <keyword role="package">X11R&xorg7-version;-src.tar</keyword>
24 <keyword role="ftpdir">Xorg7</keyword>
25 </keywordset>
26########## Need a way to fix this on the mirrors ##########
27##### Maybe a single tarball is the way to handle it ######
28-->
29
30
31 </sect1info>
32
33 <title>Xorg-Server-&xorg-server-version;</title>
34
35 <indexterm zone="xorg7-server">
36 <primary sortas="a-xorg7-server">Xorg Server</primary>
37 </indexterm>
38
39 <para>The <application>Xorg</application> Server is the core
40 of the X Window system.</para>
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>Download (HTTP): <ulink url="&xorg-server-download-http;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download (FTP): <ulink url="&xorg-server-download-ftp;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download MD5 sum: &xorg-server-md5sum;</para>
52 </listitem>
53 <listitem>
54 <para>Download size: &xorg-server-size;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated disk space required: &xorg-server-buildsize;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated build time: &xorg-server-time;</para>
61 </listitem>
62 </itemizedlist>
63
64 <bridgehead renderas="sect3">Xorg Server Dependencies</bridgehead>
65
66 <bridgehead renderas="sect4">Required</bridgehead>
67 <para role="required"><xref linkend="xorg7-font"/></para>
68
69 <bridgehead renderas="sect4">Optional</bridgehead>
70 <para><xref linkend="mesalib"/> and
71 <xref linkend="luit"/></para>
72
73 <sect2 role="installation">
74 <title>Installation of Xorg Server</title>
75
76 <note>
77 <para>If you intend to build with <application>Mesa</application>,
78 you must have the <application>Mesa</application> source
79 directory available when building the
80 <application>Xorg-server</application>.</para>
81 </note>
82
83 <para>A serious security vulnerability was recently discovered that will
84 allow a malicious user to execute code as the root user. Fix the
85 vulnerability with the following command:</para>
86
87<screen><userinput>sed -i 's/ntri &amp; sizeof/ntri * sizeof/' render/mitri.c</userinput></screen>
88
89 <para>Install the server by running the following commands:</para>
90
91<screen><userinput>./configure $XORG_CONFIG \
92 --with-mesa-source='<replaceable>&lt;/path/to&gt;</replaceable>/Mesa-&mesalib-version;' \
93 --with-fontdir=$XORG_PREFIX/lib/X11/fonts \
94 --with-module-dir=$XORG_PREFIX/lib/X11/modules \
95 --enable-install-setuid &amp;&amp;
96make</userinput></screen>
97
98 <para>Now as the <systemitem class="username">root</systemitem>
99 user:</para>
100
101<screen><userinput role="root">make install</userinput></screen>
102
103 </sect2>
104
105 <sect2 role="commands">
106 <title>Command Explanations</title>
107
108 <para><parameter>--with-mesa-source=...</parameter>: This switch directs
109 the build system to the location of the <application>Mesa</application>
110 source directory. If you wish to build without
111 <application>Mesa</application>, omit this switch.</para>
112
113 <para><parameter>--enable-install-setuid</parameter>: The Xorg binary must
114 run as the root user. This switch ensures that the binary is installed
115 setuid when the build is done by an unprivileged user.</para>
116
117 <para><parameter>--disable-glx</parameter>: Disable building of the GLX
118 extension. This is required if building without
119 <application>Mesa</application>.</para>
120
121 <para><parameter>--disable-dri</parameter>: Disable building of the DRI
122 extension. This is required if building without
123 <application>Mesa</application>.</para>
124
125 <para><parameter>--disable-xprint</parameter>: Disable building of
126 the <application>Xprint</application> extension and server. This is
127 required if building without <application>Mesa</application>.</para>
128
129 </sect2>
130
131</sect1>
Note: See TracBrowser for help on using the repository browser.