source: x/installing/x7lib.xml@ 0de99b2

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

XML tags fixes on Xorg7 pages.

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

  • Property mode set to 100644
File size: 5.1 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 x7libs-download-http "http://xorg.freedesktop.org/releases/individual/lib/">
8 <!ENTITY x7libs-download-ftp " ">
9 <!ENTITY x7libs-md5sum "http://anduin.linuxfromscratch.org/sources/BLFS/svn/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: dj $</othername>
21 <date>$Date: 2006-04-15 23:04:51 -0500 (Sat, 15 Apr 2006) $</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 two 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 </itemizedlist>
71
72 <bridgehead renderas="sect3">Xorg Libraries Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required"><xref linkend="ed"/>,
76 <xref linkend="fontconfig"/>,
77 <xref linkend="pkgconfig"/>, and
78 <xref linkend="xorg7-proto"/></para>
79
80 <bridgehead renderas="sect4">Optional</bridgehead>
81 <para role="optional"><xref linkend="linux-pam"/></para>
82
83 <para condition="html" role="usernotes">User Notes:
84 <ulink url='&blfs-wiki;/Xorg7Libraries'/></para>
85
86 </sect2>
87
88 <sect2>
89 <title>Downloading Xorg Libraries</title>
90
91 <para>To download the needed files using <application>wget</application>,
92 use the following commands:</para>
93
94<screen><userinput>wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/wget/lib-7.1.wget &amp;&amp;
95mkdir lib &amp;&amp;
96cd lib &amp;&amp;
97wget -B http://xorg.freedesktop.org/releases/individual/lib/ -i ../lib-7.1.wget</userinput></screen>
98
99 </sect2>
100
101 <sect2 role="installation">
102 <title>Installation of Xorg Libraries</title>
103
104 <para>A <ulink url='http://wiki.x.org/wiki/SecurityPage'>security
105 vulnerability</ulink> has been identified in the libX11 and xtrans
106 packages. Before building these packages with the commands shown below,
107 be sure to apply the supplied patches. For libX11, this can be
108 accomplished with with the following command:</para>
109
110<screen><userinput>patch -Np1 -i ../libX11-1.0.1-setuid-1.patch</userinput></screen>
111
112 <para>For xtrans, the patch can be applied with the following
113 command:</para>
114
115<screen><userinput>patch -Np1 -i ../xtrans-1.0.0-setuid-1.patch</userinput></screen>
116
117 <para>Install the libraries by running the following commands for each
118 of the chosen packages:</para>
119
120<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
121make</userinput></screen>
122
123 <para>These packages do not provide test suites.</para>
124
125 <para>Now as the <systemitem class="username">root</systemitem>
126 user:</para>
127
128<screen role="root"><userinput>make install &amp;&amp;
129ldconfig</userinput></screen>
130
131 </sect2>
132
133 <sect2 role="configuration">
134 <title>Configuration of Xorg Libraries</title>
135
136 <para>If you've chosen to install <application>Xorg</application> into
137 <filename class="directory">/usr</filename>, then no further
138 configuration is necessary and you can skip the rest of this section.
139 If you've opted for an alternate prefix, you should create two symlinks
140 to satisfy the expected environment of several packages.
141 Execute the following commands as the root user:</para>
142
143<screen role="root"><userinput>ln -sv $XORG_PREFIX/lib/X11 /usr/lib/X11 &amp;&amp;
144ln -sv $XORG_PREFIX/include/X11 /usr/include/X11</userinput></screen>
145
146 </sect2>
147
148</sect1>
Note: See TracBrowser for help on using the repository browser.