Difference between revisions of "Xorg7/Apps"

From CBLFS
Jump to navigationJump to search
m (Non Multilib)
(Required)
 
(5 intermediate revisions by 3 users not shown)
Line 41: Line 41:
 
!compiz
 
!compiz
 
|
 
|
|[[XCB]], [[startup-notification]], [[LibXML2]], [[LibXSLT]], [[Xorg7/MesaLib]], [[Glib2]], [[GConf]], [[D-BUS Glib]], [[FUSE]], [[Cairo]], [[librsvg]], [[Gtk2]], [[Metacity]], [[Qt3]], [[KdeBase]], [[KDE4/KdeBase]], [[Perl Module XML::Parser]]
+
|[[XCB]], [[startup-notification]], [[LibXML2]], [[LibXSLT]], [[Xorg7/MesaLib]], [[Glib2]], [[GConf]], [[D-BUS Glib]], [[FUSE]], [[Cairo]], [[librsvg]], [[Gtk2]], [[Metacity]], [[Qt3]], [[KdeBase]], [[KDE4/KdeBase]], [[XML::Parser]]
 
|-valign="top"
 
|-valign="top"
 
!grandr
 
!grandr
Line 60: Line 60:
 
|-valign="top"
 
|-valign="top"
 
!Xfd
 
!Xfd
 +
|
 +
|[[netkit-rsh]]
 +
|-valign="top"
 +
!Xsm
 
|
 
|
 
|[[FreeType]]
 
|[[FreeType]]
Line 69: Line 73:
  
 
  sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure
 
  sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure
 +
 +
Before building '''xscope''' execute the following command in the top level of its source directory:
 +
 +
