Difference between revisions of "Xorg7/Apps"

From CBLFS
Jump to navigationJump to search
(Versioning template.)
(Edited to conform with template.)
Line 20: Line 20:
 
Back to [[Xorg7/xbitmaps|xbitmaps]]
 
Back to [[Xorg7/xbitmaps|xbitmaps]]
  
=Xorg Applications=
+
= Instroduction to Xorg Applications =
  
 
There are 92 applications available for Xorg.  Once again, the most efficient method of retrieving the source tarballs is to append *.bz2 or *.gz to the URL above.
 
There are 92 applications available for Xorg.  Once again, the most efficient method of retrieving the source tarballs is to append *.bz2 or *.gz to the URL above.
Line 26: Line 26:
 
Alternately, if you chose to use subdirectories, the tarballs can be retrieved as follows. This will prevent multiple versions from being downloaded when multiple versions exist.
 
Alternately, if you chose to use subdirectories, the tarballs can be retrieved as follows. This will prevent multiple versions from being downloaded when multiple versions exist.
  
  wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/wget/app-{{Xorg-Version}}.wget
+
  wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/wget/app-{{Xorg-Version}}.wget &&
  cd app
+
  cd app &&
 
  wget -B http://xorg.freedesktop.org/releases/individual/app/ -i ../app-{{Xorg-Version}}.wget
 
  wget -B http://xorg.freedesktop.org/releases/individual/app/ -i ../app-{{Xorg-Version}}.wget
  
Line 35: Line 35:
 
  wget http://svn.cross-lfs.org/svn/repos/patches/xload/xload-{{Xload-Version}}-setuid-1.patch
 
  wget http://svn.cross-lfs.org/svn/repos/patches/xload/xload-{{Xload-Version}}-setuid-1.patch
  
==Dependencies==
+
= Dependencies =
  
Applications have the following requirred dependencies:
+
== Required ==
  
* appres - libX11
+
Applications have the following required dependencies:
* bdftopcf - libXfont
 
* beforelight - libX11, libXt
 
* bitmap - libX11, libXt, [[Xorg7/xbitmaps|xbitmaps]]
 
* editres - libX11, libXt
 
* fonttosnft
 
* fslsfonts - libX11
 
* fstobdf - libX11
 
* iceauth - libICE
 
* ico - libX11
 
* lbxproxy - xtrans
 
* listres - libX11
 
* luit - libX11
 
* mkcfm - libX11
 
* mkfontscale - libfontenc, libX11
 
* mkfontdir - mkfontscale
 
* oclock - libX11, libXt
 
* proxymngr - libICE
 
* rgb - libX11
 
* rstart - libX11
 
* scripts - libX11
 
* sessreg - libX11
 
* setxkbmap - libxkbfile
 
* showfont - libFS
 
* smproxy - libXt
 
* twm - libX11
 
* viewres - libXt
 
* X11perf - libX11
 
* Xauth - libX11
 
* Xbiff - [[Xorg7/xbitmaps|xbitmaps]]
 
* Xcalc - libXt
 
* Xclipboard - libXt
 
* Xclock - libX11, libxkbfile, libXt
 
* Xcmsdb - libX11
 
* Xconsole - libXt
 
* Xcursorgen - [[libpng]], libX11
 
* Xdbedizzy - libXp, libXext
 
* Xditview - libXt
 
* Xdm - libXmu, libXinerama, libXpm, libXdmcp, libX11, libXau, libXt
 
* Xdpyinfo - libXext, libX11, libXxf86vm, libXxf86dga, libXxf86misc, libXi, libXrender, libXinerama, libdmx, libXp, libXtst
 
* Xdriinfo - [[Xorg7/MesaLib|MesaLib]], libX11
 
* Xedit - libXPrintUtil, libXp, libXt
 
* Xev - libX11
 
* Xeyes - libX11
 
* Xf86dga - libX11
 
* Xfd - [[FreeType]], libXt
 
* Xfindproxy - libX11
 
* Xfontsel - libXt
 
* Xfsinfo - libX11
 
* Xfs - libFS
 
* Xfwp - libX11
 
* Xgamma - libX11
 
* Xgc - libXt
 
* Xhost - libX11
 
* Xinit - libX11
 
* Xkbcomp - libX11
 
* Xkbevd - libxkbfile
 
* Xkbprint - libxkbfile
 
* Xkbutils - libxkbfile
 
* Xkill - libX11
 
* Xload - libXt
 
* Xlogo - libXPrintUtil, libXp, libXrender, libXft, libXext, libXt
 
* Xlsatoms - libX11
 
* Xlsclients - libX11
 
* Xlsfonts - libX11
 
* Xmag - libXt
 
* Xman - libXPrintutil, libXp, libXt
 
* Xmessage - libXt
 
* Xmh - libXt
 
* Xmodmap - libX11
 
* Xmore - libXPrintUtil, libXp, libX11, liblbxutil, libdrm, libXdmcp, libXmu, libXext, libXrender, libXfont, libXi, libXau, libXaw, libXt, libXpm, libXtst, libXres, libxkbfile
 
* Xphelloworld - libX11, libXaw, libXprintAppUtil, libXPrintUtil
 
* Xplsprinters - libXp
 
* Xprehashprinterlist - libXp
 
* Xprop - libXmu
 
* Xpr - libXmu
 
* Xrandr - libXrandr
 
* Xrdb - libXmu
 
* Xrefresh - libX11
 
* Xrx - libX11
 
* Xsetmode - libXi
 
* Xsetpointer - libXi
 
* Xsetroot - libXmu
 
