Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Jun 2022 03:46:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 262873] Update: The FreeBSD GNOME Project
Message-ID:  <bug-262873-9-cNtT2GBDWk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262873-9@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262873-9@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262873

--- 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
https://gitlab.gnome.org/GNOME/mutter/-/issues/1800
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 proprieta=
ry
vendors or anyone with GNU allergy)
- inclusive upstream that tries hard to be portable and doesn't cheat POSIX=
 via
`-D_GNU_SOURCE` or `-D__BSD_VISIBLE`
- no single stakeholder: sway, wayfire, gamescope, phoc, kwinft, river, lab=
wc,
cage, cagebreak, dwl, etc.
- flexible architecture, see also
https://wayfire.org/2019/02/24/X11-WLC-Libweston-Wlroots.html and
https://subdiff.org/blog/2021/wlroots-in-kwinft/
- avoids DE-centric bloat like DBus, see also
https://blogs.kde.org/2020/10/11/linux-desktop-shell-ipc-wayland-vs-d-bus-a=
nd-lack-agreement-when-use-them
- 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
leasing

> 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-deskt=
op
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 wayla=
nd
as an indirect dependency. Try testing Wayland support from Xorg comfort zo=
ne:

  $ pkg install cage firefox
  $ : ${XDG_RUNTIME_DIR:=3D$(mktemp -dt .run)}
  $ cage -d env -u DISPLAY firefox about:support
  [...]
  Window Protocol: wayland
  [...]
  $ sockstat -u
  USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
  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
  [...]

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262873-9-cNtT2GBDWk>