Commit Graph

4503 Commits

Author SHA1 Message Date
Leif Middelschulte 98e095bd47 extends test case to fail if macro is undefined durcing preprocessing 2017-10-25 22:31:47 +02:00
Leif Middelschulte 050a56ad47 Qt5-Module: Add `moc_extra_arguments` keyword support.
This commit adds support for an additional `moc_extra_arguments` keyword.
It becomes especially handy, when `moc`-ed sources conditionally provide
`slots`, depending on compile time macros (i.e. defines).
2017-10-25 21:09:16 +02:00
Niklas Claesson 14e7b0af25 Boost: Add Python libraries
Fixes: #2507
2017-10-25 21:08:54 +03:00
Jussi Pakkanen 004cc1493b Add a bunch of tests to sandboxing. 2017-10-25 21:02:32 +03:00
Patrick Griffis f220a5dd86 gnome: Fix compile_schemas() using path sep in target name 2017-10-25 21:01:16 +03:00
Jussi Pakkanen c178a5766b Because people are very creative in working around limitations based on good faith. 2017-10-24 23:01:57 +03:00
Jay Sherby a3da9f77c4 Fix inconsistent header levels 2017-10-24 23:01:11 +03:00
Jussi Pakkanen 831a8cff45 Merge pull request #2464 from jeandet/Qt4_Qt5_factorization
Factorized Qt4 and Qt5 modules in one base class.
2017-10-24 23:00:41 +03:00
Luis Menina 3dcc562e6d docs: Fix date being interpreted as an ordered list item 2017-10-24 22:59:56 +03:00
Jussi Pakkanen cc4a9bcf35 Merge pull request #2516 from dcbaker/submit/llvm-fix-lib-path
LLVM: Don't add -L<system path> to link args
2017-10-23 18:46:40 +02:00
Kevin Anderson 562c50f229 Update references from mesonconf to meson configure
Fixes #2372
2017-10-23 18:43:39 +02:00
Luis Menina 92866d8d5f docs: Remove unnecessary trailing whitespaces 2017-10-23 18:43:04 +02:00
Luis Menina 36eb7bf0aa docs: Markdown headers don't need trailing hash signs
This is a cosmetic change because github seems to interpret those
correctly. Nonetheless, it adds unnecessary noise and makes people
modifying the pages think it might be needed.

See syntax guide at https://guides.github.com/features/mastering-markdown/
2017-10-23 18:43:04 +02:00
Luis Menina be36b05544 docs: Fix markdown in 'design rationale' page 2017-10-23 18:43:04 +02:00
Jonas Platte e43332318b Fix invalid example in Syntax.md 2017-10-23 18:42:16 +02:00
Dylan Baker 9262236322 llvm: strip system libraries from link arguments
v2: - use clang and gcc's -print-system-libs option as suggested by
      Daniel Stone.

Fixes #2437
2017-10-21 10:36:00 -07:00
Dylan Baker 4e394b3341 dependencies: Add function to strip system -L paths
PkgConfig automatically removes -L paths from libdirs if the -L points
to a system path. It knows what these paths are by taking this as a
configure option at build time, which the distro maintainers set
appropriately and everything works. This allows one to have two
versions of a package installed, a system and non system, and then
override PKG_CONFIG_PATH to use the non system version, and everything
just works. For non-pkgconfig dependencies (such as LLVM) meson needs to
strip these themselves to avoid breaking the above use case.
2017-10-21 10:36:00 -07:00
getzze 6ce42e2ec5 Error for Libs in package_config function
Without specifying a custom install directory string, get_custom_install_dir() returns True. So for the `Libs` entry I was getting this:

  Libs: -L${prefix}/True -lfoo

Now it behaves as expected:

  Libs: -L${libdir} -lfoo
2017-10-19 20:22:32 +03:00
Niklas Claesson 3fcf4ad272 MSI: Fix regenerate with visual studio
Fixes #2461
2017-10-19 20:18:46 +03:00
Narendra Vardi 6083eb29d0 Do not allow escaping the subprojects directory.
Fixes #2306
2017-10-19 20:17:52 +03:00
Corentin Noël fd860482e5 Allow to give source files to GtkDoc by respecting the File class 2017-10-18 00:39:39 +03:00
liugang 36d85db5d4 fix all subproject using wrap-file broken
subproject using wrap-file is broken since commit (68bd64c Prevent
projects from directly grabbing files from other subprojects. )

subproject with wrap-file usually have version number after name