* Xset - libXmu, libX11, libXext, libXxf86misc, libXfontcache, libXp
 
* Xsm - libXt
 
* Xstdcmap - libXmu
 
* Xtrap - libX11, libXtrap
 
* Xvidtune - libXxf86vm, libXt
 
* Xvinfo - libXv
 
* Xwd - libXmu
 
* Xwininfo - libXmu
 
* Xwud - libX11
 
  
==Non-Multilib==
+
{|style="text-align: left;"
 +
|-valign="top"
 +
!Application
 +
|
 +
!Depends On
 +
|-valign="top"
 +
!appres
 +
|
 +
|libX11
 +
|-valign="top"
 +
!bdftopcf
 +
|
 +
|libXfont
 +
|-valign="top"
 +
!beforelight
 +
|
 +
|libX11, libXt
 +
|-valign="top"
 +
!bitmap
 +
|
 +
|libX11, libXt, [[Xorg7/xbitmaps|xbitmaps]]
 +
|-valign="top"
 +
!editres
 +
|
 +
|libX11, libXt
 +
|-valign="top"
 +
!fonttosnft
 +
|-valign="top"
 +
!fslsfonts
 +
|
 +
|libX11
 +
|-valign="top"
 +
!fstobdf
 +
|
 +
|libX11
 +
|-valign="top"
 +
!iceauth
 +
|
 +
|libICE
 +
|-valign="top"
 +
!ico
 +
|
 +
|libX11
 +
|-valign="top"
 +
!lbxproxy
 +
|
 +
|xtrans
 +
|-valign="top"
 +
!listres
 +
|
 +
|libX11
 +
|-valign="top"
 +
!luit
 +
|
 +
|libX11
 +
|-valign="top"
 +
!mkcfm
 +
|
 +
|libX11
 +
|-valign="top"
 +
!mkfontscale
 +
|
 +
|libfontenc, libX11
 +
|-valign="top"
 +
!mkfontdir
 +
|
 +
|mkfontscale
 +
|-valign="top"
 +
!oclock
 +
|
 +
|libX11, libXt
 +
|-valign="top"
 +
!proxymngr
 +
|
 +
|libICE
 +
|-valign="top"
 +
!rgb
 +
|
 +
|libX11
 +
|-valign="top"
 +
!rstart
 +
|
 +
|libX11
 +
|-valign="top"
 +
!scripts
 +
|
 +
|libX11
 +
|-valign="top"
 +
!sessreg
 +
|
 +
|libX11
 +
|-valign="top"
 +
!setxkbmap
 +
|
 +
|libxkbfile
 +
|-valign="top"
 +
!showfont
 +
|
 +
|libFS
 +
|-valign="top"
 +
!smproxy
 +
|
 +
|libXt
 +
|-valign="top"
 +
!twm
 +
|
 +
|libX11
 +
|-valign="top"
 +
!viewres
 +
|
 +
|libXt
 +
|-valign="top"
 +
!X11perf
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xauth
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xbiff
 +
|
 +
|[[Xorg7/xbitmaps|xbitmaps]]
 +
|-valign="top"
 +
!Xcalc
 +
|
 +
|libXt
 +
|-valign="top"
 +
!Xclipboard
 +
|
 +
|libXt
 +
|-valign="top"
 +
!Xclock
 +
|
 +
|libX11, libxkbfile, libXt
 +
|-valign="top"
 +
!Xcmsdb
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xconsole
 +
|
 +
|libXt
 +
|-valign="top"
 +
!Xcursorgen
 +
|
 +
|[[libpng]], libX11
 +
|-valign="top"
 +
!Xdbedizzy
 +
|
 +
|libXp, libXext
 +
|-valign="top"
 +
!Xditview
 +
|
 +
|libXt
 +
|-valign="top"
 +
!Xdm
 +
|
 +
|libXmu, libXinerama, libXpm, libXdmcp, libX11, libXau, libXt
 +
|-valign="top"
 +
!Xdpyinfo
 +
|
 +
|libXext, libX11, libXxf86vm, libXxf86dga, libXxf86misc, libXi, libXrender, libXinerama, libdmx, libXp, libXtst
 +
|-valign="top"
 +
!Xdriinfo
 +
|
 +
|[[Xorg7/MesaLib|MesaLib]], libX11
 +
|-valign="top"
 +
!Xedit
 +
|
 +
|libXPrintUtil, libXp, libXt
 +
|-valign="top"
 +
!Xev
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xeyes
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xf86dga
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xfd
 +
|
 +
|[[FreeType]], libXt
 +
|-valign="top"
 +
!Xfindproxy
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xfontsel
 +
|
 +
|libXt
 +
|-valign="top"
 +
!Xfsinfo
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xfs
 +
|
 +
|libFS
 +
|-valign="top"
 +
!Xfwp
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xgamma
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xgc
 +
|
 +
|libXt
 +
|-valign="top"
 +
!Xhost
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xinit
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xkbcomp
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xkbevd
 +
|
 +
|libxkbfile
 +
|-valign="top"
 +
!Xkbprint
 +
|
 +
|libxkbfile
 +
|-valign="top"
 +
!Xkbutils
 +
|
 +
|libxkbfile
 +
|-valign="top"
 +
!Xkill
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xload
 +
|
 +
|libXt
 +
|-valign="top"
 +
!Xlogo
 +
|
 +
|libXPrintUtil, libXp, libXrender, libXft, libXext, libXt
 +
|-valign="top"
 +
!Xlsatoms
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xlsclients
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xlsfonts
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xmag
 +
|
 +
|libXt
 +
|-valign="top"
 +
!Xman
 +
|
 +
|libXPrintutil, libXp, libXt
 +
|-valign="top"
 +
!Xmessage
 +
|
 +
|libXt
 +
|-valign="top"
 +
!Xmh
 +
|
 +
|libXt
 +
|-valign="top"
 +
!Xmodmap
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xmore
 +
|
 +
|libXPrintUtil, libXp, libX11, liblbxutil, libdrm, libXdmcp, libXmu, libXext, libXrender, libXfont, libXi, libXau, libXaw, libXt, libXpm, libXtst, libXres, libxkbfile
 +
|-valign="top"
 +
!Xphelloworld
 +
|
 +
|libX11, libXaw, libXprintAppUtil, libXPrintUtil
 +
|-valign="top"
 +
!Xplsprinters
 +
|
 +
|libXp
 +
|-valign="top"
 +
!Xprehashprinterlist
 +
|
 +
|libXp
 +
|-valign="top"
 +
!Xprop
 +
|
 +
|libXmu
 +
|-valign="top"
 +
!Xpr
 +
|
 +
|libXmu
 +
|-valign="top"
 +
!Xrandr
 +
|
 +
|libXrandr
 +
|-valign="top"
 +
!Xrdb
 +
|
 +
|libXmu
 +
|-valign="top"
 +
!Xrefresh
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xrx
 +
|
 +
|libX11
 +
|-valign="top"
 +
!Xsetmode
 +
|
 +
|libXi
 +
|-valign="top"
 +
!Xsetpointer
 +
|
 +
|libXi
 +
|-valign="top"
 +
!Xsetroot
 +
|
 +
|libXmu
 +
|-valign="top"
 +
!Xset
 +
|
 +
|libXmu, libX11, libXext, libXxf86misc, libXfontcache, libXp
 +
|-valign="top"
 +
!Xsm
 +
|
 +
|libXt
 +
|-valign="top"
 +
!Xstdcmap
 +
|
 +
|libXmu
 +
|-valign="top"
 +
!Xtrap
 +
|
 +
|libX11, libXtrap
 +
|-valign="top"
 +
!Xvidtune
 +
|
 +
|libXxf86vm, libXt
 +
|-valign="top"
 +
!Xvinfo
 +
|
 +
|libXv
 +
|-valign="top"
 +
!Xwd
 +
|
 +
|libXmu
 +
|-valign="top"
 +
!Xwininfo
 +
|
 +
|libXmu
 +
|-valign="top"
 +
!Xwud
 +
|
 +
|libX11
 +
|}
 +
 
 +
