Bug 175801 - New port: net/tigervnc
Summary: New port: net/tigervnc
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-03 17:00 UTC by Koichiro Iwao
Modified: 2013-03-24 15:10 UTC (History)
0 users

See Also:


Attachments
file.shar (11.65 KB, text/plain)
2013-02-03 17:00 UTC, Koichiro Iwao
no flags Details
tigervnc_shar.txt (11.70 KB, text/plain; charset=iso-2022-jp)
2013-02-11 16:33 UTC, Koichiro Iwao
no flags Details
tigervnc_add_cflags_fpic.txt (11.21 KB, text/plain)
2013-03-23 16:49 UTC, Koichiro Iwao
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Koichiro Iwao freebsd_committer freebsd_triage 2013-02-03 17:00:00 UTC
TigerVNC is a high-performance, platform-neutral implementation of VNC.
The aim of the project is to merge enhancements between different VNC
implementations.  The motivation for creating TigerVNC project can be
found in the project announcement.
http://article.gmane.org/gmane.network.tight-vnc.general/8610/

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-02-03 17:00:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

swills@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Koichiro Iwao freebsd_committer freebsd_triage 2013-02-11 16:33:00 UTC
Minor changes in plist.
Tested on redports [1] since redports is back.

[1] https://redports.org/buildarchive/20130211153638-53650/

-- 
`whois vmeta.jp | nkf -w`
meta <meta@vmeta.jp>
Comment 3 Christoph Mallon 2013-02-18 07:33:31 UTC
Here are some corrections and improvements for the port Makefile:

--- 0001-net-tigervnc-Correct-and-improve-Makefile.patch begins here ---
From aaf3bf1c18539f7b8384f85706b44800b50003fb Mon Sep 17 00:00:00 2001
From: Christoph Mallon <christoph.mallon@gmx.de>
Date: Mon, 18 Feb 2013 08:06:39 +0100
Subject: [PATCH] net/tigervnc: Correct and improve Makefile.

- Remove duplicate BUILD_DEPENDS on pkgconf (see USE_PKGCONFIG)
- Use USE_CMAKE instead of BUILD_DEPENDS and custom do-configure
- Use default texts for GNUTLS_DESC and PAM_DESC
- Use LIB_DEPENDS instead of BUILD_DEPENDS for jpeg
- Ask xorg-server for its WRCSRC instead of asking for WRKDIR and doing local adjustments
- Use default do-confiugre and do-build targets, push extra steps to post-*
- Remove duplicate step in post-install, which the default do-install already handles
---
 net/tigervnc/Makefile | 28 ++++++++++------------------
 1 file changed, 10 insertions(+), 18 deletions(-)

diff --git a/net/tigervnc/Makefile b/net/tigervnc/Makefile
index 0d371fc..eb4b46f 100644
--- a/net/tigervnc/Makefile
+++ b/net/tigervnc/Makefile
@@ -12,9 +12,7 @@ MAINTAINER=	meta+ports@vmeta.jp
 COMMENT=	TigerVNC is an advanced VNC implementation
 
 PATCH_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/x11-servers/xorg-server:patch
-BUILD_DEPENDS+=	cmake:${PORTSDIR}/devel/cmake \
-		pkgconf:${PORTSDIR}/devel/pkgconf \
-		${LOCALBASE}/share/aclocal/xorg-macros.m4:${PORTSDIR}/devel/xorg-macros \
+BUILD_DEPENDS+=	${LOCALBASE}/share/aclocal/xorg-macros.m4:${PORTSDIR}/devel/xorg-macros \
 		${LOCALBASE}/libdata/pkgconfig/dri.pc:${PORTSDIR}/graphics/dri
 
 CONFLICTS=	tridiavnc-[0-9]* \
@@ -23,6 +21,7 @@ CONFLICTS=	tridiavnc-[0-9]* \
 
 MAKE_JOBS_UNSAFE=	yes
 
+USE_CMAKE=	yes
 USE_PKGCONFIG=	build
 USE_GMAKE=	yes
 USE_GL=		gl
@@ -44,8 +43,6 @@ MAN1+=		vncpasswd.1 \
 
 OPTIONS_DEFINE=		GNUTLS NLS PAM VIEWER HPJPG
 OPTIONS_DEFAULT=	GNUTLS NLS PAM VIEWER
-GNUTLS_DESC=		Build with TLS support
-PAM_DESC=		PAM authentication support
 VIEWER_DESC=		Build vncviewer
 HPJPG_DESC=		Build with High-Performance JPEG support
 
