glfs/x/installing/xfree86/xfree86-intro.xml
Bruce Dubbs 848df76a6e Changing back what should'nt have been changed
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1830 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-02-20 06:09:07 +00:00

100 lines
4.6 KiB
XML

<sect2>
<title>Introduction to <application>XFree86</application></title>
<para><application>XFree86</application> is a freely redistributable open-source
implementation of the
<application>X</application> Window System. <application>XFree86</application> provides a client/server
interface between display
hardware (the mouse, keyboard, and video displays) and the desktop environment
while also providing both the windowing infrastructure and a standardized
application interface (<acronym>API</acronym>).</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink url="&xfree86-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink url="&xfree86-download-ftp;"/></para></listitem>
<listitem><para>Download size: &xfree86-size;</para></listitem>
<listitem><para>Estimated Disk space required: &xfree86-buildsize;</para></listitem>
<listitem><para>Estimated build time: &xfree86-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title><application>XFree86</application> dependencies</title>
<sect4><title>Required</title>
<para><xref linkend="libpng"/>.</para>
</sect4>
<sect4><title>Recommended</title>
<para>The following packages are included in the <application>XFree86</application> package,
however they
are updated more often than the <application>XFree86</application> package and are highly recommended:
<xref linkend="expat"/>, <xref linkend="freetype2"/> and <xref linkend="fontconfig"/></para>
<note><para>If you choose to not install these separate packages, the
<filename>host.def</filename> file below will have to be modified to
instruct <application>XFree86</application> build them.</para></note>
</sect4>
</sect3>
<sect3><title>Download Instructions</title>
<para>There are several files that need to be fetched from the download location:</para>
<itemizedlist spacing='compact'>
<listitem><para><filename>X430src-1.tgz</filename></para></listitem>
<listitem><para><filename>X430src-2.tgz</filename></para></listitem>
<listitem><para><filename>X430src-3.tgz</filename></para></listitem>
<listitem><para><filename>X430src-4.tgz</filename></para></listitem>
<listitem><para><filename>X430src-5.tgz</filename></para></listitem>
<listitem><para><filename>X430src-6.tgz</filename></para></listitem>
<listitem><para><filename>X430src-7.tgz</filename></para></listitem>
</itemizedlist>
<para>You should also download the patch files:</para>
<itemizedlist spacing='compact'>
<listitem><para>
<ulink url="ftp://ftp.xfree86.org/pub/XFree86/4.3.0/fixes/4.3.0-4.3.0.1.diff.gz" />
</para></listitem>
<listitem><para>
<ulink url="ftp://ftp.xfree86.org/pub/XFree86/4.3.0/fixes/fontfile.diff" />
</para></listitem>
</itemizedlist>
<para>The first three packages are the <application>XFree86</application> programs,
the fourth and fifth are fonts, the sixth is normal documentation, and the seventh
is hardcopy documentation. There are also two packages
<filename>doctools-1.3.1.tgz</filename>, which contain programs to regenerate hardcopy
documentation, and <filename>utils-1.1.0.tgz</filename>, which contain
<application><acronym>GNU</acronym> <acronym>TAR</acronym></application>
and <application>zlib</application> which are already installed on an
<acronym>LFS</acronym> system.</para>
<para>To check your downloads for integrity, download the <filename>SUMS.md5sum</filename>
file. Then:</para>
<screen><userinput><command>md5sum -c SUMS.md5sum</command></userinput></screen>
<para>The only errors you should see are for <filename>README</filename>,
<filename>doctools-1.3.1.tgz</filename>, and
<filename>utils-1.1.0.tgz</filename> files if you did not download them.</para>
<para>The fixes subdirectory also has a <filename>SUMS.md5sum</filename>. Note that
this is the same filename as the sums for the main sources, so you need to rename the
file if you download it. Otherwise, you can just look at it and use it to
check against the patch files:</para>
<screen><userinput><command>md5sum 4.3.0-4.3.0.1.diff.gz</command></userinput>
<userinput><command>md5sum fontfile.diff</command></userinput></screen>
<para>After unpacking the <filename>X430src-?.tgz</filename> files and uncompressing the
diff file, change to the <filename class="directory">xc</filename> directory and run:</para>
<screen><userinput><command>patch -Np1 -i ../4.3.0-4.3.0.1.diff</command></userinput>
<userinput><command>pushd lib/font/fontfile/</command></userinput>
<userinput><command>patch -N -i ../../../../fontfile.diff</command></userinput>
<userinput><command>popd</command></userinput></screen>
</sect3>
</sect2>