git: 16464822d1bb - main - net/tigervnc-{server,viewer}: Update to version 1.12.0

From: Jimmy Olgeni <olgeni_at_FreeBSD.org>
Date: Mon, 22 Nov 2021 11:28:00 UTC
The branch main has been updated by olgeni:

URL: https://cgit.FreeBSD.org/ports/commit/?id=16464822d1bbcf2ffb51e28f546c8de3715ca163

commit 16464822d1bbcf2ffb51e28f546c8de3715ca163
Author:     Jimmy Olgeni <olgeni@FreeBSD.org>
AuthorDate: 2021-11-21 15:41:49 +0000
Commit:     Jimmy Olgeni <olgeni@FreeBSD.org>
CommitDate: 2021-11-22 11:27:29 +0000

    net/tigervnc-{server,viewer}: Update to version 1.12.0
    
    PR:             259966
    Approved by:    meta
---
 net/tigervnc-server/Makefile.common.mk                      |  2 +-
 net/tigervnc-server/distinfo                                |  6 +++---
 net/tigervnc-server/files/patch-unix_vncserver_vncsession.c | 11 -----------
 net/tigervnc-server/files/vncserver.ports                   |  1 -
 net/tigervnc-server/pkg-plist                               |  1 +
 net/tigervnc-viewer/Makefile                                |  2 +-
 net/tigervnc-viewer/pkg-plist                               |  1 +
 7 files changed, 7 insertions(+), 17 deletions(-)

diff --git a/net/tigervnc-server/Makefile.common.mk b/net/tigervnc-server/Makefile.common.mk
index 6886948c205b..1df1ac5dffbf 100644
--- a/net/tigervnc-server/Makefile.common.mk
+++ b/net/tigervnc-server/Makefile.common.mk
@@ -1,6 +1,6 @@
 PORTNAME=	tigervnc
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.11.0
+DISTVERSION=	1.12.0
 CATEGORIES=	net x11-servers
 
 MAINTAINER?=	meta@FreeBSD.org
diff --git a/net/tigervnc-server/distinfo b/net/tigervnc-server/distinfo
index 4be9d20fab3f..6fc30c0000e3 100644
--- a/net/tigervnc-server/distinfo
+++ b/net/tigervnc-server/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1600214302
-SHA256 (TigerVNC-tigervnc-v1.11.0_GH0.tar.gz) = 3648eca472a92a4e8fe55b27cd397b1bf16bad0b24a3a1988661f44553f5e2c3
-SIZE (TigerVNC-tigervnc-v1.11.0_GH0.tar.gz) = 1346992
+TIMESTAMP = 1637499866
+SHA256 (TigerVNC-tigervnc-v1.12.0_GH0.tar.gz) = 9ff3f3948f2a4e8cc06ee598ee4b1096beb62094c13e0b1462bff78587bed789
+SIZE (TigerVNC-tigervnc-v1.12.0_GH0.tar.gz) = 1561898
diff --git a/net/tigervnc-server/files/patch-unix_vncserver_vncsession.c b/net/tigervnc-server/files/patch-unix_vncserver_vncsession.c
deleted file mode 100644
index 77346fbe2661..000000000000
--- a/net/tigervnc-server/files/patch-unix_vncserver_vncsession.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- unix/vncserver/vncsession.c.orig	2020-09-08 12:16:08 UTC
-+++ unix/vncserver/vncsession.c
-@@ -339,7 +339,7 @@ static void
- redir_stdio(const char *homedir, const char *display)
- {
-     int fd;
--    char hostname[HOST_NAME_MAX+1];
-+    char hostname[_POSIX_HOST_NAME_MAX+1];
-     char logfile[PATH_MAX];
- 
-     fd = open("/dev/null", O_RDONLY);
diff --git a/net/tigervnc-server/files/vncserver.ports b/net/tigervnc-server/files/vncserver.ports
index e8bea4033252..3406c29ff708 100644
--- a/net/tigervnc-server/files/vncserver.ports
+++ b/net/tigervnc-server/files/vncserver.ports
@@ -205,7 +205,6 @@ $default_opts{auth} = &quotedString($xauthorityFile);
 $default_opts{geometry} = $geometry if ($geometry);
 $default_opts{depth} = $depth if ($depth);
 $default_opts{pixelformat} = $pixelformat if ($pixelformat);
-$default_opts{rfbwait} = 30000;
 $default_opts{rfbauth} = "$vncUserDir/passwd";
 $default_opts{rfbport} = $vncPort;
 $default_opts{fp} = $fontPath if ($fontPath);
diff --git a/net/tigervnc-server/pkg-plist b/net/tigervnc-server/pkg-plist
index 25c298258e77..e5b015c481df 100644
--- a/net/tigervnc-server/pkg-plist
+++ b/net/tigervnc-server/pkg-plist
@@ -18,3 +18,4 @@ man/man8/vncserver.8.gz
 man/man8/vncsession.8.gz
 %%PORTDOCS%%%%DOCSDIR%%/%%TIGERVNC_COMPONENT%%LICENCE.TXT
 %%PORTDOCS%%%%DOCSDIR%%/%%TIGERVNC_COMPONENT%%README.rst
+%%PORTDOCS%%%%DOCSDIR%%/HOWTO.md
diff --git a/net/tigervnc-viewer/Makefile b/net/tigervnc-viewer/Makefile
index e76a474ca01a..aa85245c5574 100644
--- a/net/tigervnc-viewer/Makefile
+++ b/net/tigervnc-viewer/Makefile
@@ -4,7 +4,7 @@ CATEGORIES=	net
 COMMENT=	TigerVNC Viewer
 
 USES+=		gnome iconv jpeg xorg
-USE_XORG+=	ice pixman sm x11 xcursor xext xfixes xft xi xinerama xrender
+USE_XORG+=	ice pixman sm x11 xcursor xext xfixes xft xi xinerama xrender xrandr
 
 BUILD_DEPENDS+=	convert:graphics/ImageMagick7 # to generate icons during build
 LIB_DEPENDS+=	libfontconfig.so:x11-fonts/fontconfig \
diff --git a/net/tigervnc-viewer/pkg-plist b/net/tigervnc-viewer/pkg-plist
index 037fff6dc738..e7d44c2b048f 100644
--- a/net/tigervnc-viewer/pkg-plist
+++ b/net/tigervnc-viewer/pkg-plist
@@ -16,6 +16,7 @@ share/icons/hicolor/scalable/apps/tigervnc.svg
 %%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/he/LC_MESSAGES/tigervnc.mo
 %%NLS%%share/locale/hu/LC_MESSAGES/tigervnc.mo
 %%NLS%%share/locale/id/LC_MESSAGES/tigervnc.mo
 %%NLS%%share/locale/it/LC_MESSAGES/tigervnc.mo