Commit Graph

4618 Commits

Author SHA1 Message Date
Leif Middelschulte 6fc3c0df0c fixes the extended test suite to work with qt5 **and** qt4. 2017-10-26 11:49:35 +02:00
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
Dylan Baker 9a43cb367a docs: Add a snippet for LLVM static linking support 2017-10-25 10:14:46 -07:00
Dylan Baker 3aa97d4ab5 llvm: fix static vs dynamic linking
LLVM >= 3.9 provides an llvm-config that has a sane mechanism for
selecting static vs dynamic linking. LLVM < 3.9 (but >= 3.5) not so
much. For those older LLVM versions, llvm-config will always provide
arguments for statically linking LLVM, even if there is a library for
dynamic linking.

Fixes #2442
2017-10-25 10:07:50 -07:00
Dylan Baker 5584409346 llvm: Add support for linking statically
This adds support for the static kwarg to the llvm dependency.
2017-10-25 10:03:34 -07:00
Dylan Baker 6cbbbd546e llvm: Add modules to libs check
Which is required for statically linking with LLVM.
2017-10-25 10:03:34 -07:00
Dylan Baker 3e004ae611 llvm: check for components (modules) before libs.
For statically linking we need to pass the modules to llvm-config, so we
need to validate them and have them ready to use before then.
2017-10-25 10:03:34 -07:00
Dylan Baker cadf5f3c04 llvm: Add optional modules
These will become more relevant later in the series.
2017-10-25 10:03:34 -07:00
Dylan Baker 7841210b4f llvm: Add helper function for checking modules
This will be used in a later patch.
2017-10-25 10:03:34 -07:00
Dylan Baker ab83cde966 llvm test: Replace tinfo with something else
Archlinux doesn't package tinfo, and the non-distro maintained package
(in the AUR), doesn't provide a pkgconfig, it just symlinks libncurses.
So just pick something else. glib-2.0 is used elsewhere in meson's test
suite, so that should be safe.
2017-10-25 10:03:34 -07: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