diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/xorg-server | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/xorg-server')
-rw-r--r-- | abs/core-testing/xorg-server/PKGBUILD | 92 | ||||
-rw-r--r-- | abs/core-testing/xorg-server/xorg-server.install | 12 |
2 files changed, 104 insertions, 0 deletions
diff --git a/abs/core-testing/xorg-server/PKGBUILD b/abs/core-testing/xorg-server/PKGBUILD new file mode 100644 index 0000000..0582a82 --- /dev/null +++ b/abs/core-testing/xorg-server/PKGBUILD @@ -0,0 +1,92 @@ +# $Id: PKGBUILD 3240 2008-06-21 18:01:37Z jgc $ +# Maintainer: Alexander Baldeck <kth5@archlinux.org> +# Contributor: Jan de Groot <jgc@archlinux.org> + +pkgname=xorg-server +pkgver=1.4.2 +pkgrel=1 +_mesaver=7.0.3 +pkgdesc="X.Org X servers" +arch=('i686' 'x86_64') +license=('custom') +url="http://xorg.freedesktop.org" +depends=('libxkbui' 'ncurses' 'libxxf86misc' 'libxfont' + 'libxaw' 'libxxf86vm' 'xcursor-themes' + 'xkeyboard-config' 'xorg-server-utils' 'xorg-utils' 'libdrm>=2.3.0' + 'xorg-fonts-misc' 'pixman>=0.10' 'xbitmaps') +makedepends=('pkgconfig' 'xf86driproto' 'xcmiscproto' 'xtrans' 'bigreqsproto' + 'xf86bigfontproto' 'resourceproto' 'evieext' 'damageproto>=1.1.0' + 'compositeproto>=0.4' 'scrnsaverproto' 'libxres' 'xorg-util-macros' + 'randrproto' 'glproto>=1.4.9' 'renderproto>=0.9.3' 'autoconf' + 'automake' 'libtool' 'bison' 'flex' 'gcc' 'libxrender' + 'libxfixes' 'quilt' 'mesa') +options=('!libtool') +provides=('x-server') +groups=('xorg') +install=xorg-server.install +source=(${url}/releases/individual/xserver/${pkgname}-${pkgver}.tar.bz2 + http://downloads.sourceforge.net/sourceforge/mesa3d/MesaLib-${_mesaver}.tar.bz2 + ftp://ftp.archlinux.org/other/xorg-server/xorg-server-patches-1.4.2-1.tar.bz2) +md5sums=('fa2915ae377f61c340a18ebef484b64b' + 'e6e6379d7793af40a6bc3ce1bace572e' + 'bc907d6d69b55b445c3046a4d7ecc8ef') + +build() { + cd ${startdir}/src/${pkgname}-${pkgver} + quilt push -a || return 1 + libtoolize --force --copy || return 1 + aclocal || return 1 + autoconf || return 1 + automake --add-missing || return 1 + ./configure --prefix=/usr \ + --with-mesa-source=${startdir}/src/Mesa-${_mesaver} \ + --enable-ipv6 \ + --enable-dri \ + --disable-dmx \ + --enable-xvfb \ + --enable-xnest \ + --enable-composite \ + --enable-xcsecurity \ + --enable-xorg \ + --enable-xtrap \ + --enable-xevie \ + --enable-xephyr \ + --enable-glx-tls \ + --enable-xorgcfg \ + --enable-kdrive \ + --disable-xfbdev \ + --disable-xfake \ + --disable-xsdl \ + --disable-kdrive-vesa \ + --enable-install-setuid \ + --disable-xprint \ + --sysconfdir=/etc/X11 \ + --localstatedir=/var \ + --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \ + --with-rgb-path=/usr/share/X11/rgb \ + --with-xkb-path=/usr/share/X11/xkb \ + --with-xkb-output=/usr/share/X11/xkb/compiled \ + --with-dri-driver-path=/usr/lib/xorg/modules/dri \ + --disable-config-hal \ + --disable-static + + make || return 1 + make DESTDIR=${startdir}/pkg install || return 1 + + install -m755 -d ${startdir}/pkg/etc/X11 || return 1 + install -m755 -d ${startdir}/pkg/var/lib || return 1 + mv ${startdir}/pkg/usr/share/X11/xkb/compiled ${startdir}/pkg/var/lib/xkb + ln -sf /var/lib/xkb ${startdir}/pkg/usr/share/X11/xkb/compiled || return 1 + + cd ${startdir}/pkg/usr/lib/xorg/modules/extensions + mv libGLcore.so libGLcore.xorg + mv libglx.so libglx.xorg + + # No longer needed, but as nvidia-utils mangles these files, + # keep them like this so they can be restored + mv ${startdir}/pkg/usr/lib/xorg/modules/libwfb.so \ + ${startdir}/pkg/usr/lib/xorg/modules/libwfb.so.1.4 || return 1 + + install -m755 -d ${startdir}/pkg/usr/share/licenses/${pkgname} + install -m644 ${startdir}/src/${pkgname}-${pkgver}/COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/ || return 1 +} diff --git a/abs/core-testing/xorg-server/xorg-server.install b/abs/core-testing/xorg-server/xorg-server.install new file mode 100644 index 0000000..f7ff03a --- /dev/null +++ b/abs/core-testing/xorg-server/xorg-server.install @@ -0,0 +1,12 @@ +post_install() { + rm -f /usr/lib/xorg/modules/libwfb.so + ln -sf libwfb.so.1.4 /usr/lib/xorg/modules/libwfb.so +} + +post_upgrade() { + post_install +} + +post_remove() { + rm -f /usr/lib/xorg/modules/libwfb.so +} |