Xorg7/Protocol Headers

From CBLFS
Revision as of 15:46, 14 September 2008 by Jciccone (talk | contribs)
Jump to navigationJump to search
Download Source: http://xorg.freedesktop.org/releases/individual/proto/

Back to Intro

Introduction to Xorg7/Protocol Headers

There are thirty-two protocol headers. Note that the download source, above is the base URL. Each could be downloaded individually, but it is probably easiest to use wget and append either *.bz2 or *.gz to the base URL to pull them all down to your system.

Alternately, if you chose to use subdirectories, the tarballs can be retrieved as follows. This will prevent multiple version from being downloaded when multiple versions exist.

wget https://cblfs.clfs.org/index.php/Special:Filepath/Proto-20101205.wget &&
mkdir -p proto &&
cd proto &&
wget -B http://xorg.freedesktop.org/releases/individual/proto/ -i ../Proto-20101205.wget

Project Homepage: http://xorg.freedesktop.org/

Dependencies

Required

There is no build order dependency for the protocols.

Non-Multilib

Install each protocol:

./configure $XORG_CONFIG &&
make install

Multilib

32Bit

Install each protocol:

./configure $XORG_CONFIG32 &&
make install

N32

Install each protocol:

./configure $XORG_CONFIGN32 &&
make install

64Bit

Install each protocol:

./configure $XORG_CONFIG64 &&
make install

Semi-Automated Build

Non Multilib

Install the protocol headers:

top=$PWD
cat ../Proto-20101205.wget | while read package; do
  packagedir=$(sed -e "s/\.tar\.bz2//" <<< $package)

  cd $top || break;

  grep ^$packagedir$ done && continue;

  tar xvf $package &&
  cd $packagedir &&

  ./configure $XORG_CONFIG &&
  make install &&

  cd .. &&
  rm -rfv $packagedir &&

  echo "$packagedir" >> done || break
done
rm done

Multilib

Install the protocol headers:

top=$PWD
cat ../Proto-20101205.wget | while read package; do
  packagedir=$(sed -e "s/\.tar\.bz2//" <<< $package)

  cd $top || break;

  grep ^$packagedir$ done && continue;

  tar xvf $package &&
  cd $packagedir &&

  ./configure $XORG_CONFIG32 &&
  make install &&

  cd .. &&
  rm -rfv $packagedir &&

  tar xfv $package &&
  cd $packagedir &&

  ./configure $XORG_CONFIG64 &&
  make install &&

  cd .. &&
  rm -rfv $packagedir || break

  echo "$packagedir" >> done
done
rm done

Next install the Utilities.

Contents

Each Xorg protocol installs one or more header (*.h) files. Rather than listing all of the files installed, a listing of the 32 protocol packages and a short description of each follows. For the interested party, a link to a list of the directories and headers installed by all Xorg-7.1 protocol packages is also provided. The 32 protocol packages, listed in alphabetical order, with a short description are:

Xorg Protocol File List Short Description
applewmproto the AppleWM is the Apple rootless window management extension.
bigreqsproto bigreqsproto the "Big Requests" protocol.
compositeproto compositeproto the compositing protocol.
damageproto damageproto the damage protocol is used to detect when the screen has been damaged (altered).
dmxproto dmxproto the DMX extension provides support for communication with and control of Xdmx (Distributed Multi-head X server) server.
evieext this is the event interception extension protocol.
fixesproto fixesproto this protocol fixes the "damage" done to the screen.
fontcacheproto fontcacheproto this protocol is for X-TrueType font cache extension client library.
fontsproto fontsproto
glproto glproto protocol that defines the interface between the GL core and the surrounding "operating system" that supports it.
inputproto inputproto input devices protocol.
kbproto kbproto keyboard protocol.
printproto printproto printing protocol.
randrproto randrproto this is the resize, rotate, and reflection protocol.
recordproto recordproto
renderproto renderproto
resourceproto resourceproto
scrnsaverproto scrnsaverproto this is the protocol for the screensaver.
trapproto trapproto this is the event trapping protocol.
videoproto videoproto this is the protocol for the video device.
windowswmproto windowswmproto this is the WIN32 protocol.
xcmiscproto xcmiscproto
xextproto xextproto
xf86bigfontproto xf86bigfontproto
xf86dgaproto xf86dgaproto the direct graphic access protocol.
xf86driproto xf86driproto protocols for all the types and functions that define the interface between a DRI driver and driver loader.
xf86miscproto xf86miscproto
xf86rushproto xf86rushproto
xf86vidmodeproto xf86vidmodeproto
xineramaproto xineramaproto
xproto xproto this is the main X-Windows protocol.
xproxymanagementprotocol xproxymanagementprotocol