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