@@ -91,9 +88,9 @@ PLIST_SUB+=	VIEWER="@comment "
 .endif
 
 .if ${PORT_OPTIONS:MHPJPG}
-BUILD_DEPENDS+=	${LOCALBASE}/lib/libturbojpeg.so:${PORTSDIR}/graphics/libjpeg-turbo
+LIB_DEPENDS+=	turbojpeg:${PORTSDIR}/graphics/libjpeg-turbo
 .else
-BUILD_DEPENDS+=	${LOCALBASE}/lib/libjpeg.so:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS+=	jpeg:${PORTSDIR}/graphics/jpeg
 .endif
 
 MAKE_ARGS+=	TIGERVNC_SRCDIR=${WRKSRC}
@@ -116,41 +113,36 @@ CONFIGURE_ARGS+=	\
 
 .include <bsd.port.pre.mk>
 
-.if defined(WITH_NEW_XORG)
-XORG_VERSION=	1.10.6
+.ifdef WITH_NEW_XORG
 TIGERVNC_XORG_PATCH_VER=	110
 .else
-XORG_VERSION=	1.7.7
 TIGERVNC_XORG_PATCH_VER=	17
 .endif
 
 # import from x11-server/xorg-server/Makefile
-.if defined(WITH_OPENSSL_BASE)
+.ifdef WITH_OPENSSL_BASE
 # The reason why I use this is cause openssl from base doesn't install a .pc file
 # and configure will fail trying to find it. Setting both of those variables to
 # a *non-empty* value by-passes the pkg-config check.
 CONFIGURE_ENV=	SHA1_LIB="-L/usr/lib -lcrypto" SHA1_CFLAGS="-I/usr/include"
 .endif
 
-XORG_WRKDIR=	${MAKE} -C ${PORTSDIR}/x11-servers/xorg-server -VWRKDIR
+XORG_WRKDIR=	${MAKE} -C ${PORTSDIR}/x11-servers/xorg-server -VWRKSRC
 
 pre-patch:
-	@${CP} -R `${XORG_WRKDIR}`/xorg-server-${XORG_VERSION}/ ${WRKSRC}/unix/xserver/
+	@${CP} -R `${XORG_WRKDIR}`/ ${WRKSRC}/unix/xserver/
 
 post-patch:
 	@cd ${WRKSRC}/unix/xserver/ && ${PATCH} -p1 < ${WRKSRC}/unix/xserver${TIGERVNC_XORG_PATCH_VER}.patch
 
-do-configure:
-	@cd ${WRKSRC}               && ${SETENV} ${CONFIGURE_ENV} cmake ${CMAKE_ARGS} .
+post-configure:
 	@cd ${WRKSRC}/unix/xserver/ && ${SETENV} ${CONFIGURE_ENV} ${AUTORECONF} -fiv
 	@cd ${WRKSRC}/unix/xserver/ && ${SETENV} ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS}
 
-do-build:
-	@cd ${WRKSRC}               && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS}
+post-build:
 	@cd ${WRKSRC}/unix/xserver/ && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS}
 
 post-install:
-	@cd ${WRKSRC}                      && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install
 	@cd ${WRKSRC}/unix/xserver/hw/vnc/ && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install
 
 .include <bsd.port.post.mk>
-- 
1.8.1.3
--- 0001-net-tigervnc-Correct-and-improve-Makefile.patch ends here ---
Comment 4 Koichiro Iwao freebsd_committer freebsd_triage 2013-02-24 18:33:44 UTC
Thank you very much for your patch.  I approve it.

Changeset is here (some whitespaces are lost on web PR viewer)
https://redports.org/changeset/9597

-- 
`whois vmeta.jp | nkf -w`
meta <meta@vmeta.jp>
Comment 5 Koichiro Iwao freebsd_committer freebsd_triage 2013-03-23 16:49:04 UTC
Add "CFLAGS+= -fPIC" to fix the build.
Tested on redports [1].

[1] https://redports.org/buildarchive/20130322075859-48244/
-- 
`whois vmeta.jp | nkf -w`
meta <meta@vmeta.jp>
Comment 6 dfilter service freebsd_committer freebsd_triage 2013-03-24 15:05:56 UTC
Author: swills
Date: Sun Mar 24 15:05:45 2013
New Revision: 315126
URL: http://svnweb.freebsd.org/changeset/ports/315126