= Non-Multilib =
  
 
A security vulnerability has been identified in the xdm, xf86dga, xinit and xload packages. Before building these packages with the commands shown below, be sure to apply the supplied patches. For xdm, this can be accomplished with with the following command:
 
A security vulnerability has been identified in the xdm, xf86dga, xinit and xload packages. Before building these packages with the commands shown below, be sure to apply the supplied patches. For xdm, this can be accomplished with with the following command:
Line 161: Line 443:
 
  make install
 
  make install
  
==Multilib==
+
= Multilib =
  
===32-bit===
+
== 32Bit ==
 
A security vulnerability has been identified in the xdm, xf86dga, xinit and xload packages. Before building these packages with the commands shown below, be sure to apply the supplied patches. For xdm, this can be accomplished with with the following command:
 
A security vulnerability has been identified in the xdm, xf86dga, xinit and xload packages. Before building these packages with the commands shown below, be sure to apply the supplied patches. For xdm, this can be accomplished with with the following command:
  
Line 192: Line 474:
 
  make install
 
  make install
  
===N32===
+
== N32 ==
Patches:
+
Apply the patches:
  
 
For xdm, the patch can be applied with the following command:
 
For xdm, the patch can be applied with the following command:
Line 223: Line 505:
 
  make install
 
  make install
  
===64-bit===
+
== 64Bit ==
Patches:
+
Apply the patches:
  
 
For xdm, the patch can be applied with the following command:
 
For xdm, the patch can be applied with the following command:
Line 253: Line 535:
 
  make install
 
  make install
  
 +
= Semi-Automated Build =
  
==Automated Build==
+
The semi-automated built assumes that you are using subdirectories as discussed in the introduction.  It also assumes that the app-{{Xorg-Version}}.wget file is available in the base directory (xc).  After entering the app subdirectory, unpack the source tarballs:
  
 
  for i in *.tar.bz2; do
 
  for i in *.tar.bz2; do
tar xvf $i;
+
  tar xvf $i;
 
  done
 
  done
 +
 +
Patch the four applications with security vulnerabilities:
  
 
  cd xdm* &&
 
  cd xdm* &&
Line 269: Line 554:
 
  patch -Np1 -i ../xload-{{Xload-Version}}-setuid-1.patch &&
 
  patch -Np1 -i ../xload-{{Xload-Version}}-setuid-1.patch &&
 
  cd ..
 
  cd ..
 +
 +
Build and install the applications in the app-{{Xorg-Version}}.wget file:
  
 
  for dir in `sed "s/.tar.bz2//g" ../app-{{Xorg-Version}}.wget`; do
 
  for dir in `sed "s/.tar.bz2//g" ../app-{{Xorg-Version}}.wget`; do
cd ${dir} &&
+
  cd ${dir} &&
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" CC="gcc ${BUILD32}" CXX="g++  ${BUILD32}" \
+
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" CC="gcc ${BUILD32}" CXX="g++  ${BUILD32}" \
./configure $XORG_CONFIG32 &&
+
  ./configure $XORG_CONFIG32 &&
make &&
+
  make &&
make install &&
+
  make install &&
