svn commit: r527328 - head/x11-toolkits/wlroots
Emmanuel Vadot
manu at FreeBSD.org
Fri Feb 28 11:26:29 UTC 2020
Author: manu
Date: Fri Feb 28 11:26:28 2020
New Revision: 527328
URL: https://svnweb.freebsd.org/changeset/ports/527328
Log:
x11-toolkits/wlroots: Add mesa-dri to RUN_DEPEND
wlroots will try to create a GBM device and this need the gbm drivers from
mesa.
Fixes running any wayland compositor depending on wlroots on a fresh install.
Example:
$ pkg install sway alacritty
$ sway
gbm: failed to open any driver (search paths /usr/local/lib/dri)
gbm: Last dlopen error: Cannot open "/usr/local/lib/dri/i965_dri.so"
failed to load driver: i965
gbm: failed to open any driver (search paths /usr/local/lib/dri)
gbm: Last dlopen error: Cannot open "/usr/local/lib/dri/kms_swrast_dri.so"
failed to load driver: kms_swrast
gbm: failed to open any driver (search paths /usr/local/lib/dri)
gbm: Last dlopen error: Cannot open "/usr/local/lib/dri/swrast_dri.so"
failed to load swrast driver
2020-02-28 12:21:31 - [backend/drm/renderer.c:19] Failed to create GBM device
2020-02-28 12:21:31 - [backend/drm/backend.c:203] Failed to initialize renderer
2020-02-28 12:21:31 - [backend/backend.c:163] Failed to open DRM device 12
2020-02-28 12:21:31 - [backend/backend.c:304] Failed to open any DRM device
2020-02-28 12:21:31 - [sway/server.c:47] Unable to create backend
Approved by: jbeich (maintainer)
Differential Revision: https://reviews.freebsd.org/D23853
Modified:
head/x11-toolkits/wlroots/Makefile
Modified: head/x11-toolkits/wlroots/Makefile
==============================================================================
--- head/x11-toolkits/wlroots/Makefile Fri Feb 28 10:43:16 2020 (r527327)
+++ head/x11-toolkits/wlroots/Makefile Fri Feb 28 11:26:28 2020 (r527328)
@@ -2,7 +2,7 @@
PORTNAME= wlroots
DISTVERSION= 0.10.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= x11-toolkits
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@@ -22,7 +22,8 @@ LIB_DEPENDS= libudev.so:devel/libudev-devd \
libwayland-egl.so:graphics/wayland \
libinput.so:x11/libinput \
libxkbcommon.so:x11/libxkbcommon
-RUN_DEPENDS= libudev-devd>=0.4.1:devel/libudev-devd
+RUN_DEPENDS= libudev-devd>=0.4.1:devel/libudev-devd \
+ mesa-dri>0:graphics/mesa-dri
USES= compiler:c11 gl meson pkgconfig xorg
USE_GITHUB= yes
More information about the svn-ports-head
mailing list