aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-07-19Update all versions to 0.41.20.41.20.41Nirbheek Chauhan6-6/+6
2017-07-17gnome module: Add -lfoo after -Lbar LDFLAGSNirbheek Chauhan1-4/+5
Otherwise they won't take effect
2017-07-17gnome.gtkdoc: Handle absolute install_dirs correctlyNirbheek Chauhan2-5/+7
Must prepend DESTDIR in case it's absolute. Also document that by default it is relative to the gtk-doc html directory.
2017-07-17Add example of generated header in docs.Elliott Sales de Andrade4-1/+43
2017-07-17Add all internal dep rpaths to gnome module builds.Elliott Sales de Andrade1-0/+2
Running gtkdoc on a shared library that depends on another shared library would fail otherwise.
2017-07-17Add build include directory to gtkdoc source paths.Elliott Sales de Andrade1-0/+2
This enables gtkdoc to produce documentation on files that were generated, using configure_file, for example.
2017-07-17Use absolute path to target dir within gnome module.Elliott Sales de Andrade1-1/+1
Stuff like gtkdoc may not be run in the top-level build directory, so these paths need to be absolute. Fixes #1950.
2017-07-17Fix how rpath directories are handled.Hemmo Nieminen1-5/+2
Linking a library from a directory below the executable's directory caused an invalid path to be written in the executable's RPATH.
2017-07-17pkgconfig: avoid appending slash at CflagsLaurent Carlier1-3/+4
Otherwise it can break some compilations, see https://bugs.archlinux.org/task/54763
2017-07-04Fix a missing path issue causing Python traceback.Hemmo Nieminen1-0/+4
A path was missing from a call to os.path.relpath when handling rpaths. Fix this by assuming empty target directory means build root.
2017-07-04Add a test case for a "library at project root" use case.Hemmo Nieminen4-0/+16
2017-06-29Select release or debug libraries for Qt, based on buildtype.Philippe Payant1-2/+4
See: https://github.com/mesonbuild/meson/issues/1979
2017-06-29Library names for Qt4 was incorrect.Philippe Payant1-2/+6
Closes https://github.com/mesonbuild/meson/issues/1979
2017-06-29Tag functions in asm properly. Thanks to Matthias Klose for debugging the issue.Jussi Pakkanen6-12/+31
2017-06-29vala: Only add --use-header for unity buildsNirbheek Chauhan2-2/+16
Closes https://github.com/mesonbuild/meson/issues/1969
2017-06-29Add a test for ignoring not-found vala depsNirbheek Chauhan1-1/+4
https://github.com/mesonbuild/meson/pull/1986
2017-06-29Skip handling non-available dependenciesJens Georg1-0/+3
This way, an optional dependency can always be added on Vala targets without meson adding --pkg
2017-06-19Update version number for bugfix release.0.41.1Jussi Pakkanen6-6/+6
2017-06-19Storage object has changed so use values(). Closes #1963.Jussi Pakkanen1-1/+1
2017-06-19Expand magic markers on custom and run targets too. Closes #1681.Jussi Pakkanen1-6/+14
2017-06-19Only call to_native once per invocation.Jussi Pakkanen1-1/+1
2017-06-19Merge pull request #1956 from mesonbuild/fix1934Igor Gnatenko1-8/+14
Handle both pkg-config and pkgconf argument order. Closes #1934.
2017-06-18Handle both pkg-config and pkgconf argument order. Closes #1934.Jussi Pakkanen1-8/+14
2017-06-18Merge pull request #1951 from mesonbuild/dedupfixJussi Pakkanen4-0/+40
Preserve standalone -D arguments
2017-06-18Fix a stray variable renaming. Closes #1952.Jussi Pakkanen1-1/+1
2017-06-18Preserve standalone -D arguments always.Jussi Pakkanen2-3/+15
2017-06-17Failing test for -D dedupping.Jussi Pakkanen3-0/+28
2017-06-17Make external library no-op when used with incompatible target (#1941)Nirbheek Chauhan2-2/+9
* tests: Add a test for C library in Vala target https://github.com/mesonbuild/meson/issues/1939 * Make external library no-op when used with incompatible target This is how it used to behave earlier, but we accidentally regressed Closes https://github.com/mesonbuild/meson/issues/1939
2017-06-17Use the Windows proof dir deleter consistently.Jussi Pakkanen1-5/+5
2017-06-17wxwidgets: Fix usage of multiple dependency() callsNirbheek Chauhan2-1/+4
This was broken because the class property will say True but the object property will not be set. Store the value on the class property and transfer to object in __init__. Just like PkgConfigDependency.
2017-06-17valgrind: Fix __init__ callNirbheek Chauhan2-2/+2
Adds a test so that this is catched later. Closes https://github.com/mesonbuild/meson/issues/1937
2017-06-12Update versions for new development.Jussi Pakkanen4-6/+13
2017-06-12Updated version number for release.0.41.0Jussi Pakkanen6-6/+6
2017-06-12Merge pull request #1932 from centricular/fix-libpath-reorderingJussi Pakkanen8-4/+87
Preserve -L -l pairings fetched from external deps
2017-06-12tests/unit/8: Rename to 9 and add -l flagsNirbheek Chauhan5-4/+7
2017-06-12Created unit test to ensure linker arguments from consecutive dependencies ↵Jussi Pakkanen5-0/+53
are kept in order.
2017-06-12Preserve -L -l pairings fetched from external depsNirbheek Chauhan4-4/+31
While adding link args for external deps, sometimes different libraries come from different prefixes, and an older version of the same library might be present in other prefixes and we don't want to accidentally pick that up. For example: /usr/local/lib/libglib-2.0.so /usr/local/lib/pkgconfig/glib-2.0.pc /usr/local/lib/libz.so /usr/local/lib/pkgconfig/zlib.pc /home/mesonuser/.local/lib/libglib-2.0.so /home/mesonuser/.local/lib/pkgconfig/glib-2.0.pc PKG_CONFIG_PATH="/home/mesonuser/.local/lib/pkgconfig/:/usr/local/lib/pkgconfig/" If a target uses `dependencies : [glib_dep, zlib_dep]`, it will end up using /usr/local/lib/libglib-2.0.so instead of /home/mesonuser/.local/lib/libglib-2.0.so despite using the pkg-config file in /home/mesonuser/.local/lib/pkgconfig because we reorder the -L flag and separate it from the -l flag. With this change, external link arguments will be added to the compiler list without de-dup or reordering. Closes https://github.com/mesonbuild/meson/issues/1718
2017-06-12Merge pull request #1919 from fmuellner/masterJussi Pakkanen1-8/+8
gnome: Guard all cflags passed to g-ir-scanner
2017-06-11gnome: Guard all cflags passed to g-ir-scannerFlorian Müllner1-7/+6
While g-ir-scanner's compatible -I and -D flags cover what most dependencies use, there's no guarantee that a dependency's cflags don't include more exotic flags that conflict with the tool's own options. For a real world example, mozjs-38 has '-include some-header-file.h', which translates to '--include nclude another-file-to-scan.h' for the scanner; unless for some reason there's an 'nclude' GIR available on the system, the target will thus fail. For this purpose, g-ir-scanner allows explicitly marking some flags as preprocessor/compiler flags by guarding them with --cflags-begin and --cflags-end. Make sure it is used this for all cflags, not only for global and project flags.
2017-06-11gnome: Fix includedir cflagsFlorian Müllner1-1/+2
Include directories are passed with the -I flag to both the compiler and g-ir-scanner, not as input files.
2017-06-11Merge pull request #1927 from centricular/gir-rpath-linkJussi Pakkanen5-53/+76
Work around GNU ld bug with -rpath,$ORIGIN
2017-06-11Merge pull request #1900 from centricular/abstract-extdepsJussi Pakkanen24-454/+496
dependencies: Add a new class ExternalDependency
2017-06-11gnome: Don't assume that a C compiler is being usedNirbheek Chauhan1-6/+12
2017-06-11gnome: Work around GNU ld bug with -rpath,$ORIGINNirbheek Chauhan4-18/+35
g-ir-scanner doesn't understand -rpath, so we use -L instead which has the same effect. Closes https://github.com/mesonbuild/meson/issues/1911
2017-06-10tests: Make SDL2 compulsory now that it's in the CI imageNirbheek Chauhan1-5/+6
2017-06-10tests: Add Boost unit tests and project tests on WindowsNirbheek Chauhan4-6/+29
Boost tests are disabled on Windows for now because the detection is actually completely broken. Once that's fixed (after the release) we can enable it again.
2017-06-10compilers: Fix build_unix_rpath_args indentationNirbheek Chauhan1-29/+29
No code changes
2017-06-10tests: Increase dependencies coverage a bit moreNirbheek Chauhan4-10/+71
2017-06-09vs: Sometimes WindowsSDKVersion is unsetNirbheek Chauhan1-1/+3
https://ci.appveyor.com/project/jpakkane/meson/build/2871/job/ti4qpoptd5tk19sn
2017-06-09vs: Always check VSINSTALLDIR in case VisualStudioVersion is unsetNirbheek Chauhan1-17/+15
This happened on the CI, so it could happen on people's machines too: https://ci.appveyor.com/project/jpakkane/meson/build/2870/job/p2n70hg01vp3dkgl https://ci.appveyor.com/project/jpakkane/meson/build/2870/job/7ifh64mi1999guxt