Log:
  TigerVNC is a high-performance, platform-neutral implementation of VNC,
  a client/server application that allows users to launch and interact with
  graphical applications on remote machines.
  
  WWW: http://tigervnc.org/
  
  PR:		ports/175801
  Submitted by:	Koichiro IWAO <meta+ports@vmeta.jp>

Added:
  head/net/tigervnc/
  head/net/tigervnc/Makefile   (contents, props changed)
  head/net/tigervnc/distinfo   (contents, props changed)
  head/net/tigervnc/files/
  head/net/tigervnc/files/patch-CMakeLists.txt   (contents, props changed)
  head/net/tigervnc/files/patch-cmake_BuildPackages.cmake   (contents, props changed)
  head/net/tigervnc/files/patch-hw_vnc_Makefile.am   (contents, props changed)
  head/net/tigervnc/files/patch-unix_vncserver   (contents, props changed)
  head/net/tigervnc/pkg-descr   (contents, props changed)
  head/net/tigervnc/pkg-plist   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Sun Mar 24 14:55:33 2013	(r315125)
+++ head/net/Makefile	Sun Mar 24 15:05:45 2013	(r315126)
@@ -1157,6 +1157,7 @@
     SUBDIR += tftpgrab
     SUBDIR += thcrut
     SUBDIR += throttled
+    SUBDIR += tigervnc
     SUBDIR += tightvnc
     SUBDIR += tintin++
     SUBDIR += tinyfugue

