On 11/02/2026 18:04, Brian Inglis via Cygwin-apps wrote:
Hi folks,

I would like to adopt p11-kit orphaned security package.

I built an NMU test upgrade to the latest release in playground and in GH Scallywag CI, and it passes most tests.

An intermediate release changed the build system from autotools to meson/ninja/cmake which made the upgrade interesting. ;^>

The meson build created interface .DLLs instead of .SOs, except for the library .so, which was symlinked as ...bin/cygp11-kit-0.dll as before, although there is now a $S/$NAME/meson_post_install.sh to do so in the DESTDIR $D.

That script takes a libdir arg, so is there any reason or some way to handle that as a postinstall script for libp11-kit0

Another difference I noticed was that the build dir was

     $S/_build.$ARCH-pc-cygwin

from which I did a lndirs into $B after meson-install, just in case it affected cygport processing.
It would be good if we could persuade meson/ninja/cmake to use $B as usual.

Yeah, it would be nice if meson.cygclass used ${B} like everything else.

If I recall correctly, using that directory is a workaround to get the form of paths that meson ends up writing into the ninja.build rules (absolute? relative?) to interact correctly with the -ffile-prefix-map option.

There's a few discussions on the topic in the archives here.

PTC, obviously.

Any advice or feedback from experience with meson builds would be useful.

Reply via email to