sed -i "1i\#include <rpc/types.h>" scope.c
  
 
If you're building '''Compiz''' with [[GConf]] support the use the following for the configure command for '''Compiz''':
 
If you're building '''Compiz''' with [[GConf]] support the use the following for the configure command for '''Compiz''':
Line 90: Line 98:
  
 
  sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure
 
  sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure
 +
 +
Before building '''xscope''' execute the following command in the top level of its source directory:
 +
 +
sed -i "1i\#include <rpc/types.h>" scope.c
  
 
If you're building '''Compiz''' with [[GConf]] support the use the following for the configure command for '''Compiz''':
 
If you're building '''Compiz''' with [[GConf]] support the use the following for the configure command for '''Compiz''':
Line 110: Line 122:
  
 
  sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure
 
  sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure
 +
 +
Before building '''xscope''' execute the following command in the top level of its source directory:
 +
 +
sed -i "1i\#include <rpc/types.h>" scope.c
  
 
If you're building '''Compiz''' with [[GConf]] support the use the following for the configure command for '''Compiz''':
 
If you're building '''Compiz''' with [[GConf]] support the use the following for the configure command for '''Compiz''':
Line 130: Line 146:
  
 
  sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure
 
  sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure
 +
 +
Before building '''xscope''' execute the following command in the top level of its source directory:
 +
 +
sed -i "1i\#include <rpc/types.h>" scope.c
  
 
If you're building '''Compiz''' with [[GConf]] support the use the following for the configure command for '''Compiz''':
 
If you're building '''Compiz''' with [[GConf]] support the use the following for the configure command for '''Compiz''':
Line 163: Line 183:
 
   tar xvf $package &&
 
   tar xvf $package &&
 
   cd $packagedir &&
 
   cd $packagedir &&
 +
 +
  case "${packagedir}" in
 +
    xrx-*) sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure || break ;;
 +
    xscope-*) sed -i "1i\#include <rpc/types.h>" scope.c || break ;;
 +
  esac
 
   
 
   
 
   ./configure $XORG_CONFIG &&
 
   ./configure $XORG_CONFIG &&
Line 177: Line 202:
 
=== Multilib ===
 
=== Multilib ===
  
Install the protocol headers:
+
Install the packages:
  
 
  top=$PWD
 
  top=$PWD
Line 189: Line 214:
 
   tar xvf $package &&
 
   tar xvf $package &&
 
   cd $packagedir &&
 
   cd $packagedir &&
 +
 +
  case "${packagedir}" in
 +
    xrx-*) sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure || break ;;
 +
    xscope-*) sed -i "1i\#include <rpc/types.h>" scope.c || break ;;
 +
  esac
 
   
 
   
 
   USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
   USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
Line 201: Line 231:
 
   tar xfv $package &&
 
   tar xfv $package &&
 
   cd $packagedir &&
 
   cd $packagedir &&
 +
 +
  case "${packagedir}" in
 +
    xrx-*) sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure || break ;;
 +
    xscope-*) sed -i "1i\#include <rpc/types.h>" scope.c || break ;;
 +
  esac
 
   
 
   
 
   USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
   USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \

Latest revision as of 09:12, 20 October 2010

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

Back to xbitmaps

Introduction to Xorg7/Apps

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 https://cblfs.clfs.org/Special:Filepath/App-20101205.wget &&
mkdir -p app &&
cd app &&
wget -B http://xorg.freedesktop.org/releases/individual/app/ -i ../App-20101205.wget

Project Homepage: Unknown

Caution.png

Note

Not all applications are required for a working X Windows. Many are nothing more than demonstration programs. Applications bdftopcf, mkfontdir, mkfontscale, xcursorgen, xinit, and xkbcomp are the minimal requirements. The compiz application is not included in the wget list because it depends on too many packages. If you still wish to build it you can download it from the mirror listed at the top of the page.

Dependencies

Required

In addition to the Xorg Libraries, certain applications have required non-Xorg dependencies as listed below.

Application Depends On
bitmap xbitmaps
compiz XCB, startup-notification, LibXML2, LibXSLT, Xorg7/MesaLib, Glib2, GConf, D-BUS Glib, FUSE, Cairo, librsvg, Gtk2, Metacity, Qt3, KdeBase, KDE4/KdeBase, XML::Parser
grandr Gtk2, GConf
Xbiff xbitmaps
Xcursorgen libpng
Xdriinfo MesaLib
Xfd netkit-rsh
Xsm FreeType

Non-Multilib

Before building Xrx execute the following command in the top level of its source directory:

sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure

Before building xscope execute the following command in the top level of its source directory:

sed -i "1i\#include <rpc/types.h>" scope.c

If you're building Compiz with GConf support the use the following for the configure command for Compiz:

./configure $XORG_CONFIG --with-gconf-schema-file-dir=/etc/gnome/gconf/schemas

Compile the package:

./configure $XORG_CONFIG &&
make

Install the application.

make install

Multilib

32Bit

Before building Xrx execute the following command in the top level of its source directory:

sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure

Before building xscope execute the following command in the top level of its source directory:

sed -i "1i\#include <rpc/types.h>" scope.c

If you're building Compiz with GConf support the use the following for the configure command for Compiz:

./configure $XORG_CONFIG --with-gconf-schema-file-dir=/etc/gnome/gconf/schemas

Compile the package:

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

Install the package:

make install

N32

Before building Xrx execute the following command in the top level of its source directory:

sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure

Before building xscope execute the following command in the top level of its source directory:

sed -i "1i\#include <rpc/types.h>" scope.c

If you're building Compiz with GConf support the use the following for the configure command for Compiz:

./configure $XORG_CONFIG --with-gconf-schema-file-dir=/etc/gnome/gconf/schemas

Compile the package:

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

Install the package:

make install

64Bit

Before building Xrx execute the following command in the top level of its source directory:

sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure

Before building xscope execute the following command in the top level of its source directory:

sed -i "1i\#include <rpc/types.h>" scope.c

If you're building Compiz with GConf support the use the following for the configure command for Compiz:

./configure $XORG_CONFIG --with-gconf-schema-file-dir=/etc/gnome/gconf/schemas

Compile the package:

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

Install the package:

make install

Semi-Automated Build

These automated build instructions assume that you are using subdirectories as discussed in the introduction. You must also have an unaltered copy of Lib-20101205.wget in the main working directory (xc). This file lists each library in an order that ensures dependencies are satisfied.

Non Multilib

Install the packages:

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

  cd $top || break;

  grep ^$packagedir$ done && continue;

  tar xvf $package &&
  cd $packagedir &&

  case "${packagedir}" in
    xrx-*) sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure || break ;;
    xscope-*) sed -i "1i\#include <rpc/types.h>" scope.c || break ;;
  esac

  ./configure $XORG_CONFIG &&
  make &&
  make install &&

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

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

Multilib

Install the packages:

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

  cd $top || break;

  grep ^$packagedir$ done && continue;

  tar xvf $package &&
  cd $packagedir &&

  case "${packagedir}" in
    xrx-*) sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure || break ;;
    xscope-*) sed -i "1i\#include <rpc/types.h>" scope.c || break ;;
  esac

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

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

  tar xfv $package &&
  cd $packagedir &&

  case "${packagedir}" in
    xrx-*) sed -i "/PLUGIN_CFLAGS=-I/s/-I.*$/'&'/" configure || break ;;
    xscope-*) sed -i "1i\#include <rpc/types.h>" scope.c || break ;;
  esac

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

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

  echo "$packagedir" >> done
done
rm done

Forward to Data

Contents

There are 92 Xorg application packages, each of which installs one or more files. Rather than listing all of the files installed, a listing of the 92 application packages and a short description of each follows. The 92 application packages, listed in alphabetical order, with a short description are:

Xorg Application Short Description
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.
compiz Compiz is an OpenGL compositing manager that use GLX_EXT_texture_from_pixmap for binding redirected top-level windows to texture objects.
editres dynamic resource editor for X Toolkit applications.
grandr Gnome GUI interface to randr
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.
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 replacementsare OpenSSH 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.