--- smage/trunk/extras/tigervnc/tigervnc-1.0.90_svn4262-r1.smage2 2011/02/01 13:21:31 1237 +++ smage/trunk/extras/tigervnc/tigervnc-1.0.90_svn4262-r1.smage2 2011/02/01 13:26:14 1238 @@ -21,14 +21,15 @@ DEPEND=">= virtual/x11" SDEPEND=">= dev-lang/nasm-2" -sminclude alx cleanutils - SRC_URI=( http://mesh.dl.sourceforge.net/project/${PNAME}/${PNAME}/${PVER}/${SRCFILE} mirror://${PNAME}/${SRCFILE} http://ftp.x.org/pub/individual/xserver/${XORG} mirror://xorg-server/${XORG} mirror://${PNAME}/tigervnc_48.png + mirror://${PNAME}/${PNAME}-1.0.90-102434.patch + mirror://${PNAME}/${PNAME}-1.0.90-cookie.patch + mirror://${PNAME}/${PNAME}-0.0.90-viewer-reparent.patch ) src_prepare() @@ -39,6 +40,12 @@ cd ${SRCDIR} # patchwork + # force vncviewer to read password from stdin + mpatch ${PNAME}-1.0.90-102434.patch || die + # create X server cookie via mcookie + mpatch ${PNAME}-1.0.90-cookie.patch || die + # add reparent support for x window + mpatch ${PNAME}-0.0.90-viewer-reparent.patch || die # apply the included xorg patch cd ${XORGDDIR} @@ -59,7 +66,7 @@ src_compile() { - cd ${SRCDIR}/unix + cd ${SRCDIR} mconfigure --disable-static || die # only build neccessary things # fix broken libtool: it calles sed and it ends in an infinite loop @@ -106,7 +113,7 @@ src_install() { - cd ${SRCDIR}/unix + cd ${SRCDIR} # fix broken libtool: it calles sed and it ends in an infinite loop mmake -C vncpasswd DESTDIR=${BINDIR} LIBTOOL="$(which libtool)" install || die