Commit Graph

302 Commits

Author SHA1 Message Date
Shawn Landden 44415ab61e Update Users.md
now only build system of systemd
2017-12-16 12:51:27 +02:00
Michael James Gratton 93c988b453 Enable re-compilation of GNOME gschema files if they have changed.
* mesonbuild/modules/gnome.py (GnomeModule.compile_schemas): Allow the
  depend_files kwarg.

* docs/markdown/Gnome-module.md: Add docs for new kwarg (and the only
  other one that is permitted).
2017-12-13 21:31:32 +02:00
Michael James Gratton 1a50fe45e8 Add Geary to the list of users - will use meson for the next release. 2017-12-13 21:29:39 +02:00
Iñigo Martínez cc952b055a docs: Change variable in pkg-config example
The example provided for the `get_pkgconfig_variable` when using using the `define_variable` parameter is not the best example, because it is using `prefix` for both. This changes the retrieved variable for `libdir` so the efect of the variable redefinition is more noticeable.
2017-12-12 18:33:04 +00:00
Iñigo Martínez 514d21e6a4 docs: Add documentation to dependency variables
Meson is able to redefine variables when retrieving them from
 `pkg-config` dependencies. However, the documentation is missing.

This patch adds documentation for this feature.
2017-12-12 18:33:04 +00:00
Jussi Pakkanen 04d5d017c5 Fix documentation on disabler behaviour with short circuiting. 2017-12-11 22:21:39 +02:00
Jussi Pakkanen e674434389 Updated version number for new release. 2017-12-10 17:56:27 +02:00
Jussi Pakkanen cbefb57ffe
Merge pull request #2745 from dcbaker/submit/haiku
small fixes for haiku
2017-12-10 14:42:53 +02:00
Ernestas Kulik 7ae5716f67 Touch up install_dir() documentation
It no longer removes the target tree before copying files.
2017-12-09 01:52:33 +02:00
Jon Turney 8d795a8403 Fix typo in release note snippet for get_unquoted
Grammar is still a bit fractured, but I'm not entirely sure what it's trying to say.
2017-12-09 01:51:29 +02:00
Dylan Baker 75bc95bd66 docs: Add haiku to reference table 2017-12-07 09:35:12 -08:00
Jussi Pakkanen bc83c58d37
Merge pull request #2731 from mesonbuild/disabler
Created disabler object type
2017-12-05 01:10:50 +02:00
Jussi Pakkanen d3dcef7efc Added documentation for disabler objects. 2017-12-05 01:09:15 +02:00
Jon Turney 87e6201214 Document and improve not-found dependency objects
Document dependency('', required:false) usage.
Avoid emitting 'Dependency  found: NO'.
2017-12-05 01:04:57 +02:00
Jussi Pakkanen 6d03111638 Minor fixes. 2017-12-03 23:32:48 +02:00
Jussi Pakkanen f8a419b27d String arguments can permit arbitrary string values
by leaving out the choices keyword.
2017-12-03 22:27:55 +02:00
Jussi Pakkanen aa6b576256 Reformatted and fixed running doc. 2017-12-02 19:55:44 +02:00
Jussi Pakkanen 793fc002fa
Merge pull request #2390 from dcbaker/submit/options-list
Add an array type to user options
2017-12-02 19:54:27 +02:00
Dylan Baker 6f25e93b52 cross: Implement support for loading cross files from system paths
One thing that makes cross compiling with meson a pain is the need for
cross files. The problem is not with cross files themselves (they're
actually rather brilliant in that they allow for a much greater deal of
flexibility than autotools hardcoded paths approach) but that each user
needs to reimplement them themselves, when for most people what they
really want is a cross file that could be provided by their distro, all
they really want is the correct toolchain.

This patch is the first stop to making it easier for distros to ship
their own cross files (and for users to put their's somewhere safe so
they don't get `git clean`ed. It allows the cross files (on Linux and
*BSD) to be stored in home and system paths (~/.config/meson/cross,
/usr/share/meson/cross, and /usr/local/share/meson/cross), and to be
loaded by simply by specificying --cross-file.

With this patch meson will check the locations its always checked first,
(is cross file absolute, or is it relative to $PWD), then will check
~/.config/meson/cross, /usr/local/share/meson/cross,
/usr/share/meson/cross, (or $XDG_CONFIG_PATH and $XDG_DATA_DIRS) for the
files, raising an exception if it cannot find the specified cross file.

