meson/mesonbuild
Eli Schwartz 915a468ed3
i18n: be build-compatible (but not developer-compatible) with gettext-tiny
For maintainer targets, we need some more tools that gettext-tiny
doesn't implement. It's a shame to cause NLS to be completely disabled
in such environments, so instead just issue a warning and continue.

Before 0.62.0 these were never checked for, and would simply fail at
runtime, probably. In theory, the user might install the tools in
between configuring and building, and then the maintainer targets would
begin to work. Return to that behavior -- we still create the targets,
which will *probably* fail, but might not -- and for existing
integrations, failing at `ninja foo-update-po` with "error, program
msgmerge not found" is a bit more discoverable than ninja saying "what
do you mean, there's no such target".

We still have the 0.62.0 preferred behavior of trying to find the
programs, succeeding in all cases other than gettext-tiny, and
guaranteeing that their paths are set up in a machine-file-respecting
manner.
2022-05-29 18:23:03 -04:00
..
ast ast: cmake: Generate line numbers while printing the AST for better debugging 2022-05-24 18:00:49 -04:00
backend devenv: Set WINEPATH when cross compiling for Windows 2022-05-06 23:04:11 +03:00
cmake cmake: fix detecting directories as input files (fixes #10244) 2022-05-24 18:00:49 -04:00
compilers Fix optimization level 's' for the TI compiler 2022-05-25 07:12:02 -07:00
dependencies dependencies: Don't allow as_link_whole to complete with SharedLibraries 2022-05-25 22:41:03 -04:00
interpreter fix custom_target crash if boolean true is specified in install_dir 2022-05-26 17:42:14 -04:00
interpreterbase move various imports into TYPE_CHECKING blocks for neatness 2022-05-23 16:44:08 -04:00
linkers linkers: try a bit harder to autodetect the correct linker id 2022-05-29 11:41:55 -04:00
mesonlib add prefer_static built-in option 2022-05-03 23:03:56 -04:00
modules i18n: be build-compatible (but not developer-compatible) with gettext-tiny 2022-05-29 18:23:03 -04:00
scripts gettext: explicitly pass source root / subdir as cli args 2022-05-29 18:23:03 -04:00
templates flake8: fix indentation style 2022-01-27 10:48:01 -08:00
wrap Ignore detached head warning while cloning subprojects with tags 2022-04-30 22:44:21 +03:00
__init__.py
_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 build: replace hand rolled code with CustomTarget[Index].links_dynamically() 2022-05-25 22:41:03 -04:00
coredata.py add prefer_static built-in option 2022-05-03 23:03:56 -04:00
depfile.py depfile: type annotate 2022-01-10 23:06:20 -05:00
envconfig.py envconfig: use $PKG_CONFIG for pkg-config find_program as well as pkgconfig 2022-03-22 15:15:29 +02:00
environment.py pkgconfig: Use EnvironmentVariables to build PKG_CONFIG_* env 2022-04-30 15:01:28 -04:00
mcompile.py mcompile: Print suggestions when target is ambigous 2022-05-01 23:56:38 +03:00
mconf.py mconf: Fix printing <inherited from main project> for yielding options 2022-04-13 21:10:32 +03:00
mdevenv.py devenv: Set WINEPATH when cross compiling for Windows 2022-05-06 23:04:11 +03:00
mdist.py mdist: use better approach to finding original configured options 2022-04-11 14:10:59 -04:00
mesondata.py port from embedded data to importlib.resources 2022-01-10 18:36:57 -05:00
mesonmain.py pyupgrade --py37-plus 2022-04-14 18:37:03 -04:00
minit.py minit: refuse to allow creating broken projects 2022-05-05 20:07:44 -04:00
minstall.py install_symlink: Handle $DESTDIR case for links with absolute path 2022-03-24 15:26:12 -04:00
mintro.py OptionOverrideProxy: Make it immutable to avoid copies 2022-03-22 17:20:48 -04:00
mlog.py treewide: string-quote the first argument to T.cast 2022-03-07 19:01:04 -05:00
mparser.py Add support for multiline f-strings 2022-05-01 12:47:37 -04:00
msetup.py devenv: Use PkgConfigDependency.get_env() 2022-05-04 00:16:32 +03:00
msubprojects.py pyupgrade --py37-plus 2022-04-14 18:37:03 -04:00
mtest.py mtest: ignore invalid input 2022-05-24 20:15:34 +03:00
munstable_coredata.py fix coding errors in unstable-coredata subcommand 2021-08-22 13:56:41 +03:00
optinterpreter.py Allow deprecating an option for a new one 2022-04-21 14:18:29 -04:00
programs.py interpreter: use typed_kwargs for run_command 2021-11-29 18:12:33 -08:00
rewriter.py move various imports into TYPE_CHECKING blocks for neatness 2022-05-23 16:44:08 -04:00