2006-05-05 15:01:37 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
<!ENTITY x7libs-download-http "http://xorg.freedesktop.org/releases/individual/lib/">
|
2007-01-19 13:06:26 +08:00
|
|
|
<!ENTITY x7libs-download-ftp "ftp://ftp.x.org/pub/individual/lib/">
|
2007-01-24 02:22:14 +08:00
|
|
|
<!ENTITY x7libs-md5sum "&files-anduin;/xorg/md5sums">
|
2006-05-05 15:01:37 +08:00
|
|
|
<!ENTITY x7libs-size "12 MB">
|
|
|
|
<!ENTITY x7libs-buildsize "186 MB">
|
2006-05-25 14:52:00 +08:00
|
|
|
<!ENTITY x7libs-time "6.6 SBU">
|
2006-05-05 15:01:37 +08:00
|
|
|
|
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="xorg7-lib" xreflabel="Xorg Libraries">
|
|
|
|
<?dbhtml filename="x7lib.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
2007-01-18 20:14:27 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2006-05-05 15:01:37 +08:00
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Xorg Libraries</title>
|
|
|
|
|
|
|
|
<indexterm zone="xorg7-lib">
|
|
|
|
<primary sortas="a-xorg7-lib">Xorg Libraries</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
2006-08-15 21:20:49 +08:00
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Xorg Libraries</title>
|
|
|
|
|
|
|
|
<para>The <application>Xorg</application> libraries provide library
|
|
|
|
routines that are used within all X Window applications.</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&x7libs-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&x7libs-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: <ulink url="&x7libs-md5sum;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &x7libs-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &x7libs-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &x7libs-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2007-01-24 03:00:33 +08:00
|
|
|
<!-- Following patch is security related and has been
|
2006-08-15 21:20:49 +08:00
|
|
|
fixed for Xorg-7.2 -->
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
2006-10-12 11:28:43 +08:00
|
|
|
<listitem>
|
|
|
|
<para>Required patch: <ulink
|
|
|
|
url="&patch-root;/libXfont-1.1.0-cidfonts-1.patch"/></para>
|
|
|
|
</listitem>
|
2006-08-15 21:20:49 +08:00
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Xorg Libraries Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required"><xref linkend="ed"/>,
|
|
|
|
<xref linkend="fontconfig"/>,
|
|
|
|
<xref linkend="pkgconfig"/>, and
|
|
|
|
<xref linkend="xorg7-proto"/></para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional"><xref linkend="linux-pam"/></para>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url='&blfs-wiki;/Xorg7Libraries'/></para>
|
|
|
|
|
|
|
|
</sect2>
|
2006-05-15 13:51:34 +08:00
|
|
|
|
2006-05-05 15:01:37 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Downloading Xorg Libraries</title>
|
|
|
|
|
|
|
|
<para>To download the needed files using <application>wget</application>,
|
|
|
|
use the following commands:</para>
|
|
|
|
|
2007-01-24 02:22:14 +08:00
|
|
|
<screen><userinput>wget &files-anduin;/xorg/lib-7.1.wget &&
|
2006-05-05 15:01:37 +08:00
|
|
|
mkdir lib &&
|
|
|
|
cd lib &&
|
2007-01-17 20:57:47 +08:00
|
|
|
wget -B http://xorg.freedesktop.org/releases/individual/lib/ \
|
|
|
|
-i ../lib-7.1.wget</userinput></screen>
|
2006-05-05 15:01:37 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Xorg Libraries</title>
|
|
|
|
|
2006-10-12 11:28:43 +08:00
|
|
|
<para><ulink url='http://wiki.x.org/wiki/SecurityPage'>Security
|
2007-01-24 03:00:33 +08:00
|
|
|
vulnerabilities</ulink> have been identified in the libXfont package.
|
|
|
|
Before building this package with the commands shown below, be sure
|
|
|
|
to apply the supplied patches. This can be accomplished with with the
|
|
|
|
following command:</para>
|
2006-10-12 11:28:43 +08:00
|
|
|
|
|
|
|
<screen><userinput>patch -Np1 -i ../libXfont-1.1.0-cidfonts-1.patch</userinput></screen>
|
|
|
|
|
2006-05-05 15:01:37 +08:00
|
|
|
<para>Install the libraries by running the following commands for each
|
|
|
|
of the chosen packages:</para>
|
|
|
|
|
|
|
|
<screen><userinput>./configure $XORG_CONFIG &&
|
|
|
|
make</userinput></screen>
|
|
|
|
|
2006-05-18 12:10:49 +08:00
|
|
|
<para>These packages do not provide test suites.</para>
|
|
|
|
|
2006-05-05 15:01:37 +08:00
|
|
|
<para>Now as the <systemitem class="username">root</systemitem>
|
|
|
|
user:</para>
|
|
|
|
|
2006-08-15 21:20:49 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
2006-05-05 15:01:37 +08:00
|
|
|
ldconfig</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="configuration">
|
|
|
|
<title>Configuration of Xorg Libraries</title>
|
|
|
|
|
|
|
|
<para>If you've chosen to install <application>Xorg</application> into
|
|
|
|
<filename class="directory">/usr</filename>, then no further
|
|
|
|
configuration is necessary and you can skip the rest of this section.
|
|
|
|
If you've opted for an alternate prefix, you should create two symlinks
|
|
|
|
to satisfy the expected environment of several packages.
|
|
|
|
Execute the following commands as the root user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>ln -sv $XORG_PREFIX/lib/X11 /usr/lib/X11 &&
|
|
|
|
ln -sv $XORG_PREFIX/include/X11 /usr/include/X11</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|