From owner-svn-ports-head@FreeBSD.ORG Sun May 19 21:28:13 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 64435FAD; Sun, 19 May 2013 21:28:13 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 553DDAA7; Sun, 19 May 2013 21:28:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4JLSDte049348; Sun, 19 May 2013 21:28:13 GMT (envelope-from swills@svn.freebsd.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4JLSD0h049345; Sun, 19 May 2013 21:28:13 GMT (envelope-from swills@svn.freebsd.org) Message-Id: <201305192128.r4JLSD0h049345@svn.freebsd.org> From: Steve Wills Date: Sun, 19 May 2013 21:28:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318549 - head/net/tigervnc X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2013 21:28:13 -0000 Author: swills Date: Sun May 19 21:28:12 2013 New Revision: 318549 URL: http://svnweb.freebsd.org/changeset/ports/318549 Log: - Add missing dependency on x11/xkeyboard-config and x11/xkbcomp - Move xorg-macros from BUILD_DEPENDS to USE_XORG - Install desktop entry file with vncviewer - Add LICENSE - Cleanup CONFIGURE_ARGS PR: ports/178602 Submitted by: Koichiro IWAO (maintainer) Modified: head/net/tigervnc/Makefile head/net/tigervnc/pkg-plist (contents, props changed) Modified: head/net/tigervnc/Makefile ============================================================================== --- head/net/tigervnc/Makefile Sun May 19 20:34:30 2013 (r318548) +++ head/net/tigervnc/Makefile Sun May 19 21:28:12 2013 (r318549) @@ -3,7 +3,7 @@ PORTNAME= tigervnc PORTVERSION= 1.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net x11-servers MASTER_SITES= SF:tigervnc MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTVERSION}/:tigervnc @@ -12,9 +12,13 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.ta MAINTAINER= meta+ports@vmeta.jp COMMENT= TigerVNC is an advanced VNC implementation +LISENCE= GPLv2 +LISENCE_FILE= ${WRKSRC}/LICENCE.TXT + 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 +# almost equivalent to x11-servers/xorg-server's +RUN_DEPENDS= ${LOCALBASE}/share/X11/xkb/rules/base:${PORTSDIR}/x11/xkeyboard-config \ + xkbcomp:${PORTSDIR}/x11/xkbcomp CONFLICTS= tridiavnc-[0-9]* \ tightvnc-[0-9]* \ @@ -33,7 +37,7 @@ 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 + xfont xproto xrandr xtrans xtst xorg-macros MAN1+= vncpasswd.1 \ x0vncserver.1 \ @@ -84,6 +88,10 @@ LIB_DEPENDS+= png15:${PORTSDIR}/graphics USE_XORG+= xcursor xfixes xft xinerama MAN1+= vncviewer.1 PLIST_SUB+= VIEWER="" +INSTALLS_ICONS= yes +DESKTOP_ENTRIES= "TigerVNC viewer" "Connect to VNC server and display remote desktop" \ + "${PREFIX}/share/icons/hicolor/scalable/apps/${PORTNAME}.svg" \ + "vncviewer" "Network;" false .else PLIST_SUB+= VIEWER="@comment " .endif @@ -109,7 +117,6 @@ CONFIGURE_ARGS+= \ --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 @@ -145,5 +152,9 @@ post-build: post-install: @cd ${WRKSRC}/unix/xserver/hw/vnc/ && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install +.if ${PORT_OPTIONS:MVIEWER} + @${MKDIR} ${PREFIX}/share/icons/hicolor/scalable/apps/ + @cd ${WRKSRC}/media/ && ${INSTALL_DATA} icons/tigervnc.svg ${PREFIX}/share/icons/hicolor/scalable/apps/ +.endif .include Modified: head/net/tigervnc/pkg-plist ============================================================================== --- head/net/tigervnc/pkg-plist Sun May 19 20:34:30 2013 (r318548) +++ head/net/tigervnc/pkg-plist Sun May 19 21:28:12 2013 (r318549) @@ -3,6 +3,7 @@ bin/vncconfig bin/vncpasswd bin/vncserver %%VIEWER%%bin/vncviewer +%%VIEWER%%share/icons/hicolor/scalable/apps/tigervnc.svg bin/x0vncserver lib/xorg/modules/extensions/libvnc.la lib/xorg/modules/extensions/libvnc.so @@ -19,3 +20,7 @@ lib/xorg/modules/extensions/libvnc.so @dirrmtry lib/xorg/modules/extensions @dirrmtry lib/xorg/modules @dirrmtry lib/xorg +%%VIEWER%%@dirrmtry share/icons/hicolor/scalable/apps +%%VIEWER%%@dirrmtry share/icons/hicolor/scalable +%%VIEWER%%@dirrmtry share/icons/hicolor +%%VIEWER%%@dirrmtry share/icons