Bug 254557 - x11-servers/xorg-server: unbundle libxcvt
Summary: x11-servers/xorg-server: unbundle libxcvt
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL: https://gitlab.freedesktop.org/xorg/x...
Keywords: needs-qa, patch
Depends on:
Reported: 2021-03-25 19:05 UTC by Jan Beich
Modified: 2021-03-26 10:25 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (x11)

v0 (48.78 KB, patch)
2021-03-25 19:05 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2021-03-25 19:05:42 UTC
Created attachment 223581 [details]

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 2021-03-26 08:46:16 UTC
Can you give some more explanation why this is needed?
Comment 2 Jan Beich freebsd_committer 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 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