source: x/installing/x7server.xml@ c23b62b

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 c23b62b was c23b62b, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Added missing role attributes to Xorg7 packages dependencies.

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

  • Property mode set to 100644
File size: 6.3 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 "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<!-- <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"/> and
68 <xref linkend="xorg7-lib"/></para>
69
70 <bridgehead renderas="sect4">Optional</bridgehead>
71 <para role="optional"><xref linkend="mesalib"/> and
72 <xref linkend="luit"/></para>
73
74 <para condition="html" role="usernotes">User Notes:
75 <ulink url='&blfs-wiki;/Xorg7Server'/></para>
76
77 <sect2 role="installation">
78 <title>Installation of Xorg Server</title>
79
80 <note>
81 <para>If you intend to build with <application>Mesa</application>,
82 you must have the <application>Mesa</application> source
83 directory available when building the
84 <application>Xorg-server</application>.</para>
85 </note>
86
87<!-- To be removed if/when proposed glibc patch is added to LFS SVN
88 Leave in in for a couple of weeks with 'you may need' and a testcase
89 around it to save the support list silly questions. Should remove in
90 a couple of weeks
91 <para>Recent <application>Glibc</application> may have a problem with its
92 installed <filename>sys/kd.h</filename> file. This has recently been
93 fixed in LFS SVN. Execute the following commands to work around a
94 broken <filename>kd.h</filename> file. The commands will only make the
95 modification if needed:</para>
96
97<screen><userinput>grep "__undef_LINUX" \
98 /usr/include/sys/kd.h 2&gt;&amp;1 &gt; /dev/null || \
99 sed -i.bak '/CONFIG_H/i #include &lt;linux/types.h&gt;' \
100 hw/xfree86/os-support/linux/lnx_agp.c</userinput></screen>
101 End remove -->
102
103 <para>Install the server by running the following commands:</para>
104
105<screen><userinput>sed -i \
106 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/main@8' \
107 GL/glx/Makefile.in &amp;&amp;
108sed -i \
109 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/glapi@7' \
110 GL/glx/Makefile.in &amp;&amp;
111./configure $XORG_CONFIG \
112 --with-mesa-source='<replaceable>&lt;/path/to&gt;</replaceable>/Mesa-&mesalib-version;' \
113 --with-fontdir=$XORG_PREFIX/lib/X11/fonts \
114 --with-module-dir=$XORG_PREFIX/lib/X11/modules \
115 --with-dri-driver-path=$XORG_PREFIX/lib/X11/modules/dri \
116 --enable-install-setuid &amp;&amp;
117make</userinput></screen>
118
119 <para>This package does not come with a test suite.</para>
120
121 <para>Now as the <systemitem class="username">root</systemitem>
122 user:</para>
123
124<screen><userinput role="root">make install</userinput></screen>
125
126 </sect2>
127
128 <sect2 role="commands">
129 <title>Command Explanations</title>
130
131 <para><command>sed -i '...' GL/glx/Makefile.in</command>: These commands
132 correct the search path for the <application>Mesa</application> headers.
133 The 8th and 7th instance of '-I$(top_builddir)' in the existing search
134 search path are replaced with <application>Mesa</application> paths.</para>
135
136 <para><parameter>--with-mesa-source=...</parameter>: This switch directs
137 the build system to the location of the <application>Mesa</application>
138 source directory. If you wish to build without
139 <application>Mesa</application>, omit this switch.</para>
140
141 <para><parameter>--with-module-dir=...</parameter>: This parameter
142 sets the destination for the installed modules.</para>
143
144 <para><parameter>--with-dri-driver-path=...</parameter>: This is the
145 location of the <application>Mesa</application> DRI drivers.</para>
146
147 <para><parameter>--enable-install-setuid</parameter>: The Xorg binary must
148 run as the root user. This switch ensures that the binary is installed
149 setuid when <command>make</command> is run by an unprivileged user.</para>
150
151 <para><parameter>--disable-glx</parameter>: Disable building of the GLX
152 extension. This parameter is required if building without
153 <application>Mesa</application>.</para>
154
155 <para><parameter>--disable-dri</parameter>: Disable building of the DRI
156 extension. This parameter is required if building without
157 <application>Mesa</application>.</para>
158
159 <para><parameter>--disable-xprint</parameter>: Disable building of
160 the <application>Xprint</application> extension and server. This
161 parameter is required if building without
162 <application>Mesa</application>.</para>
163
164 </sect2>
165
166</sect1>
Note: See TracBrowser for help on using the repository browser.