Fixes #2283
2017-11-30 22:34:27 +02:00
Dylan Baker c9351ce30c Add new array type option
This exposes the already existing UserStringArrayOption class through
the meson_options.txt. The intention is to provide a way for projects to
take list/array type arguments and validate that all of the elements in
that array are valid without using complex looping constructrs.
2017-11-29 14:14:41 -08:00
Jussi Pakkanen 5208e6524c
Merge pull request #2701 from dcbaker/submit/better-llvm-docs
Minor LLVM dependency cleanups for the next release
2017-11-29 22:00:49 +02:00
Zbigniew Jędrzejewski-Szmek 01ab4acf7f docs: note when warning() was added
Followup for 1540e615f1.
2017-11-29 21:13:49 +02:00
Dylan Baker 549e5928fb docs: Add better documentation of the LLVM dependency 2017-11-28 17:34:48 -08:00
Jussi Pakkanen 746e70c0da
Merge pull request #2512 from dcbaker/wip/config-tool-variables
Add method to get values from config tool based dependency
2017-11-28 22:01:00 +02:00
Jussi Pakkanen 5bc1009109 Add if_found kwarg to subdir(). 2017-11-27 23:22:47 +02:00
Jussi Pakkanen 11f1fc913d
Merge pull request #2690 from jsoref/spelling
Spelling
2017-11-27 01:36:43 +02:00
Josh Soref 9775e2b40d useless: youtu.be reference 2017-11-26 17:30:17 +00:00
Jussi Pakkanen f70760a510 Use new style dependencies in subproject documentation. 2017-11-26 17:58:21 +02:00
Jussi Pakkanen 2dab7c37df
Merge pull request #2676 from jeandet/add_qt_translations
Add qt translations
2017-11-26 17:12:47 +02:00
Josh Soref 7d1a1fd5b0 spelling: programming 2017-11-26 05:57:58 +00:00
Dylan Baker a52c22dc06 docs: add documentation for config_tool variable method 2017-11-23 20:06:23 -08:00
Dylan Baker e95628306d docs: consolidate config-tool based dependencies
There are currently entries for cups and pcap; but not LLVM, GnuStep, or
WxWidgets. Instead of having an entry for each of these just have a
single entry for all of them, since the majority of the information is
duplicated between them anyway.
2017-11-23 20:06:23 -08:00
Alexis Jeandet 5462e65c44 [Qt module] Updated Dokerfile, added since 0.44 mention in doc
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-11-23 21:20:45 +01:00
Alexis Jeandet 5c5eac3571 [Qt module] Added translation files compilation method
- Added a new compile_translations method since preprocess was already quite
full and translations compilation is quite different from ui, qrc, cpp files
preprocessing.
- Updated translation.
- Updated test case.

Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-11-23 07:09:07 +01:00
Jussi Pakkanen f9e88cd37e Added release note mention of embedded Python in MSI packages. 2017-11-21 23:29:06 +02:00
Jon Turney 34d1d45094 docs: Add 'cygwin' to reference table for .system()
This aligns this table with the set of values tested for by test case
common/140
2017-11-19 18:18:29 +02:00
Christoph Behle c653936700 Documentation: Add note about SCAN_BUILD
When running ninja scan-build you can use the environment variable
SCAN_BUILD to choose the right executable.
2017-11-19 18:17:31 +02:00
Jussi Pakkanen 708cdea861 Appveyor example now validates. Closes #2641. 2017-11-19 18:17:02 +02:00
Lucas Werkmeister 5d9c72630a Fix literal backslash syntax
In CommonMark, there are no backslash escapes in code spans, so only two backslashes in the source document are necessary to produce two backslashes in the output document.
2017-11-19 18:16:35 +02:00
Joergen Ibsen 6d85e10df9 docs: fix description of default_options
For dependency() and subproject(), the default_options argument can
override the defaults in the subproject's meson_options.txt, not in
its project() invocation.

Resolves #2612
2017-11-13 22:55:45 +02:00
Jussi Pakkanen 49eb33ff55
Merge pull request #2000 from t-chaik/tchaik/wip/get-unquoted
config data: add .get_unquoted() convenience method to get quoted string unquoted
2017-11-13 22:54:39 +02:00
Jussi Pakkanen 69bd87a716
Merge pull request #2511 from jon-turney/prefix-dependent-defaults
Make sysconfdir, localstatedir and sharedstatedir defaults depend on prefix
2017-11-13 21:14:59 +02:00
TingPing 9b36e2d509
docs: Remove extra whitespace from i18n 2017-11-13 13:00:49 -05:00
Jussi Pakkanen d2aa2f569b Cleanupping. 2017-11-11 20:12:43 +02:00
Jussi Pakkanen 416a6fc235
Merge pull request #2444 from dcbaker/llvm
LLVM: Fix dynamic vs statically linking.
2017-11-08 21:16:50 +02:00
Jussi Pakkanen 8d6e3cad1b Add description on how to use external and internal dependencies interchangeably. 2017-11-08 21:10:17 +02:00
Joergen Ibsen 68604a4855 docs: fix use of deps 2017-11-07 23:55:15 +02:00
David Pérez-Suárez c647db96d5 Small changes for syntax hightlight 2017-11-06 20:55:46 +02:00
Jussi Pakkanen cde0f4fca1
Merge pull request #2562 from 1ace/fix/mesontest
Remove references to `mesontest`
2017-10-31 22:17:47 +02:00
Paulo Antonio Alvarez 1540e615f1 interpreter: Add warning function 2017-10-31 22:17:01 +02:00