diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-09-07 08:08:01 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-09-07 08:08:01 +0800 |
commit | 85c6da4cb881e2a994cbf8e9f5c35a099b0ab345 (patch) | |
tree | 941840a5a7ad5c58ccd713646b7fab972e52915a | |
parent | e87a741a6ab299e1bb786199d393199e72b6bd4b (diff) | |
download | marcuscom-ports-85c6da4cb881e2a994cbf8e9f5c35a099b0ab345.tar marcuscom-ports-85c6da4cb881e2a994cbf8e9f5c35a099b0ab345.tar.gz marcuscom-ports-85c6da4cb881e2a994cbf8e9f5c35a099b0ab345.tar.bz2 marcuscom-ports-85c6da4cb881e2a994cbf8e9f5c35a099b0ab345.tar.lz marcuscom-ports-85c6da4cb881e2a994cbf8e9f5c35a099b0ab345.tar.xz marcuscom-ports-85c6da4cb881e2a994cbf8e9f5c35a099b0ab345.tar.zst marcuscom-ports-85c6da4cb881e2a994cbf8e9f5c35a099b0ab345.zip |
Update to 0.3.7.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11457 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | net/gtk-vnc/Makefile | 26 | ||||
-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 | 10 |
7 files changed, 92 insertions, 0 deletions
diff --git a/net/gtk-vnc/Makefile b/net/gtk-vnc/Makefile new file mode 100644 index 000000000..ff1985c39 --- /dev/null +++ b/net/gtk-vnc/Makefile @@ -0,0 +1,26 @@ +# 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.9 2008/06/06 13:50:03 edwin Exp $ +# + +PORTNAME= gtk-vnc +PORTVERSION= 0.3.7 +CATEGORIES= net gnome +MASTER_SITES= SF + +MAINTAINER= gnome@FreeBSD.org +COMMENT= VNC viewer widget for GTK+ + +LIB_DEPENDS= gnutls:${PORTSDIR}/security/gnutls + +USE_GNOME= pygtk2 gnomehack +USE_GMAKE= yes +GNU_CONFIGURE= yes +USE_LDCONFIG= yes +USE_PYTHON= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.include <bsd.port.mk> diff --git a/net/gtk-vnc/distinfo b/net/gtk-vnc/distinfo new file mode 100644 index 000000000..cd39a9d83 --- /dev/null +++ b/net/gtk-vnc/distinfo @@ -0,0 +1,3 @@ +MD5 (gtk-vnc-0.3.7.tar.gz) = 41c613be4b554b71d63d30f844d60add +SHA256 (gtk-vnc-0.3.7.tar.gz) = d08ca04641ffb1dc2077b9325a5c566ef83990b5ed7359997aaa0286dcfe3f3c +SIZE (gtk-vnc-0.3.7.tar.gz) = 431242 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..a53715865 --- /dev/null +++ b/net/gtk-vnc/pkg-plist @@ -0,0 +1,10 @@ +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 +@dirrm include/gtk-vnc-1.0 |