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

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

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

commit bc572c0c0edaa5a21a7df61f90fcea4b8b6eaab7
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:54:38 +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.
---
 graphics/mesa-devel/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile
index 630933e148f1..2ad3021005f6 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?202302061457.316EvvlC014926>