Added: head/net/tigervnc/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tigervnc/Makefile	Sun Mar 24 15:05:45 2013	(r315126)
@@ -0,0 +1,149 @@
+# Created by: Koichiro IWAO <meta+ports@vmeta.jp>
+# $FreeBSD$
+
+PORTNAME=	tigervnc
+PORTVERSION=	1.2.0
+CATEGORIES=	net x11-servers
+MASTER_SITES=	SF:tigervnc
+MASTER_SITE_SUBDIR=	${PORTNAME}/${PORTNAME}/${PORTVERSION}/:tigervnc
+DISTFILES=	${PORTNAME}-${PORTVERSION}.tar.gz:tigervnc
+
+MAINTAINER=	meta+ports@vmeta.jp
+COMMENT=	TigerVNC is an advanced VNC implementation
+
+PATCH_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/x11-servers/xorg-server:patch
+BUILD_DEPENDS+=	${LOCALBASE}/share/aclocal/xorg-macros.m4:${PORTSDIR}/devel/xorg-macros \
+		${LOCALBASE}/libdata/pkgconfig/dri.pc:${PORTSDIR}/graphics/dri
+
+CONFLICTS=	tridiavnc-[0-9]* \
+		tightvnc-[0-9]* \
+		vnc-[0-9]*
+
+MAKE_JOBS_UNSAFE=	yes
+
+USE_CMAKE=	yes
+USE_PKGCONFIG=	build
+USE_GMAKE=	yes
+USE_GL=		gl
+USE_AUTOTOOLS+=	autoconf:env automake:env libtool:env
+USE_PYTHON=	yes
+USE_LDCONFIG=	yes
+USE_OPENSSL=	yes
+
+USE_XORG+=	bigreqsproto compositeproto damageproto fixesproto fontsproto glproto \
+		inputproto kbproto pixman randrproto renderproto resourceproto \
+		scrnsaverproto videoproto xau xdmcp xext xkbfile xcmiscproto xextproto \
+		xfont xproto xrandr xtrans xtst
+
+MAN1+=		vncpasswd.1 \
+		x0vncserver.1 \
+		vncserver.1 \
+		vncconfig.1 \
+		Xvnc.1
+CFLAGS+=	-fPIC
+
+OPTIONS_DEFINE=		GNUTLS NLS PAM VIEWER HPJPG
+OPTIONS_DEFAULT=	GNUTLS NLS PAM VIEWER
+VIEWER_DESC=		Build vncviewer
+HPJPG_DESC=		Build with High-Performance JPEG support
+
+.include <bsd.port.options.mk>
+
+CMAKE_ARGS=	-G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=${PREFIX}
+
+.if ${PORT_OPTIONS:MGNUTLS}
+LIB_DEPENDS+=	tasn1:${PORTSDIR}/security/libtasn1 \
+		gcrypt:${PORTSDIR}/security/libgcrypt \
+		gpg-error:${PORTSDIR}/security/libgpg-error \
+		gnutls:${PORTSDIR}/security/gnutls
+CONFIGURE_ARGS+=	--enable-glx-tls
+CMAKE_ARGS+=	-DENABLE_GNUTLS=1
+.else
+CMAKE_ARGS+=	-DENABLE_GNUTLS=0
+.endif
+
+.if ${PORT_OPTIONS:MNLS}
+USE_GETTEXT=	yes
+CMAKE_ARGS+=	-DENABLE_NLS=1
+PLIST_SUB+=	NLS=""
+.else
+CMAKE_ARGS+=	-DENABLE_NLS=0
+PLIST_SUB+=	NLS="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MPAM}
+CMAKE_ARGS+=	-DENABLE_PAM=1
+.else
+CMAKE_ARGS+=	-DENABLE_PAM=0
+.endif
+
+.if ${PORT_OPTIONS:MVIEWER}
+CMAKE_ARGS+=	-DENABLE_VIEWER=1
+LIB_DEPENDS+=	png15:${PORTSDIR}/graphics/png \
+		fltk:${PORTSDIR}/x11-toolkits/fltk
+USE_XORG+=	xcursor xfixes xft xinerama
+MAN1+=		vncviewer.1
+PLIST_SUB+=	VIEWER=""
+.else
+PLIST_SUB+=	VIEWER="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MHPJPG}
+LIB_DEPENDS+=	turbojpeg:${PORTSDIR}/graphics/libjpeg-turbo
+.else
+LIB_DEPENDS+=	jpeg:${PORTSDIR}/graphics/jpeg
+.endif
+
+MAKE_ARGS+=	TIGERVNC_SRCDIR=${WRKSRC}
+CONFIGURE_ARGS+=	\
+		--prefix=${PREFIX} --mandir=${PREFIX}/man/ \
+		--docdir=${PREFIX}/share/doc/${PORTNAME}/ --with-pic --without-dtrace \
+		--disable-static --disable-dri \
+		--disable-xinerama --disable-xvfb --disable-xnest --disable-xorg \
+		--disable-dmx --disable-xwin --disable-xephyr --disable-kdrive \
+		--disable-config-dbus --disable-config-hal \
+		--disable-dri2 --enable-install-libxf86config --enable-glx \
+		--with-default-font-path="catalogue:${PREFIX}/share/fonts,built-ins" \
+		--with-fontdir=${PREFIX}/share/fonts \
+		--with-xkb-path=${PREFIX}/share/X11/xkb \
+		--with-xkb-output=/var/lib/xkb \
+		--with-xkb-bin-directory=${PREFIX}/bin \
+		--with-serverconfig-path=${PREFIX}/lib/X11 \
+		--with-dri-driver-path=${PREFIX}/lib/dri \
+		--disable-selective-werror
+
+.include <bsd.port.pre.mk>
+
+.ifdef WITH_NEW_XORG
+TIGERVNC_XORG_PATCH_VER=	110
+.else
+TIGERVNC_XORG_PATCH_VER=	17
+.endif
+
+# import from x11-server/xorg-server/Makefile
+.ifdef WITH_OPENSSL_BASE
+# The reason why I use this is cause openssl from base doesn't install a .pc file
+# and configure will fail trying to find it. Setting both of those variables to
+# a *non-empty* value by-passes the pkg-config check.
+CONFIGURE_ENV=	SHA1_LIB="-L/usr/lib -lcrypto" SHA1_CFLAGS="-I/usr/include"
+.endif
+
+XORG_WRKDIR=	${MAKE} -C ${PORTSDIR}/x11-servers/xorg-server -VWRKSRC
+
+pre-patch:
+	@${CP} -R `${XORG_WRKDIR}`/ ${WRKSRC}/unix/xserver/
+
+post-patch:
+	@cd ${WRKSRC}/unix/xserver/ && ${PATCH} -p1 < ${WRKSRC}/unix/xserver${TIGERVNC_XORG_PATCH_VER}.patch
+
+post-configure:
+	@cd ${WRKSRC}/unix/xserver/ && ${SETENV} ${CONFIGURE_ENV} ${AUTORECONF} -fiv
+	@cd ${WRKSRC}/unix/xserver/ && ${SETENV} ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS}
+
+post-build:
+	@cd ${WRKSRC}/unix/xserver/ && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS}
+
+post-install:
+	@cd ${WRKSRC}/unix/xserver/hw/vnc/ && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install
+
+.include <bsd.port.post.mk>

