Difference between revisions of "Xorg7/Xserver"

From CBLFS
Jump to navigationJump to search
 
(34 intermediate revisions by 7 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
|-
+
|http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-{{Xorg-server-Version}}.tar.bz2
| http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-{{Xorg-server-Version}}.tar.bz2
 
|-
 
| http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-{{Xorg-server-Version}}.tar.gz
 
|-
 
!Required Patches:
 
|-
 
| http://svn.cross-lfs.org/svn/repos/patches/xorg-server/xorg-server-{{Xorg-server-Version}}-setuid-2.patch
 
|-
 
 
|}
 
|}
  
 
Back to Xorg [[Xorg7/Apps|Apps]]
 
Back to Xorg [[Xorg7/Apps|Apps]]
  
== Introduction to the Xorg Server ==
+
{{Package-Introduction|The Xorg Server is the backbone of the X Windows system.}}
 
 
The Xorg Server is the backbone of the X Windows system.
 
  
 
== Dependencies ==
 
== Dependencies ==
  
 
=== Required ===
 
=== Required ===
 +
* Xorg [[Xorg7/Fonts|Fonts]]
 +
* [[OpenSSL]]
  
* Xorg [[Xorg7/Fonts|Fonts]]
+
=== Recommended ===
 +
* [[HAL]]
  
 
=== Optional ===
 
=== Optional ===
 +
* [[Xorg7/MesaLib|MesaLib]]
 +
* [[D-BUS Core]]
  
[[Xorg7/MesaLib|MesaLib]]
+
=== Runtime ===
 +
* [[Xorg7/Apps| xinit]]
  
 
== Configuration Information ==
 
== Configuration Information ==
 
'''Note:'''
 
If you intend to build with Mesa, you must have the Mesa source directory available when building the Xorg-server. 
 
 
 
{|
 
{|
|<i>--with-mesa-source=...:</i>This switch directs the build system to the Mesa source directory. If you wish to build without Mesa, omit this switch.
 
 
|-valign="top";
 
|-valign="top";
 
|<i>--with-dri-driver-path=...:</i> The location of the Mesa DRI drivers.
 
|<i>--with-dri-driver-path=...:</i> The location of the Mesa DRI drivers.
 
|-valign="top";
 
|-valign="top";
 
|<i>--enable-install-setuid:</i> The Xorg binary must run as the root user. This switch ensures that the binary is installed setuid when <b>make</b> is run by an unprivileged user.
 
|<i>--enable-install-setuid:</i> The Xorg binary must run as the root user. This switch ensures that the binary is installed setuid when <b>make</b> is run by an unprivileged user.
|-valign="top";
 
|<i>--enable-xgl:</i> Build the xgl server.
 
|-valign="top";
 
|<i>--enable-xglx:</i> Build the Xglx xgl module.
 
|-valign="top";
 
|<i>--enable-xegl:</i> Build the Xegl xgl module.
 
 
|-valign="top";
 
|-valign="top";
 
|<i>--enable-builddocs:</i> Causes documentation to be built.
 
|<i>--enable-builddocs:</i> Causes documentation to be built.
 
|-valign="top";
 
|-valign="top";
 
|<i>--disable-dri:</i> Disable building of the DRI extension; required if building without Mesa.
 
|<i>--disable-dri:</i> Disable building of the DRI extension; required if building without Mesa.
|-valign="top";
 
|<i>--disable-xprint:</i> Disable building of the Xprint extension and server; required if building without Mesa.
 
 
|}
 
|}
  
 
== Non-Multilib ==
 
== Non-Multilib ==
  
Apply the patch to fix the security vulnerability in the xorg-server.
+
Compile the package:
 
 
patch -Np1 -i ../xorg-server-{{Xorg-server-Version}}-setuid-2.patch
 
 
 
Correct the Mesa header search path.
 
  
  sed -i 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/main@8' \
+
  ./configure $XORG_CONFIG --enable-install-setuid \
     GL/glx/Makefile.in &&
+
     --with-dri-driver-path="${XORG_PREFIX}/lib/xorg/modules/dri" \
sed -i 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/glapi@7' \
+
     --disable-dri2
     GL/glx/Makefile.in
 
  
Compile the server.  Note that you will need to provide the correct path to the Mesa source files on your system if you're building with Mesa.  If not building with Mesa, then don't pass the <i>--with-mesa-source</i> switch to the configure script.
+
Compile the package:
  
./configure $XORG_CONFIG \
 
    --with-mesa-source='</path/to>/Mesa-{{Mesa-Version}}' \
 
    --with-dri-driver-path=$XORG_PREFIX/lib/X11/modules/dri \
 
    --enable-install-setuid &&
 
 
   make
 
   make
  
There is no test suite for the xorg server.  Install the server.
+
Install the package:
  
 
  make install
 
  make install
  
 
== Multilib ==
 
