diff options
author | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:17:40 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:19:39 (GMT) |
commit | adbcf19958300e9b6598990184c8815b945ba0ee (patch) | |
tree | f4283c850ac0ac202c17e78a637ee7ca8147621b /abs/core/xorg-server/PKGBUILD | |
parent | 61a68250df10d29b624650948484898334ff22d0 (diff) | |
download | linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2 |
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/core/xorg-server/PKGBUILD')
-rw-r--r-- | abs/core/xorg-server/PKGBUILD | 133 |
1 files changed, 58 insertions, 75 deletions
diff --git a/abs/core/xorg-server/PKGBUILD b/abs/core/xorg-server/PKGBUILD index 51f75f8..ae28da3 100644 --- a/abs/core/xorg-server/PKGBUILD +++ b/abs/core/xorg-server/PKGBUILD @@ -1,105 +1,88 @@ -# $Id: PKGBUILD 21903 2008-12-17 20:32:54Z jgc $ -# Maintainer: Alexander Baldeck <kth5@archlinux.org> -# Contributor: Jan de Groot <jgc@archlinux.org> +# $Id: PKGBUILD 83339 2010-06-21 12:03:15Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=xorg-server -pkgver=1.5.3 -pkgrel=5 +pkgver=1.8.1.902 +pkgrel=1 pkgdesc="X.Org X servers" arch=('i686' 'x86_64') license=('custom') url="http://xorg.freedesktop.org" -depends=('libx11>=1.1.5' 'libxkbui>=1.0.2' 'libgl' 'libxfont>=1.3.3' 'openssl>=0.9.8h' 'libxxf86misc>=1.0.1' 'libpciaccess>=0.10.5' 'libxv>=1.0.4' 'libxaw>=1.0.4' 'pixman>=0.11.10' 'hal>=0.5.11' 'xcursor-themes' 'xkeyboard-config>=1.3' 'xorg-server-utils' 'xorg-utils' 'xorg-fonts-misc' 'xbitmaps' 'libdrm>=2.3.1' 'diffutils' 'xf86-input-evdev') -makedepends=('glproto>=1.4.9' 'xf86driproto>=2.0.4' 'mesa>=7.2' 'randrproto>=1.2.2' 'renderproto>=0.9.3' 'scrnsaverproto>=1.1.0' 'fontsproto>=2.0.2' 'videoproto>=2.2.2' 'compositeproto>=0.4' 'trapproto>=3.4.3' 'resourceproto>=1.0.2' 'xineramaproto>=1.1.2' 'evieext>=1.0.2' 'libxkbfile>=1.0.5' 'libxmu>=1.0.4' 'libxpm>=3.5.7' 'libxxf86dga>=1.0.2' 'inputproto>=1.4.4' 'xcmiscproto>=1.1.2' 'bigreqsproto' 'libdrm=2.3.1' 'xtrans') +depends=('libgl' 'libxfont>=1.4.1' 'libgcrypt>=1.4.5' 'udev>=151' 'libpciaccess>=0.10.9' 'libxv>=1.0.5' 'pixman>=0.18.0' 'xcursor-themes>=1.0.2' 'xkeyboard-config>=1.8' 'xorg-server-utils' 'xorg-fonts-misc' 'xbitmaps' 'diffutils' 'xf86-input-evdev>=2.3.2-2' 'inputproto>=2.0') +makedepends=('libx11>=1.3.3' 'mesa>=7.8.2' 'xf86driproto>=2.1.0' 'xtrans>=1.2.5' 'libxkbfile>=1.0.6' 'randrproto>=1.3.1' 'renderproto>=0.11' 'xcmiscproto>=1.2.0' 'bigreqsproto>=1.1.0' 'resourceproto>=1.1.0' 'videoproto>=2.3.0' 'compositeproto>=0.4.1' 'scrnsaverproto>=1.2.0' 'xf86dgaproto>=2.1' 'libgl>=7.8.2' 'glproto>=1.4.11' 'xorg-util-macros>=1.6.1' 'xineramaproto>=1.2' 'recordproto') +conflicts=('catalyst-utils<=9.2' 'xf86-input-calcomp' 'xf86-input-citron' 'xf86-input-digitaledge' 'xf86-input-dmc' 'xf86-input-dynapro' 'xf86-input-elo2300' + 'xf86-input-jamstudio' 'xf86-input-magellan' 'xf86-input-magictouch' 'xf86-input-microtouch' 'xf86-input-palmax' 'xf86-input-spaceorb' 'xf86-input-summa' 'xf86-input-tek4957' 'xf86-input-ur98' 'xf86-video-vga' 'xf86-video-intel-legacy' 'nvidia-96xx-utils<96.43.14' 'nvidia-173xx-utils<173.14.21') options=('!libtool') provides=('x-server') groups=('xorg') install=xorg-server.install +backup=('etc/X11/xorg.conf.d/10-evdev.conf' 'etc/X11/xorg.conf.d/10-quirks.conf') source=(${url}/releases/individual/xserver/${pkgname}-${pkgver}.tar.bz2 - xserver-1.5-branch-4970d.patch - 001_fedora_extramodes.patch - xorg-redhat-die-ugly-pattern-die-die-die.patch - xserver-1.5.0-force-SwitchCoreKeyboard-for-evdev.patch - xserver-1.5.3-AEI-on-by-default.patch) -md5sums=('308971036e25250e7fe3cccfd5a120f8' - '61f9bb524501247dce647b218ad14347' - '033427f2b406cba8dd6103ff374e7156' + xorg-redhat-die-ugly-pattern-die-die-die.patch + xvfb-run + xvfb-run.1 + 10-evdev.conf + 10-quirks.conf) +md5sums=('8a851466d13e4ee527cc782308532119' '1a336eb22e27cbf443ec5a2ecddfa93c' - '7b03ba9b75d795e4f7fdfaa550d97159' - '63d1d61d217005db7c23c4a98fc3e7eb') + '52fd3effd80d7bc6c1660d4ecf23d31c' + '376c70308715cd2643f7bff936d9934b' + 'e930e153d69968a795fe4e2ef5d9a5dc' + 'd4f7dfc6be4ef4e2c6dd7632a9d88abe') build() { cd "${srcdir}/${pkgname}-${pkgver}" - # Upstream commits from server-1.5 branch - patch -Np1 -i "${srcdir}/xserver-1.5-branch-4970d.patch" || return 1 - - # extramodes - patch -Np1 -i "${srcdir}/001_fedora_extramodes.patch" || return 1 # Get rid of the ugly pattern - patch -Np3 -i "${srcdir}/xorg-redhat-die-ugly-pattern-die-die-die.patch" || return 1 - - # Patch from Fedora to fix FS#12248 - patch -Np1 -i "${srcdir}/xserver-1.5.0-force-SwitchCoreKeyboard-for-evdev.patch" || return 1 - - # Upstream patch to fix evdev issues with >=2.1.0 - patch -Np1 -i "${srcdir}/xserver-1.5.3-AEI-on-by-default.patch" || return 1 + patch -Np3 -i "${srcdir}/xorg-redhat-die-ugly-pattern-die-die-die.patch" - # Fix dbus config path - sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1 + sed -i -e 's/\$(prefix)\/etc/\/etc/g' config/Makefile.* + autoreconf ./configure --prefix=/usr \ - --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 \ - --enable-install-setuid \ - --enable-config-hal \ - --enable-config-dbus \ - --disable-xfbdev \ - --disable-xfake \ - --disable-xsdl \ - --disable-kdrive-vesa \ - --disable-dri2 \ - --disable-xprint \ - --disable-static \ - --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-xkb-path=/usr/share/X11/xkb \ - --with-xkb-output=/var/lib/xkb \ - --with-dri-driver-path=/usr/lib/xorg/modules/dri --enable-null-root-cursor || return 1 + --enable-ipv6 \ + --enable-dri \ + --disable-dmx \ + --enable-xvfb \ + --enable-xnest \ + --enable-composite \ + --enable-xcsecurity \ + --enable-xorg \ + --enable-xephyr \ + --enable-glx-tls \ + --enable-kdrive \ + --enable-install-setuid \ + --enable-config-udev \ + --disable-config-dbus \ + --enable-record \ + --disable-xfbdev \ + --disable-xfake \ + --disable-static \ + --sysconfdir=/etc/X11 \ + --localstatedir=/var \ + --with-xkb-path=/usr/share/X11/xkb \ + --with-xkb-output=/var/lib/xkb \ + --with-dri-driver-path=/usr/lib/xorg/modules/dri - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + make + make DESTDIR="${pkgdir}" install - rm -rf "${pkgdir}/var/log" || return 1 + install -m755 "${srcdir}/xvfb-run" "${pkgdir}/usr/bin/" + install -m644 "${srcdir}/xvfb-run.1" "${pkgdir}/usr/share/man/man1/" - install -m755 -d "${pkgdir}/etc/X11" || return 1 - install -m755 -d "${pkgdir}/var/lib/xkb" || return 1 + rm -rf "${pkgdir}/var/log" - # No longer needed, but as nvidia-utils mangles these files, - # keep them like this so they can be restored - mv "${pkgdir}/usr/lib/xorg/modules/libwfb.so" \ - "${pkgdir}/usr/lib/xorg/modules/libwfb.so.1.4" || return 1 + install -m755 -d "${pkgdir}/var/lib/xkb" + + # Install sane config files in /etc. I don't see the need for config files in /usr/share here, users will edit them anyways. + install -m755 -d "${pkgdir}/etc/X11/xorg.conf.d" + install -m644 "${srcdir}/10-evdev.conf" "${srcdir}/10-quirks.conf" "${pkgdir}/etc/X11/xorg.conf.d/" + rm -rf "${pkgdir}/usr/share/X11" # Needed for non-mesa drivers, libgl will restore it mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \ - "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1 - - mv "${pkgdir}/usr/lib/xorg/modules/extensions/libdri.so" \ - "${pkgdir}/usr/lib/xorg/modules/extensions/libdri.xorg" || return 1 + "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" - install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" } |