Jussi Pakkanen
4ef495c596
Do not warn about non-utf8 locales on Windows.
8 years ago
Patrick Griffis
4c74b47cfd
mesontest: Fix exception
8 years ago
Jussi Pakkanen
f62f730821
Merge pull request #1126 from mesonbuild/sharedmodule
...
Support for shared modules
8 years ago
Nirbheek Chauhan
f5a9b3b249
Fix shared module support on Windows
...
Unlike Linux and OS X, when a library is loaded, all the symbols aren't
loaded into a single namespace. You must fetch the symbol by iterating over
all loaded modules.
So, we shouldn't use /FORCE:UNRESOLVED since that is not what modules do
on Windows. Instead, we now do exactly what GModule does on Windows.
Also use `void` for functions that take no arguments.
8 years ago
Jussi Pakkanen
dc1f537fb3
Skip shared module test on VS because it fails for some reason nobody understands.
8 years ago
Jussi Pakkanen
344231d336
Only build master on pushes.
8 years ago
Jussi Pakkanen
eba3a7ed60
Fix compiler arg checking if ccache is used.
8 years ago
Nirbheek Chauhan
2897b7d3b0
syntax-highlighting: Update list of builtin functions
...
Also put them on one line each for easy updates.
8 years ago
Jussi Pakkanen
d1501e39d5
Merge pull request #1086 from Keruspe/master
...
Allow specifying some toolchain executables using env
8 years ago
Jussi Pakkanen
c58da4ee52
Merge pull request #1151 from mesonbuild/tingping/gtk-doc
...
gnome: Various improvements to gtkdoc
8 years ago
Jussi Pakkanen
148a86330b
Merge pull request #1149 from centricular/compiler_check_ext_deps_only
...
Compiler checks can only accept external dependencies
8 years ago
Jussi Pakkanen
59fdb1b9ff
Add unresolved symbol arg to link line in VS backends. For some
...
reason VS does not pick it up even though it is visible in the linker
option box.
8 years ago
Patrick Griffis
e265887ac3
gnome.gtkdoc(): Add keyword to override the mode
...
I'm not entirely sure if you ever want to mix and match but
I can say that glib required none of them to be passed so
this allows for that.
8 years ago
Nirbheek Chauhan
b9a7c0cf39
misc: Use relative imports everywhere
...
Using 'mesonbuild' as the module can cause it to use the
system-installed module and can also break if we rename the directory,
so avoid that by always using relative imports.
8 years ago
Nirbheek Chauhan
7b8f41ce31
Compiler checks can only accept external dependencies
...
This is already how it should've been, but:
a) The test for this was wrong since Dependency is a base class for all
dependencies and isinstance on an InternalDependency will also be true
b) Internal dependencies can't ever be used here anyway because compiler
checks are always run at configure time and internal dependencies are
only built after that.
8 years ago
Jussi Pakkanen
541dd92ef7
Merge pull request #1145 from AlexandreFoley/wrap-fix
...
build regeneration can update wrap-git and wrap-hg in some cases.
8 years ago
Patrick Griffis
155617e539
i18n: Improve language handling
...
- Fix LINGUAS changes not being picked up
- Fix multiple langs per line in LINGUAS
- Make empty languages acceptable
Fixes #1127
8 years ago
Jussi Pakkanen
b28da68faf
Expose project information with mesonintrospect. Closes #1118 .
8 years ago
Nirbheek Chauhan
c7a2664cb7
Better error when passing invalid objects to install_header
...
This will print the object type when you pass a generated file to
install_header instead of printing an assert.
8 years ago
Igor Gnatenko
c9818c02ec
add builtin support for localstatedir
...
Reported-by: Richard Hughes <richard@hughsie.com>
Closes: https://github.com/mesonbuild/meson/issues/1142
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
8 years ago
Jussi Pakkanen
66ed54a94e
Merge pull request #1144 from valum-framework/always-add-version-in-pkg-config
...
pkgconfig: 'Version' must be specified, even if it's empty
8 years ago
Patrick Griffis
d764c7dc91
gnome.gtkdoc(): Add namespace keyword
8 years ago
Jussi Pakkanen
228a9035af
Merge pull request #1103 from mesonbuild/rewriter
...
Beginnings of a rewriter
8 years ago
Alexandre Foley
27cd8c1e28
The “directory present and not empty” return condition was necessary for subproject to work without a wrap file. Put it back with that added condition that there mustn’t be a wrap file present for returning the package immediately.
8 years ago
Patrick Griffis
a626d1a7bc
gnome.gtkdoc(): Allow passing multiple source dirs
...
This is valid and used by glib for example.
8 years ago
Patrick Griffis
9b560c29b6
gnome.gtkdoc(): Fix including doc source dir in path
8 years ago
Alexandre Foley
61d5934e63
Added a few missing whitespace as noted by Ignatenkobrain. Replaced a comment by the piece of code it said was needed.
8 years ago
Guillaume Poirier-Morency
ff55e848f6
pkgconfig: Raise an error if 'version' is not specified
8 years ago
Alexandre Foley
228adaa287
Wrap.py: Made it so using an already downloaded subproject is only for the wrap-file case. Git and Mercurial can update the repository if it the wrap is one.
...
Also did a bit of cleanup.
interpreter.py: There’s a catch all except clause at the line 1928, it didn’t give the user any information whatsoever about the exception it caught. Now it at least print it to the log as a warning.
8 years ago
Guillaume Poirier-Morency
6389e70c11
pkgconfig: 'Version' must be specified, even if it's empty
8 years ago
Marc-Antoine Perennou
e43dda1363
add myself to authors.txt
...
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8 years ago
Marc-Antoine Perennou
a70f39f815
allow overriding nm with NM
...
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8 years ago
Marc-Antoine Perennou
4d3cce1532
allow overriding readelf with READELF
...
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8 years ago
Marc-Antoine Perennou
bb3b45a0ec
gnome: use PkgConfigDependency to find gobject-introspection cflags
...
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8 years ago
Marc-Antoine Perennou
6d1b6de6b0
dependencies: allow overriding pkg-config with PKG_CONFIG when setting pkgbin
...
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8 years ago
Marc-Antoine Perennou
e9b2084592
dependencies: allow overriding pkg-config with PKG_CONFIG in check_pkgconfig
...
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8 years ago
Jussi Pakkanen
b54fc1d00e
Apply magical flags to make OSX ignore missing symbols in plugins.
8 years ago
Jussi Pakkanen
14ca7d602c
Store subdir information for each node so we can remove files set in other subdirectories.
8 years ago
Jussi Pakkanen
6aa24362cd
Use copytree to prepare for further tests.
8 years ago
Nirbheek Chauhan
f3bd0d1491
tests/linuxlike/1: Improve zlib pkg-config test
...
Just checking that the version retrieved from the pkg-config file
matches is not enough. It's nearly tautological since it just checks
that we aren't returning garbage in dep.version(). Instead, check in the
test executable that the pkg-config version retrieved matches the
ZLIB_VERSION exported by zlib.
Also don't require zlib 1.2.8 since RHEL (EPEL) 7 still has 1.2.7 and we
don't really need 1.2.8 anyway.
8 years ago
Jussi Pakkanen
0c22b8f707
Renamed dirs to plug holes in numbering.
8 years ago
Jussi Pakkanen
fa30aa746e
Rewriter is not polished so print a warning.
8 years ago
Jussi Pakkanen
90b038383d
Renamed rewriter.
8 years ago
Jussi Pakkanen
2168860a1e
Added unit test for rewriter.
8 years ago
Jussi Pakkanen
4d2a2802b5
Pass --no-rebuild arg when running inprocess to prevent Ninja vomit.
8 years ago
Jussi Pakkanen
ecb882cd4f
Print readelf output if soversion can not be determined to help debugging.
8 years ago
Thibault Saunier
9c0997dafd
gnome: Use g-ir-scanner --extra-library option when avalaible
...
When generating the .gir file we need g-ir-scanner to link the
introspector binary against the right dependencies, for that
we used to use the --library option but this has a special meaning
and the libs passed in there end up being the ones in the .gir file
itself, which is not what we want.
A new --extra-library option is beeing added in goject-introspection
(https://bugzilla.gnome.org/show_bug.cgi?id=774625 ) to handle our use case
(ie. not using libtool which allows g-ir-scanner to know about those)
and we should make use of it.
Closes #981
8 years ago
Jussi Pakkanen
8e8f75005d
Merge pull request #1076 from mesonbuild/tingping/gresource-export
...
gnome.compile_resources(): Add export and install_header kwargs
8 years ago
Thibault Saunier
10e2b9bca0
mesontest: Rebuild all before running tests
...
Only supporting ninja backend for now.
8 years ago
Jussi Pakkanen
424ac801e1
Merge pull request #1108 from centricular/fix-optimization-flags-order
...
Fix optimization flags order
8 years ago