== Multilib ==
 
+
'''This package does not provide any external libraries. Only one installation is needed.'''
=== 32Bit ===
 
 
 
Apply the patch to fix the security vulnerability in the xorg-server.
 
 
 
patch -Np1 -i ../xorg-server-{{Xorg-server-Version}}-setuid-2.patch
 
 
 
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 server.  Note that you will need to provide the correct path to the Mesa source files on your system if you're building with Mesa. If not building with Mesa, then don't pass the <i>--with-mesa-source</i> switch to the configure script.
 
 
 
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 CC="gcc ${BUILD32}" \
 
./configure $XORG_CONFIG32 \
 
    --with-mesa-source='../Mesa-{{Mesa-Version}}-32' \
 
    --with-dri-driver-path=$XORG_PREFIX/lib/X11/modules/dri \
 
    --enable-install-setuid &&
 
make
 
 
 
There is no test suite for the xorg server.  Install the server.
 
 
 
make install
 
 
 
=== N32 ===
 
 
 
To do.
 
  
 
=== 64Bit ===
 
=== 64Bit ===
  
Apply the patch to fix the security vulnerability in the xorg-server.
+
Compile the package:
 
 
patch -Np1 -i ../xorg-server-{{Xorg-server-Version}}-setuid-2.patch
 
 
 
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 server.  Note that you will need to provide the correct path to the Mesa source files on your system if you're building with Mesa.  If not building with Mesa, then don't pass the <i>--with-mesa-source</i> switch to the configure script.
 
  
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 CC="gcc ${BUILD64}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 CC="gcc ${BUILD64}" \
  ./configure $XORG_CONFIG64 --libdir=$XORG_PREFIX/lib64 \
+
  ./configure $XORG_CONFIG64 --enable-install-setuid \
    --with-mesa-source='../Mesa-{{Mesa-Version}}-64' \
+
     --with-dri-driver-path="${XORG_PREFIX}/lib64/xorg/modules/dri" &&
     --with-dri-driver-path=$XORG_PREFIX/lib64/X11/modules/dri \
 
    --enable-install-setuid &&
 
 
  make
 
  make
  
There is no test suite for the xorg server.  Install the server.
+
Install the package:
  
 
  make install
 
  make install
Line 141: Line 73:
 
= Contents =
 
= Contents =
  
{| style="text-align: left;"
+
{|style="text-align: left"
 +
|-valign="top"
 +
!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
 
|-valign="top"
 
|-valign="top"
 
!Installed Programs:
 
!Installed Programs:
|${XORG_PREFIX}/bin/{ioport,pcitweak,scanpci,xorgcfg,xorgconfig,Xorg,Xvfb,xdmxconfig,
+
|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
vdltodmx,dmxtodmx,xdmx,dmxwininfo,dmxreconfig,dmxresize,dmxaddscreen,dmxrmscreen,
 
dmsaddinput,dmxrminput,Xdmx,Xprt}
 
 
|-valign="top"
 
|-valign="top"
 
!Installed Libraries:
 
!Installed Libraries:
|${XORG_PREFIX}/lib/xorg/modules/{libddc,libi2c,libint10,librac,libramdac,libshadowfb,libvbe,
+
|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
libafb,libcfb,libcfb16,libcfb32,libfb,libmfb,libshadow,libexa,libscanpci,libpcidata,libvgahw,
+
|-valign="top"
libxaa,libxf1bpp,libxf4bpp,libxf8_16bpp,libxf8_32bpp}.{so,la}
+
!Symlinks:
|${XORG_PREFIX}/lib/xorg/modules/extensions/{libextmod,libdbe,librecord,libglx,libGLcore,
+
|inb, inw, inl, outb, outw, outl, X
libxtrap,libbitmap,libfreetype,libtype1,libdri}.{so,la}
 
|${XORG_PREFIX}/lib/xorg/modules/linux/{libfbdevhw,libdrm}.{so,la}
 
|${XORG_PREFIX}/lib/xorg/modules/multimedia/{bt829_drv,fi1236_drv,msp3430_drv,tda8425_drv,
 
tda9850_drv,tda9885_drv,uda1380_drv}.{so,la}
 
 
|}
 
|}
  
 
=== Short Descriptions ===
 
=== Short Descriptions ===

Latest revision as of 14:10, 6 December 2010

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

Recommended

Optional

Runtime

Configuration Information

--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-builddocs: Causes documentation to be built.
--disable-dri: Disable building of the DRI extension; required if building without Mesa.

Non-Multilib

Compile the package:

./configure $XORG_CONFIG --enable-install-setuid \
    --with-dri-driver-path="${XORG_PREFIX}/lib/xorg/modules/dri" \
    --disable-dri2

Compile the package:

 make

Install the package:

make install

Multilib

This package does not provide any external libraries. Only one installation is needed.

64Bit

Compile the package:

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" &&
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