[3f72a148] | 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 "">
|
---|
[7be99f2c] | 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">
|
---|
[3f72a148] | 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>
|
---|
[7be99f2c] | 67 | <para role="required"><xref linkend="xorg7-font"/> and
|
---|
| 68 | <xref linkend="xorg7-lib"/></para>
|
---|
[3f72a148] | 69 |
|
---|
| 70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c23b62b] | 71 | <para role="optional"><xref linkend="mesalib"/> and
|
---|
[3f72a148] | 72 | <xref linkend="luit"/></para>
|
---|
| 73 |
|
---|
[10eeae12] | 74 | <para condition="html" role="usernotes">User Notes:
|
---|
| 75 | <ulink url='&blfs-wiki;/Xorg7Server'/></para>
|
---|
| 76 |
|
---|
[3f72a148] | 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 |
|
---|
[31a934e] | 87 | <!-- To be removed if/when proposed glibc patch is added to LFS SVN
|
---|
[c23b62b] | 88 | Leave in in for a couple of weeks with 'you may need' and a testcase
|
---|
[31a934e] | 89 | around it to save the support list silly questions. Should remove in
|
---|
[c23b62b] | 90 | a couple of weeks
|
---|
[31a934e] | 91 | <para>Recent <application>Glibc</application> may have a problem with its
|
---|
[c23b62b] | 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
|
---|
[31a934e] | 95 | modification if needed:</para>
|
---|
| 96 |
|
---|
| 97 | <screen><userinput>grep "__undef_LINUX" \
|
---|
| 98 | /usr/include/sys/kd.h 2>&1 > /dev/null || \
|
---|
| 99 | sed -i.bak '/CONFIG_H/i #include <linux/types.h>' \
|
---|
[6e37e84] | 100 | hw/xfree86/os-support/linux/lnx_agp.c</userinput></screen>
|
---|
[7be99f2c] | 101 | End remove -->
|
---|
[31a934e] | 102 |
|
---|
[3f72a148] | 103 | <para>Install the server by running the following commands:</para>
|
---|
| 104 |
|
---|
[7be99f2c] | 105 | <screen><userinput>sed -i \
|
---|
| 106 | 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/main@8' \
|
---|
| 107 | GL/glx/Makefile.in &&
|
---|
| 108 | sed -i \
|
---|
| 109 | 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/glapi@7' \
|
---|
| 110 | GL/glx/Makefile.in &&
|
---|
| 111 | ./configure $XORG_CONFIG \
|
---|
[3f72a148] | 112 | --with-mesa-source='<replaceable></path/to></replaceable>/Mesa-&mesalib-version;' \
|
---|
| 113 | --with-fontdir=$XORG_PREFIX/lib/X11/fonts \
|
---|
| 114 | --with-module-dir=$XORG_PREFIX/lib/X11/modules \
|
---|
[7be99f2c] | 115 | --with-dri-driver-path=$XORG_PREFIX/lib/X11/modules/dri \
|
---|
[3f72a148] | 116 | --enable-install-setuid &&
|
---|
| 117 | make</userinput></screen>
|
---|
| 118 |
|
---|
[ad54ac8] | 119 | <para>This package does not come with a test suite.</para>
|
---|
| 120 |
|
---|
[3f72a148] | 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 |
|
---|
[7be99f2c] | 131 | <para><command>sed -i '...' GL/glx/Makefile.in</command>: These commands
|
---|
[c23b62b] | 132 | correct the search path for the <application>Mesa</application> headers.
|
---|
[7be99f2c] | 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 |
|
---|
[3f72a148] | 136 | <para><parameter>--with-mesa-source=...</parameter>: This switch directs
|
---|
| 137 | the build system to the location of the <application>Mesa</application>
|
---|
[c23b62b] | 138 | source directory. If you wish to build without
|
---|
[3f72a148] | 139 | <application>Mesa</application>, omit this switch.</para>
|
---|
| 140 |
|
---|
[c23b62b] | 141 | <para><parameter>--with-module-dir=...</parameter>: This parameter
|
---|
[7be99f2c] | 142 | sets the destination for the installed modules.</para>
|
---|
| 143 |
|
---|
| 144 | <para><parameter>--with-dri-driver-path=...</parameter>: This is the
|
---|
[04c940c3] | 145 | location of the <application>Mesa</application> DRI drivers.</para>
|
---|
[7be99f2c] | 146 |
|
---|
[3f72a148] | 147 | <para><parameter>--enable-install-setuid</parameter>: The Xorg binary must
|
---|
[c23b62b] | 148 | run as the root user. This switch ensures that the binary is installed
|
---|
[04c940c3] | 149 | setuid when <command>make</command> is run by an unprivileged user.</para>
|
---|
[3f72a148] | 150 |
|
---|
[e257101] | 151 | <para><parameter>--disable-glx</parameter>: Disable building of the GLX
|
---|
[c23b62b] | 152 | extension. This parameter is required if building without
|
---|
[e257101] | 153 | <application>Mesa</application>.</para>
|
---|
| 154 |
|
---|
| 155 | <para><parameter>--disable-dri</parameter>: Disable building of the DRI
|
---|
[7be99f2c] | 156 | extension. This parameter is required if building without
|
---|
[e257101] | 157 | <application>Mesa</application>.</para>
|
---|
| 158 |
|
---|
| 159 | <para><parameter>--disable-xprint</parameter>: Disable building of
|
---|
[c23b62b] | 160 | the <application>Xprint</application> extension and server. This
|
---|
| 161 | parameter is required if building without
|
---|
[7be99f2c] | 162 | <application>Mesa</application>.</para>
|
---|
[e257101] | 163 |
|
---|
[3f72a148] | 164 | </sect2>
|
---|
| 165 |
|
---|
| 166 | </sect1>
|
---|