Difference between revisions of "Xorg7/Protocol Headers"

From CBLFS
Jump to navigationJump to search
(Contents)
 
(10 intermediate revisions by 3 users not shown)
Line 9: Line 9:
 
{{Package-Introduction|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.
 
{{Package-Introduction|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.
+
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 [[Media:Proto-{{Xorg7-Version}}.wget|http://cblfs.cross-lfs.org/images/e/ea/Proto-{{Xorg7-Version}}.wget]] &&
+
  wget {{Filepathlink|Proto-{{Xorg7-Version}}.wget}} &&
 +
mkdir -p proto &&
 
  cd proto &&
 
  cd proto &&
  wget -B {{Xorg7-Mirror}}/proto/ -i ../Proto-{{Xorg7-Version}}.wget}}
+
  wget -B {{Xorg7-Mirror}}/proto/ -i ../Proto-{{Xorg7-Version}}.wget|http://xorg.freedesktop.org/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 54: Line 55:
 
== Semi-Automated Build ==
 
== Semi-Automated Build ==
  
Unpack the protocol header packages:
+
=== Non Multilib ===
  
  for i in *.tar.bz2; do
+
Install the protocol headers:
   tar xvf $i;
+
 
 +
  top=$PWD
 +
cat ../Proto-{{Xorg7-Version}}.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
 
  done
 +
rm done
 +
 +
=== Multilib ===
  
 
Install the protocol headers:
 
Install the protocol headers:
  
  for dir in `find . -maxdepth 1 -mindepth 1 -type d`; do
+
  top=$PWD
   cd $dir &&
+
cat ../Proto-{{Xorg7-Version}}.wget | while read package; do
   PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" ./configure $XORG_CONFIG32 &&
+
  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 &&
 
   make install &&
   make clean &&
+
   PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" ./configure $XORG_CONFIG64 &&
+
   cd .. &&
  make install
+
   rm -rfv $packagedir || break
   cd ..;
+
 +
   echo "$packagedir" >> done
 
  done
 
  done
 +
rm done
  
 
Next install the [[Xorg7/Utilities|Utilities]].
 
Next install the [[Xorg7/Utilities|Utilities]].
Line 76: Line 118:
 
== Contents ==
 
== 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 <b><i><u>Xorg-7.1</u></i></b> protocol packages is also provided. The 32 protocol packages, listed in alphabetical order, with a short description are:
+
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. The 32 protocol packages, listed in alphabetical order, with a short description are:
  
 
{|style="text-align: left" border="1" cellspacing="0" width="95%" align="center"
 
{|style="text-align: left" border="1" cellspacing="0" width="95%" align="center"
 
|-
 
|-
 
!width="15%" style="text-align: center"|Xorg Protocol
 
!width="15%" style="text-align: center"|Xorg Protocol
!width="20%" style="text-align: center"|File List
 
 
!width="60%" style="text-align: center"|Short Description
 
!width="60%" style="text-align: center"|Short Description
 
|-
 
|-
|style="text-align: center; font-weight: bold"|applewmproto || ||the AppleWM is the Apple rootless window management extension.
+
|style="text-align: center; font-weight: bold"|applewmproto ||the AppleWM is the Apple rootless window management extension.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|bigreqsproto ||[http://cross-lfs.org/~arowland/installed_files/xml/bigreqsproto-1.0.2-64.xml bigreqsproto]||the "Big Requests" protocol.
+
|style="text-align: center; font-weight: bold"|bigreqsproto ||the "Big Requests" protocol.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|compositeproto ||[http://cross-lfs.org/~arowland/installed_files/xml/compositeproto-0.3.1-64.xml compositeproto]||the compositing protocol.
+
|style="text-align: center; font-weight: bold"|compositeproto ||the compositing protocol.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|damageproto ||[http://cross-lfs.org/~arowland/installed_files/xml/damageproto-1.0.3-64.xml damageproto]||the damage protocol is used to detect when the screen has been damaged (altered).
+
|style="text-align: center; font-weight: bold"|damageproto ||the damage protocol is used to detect when the screen has been damaged (altered).
 
|-
 
|-
|style="text-align: center; font-weight: bold"|dmxproto ||[http://cross-lfs.org/~arowland/installed_files/xml/dmxproto-2.2.2-64.xml dmxproto]||the DMX extension provides support for communication with and control of Xdmx (Distributed Multi-head X server) server.
+
|style="text-align: center; font-weight: bold"|dmxproto ||the DMX extension provides support for communication with and control of Xdmx (Distributed Multi-head X server) server.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|evieext || ||this is the event interception extension protocol.
+
|style="text-align: center; font-weight: bold"|evieext ||this is the event interception extension protocol.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|fixesproto ||[http://cross-lfs.org/~arowland/installed_files/xml/fixesproto-4.0-64.xml fixesproto]||this protocol fixes the "damage" done to the screen.
+
|style="text-align: center; font-weight: bold"|fixesproto ||this protocol fixes the "damage" done to the screen.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|fontcacheproto ||[http://cross-lfs.org/~arowland/installed_files/xml/fontcacheproto-0.1.2-64.xml fontcacheproto]||
+
|style="text-align: center; font-weight: bold"|fontcacheproto ||this protocol is for X-TrueType font cache extension client library.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|fontsproto ||[http://cross-lfs.org/~arowland/installed_files/xml/fontsproto-2.0.2-64.xml fontsproto]||
+
|style="text-align: center; font-weight: bold"|fontsproto || font rendering protocol.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|glproto ||[http://cross-lfs.org/~arowland/installed_files/xml/glproto-1.4.7-64.xml glproto]||protocol that defines the interface between the GL core and the surrounding "operating system" that supports it.
+
|style="text-align: center; font-weight: bold"|glproto ||protocol that defines the interface between the GL core and the surrounding "operating system" that supports it.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|inputproto ||[http://cross-lfs.org/~arowland/installed_files/xml/inputproto-1.3.2-64.xml inputproto]||input devices protocol.
+
|style="text-align: center; font-weight: bold"|inputproto ||input devices protocol.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|kbproto ||[http://cross-lfs.org/~arowland/installed_files/xml/kbproto-1.0.2-64.xml kbproto]||keyboard protocol.
+
|style="text-align: center; font-weight: bold"|kbproto ||keyboard protocol.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|printproto ||[http://cross-lfs.org/~arowland/installed_files/xml/printproto-1.0.3-64.xml printproto]||printing protocol.
+
|style="text-align: center; font-weight: bold"|printproto ||printing protocol.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|randrproto ||[http://cross-lfs.org/~arowland/installed_files/xml/randrproto-1.1.2-64.xml randrproto]||this is the resize, rotate, and reflection protocol.
+
|style="text-align: center; font-weight: bold"|randrproto ||this is the resize, rotate, and reflection protocol.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|recordproto ||[http://cross-lfs.org/~arowland/installed_files/xml/recordproto-1.13.2-64.xml recordproto]||
+
|style="text-align: center; font-weight: bold"|recordproto || .
 
|-
 
|-
|style="text-align: center; font-weight: bold"|renderproto ||[http://cross-lfs.org/~arowland/installed_files/xml/renderproto-0.9.2-64.xml renderproto]||
+
|style="text-align: center; font-weight: bold"|renderproto || .
 
|-
 
|-
|style="text-align: center; font-weight: bold"|resourceproto ||[http://cross-lfs.org/~arowland/installed_files/xml/resourceproto-1.0.2-64.xml resourceproto]||
+
|style="text-align: center; font-weight: bold"|resourceproto || .
 
|-
 
|-
|style="text-align: center; font-weight: bold"|scrnsaverproto ||[http://cross-lfs.org/~arowland/installed_files/xml/scrnsaverproto-1.1.0-64.xml scrnsaverproto]||
+
|style="text-align: center; font-weight: bold"|scrnsaverproto ||this is the protocol for the screensaver.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|trapproto ||[http://cross-lfs.org/~arowland/installed_files/xml/trapproto-3.4.3-64.xml trapproto]||this is the event trapping protocol.
+
|style="text-align: center; font-weight: bold"|trapproto ||this is the event trapping protocol.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|videoproto ||[http://cross-lfs.org/~arowland/installed_files/xml/videoproto-2.2.2-64.xml videoproto]||
+
|style="text-align: center; font-weight: bold"|videoproto ||this is the protocol for the video device.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|windowswmproto ||[http://cross-lfs.org/~arowland/installed_files/xml/windowswmproto-1.0.3-64.xml windowswmproto]||
+
|style="text-align: center; font-weight: bold"|windowswmproto ||this is the WIN32 protocol.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|xcmiscproto ||[http://cross-lfs.org/~arowland/installed_files/xml/xcmiscproto-1.1.2-64.xml xcmiscproto]||
+
|style="text-align: center; font-weight: bold"|xcmiscproto || .
 
|-
 
|-
|style="text-align: center; font-weight: bold"|xextproto ||[http://cross-lfs.org/~arowland/installed_files/xml/xextproto-7.0.2-64.xml xextproto]||
+
|style="text-align: center; font-weight: bold"|xextproto || .
 
|-
 
|-
|style="text-align: center; font-weight: bold"|xf86bigfontproto ||[http://cross-lfs.org/~arowland/installed_files/xml/xf86bigfontproto-1.1.2-64.xml xf86bigfontproto]||
+
|style="text-align: center; font-weight: bold"|xf86bigfontproto || .
 
|-
 
|-
|style="text-align: center; font-weight: bold"|xf86dgaproto ||[http://cross-lfs.org/~arowland/installed_files/xml/xf86dgaproto-2.0.2-64.xml xf86dgaproto]||the direct graphic access protocol.
+
|style="text-align: center; font-weight: bold"|xf86dgaproto ||the direct graphic access protocol.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|xf86driproto ||[http://cross-lfs.org/~arowland/installed_files/xml/xf86driproto-2.0.3-64.xml xf86driproto]||protocols for all the types and functions that define the interface between a DRI driver and driver loader.
+
|style="text-align: center; font-weight: bold"|xf86driproto ||protocols for all the types and functions that define the interface between a DRI driver and driver loader.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|xf86miscproto ||[http://cross-lfs.org/~arowland/installed_files/xml/xf86miscproto-0.9.2-64.xml xf86miscproto]||
+
|style="text-align: center; font-weight: bold"|xf86miscproto || .
 
|-
 
|-
|style="text-align: center; font-weight: bold"|xf86rushproto ||[http://cross-lfs.org/~arowland/installed_files/xml/xf86rushproto-1.1.2-64.xml xf86rushproto]||
+
|style="text-align: center; font-weight: bold"|xf86rushproto || .
 
|-
 
|-
|style="text-align: center; font-weight: bold"|xf86vidmodeproto ||[http://cross-lfs.org/~arowland/installed_files/xml/xf86vidmodeproto-2.2.2-64.xml xf86vidmodeproto]||
+
|style="text-align: center; font-weight: bold"|xf86vidmodeproto || .
 
|-
 
|-
|style="text-align: center; font-weight: bold"|xineramaproto ||[http://cross-lfs.org/~arowland/installed_files/xml/xineramaproto-1.1.2-64.xml xineramaproto]||
+
|style="text-align: center; font-weight: bold"|xineramaproto || .
 
|-
 
|-
|style="text-align: center; font-weight: bold"|xproto ||[http://cross-lfs.org/~arowland/installed_files/xml/xproto-7.0.5-64.xml xproto]||
+
|style="text-align: center; font-weight: bold"|xproto ||this is the main X-Windows protocol.
 
|-
 
|-
|style="text-align: center; font-weight: bold"|xproxymanagementprotocol ||[http://cross-lfs.org/~arowland/installed_files/xml/xproxymanagementprotocol-1.0.2-64.xml xproxymanagementprotocol]||
+
|style="text-align: center; font-weight: bold"|xproxymanagementprotocol || .
 
|}
 
|}

Latest revision as of 09:08, 20 October 2010

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/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. The 32 protocol packages, listed in alphabetical order, with a short description are:

Xorg Protocol Short Description
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 this protocol is for X-TrueType font cache extension client library.
fontsproto font rendering protocol.
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 this is the protocol for the screensaver.
trapproto this is the event trapping protocol.
videoproto this is the protocol for the video device.
windowswmproto this is the WIN32 protocol.
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 this is the main X-Windows protocol.
xproxymanagementprotocol .