On Tuesday 2021-10-19 08:56, Jan Engelhardt wrote:
On Tuesday 2021-10-19 05:51, Dead Mozay wrote:
Hello everyone, Why are the header files in the openSUSE wayland-devel package packed in /usr/include/wayland
I was contemplating whether a .pc file in the pkg-config heap of files was missing a dependency, because not always is it a case of configure.ac/cmakelists.txt missing some pkg-config call. It turned out not to be the case, though. Vulkan docs: """ The Vulkan API does not define any type of platform object. Platform-specific WSI extensions are defined, which contain platform-specific functions for using WSI. Use of these extensions is guarded by preprocessor symbols. • VK_USE_PLATFORM_ANDROID_KHR - Android • VK_USE_PLATFORM_MIR_KHR - Mir • VK_USE_PLATFORM_WAYLAND_KHR - Wayland [...] """ vulkan.h requests wayland-client.h if and only if a package's source code passed -DVK_USE_PLATFORM_WAYLAND_KHR on its own. Therefore, it also falls within the responsibility of the same package to lookup wayland-client via pkg-config. vulkan.pc is correct under the circumstances.