summaryrefslogtreecommitdiffstats
path: root/net/gtk-vnc
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2011-04-26 03:28:36 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2011-04-26 03:28:36 +0800
commit055e661b871dffef18c6c8a2d3d99c94061d2028 (patch)
tree250ffce16fcf74e1d5a8f7c33bd520a65a10c14b /net/gtk-vnc
parent747da2a9d7a0b338f6ae62e1cb750970584e888f (diff)
downloadmarcuscom-ports-055e661b871dffef18c6c8a2d3d99c94061d2028.tar
marcuscom-ports-055e661b871dffef18c6c8a2d3d99c94061d2028.tar.gz
marcuscom-ports-055e661b871dffef18c6c8a2d3d99c94061d2028.tar.bz2
marcuscom-ports-055e661b871dffef18c6c8a2d3d99c94061d2028.tar.lz
marcuscom-ports-055e661b871dffef18c6c8a2d3d99c94061d2028.tar.xz
marcuscom-ports-055e661b871dffef18c6c8a2d3d99c94061d2028.tar.zst
marcuscom-ports-055e661b871dffef18c6c8a2d3d99c94061d2028.zip
Add CONFLICTS with the each others.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15869 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/gtk-vnc')
-rw-r--r--net/gtk-vnc/Makefile33
-rw-r--r--net/gtk-vnc/distinfo2
-rw-r--r--net/gtk-vnc/files/patch-src_continuation.h10
-rw-r--r--net/gtk-vnc/files/patch-src_coroutine_ucontext.c11
-rw-r--r--net/gtk-vnc/files/patch-src_gvnc.h22
-rw-r--r--net/gtk-vnc/pkg-descr10
-rw-r--r--net/gtk-vnc/pkg-plist23
7 files changed, 111 insertions, 0 deletions
diff --git a/net/gtk-vnc/Makefile b/net/gtk-vnc/Makefile
new file mode 100644
index 000000000..a12fb6ba6
--- /dev/null
+++ b/net/gtk-vnc/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.3.10
+PORTREVISION= 3
+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
+
+CONFLICTS= gtk-vnc-0.4.[0-9]*
+
+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..ef8bf092a
--- /dev/null
+++ b/net/gtk-vnc/distinfo
@@ -0,0 +1,2 @@
+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..08b3cf791
--- /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://live.gnome.org/gtk-vnc
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