Added: head/net/tigervnc/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tigervnc/distinfo	Sun Mar 24 15:05:45 2013	(r315126)
@@ -0,0 +1,6 @@
+SHA256 (tigervnc-1.2.0.tar.gz) = 6e0910f1ff1681bc8b52e7ea805e586b88b352c88f66e4c2cc31aa39c4a32f53
+SIZE (tigervnc-1.2.0.tar.gz) = 2487050
+SHA256 (xorg-server-1.10.6.tar.bz2) = c4da5a97b6986688efe74bc9bff6a38795977019ac032dd6d787abad32c50682
+SIZE (xorg-server-1.10.6.tar.bz2) = 5406712
+SHA256 (xorg-server-1.7.7.tar.bz2) = 54c4d32bfeb8852adbea3ddae6981f3bc2eadb330124d9b35226c617c01926ff
+SIZE (xorg-server-1.7.7.tar.bz2) = 4939257

Added: head/net/tigervnc/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tigervnc/files/patch-CMakeLists.txt	Sun Mar 24 15:05:45 2013	(r315126)
@@ -0,0 +1,68 @@
+--- CMakeLists.txt.orig	2012-03-10 05:34:29.000000000 +0900
++++ CMakeLists.txt	2012-10-25 19:02:36.642061425 +0900
+@@ -237,6 +237,7 @@
+ endif()
+ 
+ # Check for FLTK
++if(ENABLE_VIEWER)
+ set(FLTK_SKIP_FLUID TRUE)
+ set(FLTK_SKIP_OPENGL TRUE)
+ set(FLTK_SKIP_IMAGES TRUE)
+@@ -282,44 +283,7 @@
+   set(CMAKE_REQUIRED_LIBRARIES)
+ endif()
+ 
+-option(USE_INCLUDED_FLTK
+-  "Force the use of the FLTK library bundled with the TigerVNC source")
+-if(NOT FLTK_FOUND OR NOT HAVE_FLTK_DEAD_KEYS OR NOT HAVE_FLTK_CLIPBOARD
+-  OR NOT HAVE_FLTK_MEDIAKEYS OR NOT HAVE_FLTK_FULLSCREEN
+-  OR NOT HAVE_FLTK_CURSOR)
+-  set(USE_INCLUDED_FLTK 1)
+-endif()
+-if(USE_INCLUDED_FLTK)
+-  # Check that we have the proper dependencies
+-  if(UNIX AND NOT APPLE)
+-    if(NOT X11_Xft_FOUND)
+-      message(FATAL_ERROR "Xft headers/libraries not found (needed by FLTK.)")
+-    endif()
+-    if(NOT X11_Xinerama_FOUND)
+-      message(FATAL_ERROR "Xinerama headers/libraries not found (needed by FLTK.)")
+-    endif()
+-    if(NOT X11_Xfixes_FOUND)
+-      message(FATAL_ERROR "Xfixes headers/libraries not found (needed by FLTK.)")
+-    endif()
+-    if(NOT X11_Xcursor_FOUND)
+-      message(FATAL_ERROR "Xcursor headers/libraries not found (needed by FLTK.)")
+-    endif()
+-  endif()
+-
+-  set(HAVE_FLTK_DEAD_KEYS 1)
+-  set(HAVE_FLTK_CLIPBOARD 1)
+-  set(HAVE_FLTK_MEDIAKEYS 1)
+-  set(HAVE_FLTK_FULLSCREEN 1)
+-  set(HAVE_FLTK_CURSOR 1)
+-  set(FLTK_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/common/fltk)
+-  set(FLTK_LIBRARIES)
+-  if(APPLE)
+-    set(FLTK_LIBRARIES "-framework Carbon -framework Cocoa -framework ApplicationServices")
+-  elseif(NOT WIN32)
+-    set(FLTK_LIBRARIES "-ldl")
+-  endif()
+-  message(STATUS "Using included FLTK library")
+-endif()
++endif() # ENABLE_VIEWER
+ 
+ # Check for GNUTLS library
+ option(ENABLE_GNUTLS "Enable protocol encryption and advanced authentication" ON)
+@@ -409,7 +373,10 @@
+ if(ENABLE_NLS)
+   add_subdirectory(po)
+ endif()
+-add_subdirectory(vncviewer)
++
++if(ENABLE_VIEWER)
++  add_subdirectory(vncviewer)
++endif()
+ 
+ include(cmake/BuildPackages.cmake)
+ 

