1 # Maintainer: kang <kang@rsbac.org>
2 # Note: This contains m-privacy special code for PAM
3 # Note2: This branch contains experiemental "live" desktop resizing, client certificate authentication and other goodies. The Windows client works as well.
4 # Note3: It is based on tigervnc-svn
9 pkgdesc="TigerVNC is a suite of VNC servers and clients that have a focus on performance and remote display functionality. Originally this software was based on the (never released) VNC 4 branch of TightVNC."
10 arch=('i686' 'x86_64')
11 url="http://www.tigervnc.org"
13 depends=('pam' 'gnutls' 'zlib' 'freetype2' 'libsm' 'libxtst' 'libxi' 'libxfont' 'libxmu' 'libxkbfile' 'libxrender' 'pixman' 'xorg-xauth' 'xorg-xsetroot' 'xkeyboard-config' 'xorg-fonts-alias' 'xorg-fonts-misc')
14 makedepends=('git' 'nasm' 'xorg-util-macros' 'inputproto' 'xextproto' 'xproto' 'bigreqsproto' 'compositeproto' 'damageproto' 'dri2proto' 'fixesproto' 'fontsproto' 'randrproto' 'resourceproto' 'scrnsaverproto' 'videoproto' 'xcmiscproto' 'xineramaproto' 'xf86driproto' 'xf86vidmodeproto' 'glproto' 'renderproto' 'mesa' 'libpciaccess' 'xtrans')
16 conflicts=('tigervnc' 'tightvnc')
17 source=(ftp://ftp.freedesktop.org/pub/xorg/individual/xserver/xorg-server-1.9.2.tar.bz2)
18 md5sums=('5c8773499a6a8c1ddaedf33577ec9634')
20 _gitroot="http://oss.m-privacy.de/git/tigervnc.git"
25 msg "Connecting to GIT server..."
27 if [ -d $_gitname ] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
31 git clone $_gitroot $_gitname
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 rm -rf "$srcdir/$_gitname-build"
38 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
40 cp -r ${srcdir}/xorg-server-1.9.2/* unix/xserver
42 msg "Starting build..."
45 patch -Np0 -i xserver19.patch
49 cd ${srcdir}/${_gitname}-build
50 ./configure --prefix=/usr --without-included-zlib
53 ./configure --prefix=/usr \
54 --disable-xorg --disable-xnest --disable-xvfb --disable-dmx \
55 --disable-xwin --disable-xephyr --disable-kdrive --with-pic \
56 --disable-static --disable-xinerama --disable-composite \
57 --enable-dri2 --enable-glx --enable-glx-tls \
58 --with-dri-driver-path=/usr/lib/xorg/modules/dri \
59 --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
60 --disable-config-dbus --disable-config-hal --disable-config-udev
64 make DESTDIR=${pkgdir} install
66 make DESTDIR=${pkgdir} install
67 rm ${pkgdir}/usr/lib/xorg/modules/extensions/libvnc.la