Xorg Libraries

Introduction to Xorg Libraries

The Xorg libraries provide library routines that are used within all X Window applications.

Package Information

Additional Downloads

Xorg Libraries Dependencies

Required

Ed-0.8, Fontconfig-2.4.2, pkg-config-0.22, Xorg Protocol Headers, and libXdmcp-1.0.2

Optional

libxcb-1.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/Xorg7Libraries

Downloading Xorg Libraries

To download the needed files using wget, use the following commands:

mkdir lib &&
cd lib &&
grep -v '^#' ../lib-7.2.wget | wget -i- -c \
    -B http://xorg.freedesktop.org/releases/individual/lib/ &&
md5sum -c ../lib-7.2.md5

Installation of Xorg Libraries

Install the libraries by running the following commands for each package:

case $(basename "$PWD") in
libX11-1.1.2 )
    patch -Np1 -i ../../libX11-1.1.2-badargs-1.patch &&
    sed -i 's/_XGet/XGet/' modules/im/ximcp/imDefLkup.c
    ;;
libXfont-1.2.8 )
    patch -Np1 -i ../../libXfont-1.2.8-pcf_parser-1.patch &&
    sed -i 's/(ft_isdigit/(isdigit/' src/FreeType/fttools.c
    ;;
esac &&
./configure $XORG_CONFIG &&
make

These packages do not provide test suites.

Now as the root user:

make install &&
ldconfig

Command Explanations

--without-xcb: By default, libX11 will use libxcb-1.0 for its transport layer. This parameter is necessary in the ./configure command if libxcb-1.0 is not installed.

patch -Np1 -i ../libX11-1.1.2-badargs-1.patch: This patch fixes an error with argument ordering in one of the functions in libX11.

sed -i 's/_XGet/XGet/' modules/im/ximcp/imDefLkup.c: This command fixes a locking bug in libX11.

patch -Np1 -i ../libXfont-1.2.8-pcf_parser-1.patch: This patch fixes a security vulnerability in the PCF font parser in libXfont.

sed -i 's/(ft_isdigit/(isdigit/' src/FreeType/fttools.c: In newer versions of Freetype2, the ft_isdigit macro has been removed. This command replaces it with the compatible isdigit macro.

Configuration of Xorg Libraries

If you've chosen to install Xorg into /usr, then no further configuration is necessary and you can skip the rest of this section. If you've opted for an alternate prefix, you should create two symlinks to satisfy the expected environment of several packages. Execute the following commands as the root user:

ln -sv $XORG_PREFIX/lib/X11 /usr/lib/X11 &&
ln -sv $XORG_PREFIX/include/X11 /usr/include/X11

Contents

Installed Programs: cxpm, makestrs, sxpm, xft-config
Installed Libraries: libAppleWM.{so,a}, libdmx.{so,a}, libfontenc.{so,a}, libFS.{so,a}, libICE.{so,a}, liboldX.{so,a}, libSM.{so,a}, libWindowsWM.{so,a}, libX11.{so,a}, libXaw6.{so,a}, libXaw7.{so,a}, libXaw8.{so,a}, libXaw.{so,a}, libXcomposite.{so,a}, libXcursor.{so,a}, libXdamage.{so,a}, libXevie.{so,a}, libXext.{so,a}, libXfixes.{so,a}, libXfontcache.{so,a}, libXfont.{so,a}, libXft.{so,a}, libXinerama.{so,a}, libXi.{so,a}, libxkbfile.{so,a}, libxkbui.{so,a}, libXmu.{so,a}, libXmuu.{so,a}, libXpm.{so,a}, libXprintAppUtil.{so,a}, libXprintUtil.{so,a}, libXp.{so,a}, libXrandr.{so,a}, libXrender.{so,a}, libXRes.{so,a}, libXss.{so,a}, libXTrap.{so,a}, libXt.{so,a}, libXtst.{so,a}, libXvMC.{so,a}, libXvMCW.{so,a}, libXv.{so,a}, libXxf86dga.{so,a}, libXxf86misc.{so,a}, and libXxf86vm.{so,a}

Short Descriptions

cxpm

checks the format of an XPM file.

makestrs

makes string table C source and header(s).

sxpm

shows an XPM file and/or converts XPM 1 or 2 files to XPM 3.

xft-config

reports Xft version, compiler, linker, and/or installation directory information.

libAppleWM.{so,a}

is the Apple rootless window management extension.

libdmx.{so,a}

is the X Window System DMX (Distributed Multihead X) extension library.

libfontenc.{so,a}

is the X11 font encoding library.

libFS.{so,a}

is the library interface to the X Font Server.

libICE.{so,a}

is the X Inter Client Exchange Library.

liboldX.{so,a}

is the interface library to X10 routines.

libSM.{so,a}

is the X Session Management Library.

libWindowsWM.{so,a}

is the WindowsWM Library based on AppleWM.

libX11.{so,a}

is the Xlib Library.

libXaw6.{so,a}

is the X Athena Widgets Library, version 6.

libXaw7.{so,a}

is the X Athena Widgets Library, version 7.

libXaw8.{so,a}

is the X Athena Widgets Library, version 8.

libXaw.{so,a}

are symbolic links to the current X Athena Widgets Library, version 8.

libXcomposite.{so,a}

is the X Composite Library.

libXcursor.{so,a}

is the X Cursor management library.

libXdamage.{so,a}

is the X Damage Library.

libXevie.{so,a}

is the X Event Interception Extension (XEvIE) Library.

libXext.{so,a}

is the Misc X Extension Library.

libXfixes.{so,a}

a library to provide augmented versions of core protocol requests.

libXfontcache.{so,a}

is the X-TrueType font cache extension client library.

libXfont.{so,a}

is the X font library.

libXft.{so,a}

is the X FreeType interface library.

libXinerama.{so,a}

is the Xinerama Library.

libXi.{so,a}

is the X Input Extension Library.

libxkbfile.{so,a}

is the xkbfile Library.

libxkbui.{so,a}

is the xkbui Library.

libXmu.{so,a}

is the X interface library for miscellaneous utilities not part of the Xlib standard.

libXmuu.{so,a}

is the Mini Xmu Library.

libXpm.{so,a}

is the X Pixmap Library.

libXprintAppUtil.{so,a}

is the XprintAppUtil Library.

libXprintUtil.{so,a}

is the XprintUtil Library.

libXp.{so,a}

is the X Print Client Library.

libXrandr.{so,a}

is the X Resize, Rotate and Reflection extension library.

libXrender.{so,a}

is the X Render Library.

libXRes.{so,a}

is the X-Resource extension client library.

libXss.{so,a}

is the X11 Screen Saver extension client library.

libXTrap.{so,a}

is the X Trap Library.

libXt.{so,a}

is the X Toolkit Library.

libXtst.{so,a}

is the Xtst Library.

libXvMC.{so,a}

is the X-Video Motion Compensation Library.

libXvMCW.{so,a}

is the XvMC Wrapper including the Nonstandard VLD extension.

libXv.{so,a}

is the X Window System video extension library.

libXxf86dga.{so,a}

is the client library for the XFree86-DGA extension.

libXxf86misc.{so,a}

is the client library for the XFree86-Misc X extension.

libXxf86vm.{so,a}

is the client library for the XFree86-VidMode X extension.

Last updated on 2008-06-19 19:28:34 -0500