[Bug 262873] Update: The FreeBSD GNOME Project

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 05 Jun 2022 03:46:22 UTC

--- Comment #5 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Charlie Li from comment #3)
> GNOME uses Wayland by default,

On FreeBSD GNOME cannot use Wayland at all due to bug 258042 and
If one doesn't need GNOME itself then various GNOME applications (e.g.,
gnome-calendar) work fine under Wayland.

Most FreeBSD contributors interested in Wayland focus on wlroots nowadays:
- licensed under MIT thus similar to BSD in spirit (important for proprietary
vendors or anyone with GNU allergy)
- inclusive upstream that tries hard to be portable and doesn't cheat POSIX via
- no single stakeholder: sway, wayfire, gamescope, phoc, kwinft, river, labwc,
cage, cagebreak, dwl, etc.
- flexible architecture, see also
https://wayfire.org/2019/02/24/X11-WLC-Libweston-Wlroots.html and
- avoids DE-centric bloat like DBus, see also
- like Xorg you still need a window manager
- like Xorg has many protocol extensions (some are shared with KDE and Mir)
- like Xorg has simple API (wlr_scene since 0.15.0)
- large actively developed ecosystem (e.g., unlike weston, swc)
- supports modern features like Variable Refresh Rate, Vulkan renderer, DRM

> thus the lack of dependency link is correct.

Likely because the Handbook already describes installing Xorg in a separate
subchapter, preceeding GNOME. For examples, xorg-minimal is suggested as a
smaller alternative.
Curiously, kde5 meta-package does pull xorg-server via plasma5-plasma-desktop
via xf86-input-libinput.

(In reply to Graham Perrin from comment #4)
> pkg_tree -v gnome | grep wayland-

Since bug 227509 binary packages for desktop stuff almost always have wayland
as an indirect dependency. Try testing Wayland support from Xorg comfort zone:

  $ pkg install cage firefox
  $ : ${XDG_RUNTIME_DIR:=$(mktemp -dt .run)}
  $ cage -d env -u DISPLAY firefox about:support
  Window Protocol: wayland
  $ sockstat -u
  root     Xorg       1111  4  stream /tmp/.X11-unix/X0
  foo      cage       2222  8  stream -> /tmp/.X11-unix/X0
  foo      cage       2222  25 stream /tmp/.run.XXXX/wayland-0
  foo      firefox    3333  8  stream -> /tmp/.run.XXXX/wayland-0

You are receiving this mail because:
You are on the CC list for the bug.