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 x7libs-download-http "http://xorg.freedesktop.org/releases/individual/lib/">
|
---|
8 | <!ENTITY x7libs-download-ftp "ftp://ftp.x.org/pub/individual/lib/">
|
---|
9 | <!ENTITY x7libs-md5sum "&sources-anduin-http;/x/files/md5sums">
|
---|
10 | <!ENTITY x7libs-size "12 MB">
|
---|
11 | <!ENTITY x7libs-buildsize "186 MB">
|
---|
12 | <!ENTITY x7libs-time "6.6 SBU">
|
---|
13 |
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="xorg7-lib" xreflabel="Xorg Libraries">
|
---|
17 | <?dbhtml filename="x7lib.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>Xorg Libraries</title>
|
---|
25 |
|
---|
26 | <indexterm zone="xorg7-lib">
|
---|
27 | <primary sortas="a-xorg7-lib">Xorg Libraries</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to Xorg Libraries</title>
|
---|
32 |
|
---|
33 | <para>The <application>Xorg</application> libraries provide library
|
---|
34 | routines that are used within all X Window applications.</para>
|
---|
35 |
|
---|
36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
37 | <itemizedlist spacing="compact">
|
---|
38 | <listitem>
|
---|
39 | <para>Download (HTTP): <ulink url="&x7libs-download-http;"/></para>
|
---|
40 | </listitem>
|
---|
41 | <listitem>
|
---|
42 | <para>Download (FTP): <ulink url="&x7libs-download-ftp;"/></para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>Download MD5 sum: <ulink url="&x7libs-md5sum;"/></para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>Download size: &x7libs-size;</para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Estimated disk space required: &x7libs-buildsize;</para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Estimated build time: &x7libs-time;</para>
|
---|
55 | </listitem>
|
---|
56 | </itemizedlist>
|
---|
57 |
|
---|
58 | <!-- Following three patches are security related and should be
|
---|
59 | fixed for Xorg-7.2 -->
|
---|
60 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
61 | <itemizedlist spacing="compact">
|
---|
62 | <listitem>
|
---|
63 | <para>Required patch: <ulink
|
---|
64 | url="&patch-root;/libX11-1.0.1-setuid-1.patch"/></para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>Required patch: <ulink
|
---|
68 | url="&patch-root;/xtrans-1.0.0-setuid-1.patch"/></para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>Required patch: <ulink
|
---|
72 | url="&patch-root;/libXfont-1.1.0-cidfonts-1.patch"/></para>
|
---|
73 | </listitem>
|
---|
74 | </itemizedlist>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect3">Xorg Libraries Dependencies</bridgehead>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
79 | <para role="required"><xref linkend="ed"/>,
|
---|
80 | <xref linkend="fontconfig"/>,
|
---|
81 | <xref linkend="pkgconfig"/>, and
|
---|
82 | <xref linkend="xorg7-proto"/></para>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
85 | <para role="optional"><xref linkend="linux-pam"/></para>
|
---|
86 |
|
---|
87 | <para condition="html" role="usernotes">User Notes:
|
---|
88 | <ulink url='&blfs-wiki;/Xorg7Libraries'/></para>
|
---|
89 |
|
---|
90 | </sect2>
|
---|
91 |
|
---|
92 | <sect2>
|
---|
93 | <title>Downloading Xorg Libraries</title>
|
---|
94 |
|
---|
95 | <para>To download the needed files using <application>wget</application>,
|
---|
96 | use the following commands:</para>
|
---|
97 |
|
---|
98 | <screen><userinput>wget &sources-anduin-ftp;/x/wget/lib-7.1.wget &&
|
---|
99 | mkdir lib &&
|
---|
100 | cd lib &&
|
---|
101 | wget -B http://xorg.freedesktop.org/releases/individual/lib/ \
|
---|
102 | -i ../lib-7.1.wget</userinput></screen>
|
---|
103 |
|
---|
104 | </sect2>
|
---|
105 |
|
---|
106 | <sect2 role="installation">
|
---|
107 | <title>Installation of Xorg Libraries</title>
|
---|
108 |
|
---|
109 | <para><ulink url='http://wiki.x.org/wiki/SecurityPage'>Security
|
---|
110 | vulnerabilities</ulink> have been identified in the libX11, xtrans
|
---|
111 | and libXfont packages. Before building these packages with the
|
---|
112 | commands shown below, be sure to apply the supplied patches.
|
---|
113 | For libX11, this can be accomplished with with the following
|
---|
114 | command:</para>
|
---|
115 |
|
---|
116 | <screen><userinput>patch -Np1 -i ../libX11-1.0.1-setuid-1.patch</userinput></screen>
|
---|
117 |
|
---|
118 | <para>For xtrans, the patch can be applied with the following
|
---|
119 | command:</para>
|
---|
120 |
|
---|
121 | <screen><userinput>patch -Np1 -i ../xtrans-1.0.0-setuid-1.patch</userinput></screen>
|
---|
122 |
|
---|
123 | <para>For libXfont, the patch can be applied with the following
|
---|
124 | command:</para>
|
---|
125 |
|
---|
126 | <screen><userinput>patch -Np1 -i ../libXfont-1.1.0-cidfonts-1.patch</userinput></screen>
|
---|
127 |
|
---|
128 | <para>Install the libraries by running the following commands for each
|
---|
129 | of the chosen packages:</para>
|
---|
130 |
|
---|
131 | <screen><userinput>./configure $XORG_CONFIG &&
|
---|
132 | make</userinput></screen>
|
---|
133 |
|
---|
134 | <para>These packages do not provide test suites.</para>
|
---|
135 |
|
---|
136 | <para>Now as the <systemitem class="username">root</systemitem>
|
---|
137 | user:</para>
|
---|
138 |
|
---|
139 | <screen role="root"><userinput>make install &&
|
---|
140 | ldconfig</userinput></screen>
|
---|
141 |
|
---|
142 | </sect2>
|
---|
143 |
|
---|
144 | <sect2 role="configuration">
|
---|
145 | <title>Configuration of Xorg Libraries</title>
|
---|
146 |
|
---|
147 | <para>If you've chosen to install <application>Xorg</application> into
|
---|
148 | <filename class="directory">/usr</filename>, then no further
|
---|
149 | configuration is necessary and you can skip the rest of this section.
|
---|
150 | If you've opted for an alternate prefix, you should create two symlinks
|
---|
151 | to satisfy the expected environment of several packages.
|
---|
152 | Execute the following commands as the root user:</para>
|
---|
153 |
|
---|
154 | <screen role="root"><userinput>ln -sv $XORG_PREFIX/lib/X11 /usr/lib/X11 &&
|
---|
155 | ln -sv $XORG_PREFIX/include/X11 /usr/include/X11</userinput></screen>
|
---|
156 |
|
---|
157 | </sect2>
|
---|
158 |
|
---|
159 | </sect1>
|
---|