summaryrefslogtreecommitdiff
path: root/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* wwan/modem-broadband: add capability to look up default APN/username/passwordlr/gsm-default-apnLubomir Rintel2019-09-111-0/+3
| | | | | This allows the GSM connection to Just Work most of the time, as in: "nmcli d connect ttyUSB0".
* release: bump version to 1.21.1-dev after 1.20.0 release1.21.1-devThomas Haller2019-08-061-1/+1
|\ | | | | | | | | | | | | | | | | | | After 1.20.0 is released, merge it back into master so that 1.20.0 is part of the history of master. That means, $ git log --first-parent master will also traverse 1.20.0 and 1.20-rc*. Also bump the micro version to 1.21.1-dev to indicate that this is after 1.20.0 is out.
| * release: bump version to 1.21.0 (development)1.21.0-devThomas Haller2019-07-291-1/+1
| |
* | release: bump version to 1.20.01.20.0Thomas Haller2019-08-061-1/+1
|/
* release: bump version to 1.19.90 (1.20-rc1)1.20-rc1Thomas Haller2019-07-291-1/+1
|
* systemd: merge branch systemd into masterBeniamino Galvani2019-07-051-3/+7
|
* release: bump version to 1.19.5-dev1.19.5-devLubomir Rintel2019-07-031-1/+1
|
* settings: drop ibft settings pluginth/drop-ibft-settings-pluginThomas Haller2019-06-201-8/+0
| | | | | | | | | | | | | | | The functionality of the ibft settings plugin is now handled by nm-initrd-generator. There is no need for it anymore, drop it. Note that ibft called iscsiadm, which requires CAP_SYS_ADMIN to work ([1]). We really want to drop this capability, so the current solution of a settings plugin (as it is implemented) is wrong. The solution instead is nm-initrd-generator. Also, on Fedora the ibft was disabled and probably on most other distributions as well. This was only used on RHEL. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1371201#c7
* release: bump version to 1.19.4-dev1.19.4-devLubomir Rintel2019-06-141-1/+1
|
* release: bump version to 1.19.3-dev1.19.3-devLubomir Rintel2019-06-041-1/+1
|
* build: disable "-Wunknown-pragmas" warningThomas Haller2019-05-291-0/+1
| | | | | | | | | | | | | | | | | | | | clang on CentOS 7.6 (3.4.2-9.el7) warns: CC clients/tui/newt/clients_tui_newt_libnmt_newt_a-nmt-newt-button.o In file included from ../clients/tui/newt/nmt-newt-button.c:26: In file included from ../shared/nm-default.h:280: ../shared/nm-glib-aux/nm-macros-internal.h:1617:2: error: unknown warning group -Wstringop-truncation, ignored [-Werror,-Wunknown-pragmas] NM_PRAGMA_WARNING_DISABLE ("-Wstringop-truncation"); ^ ../shared/nm-glib-aux/nm-macros-internal.h:419:9: note: expanded from macro NM_PRAGMA_WARNING_DISABLE _Pragma(_NM_PRAGMA_WARNING_DO(warning)) ^ <scratch space>:109:25: note: expanded from here GCC diagnostic ignored "-Wstringop-truncation" ^ This warning totally defeats the purpose of why we use the pragma in the first place.
* build: remove duplicate and unused RUNDIR defineThomas Haller2019-05-171-3/+1
|
* release: bump version to 1.19.2-dev1.19.2-devLubomir Rintel2019-05-031-1/+1
|
* release: bump version to 1.19.1-dev after 1.18.0 release1.19.1-devThomas Haller2019-04-211-45/+1
|\ | | | | | | | | | | | | | | | | | | After 1.18.0 is released, merge it back into master so that 1.18.0 is part of the history of master. That means, $ git log --first-parent master will also traverse 1.18.0 and 1.18-rc*. Also bump the micro version to 1.19.1-dev to indicate that this is after 1.18.0 is out.
| * build: drop HAVE_SYSTEMD defineLubomir Rintel2019-04-161-1/+0
| | | | | | | | | | | | It's unused. https://github.com/NetworkManager/NetworkManager/pull/346
| * build: drop HAVE_WIFI defineLubomir Rintel2019-04-161-1/+0
| | | | | | | | | | | | It's unused. https://github.com/NetworkManager/NetworkManager/pull/347
| * all: goodbye libnm-glibLubomir Rintel2019-04-161-37/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes libnm-glib, libnm-glib-vpn, and libnm-util for good. The it has been replaced with libnm since NetworkManager 1.0, disabled by default since 1.12 and no up-to-date distributions ship it for years now. Removing the libraries allows us to: * Remove the horrible hacks that were in place to deal with accidental use of both the new and old library in a single process. * Relief the translators of maintenance burden of similar yet different strings. * Get rid of known bad code without chances of ever getting fixed (libnm-glib/nm-object.c and libnm-glib/nm-object-cache.c) * Generally lower the footprint of the releases and our workspace If there are some really really legacy users; they can just build libnm-glib and friends from the NetworkManager-1.16 distribution. The D-Bus API is stable and old libnm-glib will keep working forever. https://github.com/NetworkManager/NetworkManager/pull/308
| * release: bump version to 1.19.0 (development)1.19.0-devThomas Haller2019-04-131-1/+1
| |
* | release: bump version to 1.18.01.18.0Thomas Haller2019-04-211-1/+1
| |
* | build/meson: skip building fake-typelib if gnome.compile_resources() too oldThomas Haller2019-04-191-0/+5
|/ | | | | | | | | | | Otherwise, the meson configure step fails with: libnm/fake-typelib/meson.build:23:0: ERROR: The "dependencies" argument of gnome.compile_resources() can not be used with the current version of glib-compile-resources due to <https://bugzilla.gnome.org/show_bug.cgi?id=774368> The fake-typelib is not really essential. Don't fix it, just print a warning that we are unable to build it.
* release: bump version to 1.17.90 (1.18-rc1)1.18-rc1Thomas Haller2019-04-131-1/+1
|
* build: disable eBPF by defaultThomas Haller2019-04-091-1/+2
| | | | | We have random failures to build on gitlab-ci. Something is wrong, at least, eBPF is not working reliably. Disable it for now.
* release: bump version to 1.17.3 (development)1.17.3-devLubomir Rintel2019-04-091-1/+1
|
* release: bump version to 1.17.2 (development)1.17.2-devLubomir Rintel2019-04-031-1/+1
|
* Revert "all: goodbye libnm-glib"Lubomir Rintel2019-04-031-0/+37
| | | | | | We need this for a little little longer :( This reverts commit 1de8383ad9fdfc8f552117e5d109bdfa7005634b.
* all: goodbye libnm-glibLubomir Rintel2019-03-191-37/+0
| | | | | | | | | | | | | | | | | | | | | | | This removes libnm-glib, libnm-glib-vpn, and libnm-util for good. The it has been replaced with libnm since NetworkManager 1.0, disabled by default since 1.12 and no up-to-date distributions ship it for years now. Removing the libraries allows us to: * Remove the horrible hacks that were in place to deal with accidental use of both the new and old library in a single process. * Relief the translators of maintenance burden of similar yet different strings. * Get rid of known bad code without chances of ever getting fixed (libnm-glib/nm-object.c and libnm-glib/nm-object-cache.c) * Generally lower the footprint of the releases and our workspace If there are some really really legacy users; they can just build libnm-glib and friends from the NetworkManager-1.16 distribution. The D-Bus API is stable and old libnm-glib will keep working forever. https://github.com/NetworkManager/NetworkManager/pull/308
* release: bump version to 1.17.1-dev after 1.16.0 release1.17.1-devThomas Haller2019-03-151-1/+1
|\ | | | | | | | | | | | | | | | | | | After 1.16.0 is released, merge it back into master so that 1.16.0 is part of the history of master. That means, $ git log --first-parent master will also traverse 1.16.0 and 1.16-rc*. Also bump the micro version to 1.17.1-dev to indicate that this is after 1.16.0 is out.
| * release: bump version to 1.17.0 (development)1.17.0-devThomas Haller2019-02-231-1/+1
| |
* | release: bump version to 1.16.01.16.0Thomas Haller2019-03-151-1/+1
| |
* | release: bump version to 1.15.91 (1.16-rc2)1.16-rc2Thomas Haller2019-03-111-1/+1
|/
* release: bump version to 1.15.90 (1.16-rc1)1.16-rc1Thomas Haller2019-02-231-1/+1
|
* build/meson: increase timeouts for some testsThomas Haller2019-02-231-0/+2
| | | | | | | | | | | | | | | | | | The defaults for test timeouts in meson is 30 seconds. That is not long enough when running $ NMTST_USE_VALGRIND=1 ninja -C build test Note that meson supports --timeout-multiplier, and automatically increases the timeout when running under valgrind. However, meson does not understand that we are running tests under valgrind via NMTST_USE_VALGRIND=1 environment variable. Timeouts are really not expected to be reached and are a mean of last resort. Hence, increasing the timeout to a large value is likely to have no effect or to fix test failures where the timeout was too rigid. It's unlikely that the test indeed hangs and the increase of timeout causes a unnecessary increase of waittime before aborting.
* build/meson: build with c_std=gnu11Thomas Haller2019-02-091-1/+1
| | | | | | For autotools, we already updated to C11 (gnu11) with commit 066357aa4766315fe9b9ed83f6cf16d9b87c6944 ("build: bump C standard to (gcc's) C11").
* build: re-enable "-Wmissing-braces" warningThomas Haller2019-02-081-1/+0
| | | | | | | We should always get the nesting in struct initializers right. Everyhing else is error-prone, and the warning is good. Enable it.
* build/meson: disable "-Wgnu-variable-sized-type-not-at-end warning"Thomas Haller2019-02-081-1/+2
| | | | | | | | | It's not useful for us. In file included from ../src/systemd/src/libsystemd/sd-event/sd-event.c:14: ../src/systemd/src/libsystemd/sd-event/event-source.h:195:36: error: field 'buffer' with variable sized type 'union inotify_event_buffer' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end] union inotify_event_buffer buffer; ^
* build/meson: always set SESSION_TRACKING_SYSTEMD defineThomas Haller2019-02-051-0/+2
| | | | | | | | | Like we do with autotools, otherwise we get a warning: [576/1030] Compiling C object src/25a6634@@NetworkManager@sta/nm-session-monitor.c.o. ../src/nm-session-monitor.c:31:5: warning: "SESSION_TRACKING_SYSTEMD" is not defined, evaluates to 0 [-Wundef] #if SESSION_TRACKING_SYSTEMD && SESSION_TRACKING_ELOGIND ^~~~~~~~~~~~~~~~~~~~~~~~
* build: fix building with LTOBeniamino Galvani2019-02-041-1/+10
| | | | | | | Building with link-time optimization requires some tricks explained in [1]. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200#c28
* release: bump version to 1.15.2 (development)1.15.2-devThomas Haller2019-01-221-1/+1
|
* build: meson: Remove unnecessary auxiliary variableIñigo Martínez2018-12-201-4/+2
| | | | | | | | The variable containing the list of compiler arguments to be checked can be removed without any harm to readibility. The variable has been removed by appending directly to the list of common compiler arguments, those that are supported.
* build: meson: Add trailing commasIñigo Martínez2018-12-201-10/+10
| | | | | | | Add missing trailing commas that avoids getting noise when another file/parameter is added and eases reviewing changes[0]. [0] https://gitlab.gnome.org/GNOME/dconf/merge_requests/11#note_291585
* build: meson: Use variables present in pkg-config filesIñigo Martínez2018-12-201-17/+6
| | | | | | | | | | | | | | | | | | | Although some paths related to DBus and PolicyKit are present in their pkg-config files, those paths might not be writable for the user. To solve this issue, some build options are present that can be used to choose a different location. However, usually these paths are relative to some other variables such as `prefix`, `datadir`, etc. Using the `define_variable` option the relative path can be change to point to a directory under prefix. These paths are now using relative paths based on the installation `prefix` and their related options have been removed as they are unnecessary now. Only `dbus_conf_dir` option has been left because it must be modified depending on the distribution[0]. [0] contrib/fedora/rpm/NetworkManager.spec
* build: meson: Remove polkit_dir optionIñigo Martínez2018-12-201-3/+1
| | | | | | | | | | | | meson is able to get variables defined in pkg-config files such as directory paths. PolicyKit defines in its pkg-config file the path to the directory where `policy` files are present. This removes the `polkit_dir` option to ease the move to start using those variables. The `polkit` variable has also been converted to boolean. Fedora spec script has also been updated accordingly.
* meson: correct libaudit not found messageSoapux2018-12-131-1/+1
| | | | | | libaudit support is disabled with 'no' instead of 'false' https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/63
* doc,all: fix spelling of Open vSwitch (instead of OpenVSwitch)Thomas Haller2018-11-281-2/+2
| | | | | | Also affects documentation and translated strings. Reported-by: Flavio Leitner <fbl@redhat.com>
* build: add configure check for having memfd_create() APIThomas Haller2018-10-251-0/+1
|
* build: meson: fix install scriptBeniamino Galvani2018-09-281-1/+1
| | | | | | Fix directory paths and modes. Fixes: 98b4a19a536ddb9f75611deaa272ae5661c5df4d
* build: meson: fix generation of api docsBeniamino Galvani2018-09-281-0/+1
| | | | | | | | | | We need to copy all introspection files to the same directory when building the documentation. Note that we only require Meson 0.44, but for the documentation at least 0.46 is needed because of a new functionality of gnome.gdbus_codegen(). In this way we can still build on Travis CI (without documentation).
* build: meson: ifcfg-rh plugin should not enable ibftBeniamino Galvani2018-09-281-1/+1
| | | | This is not the case with autotools.
* build: autodetect ebpf supportBeniamino Galvani2018-09-191-0/+13
|
* build: meson: GTK documentation requires introspectionBeniamino Galvani2018-09-191-3/+2
|