# $Id$ PNAME="xorg" PVER="7.6.2" PBUILD="r1" PCATEGORIE="x11-base" STATE="unstable" DESCRIPTION="Xorg is the XOrg Foundation's Public Implementation of the X Window System." HOMEPAGE="http://xorg.freedesktop.org" sminclude xorg mtools # < remove this later; xorg-server provides this now too PROVIDE="virtual/x11" # server itself DEPEND=">= x11-base/xorg-server-1.10.2" # common apps DEPEND="${DEPEND} >= x11-apps/iceauth-1.0.5 >= x11-apps/setxkbmap-1.2 >= x11-apps/xauth-1.0.6 >= x11-apps/xinput-1.5 >= x11-apps/xhost-1.0.4 >= x11-apps/xrandr-1.3.4 >= x11-apps/xmessage-1.0.3 >= x11-apps/xprop-1.2 >= x11-apps/xrdb-1.0.9 >= x11-apps/xset-1.2 >= x11-terms/xterm-269" # common libs DEPEND="${DEPEND} >= x11-libs/libSM-1.1.1 >= x11-libs/libXcomposite-0.4.1 >= x11-libs/libXcursor-1.1.10 >= x11-libs/libXdamage-1.1.2 >= x11-libs/libXfixes-4.0.4 >= x11-libs/libXv-1.0.5 >= x11-libs/libXxf86dga-1.1.1 >= x11-libs/libXinerama-1.1 >= x11-libs/libXScrnSaver-1.2.0" # common fonts DEPEND="${DEPEND} >= media-fonts/font-bh-ttf-1 >= media-fonts/font-adobe-utopia-type1-1 >= media-fonts/font-bitstream-type1-1" # docs DEPEND="${DEPEND} >= app-doc/xorg-docs-1.5" # some common input drivers DEPEND="${DEPEND} >= x11-drivers/xf86-input-evdev-2.6 >= x11-drivers/xf86-input-mouse-1.7 >= x11-drivers/xf86-input-keyboard-1.6" # some common video drivers DEPEND="${DEPEND} >= x11-drivers/xf86-video-vesa-2.3" # want whiteglas as default cursors DEPEND="${DEPEND} >= x11-themes/xcursor-themes-1" # do not fetch any sources (needed with the include of xorg.sminc) unset SRC_URI # only the old-xorg check src_prepare() { is_old_xorg_installed; } # fake (needed with the include of xorg.sminc) src_compile() { return 0; } src_install() { # backward compat; symlink /usr/X11R6 to /usr minstalldir /usr || die mlink ../usr /usr/X11R6 || die } preinstall() { is_old_xorg_installed # filter out ModulePath line since it often holds a now-invalid path # filter out RgbPath line too since it also seems to break things if [ -f /etc/X11/xorg.conf ] then sed -i "/ModulePath/d" /etc/X11/xorg.conf sed -i "/RgbPath/d" /etc/X11/xorg.conf fi }