From owner-svn-ports-all@freebsd.org Thu Feb 27 04:14:27 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 742BE253B05; Thu, 27 Feb 2020 04:14:27 +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 48SfSg0dcCz4dj2; Thu, 27 Feb 2020 04:14:27 +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 C7527ADC8; Thu, 27 Feb 2020 04:14:26 +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 01R4EQYB083879; Thu, 27 Feb 2020 04:14:26 GMT (envelope-from meta@FreeBSD.org) Received: (from meta@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 01R4EQ6N083877; Thu, 27 Feb 2020 04:14:26 GMT (envelope-from meta@FreeBSD.org) Message-Id: <202002270414.01R4EQ6N083877@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: meta set sender to meta@FreeBSD.org using -f From: Koichiro Iwao Date: Thu, 27 Feb 2020 04:14:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r527235 - in head/x11-drivers/xorgxrdp: . files X-SVN-Group: ports-head X-SVN-Commit-Author: meta X-SVN-Commit-Paths: in head/x11-drivers/xorgxrdp: . files X-SVN-Commit-Revision: 527235 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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, 27 Feb 2020 04:14:27 -0000 Author: meta Date: Thu Feb 27 04:14:26 2020 New Revision: 527235 URL: https://svnweb.freebsd.org/changeset/ports/527235 Log: x11-drivers/xorgxrdp: enable DRI3/glamor support With the advent of 1.20.x x11-server/xorg-server xorgxrdp can support dri3/glamor [1] to enable hardware supported OpenGL acceleration with an xorgxrdp desktop. Also add pkg-message to explain how to enable hardware acceleration. While here, fix misuse of "-I" flag to specify LIBDIR. [1] https://github.com/neutrinolabs/xrdp/issues/1029 PR: 244298 Submitted by: Derek Schrock (initial revision) Approved by: meta (myself, maintainer) Sponsored by: HAW International Added: head/x11-drivers/xorgxrdp/files/ head/x11-drivers/xorgxrdp/files/pkg-message.in (contents, props changed) Modified: head/x11-drivers/xorgxrdp/Makefile Modified: head/x11-drivers/xorgxrdp/Makefile ============================================================================== --- head/x11-drivers/xorgxrdp/Makefile Thu Feb 27 01:01:03 2020 (r527234) +++ head/x11-drivers/xorgxrdp/Makefile Thu Feb 27 04:14:26 2020 (r527235) @@ -3,7 +3,7 @@ PORTNAME= xorgxrdp DISTVERSIONPREFIX= v DISTVERSION= 0.2.12 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-drivers DIST_SUBDIR= xrdp @@ -27,15 +27,26 @@ GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CFLAGS+= -I${LOCALBASE}/include -LIBS= -I${LOCALBASE}/lib +LIBS= -L${LOCALBASE}/lib CONFIGURE_ENV= XRDP_CFLAGS=-I${WRKSRC_xrdp}/common -OPTIONS_DEFINE= DEBUG +OPTIONS_DEFINE= DEBUG DRI3 +OPTIONS_DEFAULT= DRI3 +DRI3_DESC= DRI3/Glamor OpenGL Support +DRI3_CONFIGURE_ENABLE= glamor +DRI3_LIB_DEPENDS= libepoxy.so:graphics/libepoxy + +.include + +.if ${PORT_OPTIONS:MDRI3} +SUB_FILES= pkg-message +.endif + post-patch-DEBUG-on: ${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e 's|#define LOG_LEVEL [0-9]*|#define LOG_LEVEL 20|' pre-configure: @cd ${WRKSRC} && ./bootstrap -.include +.include Added: head/x11-drivers/xorgxrdp/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-drivers/xorgxrdp/files/pkg-message.in Thu Feb 27 04:14:26 2020 (r527235) @@ -0,0 +1,39 @@ +[ +{ type: install + message: <