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 "5.8 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 | <!-- <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 | </sect1info>
|
---|
31 |
|
---|
32 | <title>Xorg Libraries</title>
|
---|
33 |
|
---|
34 | <indexterm zone="xorg7-lib">
|
---|
35 | <primary sortas="a-xorg7-lib">Xorg Libraries</primary>
|
---|
36 | </indexterm>
|
---|
37 |
|
---|
38 | <para>The <application>Xorg</application> libraries provide library
|
---|
39 | routines that are used within all X Window applications.</para>
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>Download (HTTP): <ulink url="&x7libs-download-http;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download (FTP): <ulink url="&x7libs-download-ftp;"/></para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download MD5 sum: <ulink url="&x7libs-md5sum;"/></para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Download size: &x7libs-size;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated disk space required: &x7libs-buildsize;</para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>Estimated build time: &x7libs-time;</para>
|
---|
60 | </listitem>
|
---|
61 | </itemizedlist>
|
---|
62 |
|
---|
63 | <bridgehead renderas="sect3">Xorg Libraries Dependencies</bridgehead>
|
---|
64 |
|
---|
65 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
66 | <para role="required"><xref linkend="ed"/>,
|
---|
67 | <xref linkend="fontconfig"/>,
|
---|
68 | <xref linkend="libpng"/>,
|
---|
69 | <xref linkend="pkgconfig"/>, and
|
---|
70 | <xref linkend="xorg7-proto"/></para>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
73 | <para role="optional"><xref linkend="linux-pam"/></para>
|
---|
74 |
|
---|
75 | <sect2>
|
---|
76 | <title>Downloading Xorg Libraries</title>
|
---|
77 |
|
---|
78 | <para>To download the needed files using <application>wget</application>,
|
---|
79 | use the following commands:</para>
|
---|
80 |
|
---|
81 | <screen><userinput>wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/wget/lib.wget &&
|
---|
82 | mkdir lib &&
|
---|
83 | cd lib &&
|
---|
84 | wget -B http://xorg.freedesktop.org/releases/individual/lib/ -i ../lib.wget</userinput></screen>
|
---|
85 |
|
---|
86 | </sect2>
|
---|
87 |
|
---|
88 | <sect2>
|
---|
89 | <title>Meeting Library Dependencies</title>
|
---|
90 |
|
---|
91 | <para>These 17 libraries must be built first, in the order provided,
|
---|
92 | to cover the dependencies of the other library packages:</para>
|
---|
93 |
|
---|
94 | <screen>xtrans-1.0.0
|
---|
95 | libXau-1.0.0
|
---|
96 | libXdmcp-1.0.0
|
---|
97 | libX11-1.0.0
|
---|
98 | libXext-1.0.0
|
---|
99 | libICE-1.0.0
|
---|
100 | libSM-1.0.0
|
---|
101 | libXt-1.0.0
|
---|
102 | libXmu-1.0.0
|
---|
103 | libXpm-3.5.4.2
|
---|
104 | libXp-1.0.0
|
---|
105 | libXfixes-3.0.1.2
|
---|
106 | libXrender-0.9.0.2
|
---|
107 | libfontenc-1.0.1
|
---|
108 | libxkbfile-1.0.2
|
---|
109 | libXprintUtil-1.0.1
|
---|
110 | libXv-1.0.1</screen>
|
---|
111 |
|
---|
112 | </sect2>
|
---|
113 |
|
---|
114 | <sect2 role="installation">
|
---|
115 | <title>Installation of Xorg Libraries</title>
|
---|
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 &&
|
---|
121 | make</userinput></screen>
|
---|
122 |
|
---|
123 | <para>Now as the <systemitem class="username">root</systemitem>
|
---|
124 | user:</para>
|
---|
125 |
|
---|
126 | <screen><userinput role="root">make install &&
|
---|
127 | ldconfig</userinput></screen>
|
---|
128 |
|
---|
129 | </sect2>
|
---|
130 |
|
---|
131 | <sect2 role="configuration">
|
---|
132 | <title>Configuration of Xorg Libraries</title>
|
---|
133 |
|
---|
134 | <para>If you've chosen to install <application>Xorg</application> into
|
---|
135 | <filename class="directory">/usr</filename>, then no further
|
---|
136 | configuration is necessary and you can skip the rest of this section.
|
---|
137 | If you've opted for an alternate prefix, you should create two symlinks
|
---|
138 | to satisfy the expected environment of several packages.
|
---|
139 | Execute the following commands as the root user:</para>
|
---|
140 |
|
---|
141 | <screen role="root"><userinput>ln -sv $XORG_PREFIX/lib/X11 /usr/lib/X11 &&
|
---|
142 | ln -sv $XORG_PREFIX/include/X11 /usr/include/X11</userinput></screen>
|
---|
143 |
|
---|
144 | </sect2>
|
---|
145 |
|
---|
146 | </sect1>
|
---|
147 |
|
---|