Xorg7/Xserver

From CBLFS
Revision as of 16:55, 24 April 2007 by Jciccone (talk | contribs)
Jump to navigationJump to search
Download Source: http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-1.9.2.901.tar.bz2

Back to Xorg Apps

Introduction to Xorg7/Xserver

The Xorg Server is the backbone of the X Windows system.

Project Homepage: Unknown

Dependencies

Required

Optional

MesaLib

Configuration Information

Caution.png

Note

If you intend to build with Mesa, you must pass the path to the source directory.
--with-mesa-source=...:This switch directs the build system to the Mesa source directory. If you wish to build without Mesa, omit this switch.
--with-dri-driver-path=...: The location of the Mesa DRI drivers.
--enable-install-setuid: The Xorg binary must run as the root user. This switch ensures that the binary is installed setuid when make is run by an unprivileged user.
--enable-xgl: Build the xgl server.
--enable-xglx: Build the Xglx xgl module.
--enable-xegl: Build the Xegl xgl module.
--enable-builddocs: Causes documentation to be built.
--disable-dri: Disable building of the DRI extension; required if building without Mesa.
--disable-xprint: Disable building of the Xprint extension and server; required if building without Mesa.

Non-Multilib

Correct the Mesa header search path.

sed -i 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/main@8' GL/glx/Makefile.in &&
sed -i 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/glapi@7' GL/glx/Makefile.in

Compile the package:

sed -i '/xpconfigdir=/s@=.*@=$datadir/X11/xserver@' configure &&
sed -i '/-DXPRINTDIR/s/libdir/datadir/' hw/xprint/Makefile.in &&
./configure $XORG_CONFIG --enable-install-setuid \
    --with-dri-driver-path="${XORG_PREFIX}/lib/xorg/modules/dri" \
    --with-fontdir="/usr/share/fonts" \

ccccccc

 make

Install the package:

make install

Multilib

32Bit

Correct the Mesa header search path.

sed -i 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/main@8' GL/glx/Makefile.in &&
sed -i 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/glapi@7' GL/glx/Makefile.in

Compile the package:

sed -i '/xpconfigdir=/s@=.*@=$datadir/X11/xserver@' configure &&
sed -i '/-DXPRINTDIR/s/libdir/datadir/' hw/xprint/Makefile.in &&
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 CC="gcc ${BUILD32}" \
./configure $XORG_CONFIG32 --enable-install-setuid \
    --with-dri-driver-path="${XORG_PREFIX}/lib/xorg/modules/dri" \
    --with-fontdir="/usr/share/fonts" \
    --with-mesa-source="${PWD}/../Mesa-7.9-32" &&
make 

Install the package:

make install

N32

Correct the Mesa header search path.

sed -i 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/main@8' GL/glx/Makefile.in &&
sed -i 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/glapi@7' GL/glx/Makefile.in

Compile the package:

sed -i '/xpconfigdir=/s@=.*@=$datadir/X11/xserver@' configure &&
sed -i '/-DXPRINTDIR/s/libdir/datadir/' hw/xprint/Makefile.in &&
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 CC="gcc ${BUILD32}" \
./configure $XORG_CONFIGN32 --enable-install-setuid \
    --with-dri-driver-path="${XORG_PREFIX}/lib32/xorg/modules/dri" \
    --with-fontdir="/usr/share/fonts" \
    --with-mesa-source="${PWD}/../Mesa-7.9-n32" &&
make 

Install the package:

make install

64Bit

Correct the Mesa header search path.

sed -i 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/main@8' GL/glx/Makefile.in &&
sed -i 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/glapi@7' GL/glx/Makefile.in

Compile the package:

sed -i '/xpconfigdir=/s@=.*@=$datadir/X11/xserver@' configure &&
sed -i '/-DXPRINTDIR/s/libdir/datadir/' hw/xprint/Makefile.in &&
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 CC="gcc ${BUILD64}" \
./configure $XORG_CONFIG64 --enable-install-setuid \
    --with-dri-driver-path="${XORG_PREFIX}/lib64/xorg/modules/dri" \
    --with-fontdir="/usr/share/fonts" \
    --with-mesa-source="${PWD}/../Mesa-7.9-64" &&
make

Install the package:

make install