Added: head/net/tigervnc/files/patch-cmake_BuildPackages.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tigervnc/files/patch-cmake_BuildPackages.cmake	Sun Mar 24 15:05:45 2013	(r315126)
@@ -0,0 +1,10 @@
+--- cmake/BuildPackages.cmake.orig	2012-05-28 00:21:51.000000000 +0900
++++ cmake/BuildPackages.cmake	2012-05-28 00:22:15.000000000 +0900
+@@ -86,5 +86,5 @@
+ # Common
+ #
+ 
+-install(FILES ${CMAKE_SOURCE_DIR}/LICENCE.TXT DESTINATION doc)
+-install(FILES ${CMAKE_SOURCE_DIR}/README.txt DESTINATION doc)
++install(FILES ${CMAKE_SOURCE_DIR}/LICENCE.TXT DESTINATION share/doc/tigervnc)
++install(FILES ${CMAKE_SOURCE_DIR}/README.txt DESTINATION share/doc/tigervnc)

Added: head/net/tigervnc/files/patch-hw_vnc_Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tigervnc/files/patch-hw_vnc_Makefile.am	Sun Mar 24 15:05:45 2013	(r315126)
@@ -0,0 +1,11 @@
+--- unix/xserver/hw/vnc/Makefile.am.orig	2012-04-26 00:10:38.000000000 +0900
++++ unix/xserver/hw/vnc/Makefile.am	2012-05-27 14:48:07.000000000 +0900
+@@ -67,7 +67,7 @@
+ 
+ pixman.h:
+ 	for i in ${XSERVERLIBS_CFLAGS}; do \
+-		if [[ "$$i" =~ "pixman" ]]; then \
++		if [ "$$i" = "pixman" ]; then \
+ 			PIXMANINCDIR=`echo $$i | sed s/-I//g`; \
+ 		fi; \
+ 	done; \

Added: head/net/tigervnc/files/patch-unix_vncserver
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tigervnc/files/patch-unix_vncserver	Sun Mar 24 15:05:45 2013	(r315126)
@@ -0,0 +1,20 @@
+--- unix/vncserver.orig	2012-05-27 21:16:41.000000000 +0900
++++ unix/vncserver	2012-05-27 21:17:13.000000000 +0900
+@@ -422,7 +422,7 @@
+ 
+     socket(S, $AF_INET, $SOCK_STREAM, 0) || die "$prog: socket failed: $!\n";
+     eval 'setsockopt(S, &SOL_SOCKET, &SO_REUSEADDR, pack("l", 1))';
+-    if (!bind(S, pack('S n x12', $AF_INET, 6000 + $n))) {
++    if (!bind(S, sockaddr_in(6000 + $n, &INADDR_ANY))) {
+ 	close(S);
+ 	return 0;
+     }
+@@ -430,7 +430,7 @@
+ 
+     socket(S, $AF_INET, $SOCK_STREAM, 0) || die "$prog: socket failed: $!\n";
+     eval 'setsockopt(S, &SOL_SOCKET, &SO_REUSEADDR, pack("l", 1))';
+-    if (!bind(S, pack('S n x12', $AF_INET, 5900 + $n))) {
++    if (!bind(S, sockaddr_in(5900 + $n, &INADDR_ANY))) {
+ 	close(S);
+ 	return 0;
+     }

Added: head/net/tigervnc/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tigervnc/pkg-descr	Sun Mar 24 15:05:45 2013	(r315126)
@@ -0,0 +1,5 @@
+TigerVNC is a high-performance, platform-neutral implementation of VNC,
+a client/server application that allows users to launch and interact with
+graphical applications on remote machines.
+
+WWW: http://tigervnc.org/

Added: head/net/tigervnc/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tigervnc/pkg-plist	Sun Mar 24 15:05:45 2013	(r315126)
@@ -0,0 +1,21 @@
+bin/Xvnc
+bin/vncconfig
+bin/vncpasswd
+bin/vncserver
+%%VIEWER%%bin/vncviewer
+bin/x0vncserver
+lib/xorg/modules/extensions/libvnc.la
+lib/xorg/modules/extensions/libvnc.so
+%%NLS%%share/locale/de/LC_MESSAGES/tigervnc.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/tigervnc.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/tigervnc.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/tigervnc.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/tigervnc.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/tigervnc.mo
+%%DOCSDIR%%/README.txt
+%%DOCSDIR%%/LICENCE.TXT
+@dirrm %%DOCSDIR%%
+@unexec %D/%%DOCSDIR%% 2>/dev/null || true
+@dirrmtry lib/xorg/modules/extensions
+@dirrmtry lib/xorg/modules
+@dirrmtry lib/xorg
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 7 Steve Wills freebsd_committer freebsd_triage 2013-03-24 15:06:58 UTC
State Changed
From-To: open->closed

New port added. Thanks!