util/modular: auto-meson-pc-cmp.sh added (merge request)

tlaronde at kergis.com tlaronde at kergis.com
Thu Mar 28 17:59:58 UTC 2024


FWIW, I have added to xorg/util/modular, the POSIX.2 sh utility:

auto-meson-pc-cmp.sh 

that allows to compare two directories for pc files, checking that
the same relative pathnames exist in the two dirs and that the same
named files "say" the same things, even if they don't say it the same
way (to not error if autotools is using variables ${variable} while
meson is expending some or defining other variables; the important
thing is that the same configuration leads to the same definitions).

This is to be used by the CI.

BTW: xorgproto doesn't generate the same pc files when using
autogen.sh and meson (default): legacy pc files are generated by
autotools while they are not without the legacy option with meson.

Merge request.
-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


More information about the xorg-devel mailing list