make distclean &&
+
  make distclean &&
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" CC="gcc ${BUILD64}" CXX="g++  ${BUILD64}" \
+
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" CC="gcc ${BUILD64}" CXX="g++  ${BUILD64}" \
./configure $XORG_CONFIG64 &&
+
  ./configure $XORG_CONFIG64 &&
make &&
+
  make &&
make install &&
+
  make install &&
cd ..;
+
  cd ..;
 
  done
 
  done
  
 
Next install the remaining Xorg [[Xorg7/Data|Data]] files.
 
Next install the remaining Xorg [[Xorg7/Data|Data]] files.
  
== Contents ==
+
= Contents =
  
 
There are 92 Xorg application packages, each of which installs one or more files.  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):
 
There are 92 Xorg application packages, each of which installs one or more files.  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_app>.files
+
make install 2>&1 | tee ../../<name_of_app>.files
 +
 
 +
== Short Description ==
  
 
The 92 applications, listed alphabetically, with a short description are:
 
The 92 applications, listed alphabetically, with a short description are:
  
* appres - lists X application resource database.
+
{|style="text-align: left;"
* bdftopcf - converts X font from Bitmap Distribution Format to Portable Compiled Format.
+
|-valign="top"
* beforelight - MIT screen saver sample demo application.
+
!appres:
* bitmap - XBM format bitmap editor and converter utilities.
+
|lists X application resource database.
* editres - dynamic resource editor for X Toolkit applications.
+
|-valign="top"
* fonttosfnt - wraps a bitmap font in a sfnt (TrueType) wrapper.
+
!bdftopcf:
* fslsfonts - lists fonts served by X font server.
+
|converts X font from Bitmap Distribution Format to Portable Compiled Format.
* fstobdf - generates BDF font from X font server.
+
|-valign="top"
* iceauth - ICE authority file utility.
+
!beforelight:
* ico - animate an icosahedron or other polyhedron demo application.
+
|MIT screen saver sample demo application.
* lbxproxy - low bandwidth X proxy [Preferred replacements: ssh and/or NX].
+
|-valign="top"
* listres - list resources in widgets.
+
!bitmap:
* luit - converts terminal I/O from legacy encodings to UTF-8.
+
|XBM format bitmap editor and converter utilities.
* mkcfm - creates summaries of CID font metric files.
+
|-valign="top"
* mkfontdir - creates an index of X font files in a directory.
+
!editres:
* mkfontscale - creates an index of scalable font files for X.
+
|dynamic resource editor for X Toolkit applications.
* oclock - round X clock.
+
|-valign="top"
* proxymngr - proxy manager service [Preferred replacements: ssh and/or NX].
+
!fonttosfnt:
* rgb - X colorname -> RGB mapping database.
+
|wraps a bitmap font in a sfnt (TrueType) wrapper.
* rstart - remote start client [Preferred replacements: ssh and/or NX].
+
|-valign="top"
* scripts - runs X command on another system via rsh [Preferred replacement: ssh].
+
!fslsfonts:
* sessreg - register X sessions in system utmp/utmpx databases.
+
|lists fonts served by X font server.
* setxkbmap - sets the keyboard using the X Keyboard Extension.
+
|-valign="top"
* showfont - shows information about X font from font server.
+
!fstobdf:
* smproxy - Session Manager Proxy.
+
|generates BDF font from X font server.
* twm - the tabbed window manager.
+
|-valign="top"
* viewres - graphical class/resource browser for Xt.
+
!iceauth:
* x11perf - simple X server performance benchmarker demo application.
+
|ICE authority file utility.
* xauth - X authority file utility.
+
|-valign="top"
* xbiff - watches mailboxes for new message delivery.
+
!ico:
* xcalc - scientific calculator for X.
+
|animate an icosahedron or other polyhedron demo application.
* xclipboard - X clipboard manager.
+
|-valign="top"
* xclock - X clock.
+
!lbxproxy:
* xcmsdb - device color characterization utility for X Color Management System.
+
|low bandwidth X proxy (Preferred replacements are [[OpenSSH]] and/or NX).
* xconsole - monitors system console messages.
+
|-valign="top"
* xcursorgen - create an X cursor file from PNG images.
+
!listres:
* xdbedizzy - DBE sample demo application.
+
|list resources in widgets.
* xditview - displays ditroff output.
+
|-valign="top"
* xdm - X Display Manager / XDMCP server.
+
!luit
* xdpyinfo - display information utility for X.
+
|converts terminal I/O from legacy encodings to UTF-8.
* xdriinfo - query configuration information of DRI drivers [DRI-supporting platforms]
+
|-valign="top"
* xedit - simple text editor for X.
+
!mkcfm
* xev - prints contents of X events.
+
|creates summaries of CID font metric files.
* xeyes - follow the mouse/shape extension demo application.
+
|-valign="top"
* xf86dga - test program for the XFree86-DGA extension demo application.
+
!mkfontdir:
* xfd - display all the characters in an X font.
+
|creates an index of X font files in a directory.
* xfindproxy - locate proxy services [Preferred replacements: ssh and/or NX].
+
|-valign="top"
* xfontsel - point and click selection of X11 font names.
+
!mkfontscale:
* xfs - the X font server.
+
|creates an index of scalable font files for X.
* xfsinfo - X font server information utility.
+
|-valign="top"
* xfwp - X firewall proxy [Preferred replacements: ssh and/or NX].
+
!oclock:
* xgamma - alters a monitor's gamma correction through the X server.
+
|round X clock.
* xgc - X graphics demo application.
+
|-valign="top"
* xhost - server access control program for X.
+
!proxymngr:
* xinit - X Window System initializer (includes startx).
+
|proxy manager service (Preferred replacements are [[OpenSSH]] and/or NX).
* xkbcomp - compiles XKB keyboard description.
+
|-valign="top"
* xkbevd - XKB event daemon demo application.
+
!rgb:
* xkbprint - print an XKB keyboard description.
+
|X colorname -> RGB mapping database.
* xkbutils - XKB utility demo application.
+
|-valign="top"
* xkill - kills a client by its X resource.
+
!rstart
* xload - system load average display for X.
+
|remote start client [Preferred replacements: ssh and/or NX].
* xlogo - draw [old] X logo demo application.
+
|-valign="top"
* xlsatoms - lists interned atoms defined on server.
+
!scripts:
* xlsclients - lists client applications running on a display.
+
|runs X command on another system via rsh (Preferred replacement is [[OpenSSH]]).
* xlsfonts - lists X fonts available on X server.
+
|-valign="top"
* xmag - magnifies parts of the screen.
+
!sessreg:
* xman - Unix manual page viewer.
+
|register X sessions in system utmp/utmpx databases.
* xmessage - displays a message or query in a window.
+
|-valign="top"
* xmh - X interface to MH mail tools [Preferred replacement: exmh]
+
!setxkbmap:
* xmodmap - utility for modifying keymaps and button mappings.
+
|sets the keyboard using the X Keyboard Extension.
* xmore - plain text display program for the X Window System.
+
|-valign="top"
* xphelloworld - Xprint sample applications.
+
!showfont:
* xplsprinters - lists Xprint printers.
+
|shows information about X font from font server.
* xpr - print an X window dump from xwd.
+
|-valign="top"
* xprehashprinterlist - rehashes list of Xprint printers.
+
!smproxy
* xprop - property displayer for X.
+
|Session Manager Proxy.
* xrandr - primitive command line interface to RandR extension.
+
|-valign="top"
* xrdb - X server resource database utility.
+
!twm:
* xrefresh - refreshes all or part of an X screen.
+
|the tabbed window manager.
* xrx -  
+
|-valign="top"
* xset - user preference utility for X.
+
!viewres:
* xsetmode - sets the mode for an X Input device.
+
|graphical class/resource browser for Xt.
* xsetpointer - sets an X Input device as the main pointer.
+
|-valign="top"
* xsetroot - root window parameter setting utility for X.
+
!x11perf:
* xsm - X Session Manager.
+
|simple X server performance benchmarker demo application.
* xstdcmap - X standard colormap utility.
+
|-valign="top"
* xtrap - XTrap sample clients.
+
!xauth:
* xvidtune - video mode tuner for Xorg.
+
|X authority file utility.
* xvinfo - prints out X-Video extension adaptor information.
+
|-valign="top"
* xwd - dumps current contents of X window or screen to file.
+
!xbiff:
* xwininfo - window information utility for X.
+
|watches mailboxes for new message delivery.
* xwud - displays an X window dump from xwd.
+
|-valign="top"
 +
!xcalc:
 +
|scientific calculator for X.
 +
|-valign="top"
 +
!xclipboard:
 +
|X clipboard manager.
 +
|-valign="top"
 +
!xclock:
 +
|X clock.
 +
|-valign="top"
 +
!xcmsdb:
 +
|device color characterization utility for X Color Management System.
 +
|-valign="top"
 +
!xconsole:
 +
|monitors system console messages.
 +
|-valign="top"
 +
!xcursorgen:
 +
|create an X cursor file from PNG images.
 +
|-valign="top"
 +
!xdbedizzy:
 +
|DBE sample demo application.
 +
|-valign="top"
 +
!xditview:
 +
|displays ditroff output.
 +
|-valign="top"
 +
!xdm:
 +
|X Display Manager / XDMCP server.
 +
|-valign="top"
 +
!xdpyinfo:
 +
|display information utility for X.
 +
|-valign="top"
 +
!xdriinfo:
 +
|query configuration information of DRI drivers (DRI-supporting  
 +
platforms).
 +
|-valign="top"
 +
!xedit:
 +
|simple text editor for X.
 +
|-valign="top"
 +
!xev:
 +
|prints contents of X events.
 +
|-valign="top"
 +
!xeyes:
 +
|follow the mouse/shape extension demo application.
 +
|-valign="top"
 +
!xf86dga:
 +
|test program for the XFree86-DGA extension demo application.
 +
|-valign="top"
 +
!xfd:
 +
|display all the characters in an X font.
 +
|-valign="top"
 +
!xfindproxy:
 +
|locate proxy services (Preferred replacements are [[OpenSSH]] and/or NX).
 +
|-valign="top"
 +
!xfontsel:
 +
|point and click selection of X11 font names.
 +
|-valign="top"
 +
!xfs:
 +
|the X font server.
 +
|-valign="top"
 +
!xfsinfo:
 +
|X font server information utility.
 +
|-valign="top"
 +
!xfwp:
 +
|X firewall proxy (Preferred replacements are [[OpenSSH]] and/or NX).
 +
|-valign="top"
 +
!xgamma:
 +
|alters a monitor's gamma correction through the X server.
 +
|-valign="top"
 +
!xgc:
 +
|X graphics demo application.
 +
|-valign="top"
 +
!xhost:
 +
|server access control program for X.
 +
|-valign="top"
 +
!xinit:
 +
|X Window System initializer (includes startx).
 +
|-valign="top"
 +
!xkbcomp:
 +
|compiles XKB keyboard description.
 +
|-valign="top"
 +
!xkbevd:
 +
|XKB event daemon demo application.
 +
|-valign="top"
 +
!xkbprint:
 +
|print an XKB keyboard description.
 +
|-valign="top"
 +
!xkbutils:
 +
|XKB utility demo application.
 +
|-valign="top"
 +
!xkill:
 +
|kills a client by its X resource.
 +
|-valign="top"
 +
!xload:
 +
|system load average display for X.
 +
|-valign="top"
 +
!xlogo:
 +
|draw old X logo demo application.
 +
|-valign="top"
 +
!xlsatoms:
 +
|lists interned atoms defined on server.
 +
|-valign="top"
 +
!xlsclients:
 +
|lists client applications running on a display.
 +
|-valign="top"
 +
!xlsfonts:
 +
|lists X fonts available on X server.
 +
|-valign="top"
 +
!xmag:
 +
|magnifies parts of the screen.
 +
|-valign="top"
 +
!xman:
 +
|Unix manual page viewer.
 +
|-valign="top"
 +
!xmessage:
 +
|displays a message or query in a window.
 +
|-valign="top"
 +
!xmh:
 +
|X interface to MH mail tools (Preferred replacement is exmh).
 +
|-valign="top"
 +
!xmodmap:
 +
|utility for modifying keymaps and button mappings.
 +
|-valign="top"
 +
!xmore:
 +
|plain text display program for the X Window System.
 +
|-valign="top"
 +
!xphelloworld:
 +
|Xprint sample applications.
 +
|-valign="top"
 +
!xplsprinters:
 +
|lists Xprint printers.
 +
|-valign="top"
 +
!xpr:
 +
|print an X window dump from xwd.
 +
|-valign="top"
 +
!xprehashprinterlist:
 +
|rehashes list of Xprint printers.
 +
|-valign="top"
 +
!xprop:
 +
|property displayer for X.
 +
|-valign="top"
 +
!xrandr:
 +
|primitive command line interface to RandR extension.
 +
|-valign="top"
 +
!xrdb:
 +
|X server resource database utility.
 +
|-valign="top"
 +
!xrefresh:
 +
|refreshes all or part of an X screen.
 +
|-valign="top"
 +
!xrx:
 +
|-valign="top"
 +
!xset:
 +
|user preference utility for X.
 +
|-valign="top"
 +
!xsetmode:
 +
|sets the mode for an X Input device.
 +
|-valign="top"
 +
!xsetpointer:
 +
|sets an X input device as the main pointer.
 +
|-valign="top"
 +
!xsetroot:
 +
|root window parameter setting utility for X.
 +
|-valign="top"
 +
!xsm:
 +
|X Session Manager.
 +
|-valign="top"
 +
!xstdcmap:
 +
|X standard colormap utility.
 +
|-valign="top"
 +
!xtrap:
 +
|Trap sample clients.
 +
|-valign="top"
 +
!xvidtune:
 +
|video mode tuner for Xorg.
 +
|-valign="top"
 +
!xvinfo:
 +
|prints out X-Video extension adaptor information.
 +
|-valign="top"
 +
!xwd:
 +
|dumps current contents of X window or screen to file.
 +
|-valign="top"
 +
!xwininfo:
 +
|window information utility for X.
 +
|-valign="top"
 +
!xwud:
 +
|displays an X window dump from xwd.
 +
|}

