wok-stable rev 12272

tightvnc: fix rgb & fonts paths
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 01 08:47:33 2012 +0200 (2012-05-01)
parents 7f0e77208424
children 2dc9f12b8041
files tightvnc/receipt
line diff
     1.1 --- a/tightvnc/receipt	Sat Apr 28 13:05:44 2012 +0200
     1.2 +++ b/tightvnc/receipt	Tue May 01 08:47:33 2012 +0200
     1.3 @@ -12,7 +12,7 @@
     1.4  BUILD_DEPENDS="xorg-imake xorg-gccmakedep xorg-cf-files xorg-libXp \
     1.5  xorg-libXaw-dev xorg-libXt-dev xorg-xproto xorg-libXau-dev xorg-libXdmcp-dev \
     1.6  xorg-libXmu-dev xorg-xextproto xorg-printproto xorg-kbproto xorg-inputproto \
     1.7 -xorg-scrnsaverproto xorg-xauth"
     1.8 +xorg-scrnsaverproto xorg-xauth jpeg-dev zlib-dev"
     1.9  TAGS="remote-desktop"
    1.10  
    1.11  # Rules to configure and make the package.
    1.12 @@ -20,6 +20,9 @@
    1.13  {
    1.14  	[ -d vnc_unixsrc ] && mv vnc_unixsrc $src
    1.15  	cd $src
    1.16 +	sed -i	-e "s| FONTDIR =.*$| FONTDIR = /usr/share/fonts/X11|" \
    1.17 +		-e 's|\(define DefaultRGBDatabase\) .*|\1 /usr/share/X11/rgb|' \
    1.18 +			Xvnc/config/cf/X11.tmpl
    1.19  	xmkmf &&
    1.20  	make -j1 World &&
    1.21  	cd Xvnc &&
    1.22 @@ -28,9 +31,9 @@
    1.23    	-i programs/Xserver/os/Makefile lib/font/fc/Makefile || return 1
    1.24  	find -name Makefile | xargs sed -i 's|/usr/X11R6/bin|/usr/bin|g'
    1.25  	make -j1 &&
    1.26 -	make -j1 DESTDIR=$PWD/../_pkg install
    1.27 +	make -j1 DESTDIR=$DESTDIR install
    1.28  	cd .. &&
    1.29 -	make -j1 DESTDIR=$PWD/_pkg install
    1.30 +	make -j1 DESTDIR=$DESTDIR install
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.