Difference between revisions of "Xorg7/Protocol Headers"

From CBLFS
Jump to navigationJump to search
(Introduction to Xorg Protocol Headers: Fixed broken link to wget list.)
Line 14: Line 14:
 
Alternately, if you chose to use subdirectories, the tarballs can be retrieved as follows.  This will prevent multiple version from being downloaded when multiple version exist.
 
Alternately, if you chose to use subdirectories, the tarballs can be retrieved as follows.  This will prevent multiple version from being downloaded when multiple version exist.
  
  wget http://webpages.charter.net/weibullguy/CBLFS/proto-{{Protocol_Headers-Version}}.wget &&
+
  wget http://webpages.charter.net/weibullguy/docs/linux/wget_lists/proto-{{Protocol_Headers-Version}}.wget &&
 
  cd proto &&
 
  cd proto &&
 
  wget -B http://xorg.freedesktop.org/releases/individual/proto/ -i ../proto-{{Protocol_Headers-Version}}.wget
 
  wget -B http://xorg.freedesktop.org/releases/individual/proto/ -i ../proto-{{Protocol_Headers-Version}}.wget

Revision as of 14:28, 13 April 2007

Download Source: http://xorg.freedesktop.org/releases/individual/proto/

Back to Utility Macros

Introduction to Xorg 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 version exist.

wget http://webpages.charter.net/weibullguy/docs/linux/wget_lists/proto-Template:Protocol Headers-Version.wget &&
cd proto &&
wget -B http://xorg.freedesktop.org/releases/individual/proto/ -i ../proto-Template:Protocol Headers-Version.wget

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

Unpack the protocol header packages:

for i in *.tar.bz2; do
  tar xvf $i;
done

Install the protocol headers:

for dir in `find . -maxdepth 1 -mindepth 1 -type d`; do
  cd $dir &&
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" ./configure $XORG_CONFIG32 &&
  make install &&
  make clean &&
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" ./configure $XORG_CONFIG64 &&
  make install
  cd ..;
done

Next install the Utilities.

Contents

Each Xorg protocol installs one or more header (*.h) files and a metadata (*.pc) file. There are 172 of these files installed; more if the applewmproto is installed. Rather than listing the 172 files installed, a listing of the 32 protocol packages follows.

The interested party can issue the following 'make install' command to create a complete list of files installed and their installed location in the main working directory (xc):

make install 2>&1 | tee ../../<name_of_proto>.files

The 32 protocol header packages, listed alphabetically, are:

  • applewmproto - the AppleWM is the Apple rootless window management extension.
  • bigreqsproto - the "Big Requests" protocol.
  • compositeproto - the compositing protocol.
  • damageproto - the damage protocol is used to detect when the screen has been damaged (altered).
  • 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 - this protocol fixes the "damage" done to the screen.
  • fontcacheproto -
  • fontsproto
  • glproto - protocol that defines the interface between the GL core and the surrounding "operating system" that supports it.
  • inputproto - input devices protocol.
  • kbproto - keyboard protocol.
  • printproto - printing protocol.
  • randrproto - this is the resize, rotate, and reflection protocol.
  • recordproto
  • renderproto
  • resourceproto
  • scrnsaverproto
  • trapproto - this is the event trapping protocol.
  • videoproto
  • windowswmproto
  • xcmiscproto
  • xextproto
  • xf86bigfontproto
  • xf86dgaproto - the direct graphic access protocol.
  • xf86driproto - protocols for all the types and functions that define the interface between a DRI driver and driver loader.
  • xf86miscproto
  • xf86rushproto
  • xf86vidmodeproto
  • xineramaproto
  • xproto
  • xproxymanagementprotocol