Closed arteymix closed 8 years ago
Since Meson require Python 3.4+, we cannot build on Ubuntu 12.04.
Ubuntu 12.04 is still supported until late 2017 (details here).
Some minor issues:
add_global_arguments(['-Wall',
You don't need this, Meson will add it for you (except when buildtype is plain, but this usually only happens on distro package builds where -Wall comes in from CFLAGS). Depending on your needs you might also want to increase the default warning level instead of adding extra warnings by hand.
The current spec file does not work the way you expect it to. You might want to swipe a working configure stanza from the sample rpmmacro we have.
@jpakkane actually, I suppress warnings that cannot be addressed in Vala
I did not see the RPM macros, it's always nice to have :+1: and for the flags, I simply copied what I had in the wscript
.
Now, I'm wondering how I will be able to build on the Copr. Do you backport fixes?
On the other hand, I think I will abandon the idea of running Meson on 12.04, because it just seem very difficult to overcome the dependencies.
The CI is kind of stuck at "Waiting for status to be reported", so I'll reopen the ticket..
@@ master #179 diff @@
=======================================
Files 27 23 -4
Lines 1027 986 -41
Methods 0 0
Branches 0 0
=======================================
- Hits 629 539 -90
- Misses 398 447 +49
Partials 0 0
src/valum
were deleted. moresrc
were deleted. moresrc/vsgi
were modified. more
+63
-55
src
were modified. more
+9
+49
Powered by Codecov. Last updated by 7b55ae8...220e353
I added a custom script for installing bindings and dependency files.
The 0.32 will introduce helpers to test dependency version and fix feature detection. This should cover the lua example as well.
From now on, we have to be careful because we are not building on minimal dependencies and there should be some check before releases.
The Docker build still have to be updated.
This PR migrate the build system to Meson.
There's a few blockers:
Requires
(in progress...)add_global_arguments
is broken for Vala (fix in progress...)./waf dist
--debug
with coverage (see https://github.com/mesonbuild/meson/pull/500)Upstream details here: https://github.com/mesonbuild/meson/issues/487