- Package:
- libspng-dev
- Source:
- libspng-dev
- Description:
- simple, modern libpng alternative - development
- Submitter:
- Fabian Greffrath
- Date:
- 2026-03-13 14:27:01 UTC
- Severity:
- normal
- Tags:
Hi, the libspng-dev package is currently missing the CMake config files that other vendors' packages contain, e.g. https://packages.msys2.org/packages/mingw-w64-clang-x86_64-libspng It seems that this is because the libspng package is built using meson instead of CMake. However, the fact that the CMake config files are missing makes it hard-to-impossible for packages using CMake to detect the libspng system library. Please consider switching to the CMake build system and ship all the necessary config files that it generates. This step will require backporting a single post-release commit from upstream: https://github.com/randy408/libspng/commit/adc94393dbeddf9e027d1b2dfff7c1bab975224e Thank you! Cheers, - Fabian PS: If necessary, I can prepare an NMU or just add myself as an Uploader and perform the changes myself, if you prefer.
Hi Fabian, Upstream primarily uses the Meson build system, and I don't really know why CMake is also present there (probably as a convenience for people including spng as a subproject). Unfortunately, CMake's bad support of pkg-config leads everyone to pressure upstreams into shipping CMake files which in turn forces everyone to use CMake to consume them. Also, upstream tests (amongst other things) only run when building with Meson. Hence, this is not going to change -- the recommended way to consume spng is via .pc files. Hope it makes sense! Bye :)