Revision as of 08:20, 21 December 2006

Download Source: http://xorg.freedesktop.org/releases/individual/app/
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/xdm/xdm-Template:Xdm-Version-setuid-1.patch
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/xf86dga/xf86dga-Template:Xf86dga-Version-setuid-1.patch
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/xinit/xinit-Template:Xinit-Version-setuid-1.patch
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/xload/xload-Template:Xload-Version-setuid-1.patch

Back to xbitmaps

Instroduction to Xorg Applications

There are 92 applications available for Xorg. Once again, the most efficient method of retrieving the source tarballs is to append *.bz2 or *.gz to the URL above.

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

wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/wget/app-7.1.wget &&
cd app &&
wget -B http://xorg.freedesktop.org/releases/individual/app/ -i ../app-7.1.wget
wget http://svn.cross-lfs.org/svn/repos/patches/xdm/xdm-Template:Xdm-Version-setuid-1.patch &&
wget http://svn.cross-lfs.org/svn/repos/patches/xf86dga/xf86dga-Template:Xf86dga-Version-setuid-1.patch &&
wget http://svn.cross-lfs.org/svn/repos/patches/xinit/xinit-Template:Xinit-Version-setuid-1.patch &&
wget http://svn.cross-lfs.org/svn/repos/patches/xload/xload-Template:Xload-Version-setuid-1.patch

