Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 2023 14:58:39 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: c9b0e2a5da15 - 2023Q1 - graphics/mesa-devel: depend on mesa-dri for EGL/Vulkan ICD
Message-ID:  <202302061458.316EwdFZ015194@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2023Q1 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c9b0e2a5da15ac596caa3bac626770861fcd4ee1

commit c9b0e2a5da15ac596caa3bac626770861fcd4ee1
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-02-03 21:56:41 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-02-06 14:58:19 +0000

    graphics/mesa-devel: depend on mesa-dri for EGL/Vulkan ICD
    
    Some users get confused and try to remove mesa-dri only to break Vulkan.
    However, removing mesa-dri is only supported when mesa-devel is built
    in standalone mode (DEFAULT_VERSIONS+=gl=mesa-devel).
    
    $ pkg delete -f mesa-dri
    $ vkcube-xcb
    vkEnumerateInstanceExtensionProperties failed to find the VK_KHR_surface extension.
    
    Do you have a compatible Vulkan installable client driver (ICD) installed?
    Please look at the Getting Started guide for additional information.
    
    (cherry picked from commit bc572c0c0edaa5a21a7df61f90fcea4b8b6eaab7)
---
 graphics/mesa-devel/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile
index b0da0aa7b923..2a091868139e 100644
--- a/graphics/mesa-devel/Makefile
+++ b/graphics/mesa-devel/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	mesa
 DISTVERSION=	23.0-branchpoint-990
 DISTVERSIONSUFFIX=	-gea413e826b2
+PORTREVISION=	1
 CATEGORIES=	graphics
 PKGNAMESUFFIX=	-devel
 
@@ -83,6 +84,7 @@ radv_BUILD_DEPENDS=	glslangValidator:graphics/glslang
 
 COINST_DESC=		Allow co-installation with another Mesa port
 COINST_MESON_ON=	-Degl-lib-suffix=${PKGNAMESUFFIX}
+COINST_RUN_DEPENDS=	${LOCALBASE}/share/glvnd/egl_vendor.d/50_${PORTNAME}.json:graphics/mesa-dri
 COINST_PLIST_SUB=	SUFFIX=${PKGNAMESUFFIX}
 COINST_SUB_FILES=	libmap.conf
 COINST_SUB_LIST=	SUFFIX=${PKGNAMESUFFIX}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302061458.316EwdFZ015194>