diff options
author | avl <avl@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-10-21 13:28:21 +0800 |
---|---|---|
committer | avl <avl@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-10-21 13:28:21 +0800 |
commit | d39bedd3cbcf8547c76e2d15a3bbc837a2f09e4c (patch) | |
tree | 666f51a3dae22790bfcfa9d832f781d3aa852713 /net/gtk-vnc | |
parent | 7717fd05de7c15f6a8d28f63f825de6770f63483 (diff) | |
download | marcuscom-ports-d39bedd3cbcf8547c76e2d15a3bbc837a2f09e4c.tar.gz marcuscom-ports-d39bedd3cbcf8547c76e2d15a3bbc837a2f09e4c.tar.zst marcuscom-ports-d39bedd3cbcf8547c76e2d15a3bbc837a2f09e4c.zip |
Update to 0.3.10.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13175 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/gtk-vnc')
-rw-r--r-- | net/gtk-vnc/Makefile | 30 | ||||
-rw-r--r-- | net/gtk-vnc/distinfo | 3 | ||||
-rw-r--r-- | net/gtk-vnc/files/patch-src_continuation.h | 10 | ||||
-rw-r--r-- | net/gtk-vnc/files/patch-src_coroutine_ucontext.c | 11 | ||||
-rw-r--r-- | net/gtk-vnc/files/patch-src_gvnc.h | 22 | ||||
-rw-r--r-- | net/gtk-vnc/pkg-descr | 10 | ||||
-rw-r--r-- | net/gtk-vnc/pkg-plist | 23 |
7 files changed, 109 insertions, 0 deletions
diff --git a/net/gtk-vnc/Makefile b/net/gtk-vnc/Makefile new file mode 100644 index 000000000..0d4a1c738 --- /dev/null +++ b/net/gtk-vnc/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: gtk-vnc +# Date created: 16 December 2007 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gtk-vnc +PORTVERSION= 0.3.10 +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 \ + gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext + +USE_GNOME= pygtk2 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-gtkglext=yes + +.include <bsd.port.mk> diff --git a/net/gtk-vnc/distinfo b/net/gtk-vnc/distinfo new file mode 100644 index 000000000..7d8a8e121 --- /dev/null +++ b/net/gtk-vnc/distinfo @@ -0,0 +1,3 @@ +MD5 (gtk-vnc-0.3.10.tar.gz) = 4d6ae40f7d9e6eff7b62488a2b728b2b +SHA256 (gtk-vnc-0.3.10.tar.gz) = 61fdc1824e5621ba77a116fae7e512ced377a914ad34b2a694188277ca679384 +SIZE (gtk-vnc-0.3.10.tar.gz) = 604228 diff --git a/net/gtk-vnc/files/patch-src_continuation.h b/net/gtk-vnc/files/patch-src_continuation.h new file mode 100644 index 000000000..549af869b --- /dev/null +++ b/net/gtk-vnc/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-vnc/files/patch-src_coroutine_ucontext.c b/net/gtk-vnc/files/patch-src_coroutine_ucontext.c new file mode 100644 index 000000000..7a52f6e10 --- /dev/null +++ b/net/gtk-vnc/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-vnc/files/patch-src_gvnc.h b/net/gtk-vnc/files/patch-src_gvnc.h new file mode 100644 index 000000000..150b05330 --- /dev/null +++ b/net/gtk-vnc/files/patch-src_gvnc.h @@ -0,0 +1,22 @@ +--- src/gvnc.h.orig 2008-03-24 11:39:20.000000000 -0400 ++++ src/gvnc.h 2008-03-24 11:40:22.000000000 -0400 +@@ -3,6 +3,19 @@ + + #include <glib.h> + #include <stdint.h> ++#ifdef __FreeBSD__ ++#include <sys/endian.h> ++ ++#define __BYTE_ORDER _BYTE_ORDER ++#define __LITTLE_ENDIAN _LITTLE_ENDIAN ++#define __BIG_ENDIAN _BIG_ENDIAN ++ ++#define bswap_16 bswap16 ++#define bswap_32 bswap32 ++#define bswap_64 bswap64 ++#else ++#include <endian.h> ++#endif + + struct gvnc; + diff --git a/net/gtk-vnc/pkg-descr b/net/gtk-vnc/pkg-descr new file mode 100644 index 000000000..9077bc499 --- /dev/null +++ b/net/gtk-vnc/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://gtk-vnc.sourceforge.net/ diff --git a/net/gtk-vnc/pkg-plist b/net/gtk-vnc/pkg-plist new file mode 100644 index 000000000..e57277615 --- /dev/null +++ b/net/gtk-vnc/pkg-plist @@ -0,0 +1,23 @@ +include/gtk-vnc-1.0/vncdisplay.h +lib/libgtk-vnc-1.0.a +lib/libgtk-vnc-1.0.la +lib/libgtk-vnc-1.0.so +lib/libgtk-vnc-1.0.so.0 +%%PYTHON_SITELIBDIR%%/gtkvnc.a +%%PYTHON_SITELIBDIR%%/gtkvnc.la +%%PYTHON_SITELIBDIR%%/gtkvnc.so +libdata/pkgconfig/gtk-vnc-1.0.pc +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/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/sv/LC_MESSAGES/gtk-vnc.mo +@dirrm include/gtk-vnc-1.0 |