Commit graph

14 commits

Author SHA1 Message Date
Iñigo Martínez 50930ed19a meson: Use string variables extensively
The strings holding the names used for libraries have also been
moved to different variables. This way they would be less error
as these variables can be reused easily and any typing error
would be quickly detected.
2018-01-10 12:22:55 +01:00
Iñigo Martínez 03637ad8b5 build: add initial support for meson build system
meson is a build system focused on speed an ease of use, which
helps speeding up the software development. This patch adds meson
support along autotools.

[thaller@redhat.com: rebased patch and adjusted for iwd support]

https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00022.html
2017-12-13 15:48:50 +01:00
Thomas Haller 0fa2cf19e5 vapi: add vapi NM-1.0 for libnm
Initial vala API for libnm. Consider it unstable, it probably needs
improvements.

https://bugzilla.gnome.org/show_bug.cgi?id=773588
2016-11-03 10:15:42 +01:00
Thomas Haller 14b5309af3 build: merge "vapi/Makefile.am" into toplevel Makefile
There is an strange automake warning

    Makefile.vapigen:49: warning: $(1) was already defined in condition TRUE, which includes condition ENABLE_VAPIGEN ...
    Makefile.am:4:   'Makefile.vapigen' included from here
    Makefile.glib:124: ... '$(1)' previously defined here
    Makefile.am:1:   'Makefile.glib' included from here

when having

    if ENABLE_VAPIGEN
    include Makefile.vapigen
    endif

That is worked around by removing the "if", which however
requires us to remove the error check in Makefile.vapigen.
2016-10-21 17:37:57 +02:00
Dan Winship 753e81d21f build: make libnm-util/libnm-glib optional
Add --without-libnm-glib, for people who don't want to build the
legacy client libraries. When building with this option, dbus-glib and
libdbus are not required.
2015-08-10 09:41:26 -04:00
Dan Williams 091daaa60e vapi: add some missing device and setting types 2015-01-23 15:36:55 -06:00
David Lechner 7f2afbbcdc vapi: add bindings for new_async methods (bgo #732253)
https://bugzilla.gnome.org/show_bug.cgi?id=732253
2014-07-16 17:11:02 -05:00
Thomas Haller 97c7cc8b94 build: unset G_DEBUG variable before calling vapigen
Defining G_DEBUG=fatal-warnings is useful for debugging, but it causes
the build to fail due to asserts during vapigen.

Unset G_DEBUG before calling vapigen.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-07-08 16:26:14 +02:00
Dan Williams f5f76dfd74 build: fix Vala bindings build and distcheck
Didn't handle srcdir != builddir and got installed without PREFIX.
2013-03-12 14:27:31 -05:00
Colin Walters 77264eb682 build: various srcdir != builddir fixes 2012-10-30 12:24:26 -05:00
Ryan Lortie aa72d272ef build: declare dependency between vapi files (bgo #680374)
Unbreak 'make -j' by declaring the dependency that exists between the
two generated vapi files (forcing building of the second one to wait
until after the first one has been built).

https://bugzilla.gnome.org/show_bug.cgi?id=680374
2012-07-23 10:15:00 +02:00
Craig Keogh c113ee03a5 libnm-glib: specify --girdir to vapigen (bgo #678743) 2012-07-02 11:45:21 -05:00
Alberto Ruiz 9f9d439faf vala: include local copy of Makefile.vapigen instead of the global one 2012-06-13 13:07:33 -05:00
Alberto Ruiz b1e1ee79bd vala: add vala bindings for libnm-util and libnm-glib
This patch adds the autotools facilities to generate vapi files so that
libnm-util and libnm-glib can be consumed from Vala.

It depends on vapigen and it is a soft dependency.
2012-06-12 16:31:20 -05:00