[Bug 277344] net-im/telegram-desktop: Adding options group for choosing which desktop is using

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Feb 2024 15:02:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277344

--- Comment #4 from Jan Beich <jbeich@FreeBSD.org> ---
According to
${WRKSRC}/Telegram/SourceFiles/platform/linux/linux_wayland_integration.cpp
mainly affects https://wayland.app/protocols/kde-plasma-shell but
Plasma/Wayland fell into disrepair on FreeBSD due to lack of dogfooding by kde@
team. Otherwise, the port seems to work fine on Wayland (wlroots) but I've only
tested login screen (don't have a Telegram account, so can't test screen
sharing).

USE_QT=wayland is a generic way to enable Wayland support in Qt applications.
Without it GUI apps would use Xwayland which can introduce glitches (e.g.,
copy/paste). Also, the binary packages appear to use qt?-wayland directly:

$ pkg install telegram-desktop
$ pkg delete -f qt5-wayland
ld-elf.so.1: Shared object "libQt5WaylandCompositor.so.5" not found, required
by "telegram-desktop"

$ pkg install telegram-desktop-qt6
$ pkg delete -f qt6-wayland
ld-elf.so.1: Shared object "libQt6WaylandCompositor.so.6" not found, required
by "telegram-desktop"

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