source: x/installing/x7proto.xml@ a8ece039

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 a8ece039 was 5f26d66f, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

LFS-7.4 tags after building Xorg

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

  • Property mode set to 100644
File size: 10.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY x7proto-download-http "http://xorg.freedesktop.org/releases/individual/proto/">
8 <!ENTITY x7proto-download-ftp "ftp://ftp.x.org/pub/individual/proto/">
9 <!ENTITY x7proto-size "3.0 MB">
10 <!ENTITY x7proto-buildsize "25 MB">
11 <!ENTITY x7proto-time "0.8 SBU">
12
13 <!ENTITY bigreqsproto-version "1.1.2">
14 <!ENTITY bigreqsproto-md5sum "1a05fb01fa1d5198894c931cf925c025">
15
16 <!ENTITY compositeproto-version "0.4.2">
17 <!ENTITY compositeproto-md5sum "98482f65ba1e74a08bf5b056a4031ef0">
18
19 <!ENTITY damageproto-version "1.2.1">
20 <!ENTITY damageproto-md5sum "998e5904764b82642cc63d97b4ba9e95">
21
22 <!ENTITY dmxproto-version "2.3.1">
23 <!ENTITY dmxproto-md5sum "4ee175bbd44d05c34d43bb129be5098a">
24
25 <!ENTITY dri2proto-version "2.8">
26 <!ENTITY dri2proto-md5sum "b2721d5d24c04d9980a0c6540cb5396a">
27
28 <!ENTITY fixesproto-version "5.0">
29 <!ENTITY fixesproto-md5sum "e7431ab84d37b2678af71e29355e101d">
30
31 <!ENTITY fontsproto-version "2.1.2">
32 <!ENTITY fontsproto-md5sum "c5f4f1fb4ba7766eedbc9489e81f3be2">
33
34 <!ENTITY glproto-version "1.4.16">
35 <!ENTITY glproto-md5sum "3847963c1b88fd04a030b932b0aece07">
36
37 <!ENTITY inputproto-version "2.3">
38 <!ENTITY inputproto-md5sum "94db391e60044e140c9854203d080654">
39
40 <!ENTITY kbproto-version "1.0.6">
41 <!ENTITY kbproto-md5sum "677ea8523eec6caca86121ad2dca0b71">
42
43 <!ENTITY randrproto-version "1.4.0">
44 <!ENTITY randrproto-md5sum "ce4d0b05675968e4c83e003cc809660d">
45
46 <!ENTITY recordproto-version "1.14.2">
47 <!ENTITY recordproto-md5sum "1b4e5dede5ea51906f1530ca1e21d216">
48
49 <!ENTITY renderproto-version "0.11.1">
50 <!ENTITY renderproto-md5sum "a914ccc1de66ddeb4b611c6b0686e274">
51
52 <!ENTITY resourceproto-version "1.2.0">
53 <!ENTITY resourceproto-md5sum "cfdb57dae221b71b2703f8e2980eaaf4">
54
55 <!ENTITY scrnsaverproto-version "1.2.2">
56 <!ENTITY scrnsaverproto-md5sum "edd8a73775e8ece1d69515dd17767bfb">
57
58 <!ENTITY videoproto-version "2.3.2">
59 <!ENTITY videoproto-md5sum "e658641595327d3990eab70fdb55ca8b">
60
61 <!ENTITY xcmiscproto-version "1.2.2">
62 <!ENTITY xcmiscproto-md5sum "5f4847c78e41b801982c8a5e06365b24">
63
64 <!ENTITY xextproto-version "7.2.1">
65 <!ENTITY xextproto-md5sum "eaac343af094e6b608cf15cfba0f77c5">
66
67 <!ENTITY xf86bigfontproto-version "1.2.0">
68 <!ENTITY xf86bigfontproto-md5sum "120e226ede5a4687b25dd357cc9b8efe">
69
70 <!ENTITY xf86dgaproto-version "2.1">
71 <!ENTITY xf86dgaproto-md5sum "a036dc2fcbf052ec10621fd48b68dbb1">
72
73 <!ENTITY xf86driproto-version "2.1.1">
74 <!ENTITY xf86driproto-md5sum "1d716d0dac3b664e5ee20c69d34bc10e">
75
76 <!ENTITY xf86vidmodeproto-version "2.3.1">
77 <!ENTITY xf86vidmodeproto-md5sum "e793ecefeaecfeabd1aed6a01095174e">
78
79 <!ENTITY xineramaproto-version "1.2.1">
80 <!ENTITY xineramaproto-md5sum "9959fe0bfb22a0e7260433b8d199590a">
81
82 <!ENTITY xproto-version "7.0.24">
83 <!ENTITY xproto-md5sum "9c0203c3bee4bac432ec504dc45712ed">
84
85]>
86
87<sect1 id="xorg7-proto" xreflabel="Xorg Protocol Headers">
88 <?dbhtml filename="x7proto.html"?>
89
90 <sect1info>
91 <othername>$LastChangedBy$</othername>
92 <date>$Date$</date>
93 </sect1info>
94
95 <title>Xorg Protocol Headers</title>
96
97 <indexterm zone="xorg7-proto">
98 <primary sortas="a-xorg7-proto">Xorg Protocol Headers</primary>
99 </indexterm>
100
101 <sect2 role="package">
102 <title>Introduction to Xorg Protocol Headers</title>
103
104 <para>The <application>Xorg</application> protocol headers provide the
105 header files required to build the system, and to allow other
106 applications to build against the installed X Window system.</para>
107
108 &lfs74_checked;
109
110 <bridgehead renderas="sect3">Package Information</bridgehead>
111 <itemizedlist spacing="compact">
112 <listitem>
113 <para>Download (HTTP): <ulink url="&x7proto-download-http;"/></para>
114 </listitem>
115 <listitem>
116 <para>Download (FTP): <ulink url="&x7proto-download-ftp;"/></para>
117 </listitem>
118 <listitem>
119 <para>Download size: &x7proto-size;</para>
120 </listitem>
121 <listitem>
122 <para>Estimated disk space required: &x7proto-buildsize;</para>
123 </listitem>
124 <listitem>
125 <para>Estimated build time: &x7proto-time;</para>
126 </listitem>
127 </itemizedlist>
128
129 <bridgehead renderas="sect3">Xorg Protocol Headers Dependencies</bridgehead>
130
131 <bridgehead renderas="sect4">Required</bridgehead>
132 <para role="required"> <xref linkend="util-macros"/></para>
133
134 <bridgehead renderas="sect4">Recommended</bridgehead>
135 <para role="required"> <xref linkend="sudo"/> and
136 <xref linkend="wget"/></para>
137
138 <bridgehead renderas="sect4">Optional</bridgehead>
139 <para role="optional"><xref linkend="fop"/>, <xref linkend="xmlto"/> and
140 <ulink url="http://www.methods.co.nz/asciidoc/">AsciiDoc</ulink> (to build
141 additional documentation)</para>
142
143 <note><para>There is a reciprocal dependency with <xref linkend="fop"/>. If
144 you wish to build the documentation, you'll need to re-install the
145 Protocol Headers after the installation is complete and
146 <xref linkend="fop"/> has been installed.</para></note>
147
148 <para condition="html" role="usernotes">User Notes:
149 <ulink url='&blfs-wiki;/Xorg7ProtocolHeaders'/></para>
150
151 </sect2>
152
153 <sect2>
154 <title>Downloading Xorg Protocol Headers</title>
155
156 <para>First, create a list of files to be downloaded. This file will also
157 be used to verify the integrity of the downloads when complete:</para>
158
159<screen><userinput>cat &gt; proto-&xorg-version;.md5 &lt;&lt; "EOF"
160&bigreqsproto-md5sum; bigreqsproto-&bigreqsproto-version;.tar.bz2
161&compositeproto-md5sum; compositeproto-&compositeproto-version;.tar.bz2
162&damageproto-md5sum; damageproto-&damageproto-version;.tar.bz2
163&dmxproto-md5sum; dmxproto-&dmxproto-version;.tar.bz2
164&dri2proto-md5sum; dri2proto-&dri2proto-version;.tar.bz2
165&fixesproto-md5sum; fixesproto-&fixesproto-version;.tar.bz2
166&fontsproto-md5sum; fontsproto-&fontsproto-version;.tar.bz2
167&glproto-md5sum; glproto-&glproto-version;.tar.bz2
168&inputproto-md5sum; inputproto-&inputproto-version;.tar.bz2
169&kbproto-md5sum; kbproto-&kbproto-version;.tar.bz2
170&randrproto-md5sum; randrproto-&randrproto-version;.tar.bz2
171&recordproto-md5sum; recordproto-&recordproto-version;.tar.bz2
172&renderproto-md5sum; renderproto-&renderproto-version;.tar.bz2
173&resourceproto-md5sum; resourceproto-&resourceproto-version;.tar.bz2
174&scrnsaverproto-md5sum; scrnsaverproto-&scrnsaverproto-version;.tar.bz2
175&videoproto-md5sum; videoproto-&videoproto-version;.tar.bz2
176&xcmiscproto-md5sum; xcmiscproto-&xcmiscproto-version;.tar.bz2
177&xextproto-md5sum; xextproto-&xextproto-version;.tar.bz2
178&xf86bigfontproto-md5sum; xf86bigfontproto-&xf86bigfontproto-version;.tar.bz2
179&xf86dgaproto-md5sum; xf86dgaproto-&xf86dgaproto-version;.tar.bz2
180&xf86driproto-md5sum; xf86driproto-&xf86driproto-version;.tar.bz2
181&xf86vidmodeproto-md5sum; xf86vidmodeproto-&xf86vidmodeproto-version;.tar.bz2
182&xineramaproto-md5sum; xineramaproto-&xineramaproto-version;.tar.bz2
183&xproto-md5sum; xproto-&xproto-version;.tar.bz2
184EOF</userinput></screen>
185
186 <para>To download the needed files using <application>wget</application>,
187 use the following commands:</para>
188
189<screen><userinput>mkdir proto &amp;&amp;
190cd proto &amp;&amp;
191grep -v '^#' ../proto-&xorg-version;.md5 | awk '{print $2}' | wget -i- -c \
192 -B http://xorg.freedesktop.org/releases/individual/proto/ &amp;&amp;
193md5sum -c ../proto-&xorg-version;.md5</userinput></screen>
194
195 </sect2>
196
197 <sect2 role="installation">
198 <title>Installation of Xorg Protocol Headers</title>
199
200 &as_root;
201
202 <para>First, start a subshell that will exit on error:</para>
203
204<screen><userinput>bash -e</userinput></screen>
205
206 <para>Install all of the applications by running the following
207 commands:</para>
208
209<screen><userinput>for package in $(grep -v '^#' ../proto-&xorg-version;.md5 | awk '{print $2}')
210do
211 packagedir=${package%.tar.bz2}
212 tar -xf $package
213 pushd $packagedir
214 ./configure $XORG_CONFIG
215 as_root make install
216 popd
217 rm -r $packagedir
218done</userinput></screen>
219
220 <para>Finally, exit the shell that was started earlier:</para>
221
222<screen><userinput>exit</userinput></screen>
223
224 </sect2>
225
226 <sect2 role="commands">
227 <title>Command Explanations</title>
228
229 <para><command>bash -e</command>: This command starts a subshell that will
230 exit if any command returns a value other than 0, causing the for loop to
231 exit immediately if an error occurs. This also eliminates the need for the
232 <command>&amp;&amp;</command> construct used elsewhere in the book.</para>
233
234 </sect2>
235
236 <sect2 role="content">
237 <title>Contents</title>
238
239 <segmentedlist>
240 <segtitle>Installed Programs</segtitle>
241 <segtitle>Installed Libraries</segtitle>
242 <segtitle>Installed Directories</segtitle>
243
244 <seglistitem>
245 <seg>None</seg>
246 <seg>None</seg>
247 <seg>
248 <envar>$XORG_PREFIX</envar>/include/GL,
249 <envar>$XORG_PREFIX</envar>/include/X11,
250 <envar>$XORG_PREFIX</envar>/share/doc/bigreqsproto,
251 <envar>$XORG_PREFIX</envar>/share/doc/compositeproto,
252 <envar>$XORG_PREFIX</envar>/share/doc/damageproto,
253 <envar>$XORG_PREFIX</envar>/share/doc/dri2proto,
254 <envar>$XORG_PREFIX</envar>/share/doc/fixesproto,
255 <envar>$XORG_PREFIX</envar>/share/doc/fontsproto,
256 <envar>$XORG_PREFIX</envar>/share/doc/kbproto,
257 <envar>$XORG_PREFIX</envar>/share/doc/randrproto,
258 <envar>$XORG_PREFIX</envar>/share/doc/recordproto,
259 <envar>$XORG_PREFIX</envar>/share/doc/renderproto,
260 <envar>$XORG_PREFIX</envar>/share/doc/resourceproto,
261 <envar>$XORG_PREFIX</envar>/share/doc/scrnsaverproto,
262 <envar>$XORG_PREFIX</envar>/share/doc/videoproto,
263 <envar>$XORG_PREFIX</envar>/share/doc/xcmiscproto,
264 <envar>$XORG_PREFIX</envar>/share/doc/xextproto and
265 <envar>$XORG_PREFIX</envar>/share/doc/xproto
266 </seg>
267 </seglistitem>
268 </segmentedlist>
269
270 </sect2>
271
272</sect1>
Note: See TracBrowser for help on using the repository browser.