From owner-dev-commits-ports-all@freebsd.org Fri Aug 20 10:23:58 2021 Return-Path: Delivered-To: dev-commits-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 4BE7565E351; Fri, 20 Aug 2021 10:23:58 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Grd5p1gP9z3Gwm; Fri, 20 Aug 2021 10:23:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 218F917559; Fri, 20 Aug 2021 10:23:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 17KANwV0077374; Fri, 20 Aug 2021 10:23:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17KANwZi077373; Fri, 20 Aug 2021 10:23:58 GMT (envelope-from git) Date: Fri, 20 Aug 2021 10:23:58 GMT Message-Id: <202108201023.17KANwZi077373@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Jan Beich Subject: git: 870111f811ac - 2021Q3 - graphics/glew-wayland: suggest LD_LIBMAP for session-local override MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/2021Q3 X-Git-Reftype: branch X-Git-Commit: 870111f811acb8c11d55bc7c336e1a65215ae6e5 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2021 10:23:58 -0000 The branch 2021Q3 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=870111f811acb8c11d55bc7c336e1a65215ae6e5 commit 870111f811acb8c11d55bc7c336e1a65215ae6e5 Author: Jan Beich AuthorDate: 2021-08-17 08:52:56 +0000 Commit: Jan Beich CommitDate: 2021-08-20 10:23:38 +0000 graphics/glew-wayland: suggest LD_LIBMAP for session-local override LD_LIBMAP can be limited to Wayland or KMS console e.g., $ cat >>~/.zshrc if [[ ( -n $WAYLAND_DISPLAY || -z $DISPLAY ) && $LD_LIBMAP != *GLEW-wayland* ]]; then export LD_LIBMAP=libGLEW.so.2=libGLEW-wayland.so.2,$LD_LIBMAP export SDL_VIDEODRIVER=wayland,kmsdrm,x11 fi (cherry picked from commit fdc95482c3b625504c5b53566b0ce8c08fc7dc86) --- graphics/glew-wayland/Makefile | 2 +- graphics/glew-wayland/pkg-message | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/graphics/glew-wayland/Makefile b/graphics/glew-wayland/Makefile index f75318eb79ec..91d9b00b9bfd 100644 --- a/graphics/glew-wayland/Makefile +++ b/graphics/glew-wayland/Makefile @@ -1,4 +1,4 @@ -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= -wayland # https://github.com/nigels-com/glew/issues/172 diff --git a/graphics/glew-wayland/pkg-message b/graphics/glew-wayland/pkg-message index 94336daab62f..8382ab7eb533 100644 --- a/graphics/glew-wayland/pkg-message +++ b/graphics/glew-wayland/pkg-message @@ -4,6 +4,9 @@ To enable Wayland support in GLEW for a specific application $ LD_PRELOAD=libGLEW-wayland.so +To enable for current session + $ export LD_LIBMAP=libGLEW.so.2=libGLEW-wayland.so.2 + To enable globally $ echo libGLEW.so.2 libGLEW-wayland.so.2 >>/etc/libmap.conf EOM