2006-05-05 15:01:37 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2006-05-05 15:01:37 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
<!ENTITY x7proto-download-http "http://xorg.freedesktop.org/releases/individual/proto/">
|
2007-01-19 13:06:26 +08:00
|
|
|
<!ENTITY x7proto-download-ftp "ftp://ftp.x.org/pub/individual/proto/">
|
2011-12-06 17:26:39 +08:00
|
|
|
<!ENTITY x7proto-size "3.0 MB">
|
2012-12-31 06:17:40 +08:00
|
|
|
<!ENTITY x7proto-buildsize "25 MB">
|
2012-06-12 10:16:18 +08:00
|
|
|
<!ENTITY x7proto-time "0.8 SBU">
|
2006-05-05 15:01:37 +08:00
|
|
|
|
2012-07-30 04:09:42 +08:00
|
|
|
<!ENTITY bigreqsproto-version "1.1.2">
|
|
|
|
<!ENTITY bigreqsproto-md5sum "1a05fb01fa1d5198894c931cf925c025">
|
|
|
|
|
|
|
|
<!ENTITY compositeproto-version "0.4.2">
|
|
|
|
<!ENTITY compositeproto-md5sum "98482f65ba1e74a08bf5b056a4031ef0">
|
|
|
|
|
|
|
|
<!ENTITY damageproto-version "1.2.1">
|
|
|
|
<!ENTITY damageproto-md5sum "998e5904764b82642cc63d97b4ba9e95">
|
|
|
|
|
|
|
|
<!ENTITY dmxproto-version "2.3.1">
|
|
|
|
<!ENTITY dmxproto-md5sum "4ee175bbd44d05c34d43bb129be5098a">
|
|
|
|
|
2012-12-31 06:17:40 +08:00
|
|
|
<!ENTITY dri2proto-version "2.8">
|
|
|
|
<!ENTITY dri2proto-md5sum "b2721d5d24c04d9980a0c6540cb5396a">
|
2012-07-30 04:09:42 +08:00
|
|
|
|
|
|
|
<!ENTITY fixesproto-version "5.0">
|
|
|
|
<!ENTITY fixesproto-md5sum "e7431ab84d37b2678af71e29355e101d">
|
|
|
|
|
|
|
|
<!ENTITY fontsproto-version "2.1.2">
|
|
|
|
<!ENTITY fontsproto-md5sum "c5f4f1fb4ba7766eedbc9489e81f3be2">
|
|
|
|
|
2012-12-31 06:17:40 +08:00
|
|
|
<!ENTITY glproto-version "1.4.16">
|
|
|
|
<!ENTITY glproto-md5sum "3847963c1b88fd04a030b932b0aece07">
|
2012-07-30 04:09:42 +08:00
|
|
|
|
2013-03-10 23:39:49 +08:00
|
|
|
<!ENTITY inputproto-version "2.3">
|
|
|
|
<!ENTITY inputproto-md5sum "94db391e60044e140c9854203d080654">
|
2012-07-30 04:09:42 +08:00
|
|
|
|
|
|
|
<!ENTITY kbproto-version "1.0.6">
|
|
|
|
<!ENTITY kbproto-md5sum "677ea8523eec6caca86121ad2dca0b71">
|
|
|
|
|
2012-12-31 06:17:40 +08:00
|
|
|
<!ENTITY randrproto-version "1.4.0">
|
|
|
|
<!ENTITY randrproto-md5sum "ce4d0b05675968e4c83e003cc809660d">
|
2012-07-30 04:09:42 +08:00
|
|
|
|
|
|
|
<!ENTITY recordproto-version "1.14.2">
|
|
|
|
<!ENTITY recordproto-md5sum "1b4e5dede5ea51906f1530ca1e21d216">
|
|
|
|
|
|
|
|
<!ENTITY renderproto-version "0.11.1">
|
|
|
|
<!ENTITY renderproto-md5sum "a914ccc1de66ddeb4b611c6b0686e274">
|
|
|
|
|
|
|
|
<!ENTITY resourceproto-version "1.2.0">
|
|
|
|
<!ENTITY resourceproto-md5sum "cfdb57dae221b71b2703f8e2980eaaf4">
|
|
|
|
|
|
|
|
<!ENTITY scrnsaverproto-version "1.2.2">
|
|
|
|
<!ENTITY scrnsaverproto-md5sum "edd8a73775e8ece1d69515dd17767bfb">
|
|
|
|
|
2013-07-31 00:18:52 +08:00
|
|
|
<!ENTITY videoproto-version "2.3.2">
|
|
|
|
<!ENTITY videoproto-md5sum "e658641595327d3990eab70fdb55ca8b">
|
2012-07-30 04:09:42 +08:00
|
|
|
|
|
|
|
<!ENTITY xcmiscproto-version "1.2.2">
|
|
|
|
<!ENTITY xcmiscproto-md5sum "5f4847c78e41b801982c8a5e06365b24">
|
|
|
|
|
|
|
|
<!ENTITY xextproto-version "7.2.1">
|
|
|
|
<!ENTITY xextproto-md5sum "eaac343af094e6b608cf15cfba0f77c5">
|
|
|
|
|
|
|
|
<!ENTITY xf86bigfontproto-version "1.2.0">
|
|
|
|
<!ENTITY xf86bigfontproto-md5sum "120e226ede5a4687b25dd357cc9b8efe">
|
|
|
|
|
|
|
|
<!ENTITY xf86dgaproto-version "2.1">
|
|
|
|
<!ENTITY xf86dgaproto-md5sum "a036dc2fcbf052ec10621fd48b68dbb1">
|
|
|
|
|
|
|
|
<!ENTITY xf86driproto-version "2.1.1">
|
|
|
|
<!ENTITY xf86driproto-md5sum "1d716d0dac3b664e5ee20c69d34bc10e">
|
|
|
|
|
|
|
|
<!ENTITY xf86vidmodeproto-version "2.3.1">
|
|
|
|
<!ENTITY xf86vidmodeproto-md5sum "e793ecefeaecfeabd1aed6a01095174e">
|
|
|
|
|
|
|
|
<!ENTITY xineramaproto-version "1.2.1">
|
|
|
|
<!ENTITY xineramaproto-md5sum "9959fe0bfb22a0e7260433b8d199590a">
|
|
|
|
|
2013-06-06 02:10:15 +08:00
|
|
|
<!ENTITY xproto-version "7.0.24">
|
|
|
|
<!ENTITY xproto-md5sum "9c0203c3bee4bac432ec504dc45712ed">
|
2012-07-30 04:09:42 +08:00
|
|
|
|
2006-05-05 15:01:37 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="xorg7-proto" xreflabel="Xorg Protocol Headers">
|
|
|
|
<?dbhtml filename="x7proto.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
2007-01-18 20:14:27 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2006-05-05 15:01:37 +08:00
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Xorg Protocol Headers</title>
|
|
|
|
|
|
|
|
<indexterm zone="xorg7-proto">
|
|
|
|
<primary sortas="a-xorg7-proto">Xorg Protocol Headers</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
2006-08-15 21:20:49 +08:00
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Xorg Protocol Headers</title>
|
|
|
|
|
|
|
|
<para>The <application>Xorg</application> protocol headers provide the
|
|
|
|
header files required to build the system, and to allow other
|
|
|
|
applications to build against the installed X Window system.</para>
|
|
|
|
|
2013-08-19 05:52:29 +08:00
|
|
|
&lfs74_checked;
|
2010-01-26 11:53:56 +08:00
|
|
|
|
2006-08-15 21:20:49 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&x7proto-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&x7proto-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &x7proto-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &x7proto-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &x7proto-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2011-01-24 05:07:50 +08:00
|
|
|
<bridgehead renderas="sect3">Xorg Protocol Headers Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2011-03-08 11:58:40 +08:00
|
|
|
<para role="required"> <xref linkend="util-macros"/></para>
|
2011-01-24 05:07:50 +08:00
|
|
|
|
2012-07-30 04:09:42 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="required"> <xref linkend="sudo"/> and
|
|
|
|
<xref linkend="wget"/></para>
|
|
|
|
|
2011-01-24 05:07:50 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2013-06-06 02:10:15 +08:00
|
|
|
<para role="optional"><xref linkend="fop"/>, <xref linkend="xmlto"/> and
|
|
|
|
<ulink url="http://www.methods.co.nz/asciidoc/">AsciiDoc</ulink> (to build
|
|
|
|
additional documentation)</para>
|
2011-01-24 05:07:50 +08:00
|
|
|
|
|
|
|
<note><para>There is a reciprocal dependency with <xref linkend="fop"/>. If
|
2013-02-12 02:51:17 +08:00
|
|
|
you wish to build the documentation, you'll need to re-install the
|
2011-01-24 05:07:50 +08:00
|
|
|
Protocol Headers after the installation is complete and
|
|
|
|
<xref linkend="fop"/> has been installed.</para></note>
|
|
|
|
|
2006-08-15 21:20:49 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url='&blfs-wiki;/Xorg7ProtocolHeaders'/></para>
|
|
|
|
|
|
|
|
</sect2>
|
2006-05-15 13:51:34 +08:00
|
|
|
|
2006-05-05 15:01:37 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Downloading Xorg Protocol Headers</title>
|
|
|
|
|
2012-07-30 04:09:42 +08:00
|
|
|
<para>First, create a list of files to be downloaded. This file will also
|
|
|
|
be used to verify the integrity of the downloads when complete:</para>
|
|
|
|
|
|
|
|
<screen><userinput>cat > proto-&xorg-version;.md5 << "EOF"
|
2013-08-31 20:56:08 +08:00
|
|
|
<literal>&bigreqsproto-md5sum; bigreqsproto-&bigreqsproto-version;.tar.bz2
|
2012-07-30 04:09:42 +08:00
|
|
|
&compositeproto-md5sum; compositeproto-&compositeproto-version;.tar.bz2
|
|
|
|
&damageproto-md5sum; damageproto-&damageproto-version;.tar.bz2
|
|
|
|
&dmxproto-md5sum; dmxproto-&dmxproto-version;.tar.bz2
|
|
|
|
&dri2proto-md5sum; dri2proto-&dri2proto-version;.tar.bz2
|
|
|
|
&fixesproto-md5sum; fixesproto-&fixesproto-version;.tar.bz2
|
|
|
|
&fontsproto-md5sum; fontsproto-&fontsproto-version;.tar.bz2
|
|
|
|
&glproto-md5sum; glproto-&glproto-version;.tar.bz2
|
|
|
|
&inputproto-md5sum; inputproto-&inputproto-version;.tar.bz2
|
|
|
|
&kbproto-md5sum; kbproto-&kbproto-version;.tar.bz2
|
|
|
|
&randrproto-md5sum; randrproto-&randrproto-version;.tar.bz2
|
|
|
|
&recordproto-md5sum; recordproto-&recordproto-version;.tar.bz2
|
|
|
|
&renderproto-md5sum; renderproto-&renderproto-version;.tar.bz2
|
|
|
|
&resourceproto-md5sum; resourceproto-&resourceproto-version;.tar.bz2
|
|
|
|
&scrnsaverproto-md5sum; scrnsaverproto-&scrnsaverproto-version;.tar.bz2
|
|
|
|
&videoproto-md5sum; videoproto-&videoproto-version;.tar.bz2
|
|
|
|
&xcmiscproto-md5sum; xcmiscproto-&xcmiscproto-version;.tar.bz2
|
|
|
|
&xextproto-md5sum; xextproto-&xextproto-version;.tar.bz2
|
|
|
|
&xf86bigfontproto-md5sum; xf86bigfontproto-&xf86bigfontproto-version;.tar.bz2
|
|
|
|
&xf86dgaproto-md5sum; xf86dgaproto-&xf86dgaproto-version;.tar.bz2
|
|
|
|
&xf86driproto-md5sum; xf86driproto-&xf86driproto-version;.tar.bz2
|
|
|
|
&xf86vidmodeproto-md5sum; xf86vidmodeproto-&xf86vidmodeproto-version;.tar.bz2
|
|
|
|
&xineramaproto-md5sum; xineramaproto-&xineramaproto-version;.tar.bz2
|
2013-08-31 20:56:08 +08:00
|
|
|
&xproto-md5sum; xproto-&xproto-version;.tar.bz2</literal>
|
2012-07-30 04:09:42 +08:00
|
|
|
EOF</userinput></screen>
|
|
|
|
|
2006-05-05 15:01:37 +08:00
|
|
|
<para>To download the needed files using <application>wget</application>,
|
|
|
|
use the following commands:</para>
|
|
|
|
|
2007-07-22 00:36:31 +08:00
|
|
|
<screen><userinput>mkdir proto &&
|
2006-05-05 15:01:37 +08:00
|
|
|
cd proto &&
|
2012-07-30 04:09:42 +08:00
|
|
|
grep -v '^#' ../proto-&xorg-version;.md5 | awk '{print $2}' | wget -i- -c \
|
2007-07-22 00:36:34 +08:00
|
|
|
-B http://xorg.freedesktop.org/releases/individual/proto/ &&
|
2012-07-30 04:09:42 +08:00
|
|
|
md5sum -c ../proto-&xorg-version;.md5</userinput></screen>
|
2006-05-05 15:01:37 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Xorg Protocol Headers</title>
|
|
|
|
|
2012-07-30 11:02:54 +08:00
|
|
|
&as_root;
|
|
|
|
|
2012-07-30 04:09:42 +08:00
|
|
|
<para>First, start a subshell that will exit on error:</para>
|
2006-05-05 15:01:37 +08:00
|
|
|
|
2012-07-30 04:09:42 +08:00
|
|
|
<screen><userinput>bash -e</userinput></screen>
|
2006-05-05 15:01:37 +08:00
|
|
|
|
2013-08-31 20:56:08 +08:00
|
|
|
<para>Install all of the packages by running the following
|
2012-07-30 04:09:42 +08:00
|
|
|
commands:</para>
|
|
|
|
|
|
|
|
<screen><userinput>for package in $(grep -v '^#' ../proto-&xorg-version;.md5 | awk '{print $2}')
|
|
|
|
do
|
|
|
|
packagedir=${package%.tar.bz2}
|
|
|
|
tar -xf $package
|
2012-07-30 11:02:54 +08:00
|
|
|
pushd $packagedir
|
2012-07-30 04:09:42 +08:00
|
|
|
./configure $XORG_CONFIG
|
2012-10-11 05:35:16 +08:00
|
|
|
as_root make install
|
2012-07-30 11:02:54 +08:00
|
|
|
popd
|
2013-09-03 05:11:10 +08:00
|
|
|
rm -rf $packagedir
|
2012-07-30 04:09:42 +08:00
|
|
|
done</userinput></screen>
|
|
|
|
|
|
|
|
<para>Finally, exit the shell that was started earlier:</para>
|
|
|
|
|
|
|
|
<screen><userinput>exit</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
2006-05-18 12:10:49 +08:00
|
|
|
|
2012-07-30 04:09:42 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
2006-05-05 15:01:37 +08:00
|
|
|
|
2012-07-30 11:02:54 +08:00
|
|
|
<para><command>bash -e</command>: This command starts a subshell that will
|
2012-07-30 04:09:42 +08:00
|
|
|
exit if any command returns a value other than 0, causing the for loop to
|
|
|
|
exit immediately if an error occurs. This also eliminates the need for the
|
|
|
|
<command>&&</command> construct used elsewhere in the book.</para>
|
2006-05-05 15:01:37 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2007-02-04 04:59:18 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
2013-06-06 02:10:15 +08:00
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
2007-02-07 00:35:47 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
2007-02-04 04:59:18 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
2013-06-06 02:10:15 +08:00
|
|
|
<seg>None</seg>
|
|
|
|
<seg>None</seg>
|
2012-12-31 06:17:40 +08:00
|
|
|
<seg>
|
|
|
|
<envar>$XORG_PREFIX</envar>/include/GL,
|
|
|
|
<envar>$XORG_PREFIX</envar>/include/X11,
|
|
|
|
<envar>$XORG_PREFIX</envar>/share/doc/bigreqsproto,
|
|
|
|
<envar>$XORG_PREFIX</envar>/share/doc/compositeproto,
|
|
|
|
<envar>$XORG_PREFIX</envar>/share/doc/damageproto,
|
|
|
|
<envar>$XORG_PREFIX</envar>/share/doc/dri2proto,
|
|
|
|
<envar>$XORG_PREFIX</envar>/share/doc/fixesproto,
|
|
|
|
<envar>$XORG_PREFIX</envar>/share/doc/fontsproto,
|
|
|
|
<envar>$XORG_PREFIX</envar>/share/doc/kbproto,
|
|
|
|
<envar>$XORG_PREFIX</envar>/share/doc/randrproto,
|
|
|
|
<envar>$XORG_PREFIX</envar>/share/doc/recordproto,
|
|
|
|
<envar>$XORG_PREFIX</envar>/share/doc/renderproto,
|
|
|
|
<envar>$XORG_PREFIX</envar>/share/doc/resourceproto,
|
|
|
|
<envar>$XORG_PREFIX</envar>/share/doc/scrnsaverproto,
|
|
|
|
<envar>$XORG_PREFIX</envar>/share/doc/videoproto,
|
|
|
|
<envar>$XORG_PREFIX</envar>/share/doc/xcmiscproto,
|
|
|
|
<envar>$XORG_PREFIX</envar>/share/doc/xextproto and
|
|
|
|
<envar>$XORG_PREFIX</envar>/share/doc/xproto
|
|
|
|
</seg>
|
2007-02-04 04:59:18 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2006-05-05 15:01:37 +08:00
|
|
|
</sect1>
|