Next install your Drivers

Contents

Installed Directories: ${XORG_PREFIX}/include/xorg, ${XORG_PREFIX}/lib/xserver, ${XORG_PREFIX}/share/X11/xkb/compiled, ${XORG_PREFIX}/lib/xorg/modules/multimedia, ${XORG_PREFIX}/lib/xorg/modules/linux, ${XORG_PREFIX}/lib/xorg/modules/fonts, ${XORG_PREFIX}/include/X11/pixmaps, ${XORG_PREFIX}/lib/X11/getconfig, ${XORG_PREFIX}/lib/X11/xserver, ${XORG_PREFIX}/lib/X11/xserver/C, ${XORG_PREFIX}/lib/X11/xserver/C/print, ${XORG_PREFIX}/lib/X11/xserver/C/print/attributes, ${XORG_PREFIX}/lib/X11/xserver/C/print/ddx-config, ${XORG_PREFIX}/lib/X11/xserver/C/print/ddx-config/raster, ${XORG_PREFIX}/lib/X11/xserver/C/print/models, ${XORG_PREFIX}/lib/X11/xserver/C/print/models/PSdefault, ${XORG_PREFIX}/lib/X11/xserver/C/print/models/PSdefault/fonts, ${XORG_PREFIX}/lib/X11/xserver/C/print/models/CANONBJ10E-GS, ${XORG_PREFIX}/lib/X11/xserver/C/print/models/CANONC3200-PS, ${XORG_PREFIX}/lib/X11/xserver/C/print/models/CANONC3200-PS/fonts, ${XORG_PREFIX}/lib/X11/xserver/C/print/models/GSdefault, ${XORG_PREFIX}/lib/X11/xserver/C/print/models/HPDJ1600C, ${XORG_PREFIX}/lib/X11/xserver/C/print/models/HPDJ1600C/fonts, ${XORG_PREFIX}/lib/X11/xserver/C/print/models/HPLJ4050-PS, ${XORG_PREFIX}/lib/X11/xserver/C/print/models/HPLJ4050-PS/fonts, ${XORG_PREFIX}/lib/X11/xserver/C/print/models/HPLJ4family, ${XORG_PREFIX}/lib/X11/xserver/C/print/models/HPLJ4family/fonts, ${XORG_PREFIX}/lib/X11/xserver/C/print/models/PS2PDFspooldir-GS, ${XORG_PREFIX}/lib/X11/xserver/C/print/models/PSspooldir, ${XORG_PREFIX}/lib/X11/xserver/C/print/models/SPSPARC2, ${XORG_PREFIX}/lib/X11/xserver/C/print/models/SPSPARC2/fonts, ${XORG_PREFIX}/lib/X11/xserver/en_US, ${XORG_PREFIX}/lib/X11/xserver/en_US/print, ${XORG_PREFIX}/lib/X11/xserver/en_US/print/attributes
Installed Programs: gtf, cvt, ioport, pcitweak, scanpci, xorgcfg, xorgconfig, getconfig, getconfig.pl, Xorg, Xvfb, Xnest, xdmxconfig, vdltodmx, dmxtodmx, xdmx, dmxwininfo, dmxreconfig, dmxresize, dmxaddscreen, dmxrmscreen, dmxaddinput, dmxrminput, Xdmx, Xprt
Installed Libraries: libddc.la, libi2c.la, bt829_drv.la, fi1236_drv.la, msp3430_drv.la, tda8425_drv.la, tda9850_drv.la, tda9885_drv.la, uda1380_drv.la, libint10.la, libfbdevhw.la, libdrm.la, librac.la, libramdac.la, libshadowfb.la, libvbe.la, libvgahw.la, libxaa.la, libxf1bpp.la, libxf4bpp.la, libxf8_16bpp.la, libxf8_32bpp.la, libscanpci.la, libpcidata.la, libextmod.la, libdbe.la, librecord.la, libglx.la, libGLcore.la, libxtrap.la, libbitmap.la, libfreetype.la, libtype1.la, libafb.la, libcfb.la, libcfb16.la, libcfb32.la, libfb.la, libmfb.la, libshadow.la, libexa.la, libdri.la
Symlinks: inb, inw, inl, outb, outw, outl, X

Short Descriptions