Dependencies

Required

Applications have the following required dependencies:

Application Depends On
appres libX11
bdftopcf libXfont
beforelight libX11, libXt
bitmap libX11, libXt, xbitmaps
editres libX11, libXt
fonttosnft
fslsfonts libX11
fstobdf libX11
iceauth libICE
ico libX11
lbxproxy xtrans
listres libX11
luit libX11
mkcfm libX11
mkfontscale libfontenc, libX11
mkfontdir mkfontscale
oclock libX11, libXt
proxymngr libICE
rgb libX11
rstart libX11
scripts libX11
sessreg libX11
setxkbmap libxkbfile
showfont libFS
smproxy libXt
twm libX11
viewres libXt
X11perf libX11
Xauth libX11
Xbiff xbitmaps
Xcalc libXt
Xclipboard libXt
Xclock libX11, libxkbfile, libXt
Xcmsdb libX11
Xconsole libXt
Xcursorgen libpng, libX11
Xdbedizzy libXp, libXext
Xditview libXt
Xdm libXmu, libXinerama, libXpm, libXdmcp, libX11, libXau, libXt
Xdpyinfo libXext, libX11, libXxf86vm, libXxf86dga, libXxf86misc, libXi, libXrender, libXinerama, libdmx, libXp, libXtst
Xdriinfo MesaLib, libX11
Xedit libXPrintUtil, libXp, libXt
Xev libX11
Xeyes libX11
Xf86dga libX11
Xfd FreeType, libXt
Xfindproxy libX11
Xfontsel libXt
Xfsinfo libX11
Xfs libFS
Xfwp libX11
Xgamma libX11
Xgc libXt
Xhost libX11
Xinit libX11
Xkbcomp libX11
Xkbevd libxkbfile
Xkbprint libxkbfile
Xkbutils libxkbfile
Xkill libX11
Xload libXt
Xlogo libXPrintUtil, libXp, libXrender, libXft, libXext, libXt
Xlsatoms libX11
Xlsclients libX11
Xlsfonts libX11
Xmag libXt
Xman libXPrintutil, libXp, libXt
Xmessage libXt
Xmh libXt
Xmodmap libX11
Xmore libXPrintUtil, libXp, libX11, liblbxutil, libdrm, libXdmcp, libXmu, libXext, libXrender, libXfont, libXi, libXau, libXaw, libXt, libXpm, libXtst, libXres, libxkbfile
Xphelloworld libX11, libXaw, libXprintAppUtil, libXPrintUtil
Xplsprinters libXp
Xprehashprinterlist libXp
Xprop libXmu
Xpr libXmu
Xrandr libXrandr
Xrdb libXmu
Xrefresh libX11
Xrx libX11
Xsetmode libXi
Xsetpointer libXi
Xsetroot libXmu
Xset libXmu, libX11, libXext, libXxf86misc, libXfontcache, libXp
Xsm libXt
Xstdcmap libXmu
Xtrap libX11, libXtrap
Xvidtune libXxf86vm, libXt
Xvinfo libXv
Xwd libXmu
Xwininfo libXmu
Xwud libX11