- **sproj_name** is `zlib-1.2.8` according to `directory = zlib-1.2.8`
of zlib.wrap
- but **self.subproject** `zlib`
2017-10-14 18:09:13 +03:00
Jussi Pakkanen 3f18e3b89f Arguments, not flags. 2017-10-13 19:03:04 +03:00
Niklas Claesson c97e7749a6 Boost: Jamfile has two syntaxes for boost libraries
Fixes #2456
2017-10-12 21:45:23 +03:00
Jussi Pakkanen 756e682f2a Merge pull request #2477 from 1ace/fix/man-mesonconf
Couple fixes for the man pages
2017-10-12 20:54:38 +03:00
Carlos Garcés f1c410fc98 Link to MesonPorting is not rendered as URL 2017-10-12 20:54:05 +03:00
Zbigniew Jędrzejewski-Szmek 92219a2739 rpm: print test logs on failure
References: https://bugzilla.redhat.com/show_bug.cgi?id=1500248
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-10-12 20:53:42 +03:00
Alexis Jeandet 94cfb42222 Fixes Qt4 plugin build and mixed Qt4/Qt5 tests builds.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-10-12 20:53:08 +03:00
Alexis Jeandet 4410c73efa Factorized Qt compilers version probing.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-10-12 08:58:31 +02:00
Eric Engestrom 39f2eeb233 man: fix copy/paste typo in mesonintrospect(1) 2017-10-11 09:57:16 +01:00
Eric Engestrom 0ecb300021 man: remove references to `mesonconf` in meson(1)
`mesonconf` is deprecated, and shouldn't be suggested to users anymore.
2017-10-11 09:56:42 +01:00
Jon Turney 79b850dfcb Typo and grammar fixes for 0.43.0 release note 2017-10-11 00:09:46 +03:00
Niklas Claesson 16aa40875e MSI: Find VC redistributable with python 32bit on windows 64bit 2017-10-11 00:09:27 +03:00
Alexis Jeandet f7f439caeb Factorized Qt4 and Qt5 modules in one base class.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-10-10 23:03:57 +02:00
TingPing b5eb77ddff docs: Improve code snippets in release notes 2017-10-08 17:58:23 -04:00
Jussi Pakkanen b4fa4e37b9 Added release note page for 0.44. 2017-10-08 23:50:21 +03:00
Jussi Pakkanen 6f066af61f Updated version number for new development. 2017-10-08 23:46:50 +03:00
Jussi Pakkanen 5626df4645 Bump version number for release. 2017-10-08 22:36:06 +03:00
Jussi Pakkanen 683947d943 Collated release note snippets to main file. 2017-10-08 22:36:06 +03:00
Jussi Pakkanen 93aa32219f Add system dependencies for LLVM test. 2017-10-08 22:21:56 +03:00
Jussi Pakkanen 2fbc857ff4 Better error message when using external libraries incorrectly. Closes #2447. 2017-10-08 17:25:08 +03:00
Rico Tzschichholz 8b8e1ee620 gnome: g-ir-scanner accepts multiple symbol-prefix arguments 2017-10-08 14:04:34 +03:00
Jussi Pakkanen 68bd64cd38 Prevent projects from directly grabbing files from other subprojects. 2017-10-08 13:52:10 +03:00
Jussi Pakkanen d2022f9c65 Merge pull request #2426 from dcbaker/submit/options-permitted-kwargs
options: Add a permitted_kwargs function
2017-10-07 18:09:13 +03:00
Corentin Noël 93d2ced31f Create the .po file with the `update_po` subcommand if it doesn't exist 2017-10-07 18:03:22 +03:00
Jan Niklas Hasse 7b36897ff9 Use get_default_include_dirs to detect BOOST_ROOT
This removes the need to specify BOOST_ROOT for cross-compilers.
2017-10-07 18:02:08 +03:00
Jussi Pakkanen a3e655d20d Package the Visual C runtime. Closes #2417. 2017-10-07 18:01:19 +03:00
Dylan Baker e8df59cc5f llvm: don't add --system-libs
On LLVM < 4.0 this adds linker arguments like -lm, which we don't want.

Related #2442, 2437
2017-10-07 18:00:57 +03:00
Nirbheek Chauhan 97cf0ec01b appveyor: Use a mirror for get-pip.py
pypa.io has an HSTS policy that forces http, and the https cert is
broken on Windows.
2017-10-06 14:25:33 +05:30
Nirbheek Chauhan e7bb122b22 appveyor: Attempt to fix MSYS/MinGW setup failure 2017-10-06 14:21:08 +05:30