SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** kde-gtk-config uses GtkPlug for previewing, which is an X11-specific class. ${ROOT}/gtk3proxies/preview3.c includes gtkx.h. However, CMake only searches for the generic gtk+-3.0 package-config file. If GTK+3 is built without X11 support, kde-gtk-config fails to compile. STEPS TO REPRODUCE 1. switch to an X11-free version of GTK3 and its development files. 2. attempt to build kde-gtk-config. OBSERVED RESULT 1. CMake configuration succeeds. 2. compilation fails at ${ROOT}/gtk3proxies/preview3.c EXPECTED RESULT CMake searches for gtk+-x11-3.0.pc and throws an error if it is absent. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 6.7.5-gentoo (available in About System) KDE Plasma Version: 6.0.0 (6.0 branch) KDE Frameworks Version: 6.0.0 (master) Qt Version: 6.6.2
Adding the x11-only keyword