Wayland is a complete window system in itself, but even so, if we're
migrating away from X, it makes sense to have a good backwards
compatibility story. With a few changes, the Xorg server can be
modified to use wayland input devices for input and forward either the
root window or individual top-level windows as wayland surfaces. The
server still runs the same 2D driver with the same acceleration code
as it does when it runs natively. The main difference is that wayland
handles presentation of the windows instead of KMS.
x11-servers/xwayland-devel: return to freedesktop mirror
"mirror" seems to lag behind "freedesktop" nowadays. As the repo
combined with all forks grew in size since then adjust patches:
-index d3dd54364..bcbf98371 100644
+index d3dd543642..bcbf983717 100644
This reverts commit d3130ade8f86d30d34dfa17d14cc5cbba7f7d8274.
x11-servers/xwayland-devel: switch to GitHub mirror
- GL_COMMIT is not supported by "portedit set-version"
- GL_COMMIT is no longer necessary (bug 242329)
- GitLab distfiles don't carry ordinal version in filename
- GitLab .patch links have volatile footer (Git version)
x11-servers/xwayland-devel: document DRI3 quirk
Wayland clients (unlike server/compositor) are not supposed to require
special privileges. Something in drm-kmod fails to authorize access to
/dev/dri/* even if user is under "video" group.
Not a port option because Xwayland doesn't know how to drop priveleges.
x11-servers/xwayland-devel: work around missing GLX_EXT_libglvnd
$ pkg install nvidia-driver
name of display: :0
X Error of failed request: BadValue (integer parameter out of range for
Major opcode of failed request: 150 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 39
Current serial number in output stream: 40
x11-servers/xwayland-devel: unbreak with libglvnd
"pkg-config --cflags gl" no longer contains -I/usr/local/include/libdrm
In file included from ../glx/glxdriswrast.c:39:
/usr/local/include/GL/internal/dri_interface.h:43:10: fatal error: 'drm.h' file
Convert GitLab patches to simple diffs
GitLab unlike GitHub keeps the footer from git-format-patch(1) which
frequently changes on Git version upgrades. So, switch to git-diff(1)
which lacks header/footer.
Approved by: x11 (zeising via Gitter)
MFH: 2020Q2 (avoid bustage over time due to upstream infra upgrades)
Differential Revision: https://reviews.freebsd.org/D24810
x11-servers/xwayland-devel: don't disable default font path
*.pcf fonts are rendered by X11 server but if font path is disabled
only built-in fonts are available by default. While users could still
amend font path via "xset fp" the discrepancy with xorg-server gave
a bad first impression.
Reported by: jsm