meson/mesonbuild
Chris Lamb 958b1a7fb4 Make the generated reproducible .cmake files reproducible.
Whilst working on the Reproducible Builds effort [0], I noticed that meson did
not generate reproducible .cmake files: they include the full path name.

This commit not only makes the build reproducible, but it also matches CMake's
own behaviour. Specifically, CMakePackageConfigHelpers.cmake does the
equivalent transformation using:

    get_filename_component(inputFileName "${_inputFile}" NAME)

I originally filed this in Debian as bug #1000327 [1].

 [0] https://reproducible-builds.org/
 [1] https://bugs.debian.org/1000327
2021-11-21 14:38:33 -05:00
..
ast add install_emptydir function 2021-10-08 14:35:00 -04:00
backend Support Visual Studio 2022 backend 2021-11-21 08:08:11 -05:00
cmake Support Visual Studio 2022 backend 2021-11-21 08:08:11 -05:00
compilers Support ancient (<3.4.0) gcc versions 2021-11-16 06:45:33 -05:00
dependencies dependencies/zlib: Allow for generic OS checks 2021-11-20 23:54:33 -05:00
interpreter add location nodes to some Feature calls 2021-11-20 20:48:30 -05:00
interpreterbase FeatureDeprecated: add a notice summary of future deprecations 2021-11-20 20:48:30 -05:00
linkers Changing xc16's linker from 'xc16-gcc.exe' to 'xc16-gcc'. Windows will 2021-10-27 15:25:20 -07:00
mesonlib depfixer: convert unused printing code to debugging functions 2021-11-09 10:50:59 +01:00
modules Make the generated reproducible .cmake files reproducible. 2021-11-21 14:38:33 -05:00
scripts Share common code between clang tidy and format 2021-11-14 22:07:17 +02:00
templates Add vala template 2021-11-16 22:25:14 -05:00
wrap wrap: Fix concurrent os.mkdir() 2021-11-02 17:27:00 -04:00
__init__.py Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir. 2016-01-16 17:35:29 +02:00
_pathlib.py pathlib: Patch pathlib to work around some bugs (fixes #7295) 2021-06-29 11:28:08 +02:00
_typing.py fix various flake8 whitespace errors 2021-10-27 09:51:52 -04:00
arglist.py Fix typos discovered by codespell 2021-10-10 16:12:25 -04:00
build.py convert more mlog.deprecation into FeatureDeprecated 2021-11-20 20:48:29 -05:00
coredata.py Support Visual Studio 2022 backend 2021-11-21 08:08:11 -05:00
depfile.py stabilize sets that are converted to lists 2020-11-15 14:21:31 +01:00
envconfig.py modules/gnome: use envconfig for VAPIGEN 2021-11-01 12:24:25 -07:00
environment.py coverage generator: obey the documentation and only generate supported outputs 2021-11-01 18:57:14 -04:00
mcompile.py delete PLATFORM env only if set 2021-10-30 23:22:48 -04:00
mconf.py fix various flake8 whitespace errors 2021-10-27 09:51:52 -04:00
mdevenv.py Add --vsenv command line option and active VS only when needed 2021-10-10 23:15:18 +03:00
mdist.py Add --vsenv command line option and active VS only when needed 2021-10-10 23:15:18 +03:00
mesondata.py fix: Always explicitly set encoding for text files (fixes #8263) 2021-06-29 11:28:08 +02:00
mesonmain.py Add --vsenv command line option and active VS only when needed 2021-10-10 23:15:18 +03:00
minit.py Add vala template 2021-11-16 22:25:14 -05:00
minstall.py fix various flake8 whitespace errors 2021-10-27 09:51:52 -04:00
mintro.py introspect: include choices for array options 2021-10-14 09:04:25 -04:00
mlog.py Revert "mark a couple of typing-only imports as noqa, to appease pyflakes" 2021-10-27 09:51:52 -04:00
mparser.py pylint: turn on superflous-parens 2021-08-31 16:28:54 -04:00
msetup.py Add --vsenv command line option and active VS only when needed 2021-10-10 23:15:18 +03:00
msubprojects.py msubprojects: implement "packagefiles --save" 2021-10-10 10:17:55 -04:00
mtest.py mtest: add an ASCII-only version of the spinner 2021-11-16 01:54:33 +02:00
munstable_coredata.py fix coding errors in unstable-coredata subcommand 2021-08-22 13:56:41 +03:00
optinterpreter.py optinterpreter: Fix builtin option names not being reserved anymore 2021-10-14 14:17:50 -04:00
programs.py Fix typos discovered by codespell 2021-10-10 16:12:25 -04:00
rewriter.py pylint: turn on superflous-parens 2021-08-31 16:28:54 -04:00