[Bug 262873] Update: The FreeBSD GNOME Project

36 views
Skip to first unread message

bugzilla...@freebsd.org

unread,
Apr 10, 2022, 3:25:34 PM4/10/22
to gn...@freebsd.org
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262873

Graham Perrin <graham...@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |gn...@FreeBSD.org

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

bugzilla...@freebsd.org

unread,
May 20, 2022, 7:12:30 PM5/20/22
to gn...@freebsd.org
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262873

Graham Perrin <graham...@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.freebsd.org/bu
| |gzilla/show_bug.cgi?id=2641
| |09

bugzilla...@freebsd.org

unread,
Jun 1, 2022, 1:17:02 AM6/1/22
to gn...@freebsd.org
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262873

--- Comment #2 from Graham Perrin <graham...@gmail.com> ---
Display
=======

Add a hint that it's commonplace to also install x11/xorg.

There's no dependency:

% pkg info -x gnome-42 xorg-7.7_3
gnome-42
xorg-7.7_3
% pkg_tree -v gnome | grep xorg-7
%

Food for thought, from a topic that was primarily about MATE:
<https://forums.freebsd.org/posts/569598>.


Resources, related projects
===========================

MATE Project and Cinnamon Project should be moved:

* from Resources
* to Related projects

bugzilla...@freebsd.org

unread,
Jun 2, 2022, 11:43:00 AM6/2/22
to gn...@freebsd.org
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262873

Charlie Li <vis...@freebsd.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |vis...@freebsd.org

--- Comment #3 from Charlie Li <vis...@freebsd.org> ---
Commonplace, but GNOME uses Wayland by default, thus the lack of dependency
link is correct.

bugzilla...@freebsd.org

unread,
Jun 2, 2022, 11:50:41 AM6/2/22
to gn...@freebsd.org
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262873

--- Comment #4 from Graham Perrin <graham...@gmail.com> ---
(In reply to Charlie Li from comment #3)

Ah, thank you, I never knowingly used Wayland.

Now I see,

pkg_tree -v gnome | grep wayland-

– many matches.

bugzilla...@freebsd.org

unread,
Jun 4, 2022, 11:46:54 PM6/4/22
to gn...@freebsd.org
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262873

--- Comment #5 from Jan Beich <jbe...@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 proprietary
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, labwc,
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-and-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-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
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
[...]
Reply all
Reply to author
Forward
0 new messages