Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#72013 - [xorg-server] Don't install cvt and use libxcvt instead

Attached to Project: Arch Linux
Opened by Antonin Décimo (Rucikir) - Friday, 03 September 2021, 19:10 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 31 October 2021, 06:39 GMT
Task Type General Gripe
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

libxcvt is a library providing a standalone version of the X server
implementation of the VESA CVT standard timing modelines generator.

libxcvt also provides a standalone version of the command line tool
cvt copied from the Xorg implementation and is meant to be a direct
replacement to the version provided by the Xorg server.

Development versions of xserver and xwayland rely on libxcvt, so
-git packages need libxcvt now. There is already a released version,
and a package in the AUR.

However, as xorg-server installs cvt files, it conflicts with
libxcvt. I suggest we:
- migrate libxcvt from the AUR to the stable repository (the library
and tool were simply extracted from xserver sources);
- mark libxcvt as a dependency of xorg-xserver and xorg-xwayland if
needed;
- update xorg-xserver PKGBUILD to not install cvt files and let them
to libxcvt, as done in this patch for xorg-xserver-git.

My use-case exactly is that I want a stable xorg-xserver for ABI
compatibility with the GPU driver, but I also want a -git xwayland
and Wayland compositor. I need to be able to switch between them.

Thanks.

Additional info:
- https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/637
- https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/637#note_1050278
- https://gitlab.freedesktop.org/xorg/lib/libxcvt
- https://gist.github.com/MisterDA/8f5124dd5846c57195894eb69b480960
- https://aur.archlinux.org/packages/libxcvt
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 31 October 2021, 06:39 GMT
Reason for closing:  Implemented
Additional comments about closing:  implemented for xserver, xwayland will pull libxcvt support in with the next stable release
Comment by Andreas Radke (AndyRTR) - Saturday, 04 September 2021, 08:50 GMT
libxcvt is now in extra. I don't want to touch the current stable server and Xwayland packages.

The new release will happen pretty soon and will pick up the new library. RC1 should be only one week away.
Comment by Antonin Décimo (Rucikir) - Monday, 06 September 2021, 16:47 GMT
Ok. For reference, this is the patch I'm using right now, against xorg-server.
It ensures that libxcvt is a dependency and that cvt isn't installed.
Comment by George (Vash63) - Sunday, 31 October 2021, 05:27 GMT
The patch from Rucikir is required to use Nvidia 495 series drivers with XWayland as the required versions of XWayland need libxcvt. I tested this patch with the new drivers and confirmed his patch fixes the filesystem conflict and the resulting setup had working Nvidia GBM support in XWayland.

Loading...