Difference between revisions of "Xorg7/Apps"

From CBLFS
Jump to navigationJump to search
(Edited to conform with template.)
Line 20: Line 20:
 
Back to [[Xorg7/xbitmaps|xbitmaps]]
 
Back to [[Xorg7/xbitmaps|xbitmaps]]
  
= Instroduction to Xorg Applications =
+
== Introduction 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 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 ==
  
== Required ==
+
=== Required ===
  
 
Applications have the following required dependencies:
 
Applications have the following required dependencies:
Line 414: Line 414:
 
|}
 
|}
  
= Non-Multilib =
+
== 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 443: Line 443:
 
  make install
 
  make install
  
= Multilib =
+
== Multilib ==
 +
 
 +
=== 32Bit ===
  
== 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 474: Line 475:
 
  make install
 
  make install
  
== N32 ==
+
=== N32 ===
 +
 
 
Apply the patches:
 
Apply the patches:
  
Line 505: Line 507:
 
  make install
 
  make install
  
== 64Bit ==
+
=== 64Bit ===
 +
 
 
Apply the patches:
 
Apply the patches:
  
Line 535: Line 538:
 
  make install
 
  make install
  
= Semi-Automated Build =
+
== Semi-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:
 
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:
Line 573: Line 576:
 
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):
Line 579: Line 582:
 
  make install 2>&1 | tee ../../<name_of_app>.files
 
  make install 2>&1 | tee ../../<name_of_app>.files
  
== Short Description ==
+
=== Short Description ===
  
 
The 92 applications, listed alphabetically, with a short description are:
 
The 92 applications, listed alphabetically, with a short description are:

Revision as of 14:40, 3 January 2007

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

Introduction 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.