Hi,

x11vnc is using tcl/tk toolkit for -gui switch. See x11vnc(1) man page
and search for `-gui' option for description or grep the srouces for
`wish' string.

In GNOME menu there is x11vnc entry in `Internet' section. This entry is
using x11vnc with -qui switch, so if no tcl/tk is installed, it doesn't
work (I don't like bad user experience.)

I've lightly tested x11vnc with tk8.4 and tk8.5. I've added them as run
depends (with path to tk8.5 as default). GUI with version 8.5 looks
nicer and tk.port.mk defaults to that version also.

Please review attached patch.

-- 
best regards
q#
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/x11vnc/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile    2 Feb 2009 23:27:48 -0000       1.5
+++ Makefile    15 Feb 2009 03:45:31 -0000
@@ -3,7 +3,7 @@
 COMMENT=       VNC server for real X displays
 
 DISTNAME=      x11vnc-0.9.6
-PKGNAME=       ${DISTNAME}p0
+PKGNAME=       ${DISTNAME}p1
 CATEGORIES=     x11
 
 HOMEPAGE=      http://www.karlrunge.com/x11vnc/
@@ -19,7 +19,8 @@
 WANTLIB=       X11 Xext Xinerama Xtst c pthread z
 WANTLIB+=      Xdamage Xfixes Xrandr crypto ssl
 
-RUN_DEPENDS=   ::devel/desktop-file-utils
+RUN_DEPENDS=   ::devel/desktop-file-utils \
+               ::x11/tk/8.5
 LIB_DEPENDS=   jpeg::graphics/jpeg
 
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=libvncserver/}

Reply via email to