Non-Multilib

A security vulnerability has been identified in the xdm, xf86dga, xinit and xload packages. Before building these packages with the commands shown below, be sure to apply the supplied patches. For xdm, this can be accomplished with with the following command:

patch -Np1 -i ../xdm-Template:Xdm-Version-setuid-1.patch

For xf86dga, the patch can be applied with the following command:

patch -Np1 -i ../xf86dga-Template:Xf86dga-Version-setuid-1.patch

For xinit, the patch can be applied with the following command:

patch -Np1 -i ../xinit-Template:Xinit-Version-setuid-1.patch

For xload, the patch can be applied with the following command:

patch -Np1 -i ../xload-Template:Xload-Version-setuid-1.patch

All of the applications can be built and installed the same way.

Compile the application.

./configure $XORG_CONFIG &&
make

Install the application.

make install

Multilib

32Bit

A security vulnerability has been identified in the xdm, xf86dga, xinit and xload packages. Before building these packages with the commands shown below, be sure to apply the supplied patches. For xdm, this can be accomplished with with the following command:

patch -Np1 -i ../xdm-Template:Xdm-Version-setuid-1.patch

For xf86dga, the patch can be applied with the following command:

patch -Np1 -i ../xf86dga-Template:Xf86dga-Version-setuid-1.patch

For xinit, the patch can be applied with the following command:

patch -Np1 -i ../xinit-Template:Xinit-Version-setuid-1.patch

For xload, the patch can be applied with the following command:

patch -Np1 -i ../xload-Template:Xload-Version-setuid-1.patch

All of the applications can be built and installed the same way.

Compile the application.

PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" CC="gcc ${BUILD32}" CXX="g++  ${BUILD32}" \
./configure $XORG_CONFIG32 &&
make

Install the application.

make install

N32

Apply the patches:

For xdm, the patch can be applied with the following command:

patch -Np1 -i ../xdm-Template:Xdm-Version-setuid-1.patch

For xf86dga, the patch can be applied with the following command:

patch -Np1 -i ../xf86dga-Template:Xf86dga-Version-setuid-1.patch

For xinit, the patch can be applied with the following command:

patch -Np1 -i ../xinit-Template:Xinit-Version-setuid-1.patch

For xload, the patch can be applied with the following command:

patch -Np1 -i ../xload-Template:Xload-Version-setuid-1.patch

All of the applications can be built and installed the same way.

Compile the application.

PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
./configure $XORG_CONFIGN32 &&
make

Install the application.

make install

64Bit

Apply the patches:

For xdm, the patch can be applied with the following command:

patch -Np1 -i ../xdm-Template:Xdm-Version-setuid-1.patch

For xf86dga, the patch can be applied with the following command:

patch -Np1 -i ../xf86dga-Template:Xf86dga-Version-setuid-1.patch

For xinit, the patch can be applied with the following command:

patch -Np1 -i ../xinit-Template:Xinit-Version-setuid-1.patch

For xload, the patch can be applied with the following command:

patch -Np1 -i ../xload-Template:Xload-Version-setuid-1.patch

All of the applications can be built and installed the same way.

Compile the application.

PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" CC="gcc ${BUILD64}" CXX="g++  ${BUILD64}" \
./configure $XORG_CONFIG64 &&
make

Install the application.

make install

Semi-Automated Build

The semi-automated built assumes that you are using subdirectories as discussed in the introduction. It also assumes that the app-7.1.wget file is available in the base directory (xc). After entering the app subdirectory, unpack the source tarballs:

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

Patch the four applications with security vulnerabilities:

