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.2">
|
---|
38 | <!ENTITY inputproto-md5sum "13c8aedaf98a92e282b7e456c0a5bed9">
|
---|
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.1">
|
---|
59 | <!ENTITY videoproto-md5sum "c3b348c6e2031b72b11ae63fc7f805c2">
|
---|
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.23">
|
---|
83 | <!ENTITY xproto-md5sum "d4d241a4849167e4e694fe73371c328c">
|
---|
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 | &lfs72_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"/> and <xref linkend="xmlto"/>
|
---|
140 | (to build additional documentation)</para>
|
---|
141 |
|
---|
142 | <note><para>There is a reciprocal dependency with <xref linkend="fop"/>. If
|
---|
143 | you wish to build the documentation, you'll need to re-install the
|
---|
144 | Protocol Headers after the installation is complete and
|
---|
145 | <xref linkend="fop"/> has been installed.</para></note>
|
---|
146 |
|
---|
147 | <para condition="html" role="usernotes">User Notes:
|
---|
148 | <ulink url='&blfs-wiki;/Xorg7ProtocolHeaders'/></para>
|
---|
149 |
|
---|
150 | </sect2>
|
---|
151 |
|
---|
152 | <sect2>
|
---|
153 | <title>Downloading Xorg Protocol Headers</title>
|
---|
154 |
|
---|
155 | <para>First, create a list of files to be downloaded. This file will also
|
---|
156 | be used to verify the integrity of the downloads when complete:</para>
|
---|
157 |
|
---|
158 | <screen><userinput>cat > proto-&xorg-version;.md5 << "EOF"
|
---|
159 | &bigreqsproto-md5sum; bigreqsproto-&bigreqsproto-version;.tar.bz2
|
---|
160 | &compositeproto-md5sum; compositeproto-&compositeproto-version;.tar.bz2
|
---|
161 | &damageproto-md5sum; damageproto-&damageproto-version;.tar.bz2
|
---|
162 | &dmxproto-md5sum; dmxproto-&dmxproto-version;.tar.bz2
|
---|
163 | &dri2proto-md5sum; dri2proto-&dri2proto-version;.tar.bz2
|
---|
164 | &fixesproto-md5sum; fixesproto-&fixesproto-version;.tar.bz2
|
---|
165 | &fontsproto-md5sum; fontsproto-&fontsproto-version;.tar.bz2
|
---|
166 | &glproto-md5sum; glproto-&glproto-version;.tar.bz2
|
---|
167 | &inputproto-md5sum; inputproto-&inputproto-version;.tar.bz2
|
---|
168 | &kbproto-md5sum; kbproto-&kbproto-version;.tar.bz2
|
---|
169 | &randrproto-md5sum; randrproto-&randrproto-version;.tar.bz2
|
---|
170 | &recordproto-md5sum; recordproto-&recordproto-version;.tar.bz2
|
---|
171 | &renderproto-md5sum; renderproto-&renderproto-version;.tar.bz2
|
---|
172 | &resourceproto-md5sum; resourceproto-&resourceproto-version;.tar.bz2
|
---|
173 | &scrnsaverproto-md5sum; scrnsaverproto-&scrnsaverproto-version;.tar.bz2
|
---|
174 | &videoproto-md5sum; videoproto-&videoproto-version;.tar.bz2
|
---|
175 | &xcmiscproto-md5sum; xcmiscproto-&xcmiscproto-version;.tar.bz2
|
---|
176 | &xextproto-md5sum; xextproto-&xextproto-version;.tar.bz2
|
---|
177 | &xf86bigfontproto-md5sum; xf86bigfontproto-&xf86bigfontproto-version;.tar.bz2
|
---|
178 | &xf86dgaproto-md5sum; xf86dgaproto-&xf86dgaproto-version;.tar.bz2
|
---|
179 | &xf86driproto-md5sum; xf86driproto-&xf86driproto-version;.tar.bz2
|
---|
180 | &xf86vidmodeproto-md5sum; xf86vidmodeproto-&xf86vidmodeproto-version;.tar.bz2
|
---|
181 | &xineramaproto-md5sum; xineramaproto-&xineramaproto-version;.tar.bz2
|
---|
182 | &xproto-md5sum; xproto-&xproto-version;.tar.bz2
|
---|
183 | EOF</userinput></screen>
|
---|
184 |
|
---|
185 | <para>To download the needed files using <application>wget</application>,
|
---|
186 | use the following commands:</para>
|
---|
187 |
|
---|
188 | <screen><userinput>mkdir proto &&
|
---|
189 | cd proto &&
|
---|
190 | grep -v '^#' ../proto-&xorg-version;.md5 | awk '{print $2}' | wget -i- -c \
|
---|
191 | -B http://xorg.freedesktop.org/releases/individual/proto/ &&
|
---|
192 | md5sum -c ../proto-&xorg-version;.md5</userinput></screen>
|
---|
193 |
|
---|
194 | </sect2>
|
---|
195 |
|
---|
196 | <sect2 role="installation">
|
---|
197 | <title>Installation of Xorg Protocol Headers</title>
|
---|
198 |
|
---|
199 | &as_root;
|
---|
200 |
|
---|
201 | <para>First, start a subshell that will exit on error:</para>
|
---|
202 |
|
---|
203 | <screen><userinput>bash -e</userinput></screen>
|
---|
204 |
|
---|
205 | <para>Install all of the applications by running the following
|
---|
206 | commands:</para>
|
---|
207 |
|
---|
208 | <screen><userinput>for package in $(grep -v '^#' ../proto-&xorg-version;.md5 | awk '{print $2}')
|
---|
209 | do
|
---|
210 | packagedir=${package%.tar.bz2}
|
---|
211 | tar -xf $package
|
---|
212 | pushd $packagedir
|
---|
213 | ./configure $XORG_CONFIG
|
---|
214 | as_root make install
|
---|
215 | popd
|
---|
216 | rm -r $packagedir
|
---|
217 | done</userinput></screen>
|
---|
218 |
|
---|
219 | <para>Finally, exit the shell that was started earlier:</para>
|
---|
220 |
|
---|
221 | <screen><userinput>exit</userinput></screen>
|
---|
222 |
|
---|
223 | </sect2>
|
---|
224 |
|
---|
225 | <sect2 role="commands">
|
---|
226 | <title>Command Explanations</title>
|
---|
227 |
|
---|
228 | <para><command>bash -e</command>: This command starts a subshell that will
|
---|
229 | exit if any command returns a value other than 0, causing the for loop to
|
---|
230 | exit immediately if an error occurs. This also eliminates the need for the
|
---|
231 | <command>&&</command> construct used elsewhere in the book.</para>
|
---|
232 |
|
---|
233 | </sect2>
|
---|
234 |
|
---|
235 | <sect2 role="content">
|
---|
236 | <title>Contents</title>
|
---|
237 |
|
---|
238 | <segmentedlist>
|
---|
239 | <segtitle>Installed Directories</segtitle>
|
---|
240 |
|
---|
241 | <seglistitem>
|
---|
242 | <seg>
|
---|
243 | <envar>$XORG_PREFIX</envar>/include/GL,
|
---|
244 | <envar>$XORG_PREFIX</envar>/include/X11,
|
---|
245 | <envar>$XORG_PREFIX</envar>/lib/pkgconfig,
|
---|
246 | <envar>$XORG_PREFIX</envar>/share/doc/bigreqsproto,
|
---|
247 | <envar>$XORG_PREFIX</envar>/share/doc/compositeproto,
|
---|
248 | <envar>$XORG_PREFIX</envar>/share/doc/damageproto,
|
---|
249 | <envar>$XORG_PREFIX</envar>/share/doc/dri2proto,
|
---|
250 | <envar>$XORG_PREFIX</envar>/share/doc/fixesproto,
|
---|
251 | <envar>$XORG_PREFIX</envar>/share/doc/fontsproto,
|
---|
252 | <envar>$XORG_PREFIX</envar>/share/doc/inputproto,
|
---|
253 | <envar>$XORG_PREFIX</envar>/share/doc/kbproto,
|
---|
254 | <envar>$XORG_PREFIX</envar>/share/doc/randrproto,
|
---|
255 | <envar>$XORG_PREFIX</envar>/share/doc/recordproto,
|
---|
256 | <envar>$XORG_PREFIX</envar>/share/doc/renderproto,
|
---|
257 | <envar>$XORG_PREFIX</envar>/share/doc/resourceproto,
|
---|
258 | <envar>$XORG_PREFIX</envar>/share/doc/scrnsaverproto,
|
---|
259 | <envar>$XORG_PREFIX</envar>/share/doc/videoproto,
|
---|
260 | <envar>$XORG_PREFIX</envar>/share/doc/xcmiscproto,
|
---|
261 | <envar>$XORG_PREFIX</envar>/share/doc/xextproto and
|
---|
262 | <envar>$XORG_PREFIX</envar>/share/doc/xproto
|
---|
263 | </seg>
|
---|
264 | </seglistitem>
|
---|
265 | </segmentedlist>
|
---|
266 |
|
---|
267 | </sect2>
|
---|
268 |
|
---|
269 | </sect1>
|
---|