summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Added release note mention of embedded Python in MSI packages.runpythonJussi Pakkanen2017-11-211-0/+9
|
* Review fixes.Jussi Pakkanen2017-11-216-12/+12
|
* Make the full test suite runnable with an external command.Jussi Pakkanen2017-11-203-45/+67
|
* Replaced sys.executable use with the mesonlib equivalent.Jussi Pakkanen2017-11-2011-42/+36
|
* Tests can be run with an external Meson command.Jussi Pakkanen2017-11-203-9/+26
|
* Changed code to use detected executables rather than hardcoding sys.executable.Jussi Pakkanen2017-11-202-1/+10
|
* Add command to run Python scripts with the current interpreter.Jussi Pakkanen2017-11-201-0/+6
|
* Fix AppVeyor scriptJoergen Ibsen2017-11-201-1/+8
|
* Renamed test dir to avoid number duplicates.Jussi Pakkanen2017-11-208-0/+0
|
* Check keyword arguments for dependencyChristoph Behle2017-11-191-0/+2
| | | | | | Check if the keyword arguments given to dependency are permitted, as is done with other functions already. The list of permitted keyword arguments is taken from the documentation.
* Silence failed restorecon calls when $DESTDIR is setZbigniew Jędrzejewski-Szmek2017-11-191-1/+3
| | | | | | | | | | | | This avoids hundres of warnings like: Warning no default label for /var/tmp/instroot.hUbtYJ/path/to/some/binary $DESTDIR is usually set to a temporary path, in which case the path is unknown to selinux. For that case we could just skip the restorecon calls. But sometimes it is used with a path to container. In that case, most of the time, selinux has no context for that path. But we can't rule that out somebody added custom context rules for the container. So let's still call restorecon, but silence the warning.
* More defensive process killing. Closes #2629.Jussi Pakkanen2017-11-191-1/+7
|
* pkgconfig: Handle prefix in library pathIñigo Martínez2017-11-191-1/+10
| | | | | | | | | | The install_dir parameter of the libraries can also contain the prefix path, which creates wrong library paths in the .pc file. This patch detects if prefix is contained in the library path and creates a relative path. Fixes #2469
* docs: Add 'cygwin' to reference table for .system()Jon Turney2017-11-191-0/+1
| | | | | This aligns this table with the set of values tested for by test case common/140
* Documentation: Add note about SCAN_BUILDChristoph Behle2017-11-191-0/+6
| | | | | When running ninja scan-build you can use the environment variable SCAN_BUILD to choose the right executable.
* Appveyor example now validates. Closes #2641.Jussi Pakkanen2017-11-191-9/+10
|
* Fix literal backslash syntaxLucas Werkmeister2017-11-191-1/+1
| | | 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.
* Merge pull request #2611 from mesonbuild/nirbheek/pkgconfig-msvc-staticJussi Pakkanen2017-11-1514-116/+331
|\ | | | | Several fixes to pkg-config dependencies and the pkg-config module (try 3)
| * appveyor.yml: Only download pkg-config for MSVCnirbheek/pkgconfig-msvc-staticNirbheek Chauhan2017-11-151-2/+2
| |
| * unit tests: Teach detect_prebuild_env about CygwinJon Turney2017-11-141-0/+3
| | | | | | | | | | | | | | | | This is enough to fix things. Note that build_shared_lib doesn't use the implib name for mingw or cygwin gcc, only msvc, so I'm not quite sure how this is working, I guess we are using the gcc facility to link directly with a dll...
| * dependencies: Force pkg-config to output -L argsNirbheek Chauhan2017-11-111-3/+10
| | | | | | | | | | | | | | | | | | | | | | Sometimes pkg-config can decide that the libdir is a system library dir and must not be included in the output because that would mess up the library search order for pkg-config libraries that must be sourced from a non-system prefix. However, when we're doing manual searching, we always want to see the library directory even if it's the system path, otherwise we can't do manual searching at all.
| * unit tests: Attempt to fix failure on CygwinNirbheek Chauhan2017-11-111-0/+4
| | | | | | | | | | This was always broken, but was missed because we ran MSVC on Cygwin instead.
| * unit tests: Properly skip if pkg-config wasn't foundNirbheek Chauhan2017-11-111-0/+4
| |
| * appveyor: Install pkg-config for MSVC buildsNirbheek Chauhan2017-11-111-0/+2
| |
| * pkgconfig module: Escape all paths while generatingNirbheek Chauhan2017-11-112-15/+52
| | | | | | | | | | Without this, we produce unusable pkg-config files when prefix/libdir/etc contain spaces, which is very common on Windows.
| * dependencies: Use shlex to parse pkg-config cflags and libsNirbheek Chauhan2017-11-113-14/+19
| | | | | | | | | | | | | | | | | | | | Escaping spaces with '\ ' is the only way that works with both pkg-config and pkgconf, so quote that way and unquote inside Meson. This should work on all platforms. Also fix the unit test to do the same. https://github.com/pkgconf/pkgconf/issues/153
| * dependencies: Improve pkg-config library detectionNirbheek Chauhan2017-11-111-1/+16
| | | | | | | | | | | | | | | | | | | | When `static: true` is passed to dependency(), we parse the pkg-config output and manually search for `-lfoo`, etc in the library paths gathered from `-Lbar` arguments in the output. If there are no `-L` arguments in the output, the behaviour is the same as before. If there are `-L` arguments and we can't find a static library, we will error out.
| * compilers: Improve manual library searchingNirbheek Chauhan2017-11-115-55/+91
| | | | | | | | | | | | We can now specify the library type we want to search for, and whether we want to prefer static libraries over shared ones or the other way around. This functionality is not exposed to build files yet.
| * dependencies: Add a test for static libs with pkg-configNirbheek Chauhan2017-11-116-39/+141
| | | | | | | | | | Demonstrates that pkg-config does not prefer static libs over shared libs even if we use the `static: true` kwarg.
* | Allow cmd script extension on WindowsJoergen Ibsen2017-11-151-1/+1
| |
* | Fix #2620rkfg2017-11-141-1/+3
| |
* | Merge pull request #2509 from madebr/boost_dependency_pkg_configJussi Pakkanen2017-11-142-5/+19
|\ \ | | | | | | Enable get_pkgconfig_variable for python3 dependencies (if pkg-config is used)
| * | Enable get_pkgconfig_variable for python3 dependenciesAnonymous Maarten2017-11-131-5/+14
| | | | | | | | | | | | fixes mesonbuild/meson#2508
| * | tests: test getting python module using pkg-configAnonymous Maarten2017-11-131-0/+5
|/ /
* | docs: fix description of default_optionsJoergen Ibsen2017-11-131-7/+7
| | | | | | | | | | | | | | | | 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
* | Merge pull request #2000 from t-chaik/tchaik/wip/get-unquotedJussi Pakkanen2017-11-135-0/+37
|\ \ | | | | | | config data: add .get_unquoted() convenience method to get quoted string unquoted
| * | get-unquoted: Queue a release note entry mentioning the new methodMartin Blanchard2017-09-151-0/+4
| | |
| * | get-unquoted: Mention get_unquoted() in reference manualMartin Blanchard2017-09-151-0/+5
| | |
| * | get-unquoted: Rework test case for msvc (make it more realistic)Martin Blanchard2017-09-152-20/+10
| | |
| * | get-unquoted: Fix indentation and remove useless arithmeticMartin Blanchard2017-09-151-1/+1
| | |
| * | get-unquoted: Add test case for new get_unquoted() methodMartin Blanchard2017-09-152-0/+23
| | |
| * | get-unquoted: Implement a get_unquoted() method for ConfigurationDataMartin Blanchard2017-09-151-0/+15
| | |
* | | Merge pull request #2579 from thillux/masterJussi Pakkanen2017-11-134-15/+69
|\ \ \ | | | | | | | | Qt5-Module: add `name` option to rcc
| * | | tests: fix qt unity buildMarkus Theil2017-11-092-3/+14
| | | | | | | | | | | | | | | | Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
| * | | tests: adapted Qt test for multiple rcc filesMarkus Theil2017-11-083-4/+39
| | | | | | | | | | | | | | | | Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
| * | | Qt-Module: fix name option with multiple rcc filesMarkus Theil2017-11-081-8/+16
| | | | | | | | | | | | | | | | Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
| * | | Qt-Module: fix rcc `name` with Qt4Markus Theil2017-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Qt5's rcc knows --name and -name, Qt4's only -name. Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
| * | | Qt5-Module: add `name` option to rccMarkus Theil2017-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch sets the --name option for files processed with rcc. It generates an additional initialization function, which can be used with static linking. Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
* | | | Merge pull request #2511 from jon-turney/prefix-dependent-defaultsJussi Pakkanen2017-11-134-15/+82
|\ \ \ \ | | | | | | | | | | Make sysconfdir, localstatedir and sharedstatedir defaults depend on prefix
| * | | | Add unittest of prefix dependent default directoriesJon Turney2017-10-281-1/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, make BasePlatformTests.tearDown() tolerate wipe() already having been called, rather than AllPlatformTests.test_prefix_dependent_defaults() having to avoid wipe() on the final iteration.