Spec URL: https://ofourdan.fedorapeople.org/libxcvt/libxcvt.spec SRPM URL: https://ofourdan.fedorapeople.org/libxcvt/libxcvt-0.1.0-1.fc34.src.rpm 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. Fedora Account System Username: ofourdan
alternatives is for where there is a legitimate use case for using one or the other Would there be a legitimate case for using the old cvt code from the X server ? I am assuming X upstream would be made a user of the lib.
(In reply to Yanko Kaneti from comment #1) > Would there be a legitimate case for using the old cvt code from the X > server ? Not really - It's actually the same code. > I am assuming X upstream would be made a user of the lib. Yep, that's the plan. And even without using the lib, we could just drop cvt from the xorg-x11-server-package and make packages which need cvt (e.g. mutter has a buildReq on cvt) use the one from the lib (typically installing all of xorg-x11-server-Xorg to get only cvt to generate modelines at build time in mutter seems overkill).
So I was trying to avoid adding an explicit conflict, but considering that the use of libxcvt will not be backported to the stable branch of the xserver (1.20.xx) we could just make libxcvt-cvt conflicts with xorg-x11-server-Xorg <= 1.20. Would that be acceptable in ths context?
spec/srpm updated to add a "Conflicts: xorg-x11-server-Xorg < 1.21" for the package libxcvt-cvt
Name matches and doesn't conflict License matches. Builds in mock. Seems to work. APPROVED Instead of "libxcvt-cvt" I would name the subpackage with the binary just "cvt"
Oh and own %dir %{_includedir}/libxcvt
Thanks! (In reply to Yanko Kaneti from comment #5) > Instead of "libxcvt-cvt" I would name the subpackage with the binary just > "cvt" Done. (In reply to Yanko Kaneti from comment #6) > Oh and own > %dir %{_includedir}/libxcvt Done. spec and srpm updated.
repo request https://pagure.io/releng/fedora-scm-requests/issue/35846
(fedscm-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/libxcvt
Build complete https://bodhi.fedoraproject.org/updates/FEDORA-2021-45d36e4bd5