Bug 254557

Summary: x11-servers/xorg-server: unbundle libxcvt
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: freebsd-x11 (Nobody) <x11>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: zeising
Priority: --- Keywords: needs-qa, patch
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/637
Attachments:
Description Flags
v0 none

Description Jan Beich freebsd_committer freebsd_triage 2021-03-25 19:05:42 UTC
Created attachment 223581 [details]
v0

Deduplicate CVT between xorg-server and xwayland-devel (or standalone) which use the same codebase but from different time.
Comment 1 Niclas Zeising freebsd_committer freebsd_triage 2021-03-26 08:46:16 UTC
Can you give some more explanation why this is needed?
Comment 2 Jan Beich freebsd_committer freebsd_triage 2021-03-26 09:39:20 UTC
Upstream split out cvt(1) and its static library into libxcvt and plans (see URL) to switch Xorg and Xwayland to it. xwayland-21.2.0 release (about half a year from now) will contain the change but xorg-server-1.21.0 is "on ice", so the current version will continue to use the internal copy. Wayland users that want cvt(1) will need to install xorg-server, not just xwayland{,-devel} However, that version won't have a fix for https://gitlab.freedesktop.org/xorg/xserver/-/issues/707

xwayland-devel will start using libxcvt as soon as upstream merges the change, mutter may follow some time later. This will have no impact on xorg-server but it can (doesn't mean have to) try the same code *without* all the baggage and risk a regular update brings.
Comment 3 Jan Beich freebsd_committer freebsd_triage 2021-03-26 10:25:49 UTC
- x11-wm/mutter currently has -Dnative_backend=false (due to lack of logind), so it doesn't use cvt(1)
- x11-servers/xarcan uses CVT code from xwayland, so 0.7.0 may depend on libxcvt
Comment 4 Jan Beich freebsd_committer freebsd_triage 2022-08-08 22:19:13 UTC
Obsoleted by ports 88b0ae2bb9c6.