From owner-svn-ports-all@freebsd.org Thu Apr 4 07:36:14 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9A86156691D; Thu, 4 Apr 2019 07:36:14 +0000 (UTC) (envelope-from meta@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 60C568A297; Thu, 4 Apr 2019 07:36:14 +0000 (UTC) (envelope-from meta@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3A476223A0; Thu, 4 Apr 2019 07:36:14 +0000 (UTC) (envelope-from meta@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x347aEGM021758; Thu, 4 Apr 2019 07:36:14 GMT (envelope-from meta@FreeBSD.org) Received: (from meta@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x347aDP4021752; Thu, 4 Apr 2019 07:36:13 GMT (envelope-from meta@FreeBSD.org) Message-Id: <201904040736.x347aDP4021752@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: meta set sender to meta@FreeBSD.org using -f From: Koichiro Iwao Date: Thu, 4 Apr 2019 07:36:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r497801 - in branches/2019Q2/net: tigervnc tigervnc-server tigervnc-viewer tigervnc/files X-SVN-Group: ports-branches X-SVN-Commit-Author: meta X-SVN-Commit-Paths: in branches/2019Q2/net: tigervnc tigervnc-server tigervnc-viewer tigervnc/files X-SVN-Commit-Revision: 497801 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 60C568A297 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2019 07:36:15 -0000 Author: meta Date: Thu Apr 4 07:36:12 2019 New Revision: 497801 URL: https://svnweb.freebsd.org/changeset/ports/497801 Log: MFH: r497487 Fix the issue tigervnc-server and -viewer cannot be installed together when DOCS=on because both ports install LICENSE_FILE into the same place. Also, following changes are made. net/tigervnc-{server,viewer}: - bump PORTREVISION due to plist & dependency change - do not build tests, it introduces unnecessary dependencies on fltk net/tigervnc-server: - add missing dependency on devel/m4 - remove unnecessary dependency on x11-toolkits/fltk Approved by: portmgr (miwi) Modified: branches/2019Q2/net/tigervnc-server/Makefile branches/2019Q2/net/tigervnc-server/pkg-plist branches/2019Q2/net/tigervnc-viewer/Makefile branches/2019Q2/net/tigervnc-viewer/pkg-plist branches/2019Q2/net/tigervnc/Makefile.common.mk branches/2019Q2/net/tigervnc/files/patch-cmake_BuildPackages.cmake Directory Properties: branches/2019Q2/ (props changed) Modified: branches/2019Q2/net/tigervnc-server/Makefile ============================================================================== --- branches/2019Q2/net/tigervnc-server/Makefile Thu Apr 4 07:22:42 2019 (r497800) +++ branches/2019Q2/net/tigervnc-server/Makefile Thu Apr 4 07:36:12 2019 (r497801) @@ -1,5 +1,6 @@ # $FreeBSD$ +PORTREVISION= 1 PKGNAMESUFFIX= -server CATEGORIES= net x11-servers @@ -8,7 +9,7 @@ COMMENT= TigerVNC Server 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 \ + gm4:devel/m4 \ bash:shells/bash LIB_DEPENDS= libxshmfence.so:x11/libxshmfence # almost equivalent to x11-servers/xorg-server's @@ -60,6 +61,8 @@ pre-patch: @${CP} -R $$(${XORG_WRKSRC})/ ${WRKSRC}/unix/xserver/ post-patch: + # do not build tests + @${REINPLACE_CMD} -e 's|add_subdirectory(tests)||' ${WRKSRC}/CMakeLists.txt @cd ${WRKSRC}/unix/xserver/ && ${PATCH} -p1 < ${WRKSRC}/unix/xserver$$(${TIGERVNC_XORG_PATCH_VER}).patch post-configure: Modified: branches/2019Q2/net/tigervnc-server/pkg-plist ============================================================================== --- branches/2019Q2/net/tigervnc-server/pkg-plist Thu Apr 4 07:22:42 2019 (r497800) +++ branches/2019Q2/net/tigervnc-server/pkg-plist Thu Apr 4 07:36:12 2019 (r497801) @@ -9,5 +9,5 @@ man/man1/vncconfig.1.gz man/man1/vncpasswd.1.gz man/man1/vncserver.1.gz man/man1/x0vncserver.1.gz -%%PORTDOCS%%%%DOCSDIR%%/LICENCE.TXT -%%PORTDOCS%%%%DOCSDIR%%/README.rst +%%PORTDOCS%%%%DOCSDIR%%/%%TIGERVNC_COMPONENT%%LICENCE.TXT +%%PORTDOCS%%%%DOCSDIR%%/%%TIGERVNC_COMPONENT%%README.rst Modified: branches/2019Q2/net/tigervnc-viewer/Makefile ============================================================================== --- branches/2019Q2/net/tigervnc-viewer/Makefile Thu Apr 4 07:22:42 2019 (r497800) +++ branches/2019Q2/net/tigervnc-viewer/Makefile Thu Apr 4 07:36:12 2019 (r497801) @@ -1,5 +1,6 @@ # $FreeBSD$ +PORTREVISION= 1 PKGNAMESUFFIX= -viewer CATEGORIES= net @@ -29,8 +30,11 @@ DESKTOP_ENTRIES= "TigerVNC viewer" "Connect to VNC ser "${PORTNAME}" "vncviewer" "Network;" false post-patch: - # do not build server components - @${REINPLACE_CMD} -e 's|add_subdirectory(unix)||' ${WRKSRC}/CMakeLists.txt + # do not build server components and tests + @${REINPLACE_CMD} \ + -e 's|add_subdirectory(unix)||' \ + -e 's|add_subdirectory(tests)||' \ + ${WRKSRC}/CMakeLists.txt MASTERDIR= ${.CURDIR}/../tigervnc .include "${MASTERDIR}/Makefile.common.mk" Modified: branches/2019Q2/net/tigervnc-viewer/pkg-plist ============================================================================== --- branches/2019Q2/net/tigervnc-viewer/pkg-plist Thu Apr 4 07:22:42 2019 (r497800) +++ branches/2019Q2/net/tigervnc-viewer/pkg-plist Thu Apr 4 07:36:12 2019 (r497801) @@ -30,5 +30,5 @@ share/icons/hicolor/scalable/apps/tigervnc.svg %%NLS%%share/locale/uk/LC_MESSAGES/tigervnc.mo %%NLS%%share/locale/vi/LC_MESSAGES/tigervnc.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/tigervnc.mo -%%PORTDOCS%%%%DOCSDIR%%/LICENCE.TXT -%%PORTDOCS%%%%DOCSDIR%%/README.rst +%%PORTDOCS%%%%DOCSDIR%%/%%TIGERVNC_COMPONENT%%LICENCE.TXT +%%PORTDOCS%%%%DOCSDIR%%/%%TIGERVNC_COMPONENT%%README.rst Modified: branches/2019Q2/net/tigervnc/Makefile.common.mk ============================================================================== --- branches/2019Q2/net/tigervnc/Makefile.common.mk Thu Apr 4 07:22:42 2019 (r497800) +++ branches/2019Q2/net/tigervnc/Makefile.common.mk Thu Apr 4 07:36:12 2019 (r497801) @@ -14,14 +14,22 @@ USES+= cmake:insource,noninja USE_GITHUB= yes GH_ACCOUNT= TigerVNC - CONFLICTS= tightvnc-[0-9]* +PLIST_SUB+= TIGERVNC_COMPONENT=${PORTNAME}${PKGNAMESUFFIX}- CMAKE_ARGS+= -G "Unix Makefiles" MAKE_ARGS+= TIGERVNC_SRCDIR=${WRKSRC} +DOCS= LICENCE.TXT README.rst + .include PLIST= ${.CURDIR}/pkg-plist + +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} +.for f in ${DOCS} + (cd ${WRKSRC} && ${INSTALL_DATA} ${f} ${STAGEDIR}${DOCSDIR}/${PORTNAME}${PKGNAMESUFFIX}-${f}) +.endfor .include Modified: branches/2019Q2/net/tigervnc/files/patch-cmake_BuildPackages.cmake ============================================================================== --- branches/2019Q2/net/tigervnc/files/patch-cmake_BuildPackages.cmake Thu Apr 4 07:22:42 2019 (r497800) +++ branches/2019Q2/net/tigervnc/files/patch-cmake_BuildPackages.cmake Thu Apr 4 07:36:12 2019 (r497801) @@ -1,10 +1,8 @@ ---- cmake/BuildPackages.cmake.orig 2017-04-19 13:27:31 UTC +--- cmake/BuildPackages.cmake.orig 2018-07-16 14:08:55 UTC +++ cmake/BuildPackages.cmake -@@ -86,5 +86,5 @@ endif() #UNIX +@@ -86,5 +86,3 @@ endif() #UNIX # Common # -install(FILES ${CMAKE_SOURCE_DIR}/LICENCE.TXT DESTINATION ${DOC_DIR}) -install(FILES ${CMAKE_SOURCE_DIR}/README.rst DESTINATION ${DOC_DIR}) -+install(FILES ${CMAKE_SOURCE_DIR}/LICENCE.TXT DESTINATION share/doc/tigervnc) -+install(FILES ${CMAKE_SOURCE_DIR}/README.rst DESTINATION share/doc/tigervnc)