diff options
Diffstat (limited to 'net/gtk-vnc3')
-rw-r--r-- | net/gtk-vnc3/Makefile | 33 | ||||
-rw-r--r-- | net/gtk-vnc3/distinfo | 3 | ||||
-rw-r--r-- | net/gtk-vnc3/files/patch-src_continuation.h | 10 | ||||
-rw-r--r-- | net/gtk-vnc3/files/patch-src_coroutine_ucontext.c | 11 | ||||
-rw-r--r-- | net/gtk-vnc3/files/patch-src_vncdisplay.c | 17 | ||||
-rw-r--r-- | net/gtk-vnc3/pkg-descr | 10 | ||||
-rw-r--r-- | net/gtk-vnc3/pkg-plist | 46 |
7 files changed, 130 insertions, 0 deletions
diff --git a/net/gtk-vnc3/Makefile b/net/gtk-vnc3/Makefile new file mode 100644 index 000000000..131e99b6c --- /dev/null +++ b/net/gtk-vnc3/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: gtk-vnc +# Date created: 16 December 2007 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD: ports/net/gtk-vnc/Makefile,v 1.19 2010/05/31 02:00:18 ade Exp $ +# + +PORTNAME= gtk-vnc +PORTVERSION= 0.4.1 +CATEGORIES= net gnome +MASTER_SITES= GNOME + +MAINTAINER= gnome@FreeBSD.org +COMMENT= VNC viewer widget for GTK+ + +LIB_DEPENDS= gnutls:${PORTSDIR}/security/gnutls \ + sasl2.2:${PORTSDIR}/security/cyrus-sasl2 + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING.LIB +#USE_GNOME= pygtk2 gnomehack +USE_GNOME= gnomehack +USE_GMAKE= yes +USE_GETTEXT= yes +USE_LDCONFIG= yes +#USE_PYTHON= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-gtk=3.0 --disable-introspection +MAN1= gvnccapture.1 + +.include <bsd.port.mk> diff --git a/net/gtk-vnc3/distinfo b/net/gtk-vnc3/distinfo new file mode 100644 index 000000000..fc321f383 --- /dev/null +++ b/net/gtk-vnc3/distinfo @@ -0,0 +1,3 @@ +MD5 (gtk-vnc-0.4.1.tar.gz) = b081c4d37610f4f84ba32a4330e404fc +SHA256 (gtk-vnc-0.4.1.tar.gz) = 010c2fbc8cb29c8503cd51f8ef7bb805df264a39e4fa9bec723c9eebc3997e32 +SIZE (gtk-vnc-0.4.1.tar.gz) = 677680 diff --git a/net/gtk-vnc3/files/patch-src_continuation.h b/net/gtk-vnc3/files/patch-src_continuation.h new file mode 100644 index 000000000..549af869b --- /dev/null +++ b/net/gtk-vnc3/files/patch-src_continuation.h @@ -0,0 +1,10 @@ +--- src/continuation.h.orig 2007-12-16 13:58:18.000000000 -0500 ++++ src/continuation.h 2007-12-16 13:58:39.000000000 -0500 +@@ -11,6 +11,7 @@ + #ifndef _CONTINUATION_H_ + #define _CONTINUATION_H_ + ++#include <sys/types.h> + #include <ucontext.h> + + struct continuation diff --git a/net/gtk-vnc3/files/patch-src_coroutine_ucontext.c b/net/gtk-vnc3/files/patch-src_coroutine_ucontext.c new file mode 100644 index 000000000..7a52f6e10 --- /dev/null +++ b/net/gtk-vnc3/files/patch-src_coroutine_ucontext.c @@ -0,0 +1,11 @@ +--- src/coroutine_ucontext.c.orig 2007-12-16 13:59:13.000000000 -0500 ++++ src/coroutine_ucontext.c 2007-12-16 13:59:21.000000000 -0500 +@@ -48,7 +48,7 @@ int coroutine_init(struct coroutine *co) + co->cc.stack_size = co->stack_size; + co->cc.stack = mmap(0, co->stack_size, + PROT_READ | PROT_WRITE, +- MAP_PRIVATE | MAP_ANONYMOUS, ++ MAP_PRIVATE | MAP_ANON, + -1, 0); + if (co->cc.stack == MAP_FAILED) + return -1; diff --git a/net/gtk-vnc3/files/patch-src_vncdisplay.c b/net/gtk-vnc3/files/patch-src_vncdisplay.c new file mode 100644 index 000000000..1a545c02b --- /dev/null +++ b/net/gtk-vnc3/files/patch-src_vncdisplay.c @@ -0,0 +1,17 @@ +--- src/vncdisplay.c.orig 2010-07-12 16:30:50.000000000 +0200 ++++ src/vncdisplay.c 2010-07-12 16:51:46.000000000 +0200 +@@ -382,12 +382,12 @@ + + if (priv->pixmap != NULL) { + gdk_gc_set_clip_region(priv->gc, copy); +- gdk_draw_drawable(widget->window, priv->gc, priv->pixmap, ++ gdk_draw_drawable(gtk_widget_get_window(widget), priv->gc, priv->pixmap, + x, y, x + mx, y + my, w, h); + } + + gdk_gc_set_clip_region(priv->gc, clear); +- gdk_draw_rectangle(widget->window, priv->gc, TRUE, ++ gdk_draw_rectangle(gtk_widget_get_window(widget), priv->gc, TRUE, + expose->area.x, expose->area.y, + expose->area.width, expose->area.height); + diff --git a/net/gtk-vnc3/pkg-descr b/net/gtk-vnc3/pkg-descr new file mode 100644 index 000000000..08b3cf791 --- /dev/null +++ b/net/gtk-vnc3/pkg-descr @@ -0,0 +1,10 @@ +GTK-VNC is a VNC viewer widget for GTK+. It is built using coroutines, +allowing it to be completely asynchronous while remaining single threaded. +It supports RFB protocols 3.3 through 3.8 and the VeNCrypt authentication +extension providing SSL/TLS encryption with x509 certificate authentication. +The core library is written in C and a binding for Python using PyGTK is +available. The networking layer supports connections over both IPv4 and IPv6. +Example code illustrates how to build a vncviewer replacement using either C +or Python. + +WWW: http://live.gnome.org/gtk-vnc diff --git a/net/gtk-vnc3/pkg-plist b/net/gtk-vnc3/pkg-plist new file mode 100644 index 000000000..bd56e7a90 --- /dev/null +++ b/net/gtk-vnc3/pkg-plist @@ -0,0 +1,46 @@ +bin/gvnccapture +include/gtk-vnc-2.0/vncdisplay.h +include/gtk-vnc-2.0/vncdisplayenums.h +include/gtk-vnc-2.0/vncgrabsequence.h +include/gtk-vnc-2.0/vncimageframebuffer.h +include/gvnc-1.0/vncbaseframebuffer.h +include/gvnc-1.0/vnccolormap.h +include/gvnc-1.0/vncconnection.h +include/gvnc-1.0/vncconnectionenums.h +include/gvnc-1.0/vnccursor.h +include/gvnc-1.0/vncframebuffer.h +include/gvnc-1.0/vncpixelformat.h +include/gvnc-1.0/vncutil.h +lib/libgtk-vnc-2.0.la +lib/libgtk-vnc-2.0.so +lib/libgtk-vnc-2.0.so.0 +lib/libgvnc-1.0.la +lib/libgvnc-1.0.so +lib/libgvnc-1.0.so.0 +libdata/pkgconfig/gtk-vnc-2.0.pc +libdata/pkgconfig/gvnc-1.0.pc +share/locale/ca/LC_MESSAGES/gtk-vnc.mo +share/locale/da/LC_MESSAGES/gtk-vnc.mo +share/locale/de/LC_MESSAGES/gtk-vnc.mo +share/locale/el/LC_MESSAGES/gtk-vnc.mo +share/locale/en_GB/LC_MESSAGES/gtk-vnc.mo +share/locale/es/LC_MESSAGES/gtk-vnc.mo +share/locale/eu/LC_MESSAGES/gtk-vnc.mo +share/locale/fr/LC_MESSAGES/gtk-vnc.mo +share/locale/gl/LC_MESSAGES/gtk-vnc.mo +share/locale/hu/LC_MESSAGES/gtk-vnc.mo +share/locale/it/LC_MESSAGES/gtk-vnc.mo +share/locale/ja/LC_MESSAGES/gtk-vnc.mo +share/locale/pa/LC_MESSAGES/gtk-vnc.mo +share/locale/pl/LC_MESSAGES/gtk-vnc.mo +share/locale/pt/LC_MESSAGES/gtk-vnc.mo +share/locale/pt_BR/LC_MESSAGES/gtk-vnc.mo +share/locale/ru/LC_MESSAGES/gtk-vnc.mo +share/locale/sl/LC_MESSAGES/gtk-vnc.mo +share/locale/sv/LC_MESSAGES/gtk-vnc.mo +share/locale/zh_CN/LC_MESSAGES/gtk-vnc.mo +share/locale/zh_HK/LC_MESSAGES/gtk-vnc.mo +share/locale/zh_TW/LC_MESSAGES/gtk-vnc.mo +@dirrm include/gtk-vnc-2.0 +@dirrm include/gvnc-1.0 + |