aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
AgeCommit message (Collapse)AuthorFilesLines
2022-02-10implement 'dist --allow-dirty' flagandy59952-0/+15
closes #9824
2022-02-10Contributing.md: fix typoAlyssa Ross1-1/+1
2022-02-09meson: Allow directory options outside of prefixJan Tojnar2-1/+15
This bring us in line with Autotools and CMake and it is useful for platforms like Nix, which install projects into multiple independent prefixes. As a consequence, `get_option` might return absolute paths for some directory options, if a directory outside of prefix is passed. This is technically a backwards incompatible change but its effect should be minimal, thanks to widespread use of `join_paths`/`/` operator and pkg-config generator module. It should only cause an issue when a path were constructed by concatenating the value of directory path option. Also remove a comment about commonpath since we do not use that since <https://github.com/mesonbuild/meson/commit/00f5dadd5b7d71c30bd7393d165a87f554eb92e5>. Fixes: https://github.com/mesonbuild/meson/issues/2561
2022-02-03cmake: Deprecate CMake <3.17 supportDaniel Mensinger1-0/+4
2022-02-03cmake: Drop CMake server support and bump min. CMake to >= 3.14Daniel Mensinger1-0/+9
2022-02-02Merge pull request #9834 from bonzini/test-verbose-kwargJussi Pakkanen1-0/+6
New keyword argument `verbose` for tests and benchmarks
2022-02-02Genericise TI compiler and add MSP430 supportWilliam Toohey2-1/+12
2022-02-01cmake: add arch_independent kwargAndrea Pappacoda2-1/+10
CMake's write_basic_package_version_file has supported since version 3.14 an ARCH_INDEPENDENT option that makes it skip its architecture check in the Version file. With this patch Meson now supports it as well, and the change is also compatible with older CMake versions, as they will simply ignore the option. This also slightly changes the contents of the generated Version file when arch_independent is not set: previously, the if() needed to skip the arch check was always filled with an empty string, while CMake puts "FALSE" (or "TRUE") in it. Now, that if() will always be filled with either "False" or "True", better matching CMake's behaviour.
2022-02-01minstall: stop running ldconfig for the userEli Schwartz1-0/+5
This was a nice idea in theory, but in practice it had various problems: - On the only platform where ldconfig is expected to be run, it is really slow, even when the user uses a non-default prefix and ldconfig doesn't even have permission to run, nor can do anything useful due to ld.so.conf state - On FreeBSD, it bricked the system: #9592 - On cross builds, it should not be used and broke installing, because ldconfig may not be runnable without binfmt + qemu: #9707 - it prints weird and confusing errors in the common "custom prefix" layout: #9241 Some of these problems can be or have been fixed. But it's a constant source of footguns and complaints and for something that was originally supposed to be just "it's the right thing to do anyway, so just do it automatically" it is entirely too risky. Ultimately I do not think there is justification for keeping this feature in since it doesn't actually make everyone happy. Better for users to decide whether they need this themselves. This is anyways the case for cmake and autotools and generally any other build system, so it should not be too intimidating... Fixes #9721
2022-02-01Updated precompiled library documentationGuillaume Quenneville1-0/+8
Fix link, change wording
2022-02-01new custom dependency lookup for libdlAndrew Krasavin2-0/+19
2022-02-01interpreter: support for forcibly verbose logging of some testsPaolo Bonzini1-0/+6
Add a new keyword argument to test() and benchmark(), completing the implementation of the feature. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-01-31gnome: add documentation for new kwargsEli Schwartz1-2/+6
This was forgotten in commit bc8c938148a55910dd1bd454fc3c5e8ab7477baa -- sorry!
2022-01-31mention fastyaml loader in the docsStone Tickle1-1/+4
2022-01-26docs: correct weakref typo in Reference-tables.mdArsen Arsenović1-1/+1
2022-01-26compilers/c_function_attributes: add retainArsen Arsenović1-0/+3
retain is a relatively young attribute which has proven itself useful for working with --gc-sections -z start-stop-gc.
2022-01-26Add docs for JDK system dependencyTristan Partin1-0/+14
For whatever reason, the original PR was merged without documentation.
2022-01-23Contributing.md:specify max line length for docsandy59951-4/+6
I thought it would good to specify a general rule here so people can set their line wrapping appropriately. [skip ci]
2022-01-23Subprojects.md:add extra detailandy59951-9/+24
This adds a link https://mesonbuild.com/Builtin-options.html#specifying-options-per-subproject in two different places and provides an example for changing the default options. This info is partially based on a [recent discussion](https://github.com/mesonbuild/meson/discussions/9830) between me and @eli-schwartz [skip ci]
2022-01-23Subprojects.md:add link to is_subproject()andy59951-1/+1
2022-01-22fix broken version annotations for the new itstool_join featureEli Schwartz1-1/+1
It was not added in 0.61.0 as that was already released.
2022-01-22Merge pull request #9742 from ximion/wip/itstoolJussi Pakkanen2-0/+17
i18n: Add support for joining XML localization via itstool
2022-01-21i18n: Add support for joining XML localization via itstoolMatthias Klumpp2-0/+17
2022-01-17index.md:add link to GitHub Discussions sectionandy59951-5/+7
2022-01-16Subprojects.md:add single quotes around subproject and variable nameAndy Alt1-1/+1
2022-01-15gnome.genmarshal: restore the ability to pass sources as Files objectsEli Schwartz1-2/+1
It used to support: - a single string - an array of anything And as long as CustomTarget supported it too, everything worked fine. So, a `files('foo')` worked but a `files('foo')[0]` did not, which is silly... and it's not exactly terrible to use files() here, the input is literally a list of source files. Fixes building gnome-terminal Fixes #9827 Test updated by Nirbheek Chauhan <nirbheek@centricular.com>
2022-01-11link to mesa website instead of gitlabErik Faye-Lund1-1/+1
The mesa website is a bit more helpful as an introduction to the project than the gitlab-project. So it seems better to link there instead.
2022-01-10bump minimum required version of python to 3.7Eli Schwartz3-4/+11
Comment out the pending deprecation notice. It cannot be reached anymore, but is still useful for the next time we do a version bump.
2022-01-10docs: fix rust module bindgen argumentsDylan Baker1-5/+5
Fixes: 9795
2022-01-10remove the RPM moduleEli Schwartz2-16/+10
It is unmaintained, broken (frequently for long periods of time) and not really required for any meson functionality. Its purpose is to be used as a one-shot tool for creating a distro package recipe, and then deleted from your meson.build files. Due to its fragile dependency on coredata implementation details, we cannot assume it will reliably work, or continue to work, without someone who is actively willing to take responsibility for it. Even if that were to happen, this might be better off as an external script that parses introspection data. Closes #9764 Closes #9763
2022-01-10Merge pull request #9739 from mathstuf/armclang-supportJussi Pakkanen1-0/+6
Armclang support
2022-01-10Prepare release 0.61.0.0.61.0Jussi Pakkanen12-120/+138
2022-01-10add pending deprecation notice for python 3.6Eli Schwartz1-0/+13
2022-01-10Running-Meson.md: fix a broken linkx-yuri1-1/+1
2022-01-09Remove docs for ghwt that got deleted ages ago.Jussi Pakkanen1-43/+0
2022-01-07Merge pull request #9773 from annacrombie/masterJussi Pakkanen1-0/+4
Add a man page backend to refman
2022-01-06add release notes for refman man pageStone Tickle1-0/+4
2022-01-05Fix syntax highlighting Continuous-Integration.mdJohn Kilpatrick1-1/+1
2022-01-03armltdclang: add support for ARM Ltd.'s `armclang` toolchainBen Boeckel1-0/+6
This is another toolchain also called `armclang`, but it is not a cross compiler like Keil's `armclang`. It is essentially the same as `clang` based on its interface and CMake's support of the toolchain. Use an `armltd` prefix for the compiler ID. Fixes: #7255
2022-01-02docs: Update yelp documentation to reflect what it is actually doingPablo Correa Gómez1-2/+2
2021-12-17add ft32 cpu familyRafael Silva1-0/+1
2021-12-15rewriter: create {add,rm}_extra_files commandsCeleste Wouters2-1/+38
Add ability to mutate a target's `extra_files` list through the rewriter. The logic is copied from sources add/rm, but changes the `extra_files` kwarg instead of the sources positional argument. Has additional logic to handle creating the `extra_files` list if it doesn't exist.
2021-12-07gnome/genmarshal: Add missing kwargs to permittedKwargsDylan Baker1-7/+12
There are thee arguments that are passed directly to CustomTarget which are not in the permittedKwargs: depends, depend_files, and build_always. The first two are obviously generically useful, as they allow creating correct ordering. The latter, not so much. Since it was an error to pass it, we'll just delete it.
2021-12-06gnome module: document and fix install_dir x3, by allowing false *_gir and ↵Eli Schwartz1-2/+2
*_typelib generate_gir forces building both the typelib and gir, and some people only want one or the other (probably only the typelib?) which means flagging the other as install_dir: false in the same way custom_target supports. As this always worked, albeit undocumented, make sure it keeps working. It's pretty reasonable to allow, anyway. Fixes https://github.com/mesonbuild/meson/pull/9484#issuecomment-980131791
2021-12-06interpreter: allow extract_objects to receive generated sourcesPaolo Bonzini1-0/+4
Fixes: #8333
2021-12-06doc: fix missing kwarg in qt5 moduleEli Schwartz1-0/+1
compile_moc accepts "dependencies" for the same reason preprocess does, but the original documentation never copied this over from the preprocess docs. See: https://github.com/mesonbuild/meson/issues/9683#issuecomment-986825041
2021-12-01gnome module: document that yelp(languages: ...) is deprecatedEli Schwartz1-1/+5
If you use it, we emit a warning telling you to use LINGUAS instead. So we should warn people in the documentation as well. Fixes #9495
2021-12-02cmake: Deprecate CMake <3.14 and warn for <3.17 (#9677)Daniel Mensinger1-0/+7
* cmake: Deprecate CMake <3.14 and warn for <3.17 See: - #7832 - #9676 * cmake: Add deprecation release note snippet
2021-12-01add install_symlink functionPablo Correa Gómez1-0/+11
Allows installing symlinks directly from meson, which can become useful in multiple scenarios. Current main use is to help moving forward #9557
2021-11-25Stop backend_startup_project from erasing the last project in a VS solutionLuke Elliott1-0/+4
if it is not the specified project.