cd xdm* &&
patch -Np1 -i ../xdm-Template:Xdm-Version-setuid-1.patch &&
cd ../xf86dga* &&
patch -Np1 -i ../xf86dga-Template:Xf86dga-Version-setuid-1.patch &&
cd ../xinit* &&
patch -Np1 -i ../xinit-Template:Xinit-Version-setuid-1.patch &&
cd ../xload* &&
patch -Np1 -i ../xload-Template:Xload-Version-setuid-1.patch &&
cd ..

Build and install the applications in the app-7.1.wget file:

for dir in `sed "s/.tar.bz2//g" ../app-7.1.wget`; do
 cd ${dir} &&
 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" CC="gcc ${BUILD32}" CXX="g++  ${BUILD32}" \
 ./configure $XORG_CONFIG32 &&
 make &&
 make install &&
 make distclean &&
 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" CC="gcc ${BUILD64}" CXX="g++  ${BUILD64}" \
 ./configure $XORG_CONFIG64 &&
 make &&
 make install &&
 cd ..;
done

Next install the remaining Xorg Data files.

Contents

There are 92 Xorg application packages, each of which installs one or more files. 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_app>.files

Short Description

The 92 applications, listed alphabetically, with a short description are:

appres: lists X application resource database.
bdftopcf: converts X font from Bitmap Distribution Format to Portable Compiled Format.
beforelight: MIT screen saver sample demo application.
bitmap: XBM format bitmap editor and converter utilities.
editres: dynamic resource editor for X Toolkit applications.
fonttosfnt: wraps a bitmap font in a sfnt (TrueType) wrapper.
fslsfonts: lists fonts served by X font server.
fstobdf: generates BDF font from X font server.
iceauth: ICE authority file utility.
ico: animate an icosahedron or other polyhedron demo application.
lbxproxy: low bandwidth X proxy (Preferred replacements are OpenSSH and/or NX).
listres: list resources in widgets.
luit converts terminal I/O from legacy encodings to UTF-8.
mkcfm creates summaries of CID font metric files.
mkfontdir: creates an index of X font files in a directory.
mkfontscale: creates an index of scalable font files for X.
oclock: round X clock.
proxymngr: proxy manager service (Preferred replacements are OpenSSH and/or NX).
rgb: X colorname -> RGB mapping database.
rstart remote start client [Preferred replacements: ssh and/or NX].
scripts: runs X command on another system via rsh (Preferred replacement is OpenSSH).
sessreg: register X sessions in system utmp/utmpx databases.
setxkbmap: sets the keyboard using the X Keyboard Extension.
showfont: shows information about X font from font server.
smproxy Session Manager Proxy.
twm: the tabbed window manager.
viewres: graphical class/resource browser for Xt.
x11perf: simple X server performance benchmarker demo application.
xauth: X authority file utility.
xbiff: watches mailboxes for new message delivery.
xcalc: scientific calculator for X.
xclipboard: X clipboard manager.
xclock: X clock.
xcmsdb: device color characterization utility for X Color Management System.
xconsole: monitors system console messages.
xcursorgen: create an X cursor file from PNG images.
xdbedizzy: DBE sample demo application.
xditview: displays ditroff output.
xdm: X Display Manager / XDMCP server.
xdpyinfo: display information utility for X.
xdriinfo: query configuration information of DRI drivers (DRI-supporting

platforms).

xedit: simple text editor for X.
xev: prints contents of X events.
xeyes: follow the mouse/shape extension demo application.
xf86dga: test program for the XFree86-DGA extension demo application.
xfd: display all the characters in an X font.
xfindproxy: locate proxy services (Preferred replacements are OpenSSH and/or NX).
xfontsel: point and click selection of X11 font names.
xfs: the X font server.
xfsinfo: X font server information utility.
xfwp: X firewall proxy (Preferred replacements are OpenSSH and/or NX).
xgamma: alters a monitor's gamma correction through the X server.
xgc: X graphics demo application.
xhost: server access control program for X.
xinit: X Window System initializer (includes startx).
xkbcomp: compiles XKB keyboard description.
xkbevd: XKB event daemon demo application.
xkbprint: print an XKB keyboard description.
xkbutils: XKB utility demo application.
xkill: kills a client by its X resource.
xload: system load average display for X.
xlogo: draw old X logo demo application.
xlsatoms: lists interned atoms defined on server.
xlsclients: lists client applications running on a display.
xlsfonts: lists X fonts available on X server.
xmag: magnifies parts of the screen.
xman: Unix manual page viewer.
xmessage: displays a message or query in a window.
xmh: X interface to MH mail tools (Preferred replacement is exmh).
xmodmap: utility for modifying keymaps and button mappings.
xmore: plain text display program for the X Window System.
xphelloworld: Xprint sample applications.
xplsprinters: lists Xprint printers.
xpr: print an X window dump from xwd.
xprehashprinterlist: rehashes list of Xprint printers.
xprop: property displayer for X.
xrandr: primitive command line interface to RandR extension.
xrdb: X server resource database utility.
xrefresh: refreshes all or part of an X screen.
xrx:
xset: user preference utility for X.
xsetmode: sets the mode for an X Input device.
xsetpointer: sets an X input device as the main pointer.
xsetroot: root window parameter setting utility for X.
xsm: X Session Manager.
xstdcmap: X standard colormap utility.
xtrap: Trap sample clients.
xvidtune: video mode tuner for Xorg.
xvinfo: prints out X-Video extension adaptor information.
xwd: dumps current contents of X window or screen to file.
xwininfo: window information utility for X.
xwud: displays an X window dump from xwd.