FS#75754 - [wxwidgets-qt5] [wxwidgets-gtk3] [wxwidgets-common] conflicting cmake config files

Attached to Project: Arch Linux
Opened by Alexandre Bouvier (doskoi) - Wednesday, 31 August 2022, 00:31 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 03 September 2022, 12:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The CMake config files for wxwidgets are provided by wxwidgets-common-3.2.0-5, but are generated by the gtk3 build, so they are specific to gtk3 libs.
By consequence a project that requires wxwidgets cannot be built with CMake if only wxwidgets-qt5 is installed.
Both wxwidgets-qt5 and wxwidgets-gtk3 should provide their own specific CMake config files and wxwidgets-common should have none.
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 03 September 2022, 12:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  wxwidgets 3.2.0-6
Comment by Antonio Rojas (arojas) - Wednesday, 31 August 2022, 07:16 GMT
This will be hard to fix given we want to keep both versions coinstallable. The only way I can think of is renaming the Qt files, but then all cmake projects that want to build against wx-qt will have to be patched.
Comment by Alexandre Bouvier (doskoi) - Wednesday, 31 August 2022, 07:20 GMT
There is the same problem with glfw-x11 and glfw-wayland, but they conflict with each other.
Comment by Antonio Rojas (arojas) - Saturday, 03 September 2022, 12:23 GMT
Lacking a better solution, I've renamed the files for now.

Loading...