diff --git a/net/tigervnc-devel/Makefile b/net/tigervnc-devel/Makefile index d1e2fd128035..d9ae48b515d2 100644 --- a/net/tigervnc-devel/Makefile +++ b/net/tigervnc-devel/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= tigervnc -PORTVERSION= 1.6.90 -PORTREVISION= 2 +PORTVERSION= 1.7.90 DISTVERSIONPREFIX= v CATEGORIES= net x11-servers PKGNAMESUFFIX= -devel @@ -17,6 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENCE.TXT PATCH_DEPENDS= ${NONEXISTENT}:x11-servers/xorg-server:patch BUILD_DEPENDS= ${LOCALBASE}/include/GL/internal/dri_interface.h:graphics/mesa-dri \ ${LOCALBASE}/libdata/pkgconfig/fontutil.pc:x11-fonts/font-util \ + ${LOCALBASE}/include/FL/Fl.H:x11-toolkits/fltk \ bash:shells/bash # almost equivalent to x11-servers/xorg-server's RUN_DEPENDS= ${LOCALBASE}/share/X11/xkb/rules/base:x11/xkeyboard-config \ @@ -46,8 +46,6 @@ LIB_DEPENDS= libunwind.so:devel/libunwind \ CFLAGS+= -fPIC -IGNORE= No development version available right now. Please use net/tigervnc instead. - OPTIONS_DEFINE= GNUTLS NLS PAM VIEWER DOCS OPTIONS_DEFAULT= GNUTLS PAM VIEWER VIEWER_DESC= Build vncviewer @@ -112,11 +110,12 @@ CONFIGURE_ARGS+= \ --with-xkb-bin-directory=${LOCALBASE}/bin \ --with-serverconfig-path=${LOCALBASE}/lib/X11 \ --disable-selective-werror \ + --disable-xwayland \ --with-fontrootdir=${LOCALBASE}/share/fonts .include -TIGERVNC_XORG_PATCH_VER= 117 +TIGERVNC_XORG_PATCH_VER= 118 # import from x11-server/xorg-server/Makefile .if ${SSL_DEFAULT} == base diff --git a/net/tigervnc-devel/distinfo b/net/tigervnc-devel/distinfo index 72e11e739f06..975437bb9d22 100644 --- a/net/tigervnc-devel/distinfo +++ b/net/tigervnc-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1467937482 -SHA256 (TigerVNC-tigervnc-v1.6.90_GH0.tar.gz) = df11dd48d5c360dbe6c505a5a3cec3f12589fac759a0726f2f358c1aee36a5a9 -SIZE (TigerVNC-tigervnc-v1.6.90_GH0.tar.gz) = 1401599 +TIMESTAMP = 1494395713 +SHA256 (TigerVNC-tigervnc-v1.7.90_GH0.tar.gz) = 0ddc43366b8399f591a24b35163a973bad129a1a7c1fcea7295fbfd8870c0a5f +SIZE (TigerVNC-tigervnc-v1.7.90_GH0.tar.gz) = 1431708 diff --git a/net/tigervnc-devel/files/patch-unix_vncserver b/net/tigervnc-devel/files/patch-unix_vncserver index 56cd278e9cec..2ce761cac3d8 100644 --- a/net/tigervnc-devel/files/patch-unix_vncserver +++ b/net/tigervnc-devel/files/patch-unix_vncserver @@ -1,20 +1,8 @@ ---- unix/vncserver.orig 2016-10-04 13:33:57.420501000 +0900 -+++ unix/vncserver 2016-10-04 13:18:49.398064000 +0900 -@@ -240,7 +240,13 @@ - - # Make an X server cookie and set up the Xauthority file - -+# mcookie is a part of util-linux, usually only GNU/Linux systems have it. - $cookie = `mcookie`; -+# Alternative method for cookie. For non GNU/Linux operating systems. -+$cookie ||= `dd if=/dev/urandom bs=16 count=1 2>/dev/null| od -x -An | tr -d ' '`; -+if ($cookie eq '') { -+ die "couldn't generate magic cookie.\n"; -+} - - open(XAUTH, "|xauth -f $xauthorityFile source -"); - print XAUTH "add $host:$displayNumber . $cookie\n"; -@@ -470,7 +476,7 @@ +diff --git unix/vncserver unix/vncserver +index 2ef436a7..dac27520 100755 +--- unix/vncserver ++++ unix/vncserver +@@ -532,7 +532,7 @@ sub CheckDisplayNumber socket(S, $AF_INET, $SOCK_STREAM, 0) || die "$prog: socket failed: $!\n"; eval 'setsockopt(S, &SOL_SOCKET, &SO_REUSEADDR, pack("l", 1))'; @@ -23,7 +11,7 @@ close(S); return 0; } -@@ -478,7 +484,7 @@ +@@ -540,7 +540,7 @@ sub CheckDisplayNumber socket(S, $AF_INET, $SOCK_STREAM, 0) || die "$prog: socket failed: $!\n"; eval 'setsockopt(S, &SOL_SOCKET, &SO_REUSEADDR, pack("l", 1))'; @@ -32,12 +20,3 @@ close(S); return 0; } -@@ -778,7 +784,7 @@ - # - - cmd: -- foreach $cmd ("uname","mcookie","xauth") { -+ foreach $cmd ("uname","xauth") { - for (split(/:/,$ENV{PATH})) { - if (-x "$_/$cmd") { - next cmd; diff --git a/net/tigervnc-devel/files/patch-unix_xserver117.patch b/net/tigervnc-devel/files/patch-unix_xserver117.patch deleted file mode 100644 index 62dbbcb2d025..000000000000 --- a/net/tigervnc-devel/files/patch-unix_xserver117.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- unix/xserver117.patch.orig 2015-10-13 17:11:25.207390000 +0200 -+++ unix/xserver117.patch 2015-10-13 17:11:42.276049000 +0200 -@@ -66,7 +66,7 @@ diff -up xorg-server-1.17.1/mi/miinitext - #include "globals.h" - - +#ifdef TIGERVNC --+extern void vncExtensionInit(INITARGS); -++extern void vncExtensionInit(void); - +#endif - + - /* The following is only a small first step towards run-time diff --git a/net/tigervnc-devel/pkg-plist b/net/tigervnc-devel/pkg-plist index 555014c67813..244e569e48f7 100644 --- a/net/tigervnc-devel/pkg-plist +++ b/net/tigervnc-devel/pkg-plist @@ -19,6 +19,7 @@ man/man1/Xvnc.1.gz %%NLS%%share/locale/es/LC_MESSAGES/tigervnc.mo %%NLS%%share/locale/fi/LC_MESSAGES/tigervnc.mo %%NLS%%share/locale/fr/LC_MESSAGES/tigervnc.mo +%%NLS%%share/locale/fur/LC_MESSAGES/tigervnc.mo %%NLS%%share/locale/it/LC_MESSAGES/tigervnc.mo %%NLS%%share/locale/nl/LC_MESSAGES/tigervnc.mo %%NLS%%share/locale/pl/LC_MESSAGES/tigervnc.mo