diff options
author | jbeich <jbeich@FreeBSD.org> | 2020-01-29 23:59:49 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2020-01-29 23:59:49 +0800 |
commit | aa3514dfb5a682f7342b800578716ce43eb9cf66 (patch) | |
tree | a759cb73023a1da4cae334f4159e47ae224c25f4 /x11-toolkits | |
parent | 5e7de847e72ba146843eeefbb231d8188ee1e24d (diff) | |
download | freebsd-ports-gnome-aa3514dfb5a682f7342b800578716ce43eb9cf66.tar.gz freebsd-ports-gnome-aa3514dfb5a682f7342b800578716ce43eb9cf66.tar.zst freebsd-ports-gnome-aa3514dfb5a682f7342b800578716ce43eb9cf66.zip |
x11-toolkits/wlroots: backport WLR_DRM_NO_MODIFIERS support
https://github.com/swaywm/wlroots/commit/2bdd1d0896cc broke KMS-based
screen capture e.g.,
$ sudo LIBVA_DRIVER_NAME=iHD ffmpeg -hide_banner \
-f kmsgrab -i - \
-vf hwmap=derive_device=vaapi,scale_vaapi=format=nv12 \
-c:v h264_vaapi \
output.mp4
[kmsgrab @ 0x81098b000] Using plane 30 to locate framebuffers.
[kmsgrab @ 0x81098b000] Failed to get framebuffer 131: Invalid argument.
pipe:: Invalid argument
To make it work again define WLR_DRM_NO_MODIFIERS=1 via environ(7)
before starting a wlroots-based compositor.
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/wlroots/Makefile | 4 | ||||
-rw-r--r-- | x11-toolkits/wlroots/distinfo | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/x11-toolkits/wlroots/Makefile b/x11-toolkits/wlroots/Makefile index 9aef0202b60b..afa26f40e6e9 100644 --- a/x11-toolkits/wlroots/Makefile +++ b/x11-toolkits/wlroots/Makefile @@ -2,8 +2,12 @@ PORTNAME= wlroots DISTVERSION= 0.10.0 +PORTREVISION= 1 CATEGORIES= x11-toolkits +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= f0594fb73225.patch:-p1 144d2041adfb.patch:-p1 + MAINTAINER= jbeich@FreeBSD.org COMMENT= Modular Wayland compositor library diff --git a/x11-toolkits/wlroots/distinfo b/x11-toolkits/wlroots/distinfo index f2a3b6b15b99..e39bf9036363 100644 --- a/x11-toolkits/wlroots/distinfo +++ b/x11-toolkits/wlroots/distinfo @@ -1,5 +1,9 @@ TIMESTAMP = 1579717324 SHA256 (swaywm-wlroots-0.10.0_GH0.tar.gz) = 9414ba761c321f9c2b3e0426e1bbed55443fa8f97d46643d1706d1ddd614f6cd SIZE (swaywm-wlroots-0.10.0_GH0.tar.gz) = 454540 +SHA256 (f0594fb73225.patch) = 18bf269fcd6831246604654dc1e229e8ed75a5d3dbb46c49600609e144404dc2 +SIZE (f0594fb73225.patch) = 2971 +SHA256 (144d2041adfb.patch) = e76603d04d24063182e05876313f1ac697a132771e32c50ae7cf1d962a866c40 +SIZE (144d2041adfb.patch) = 1838 SHA256 (e8cc137111bc.patch) = e0b686193a6925eedb09298e0f300aa93d4910c41dbe788a47a2699df34cfafe SIZE (e8cc137111bc.patch) = 27737 |