wok-next annotate xorg-server/receipt @ rev 12465
xorg-xcompmg: add autostart desktop.files
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 22 18:16:20 2012 +0200 (2012-04-22) |
parents | 829cd878e43f |
children | bcfbf12f8a32 |
rev | line source |
---|---|
pankso@89 | 1 # SliTaz package receipt. |
pankso@89 | 2 |
pankso@89 | 3 PACKAGE="xorg-server" |
pankso@10808 | 4 VERSION="1.9.5" |
pankso@89 | 5 CATEGORY="x-window" |
pankso@261 | 6 SHORT_DESC="Xorg core server." |
pankso@89 | 7 MAINTAINER="pankso@slitaz.org" |
gokhlayeh@6848 | 8 SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa" |
pankso@89 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@89 | 10 WEB_SITE="http://www.x.org/" |
pankso@89 | 11 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL" |
pankso@89 | 12 |
pankso@10808 | 13 # Mesa build dep make also Xorg depends on libdrm. |
pankso@10808 | 14 DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \ |
pankso@12161 | 15 xorg-libXfont xorg-libXau xorg-base-fonts libgcrypt pixman udev libdrm \ |
pankso@12161 | 16 xorg-xf86-input-evdev" |
pankso@10808 | 17 BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \ |
pankso@10808 | 18 xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev mesa-dev pkg-config perl \ |
pankso@10808 | 19 flex xorg-xf86driproto xorg-xcmiscproto xorg-bigreqsproto xorg-randrproto \ |
pankso@10808 | 20 xorg-dri2proto xorg-libXau-dev xorg-dev-proto libdrm-dev" |
pankso@10808 | 21 |
pankso@89 | 22 # Rules to configure and make the package. |
pankso@89 | 23 compile_rules() |
pankso@89 | 24 { |
pankso@89 | 25 cd $src |
pankso@10808 | 26 # Xephyr make possible to use Xorg in a chroot: --enable-xephyr |
pankso@89 | 27 ./configure \ |
pankso@89 | 28 --prefix=/usr \ |
pankso@89 | 29 --sysconfdir=/etc \ |
pankso@92 | 30 --mandir=/usr/share/man \ |
pankso@92 | 31 --localstatedir=/var \ |
pankso@92 | 32 --with-module-dir=/usr/lib/X11/modules \ |
pankso@92 | 33 --with-xkb-output=/var/lib/xkb \ |
pankso@92 | 34 --with-serverconfig-path=/etc/X11 \ |
pankso@92 | 35 --enable-install-setuid \ |
pankso@3014 | 36 --enable-xorg \ |
pankso@10808 | 37 --enable-kdrive \ |
pankso@10808 | 38 --enable-kdrive-kbd \ |
pankso@10808 | 39 --enable-kdrive-mouse \ |
pankso@10808 | 40 --enable-kdrive-evdev \ |
pankso@10808 | 41 --enable-xfbdev \ |
gokhlayeh@6993 | 42 --enable-config-udev \ |
gokhlayeh@6993 | 43 --disable-config-dbus \ |
gokhlayeh@6993 | 44 --with-fontrootdir=/usr/share/fonts \ |
pankso@92 | 45 --with-os-name="SliTaz GNU/Linux" \ |
pankso@92 | 46 --with-builder-addr=$MAINTAINER \ |
pascal@1480 | 47 $CONFIGURE_ARGS && |
pankso@10808 | 48 make && make DESTDIR=$DESTDIR install |
pankso@89 | 49 } |
pankso@89 | 50 |
pankso@89 | 51 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@89 | 52 genpkg_rules() |
pankso@89 | 53 { |
gokhlayeh@6961 | 54 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d |
pankso@89 | 55 cp -a $_pkg/usr/lib/X11 $fs/usr/lib |
pankso@89 | 56 cp -a $_pkg/usr/bin $fs/usr |
pankso@89 | 57 cp -a $_pkg/var/lib $fs/var |
pankso@3014 | 58 cp -a $_pkg/etc $fs |
pankso@3014 | 59 # Remove static libs and split Xnest |
pankso@89 | 60 rm $fs/usr/lib/X11/*/*.*a |
pankso@89 | 61 rm $fs/usr/lib/X11/*/*/*.*a |
pankso@3014 | 62 rm $fs/usr/bin/Xnest |
pankso@3014 | 63 rm $fs/usr/bin/Xvfb |
pankso@89 | 64 } |
pankso@451 | 65 |
pankso@451 | 66 # We need /var/tmp rw to let xkbcomp builr XKB definition. |
pankso@451 | 67 post_install() |
pankso@451 | 68 { |
pankso@3014 | 69 chmod 1777 $1/var/tmp |
pankso@451 | 70 } |