| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
libaudit support is disabled with 'no' instead of 'false'
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/63
|
|
|
|
|
|
| |
Also affects documentation and translated strings.
Reported-by: Flavio Leitner <fbl@redhat.com>
|
| |
|
|
|
|
|
|
| |
Fix directory paths and modes.
Fixes: 98b4a19a536ddb9f75611deaa272ae5661c5df4d
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
This is not the case with autotools.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Turn the vapi option into a combo that allows autodetection and check
whether all prerequisites are satisfied (including introspection
support) when vapi is explicitly enabled.
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/28
|
|
|
|
|
|
|
| |
Adapt the meson post-installation script to handle the $DESTDIR
variable supplied by user to specify the installation target
directory. While at it, convert the script to shell because it seems
simpler to me.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After 1.14.0 is released, merge it back into master so that
1.14.0 is part of the history of master. That means,
$ git log --first-parent master
will also traverse 1.14.0 and 1.14-rc*.
Also bump the micro version to 1.15.1-dev to indicate that this is
after 1.14.0 is out.
|
| |
| |
| |
| |
| | |
Rename the define for consistency, since the configure option is named
'dnssec-trigger'.
|
| |
| |
| |
| |
| |
| | |
Reported-by: Michael Biebl <biebl@debian.org>
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/25
|
| |
| |
| |
| | |
Reported-by: Michael Biebl <biebl@debian.org>
|
| |
| |
| |
| | |
Handle all rc managers paths through the same code.
|
| |
| |
| |
| | |
Handle all dhcp client paths through the same code.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Some path variable like $(bindir), $(datadir), etc. are special for
autotools and must be handled separately through config-extra.h.
But dhcp path variables are just normal variables defined through
the configure script and should go into config.h.
|
| |
| |
| |
| |
| | |
dhcpcd version 6, the first supporting IPv6, was released more than 5
years ago. Remove all checks on version number and IPv6 support.
|
| |
| |
| |
| |
| |
| |
| | |
dhclient 4.0 was released more than 10 years ago. I think it is
reasonable to expect that nobody is using an older version today.
https://source.isc.org/cgi-bin/gitweb.cgi?p=dhcp.git;a=shortlog;h=refs/tags/v4_0_0
|
| |
| |
| |
| | |
Allow specifying a non-existent path.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Handle the iptables, dnsmasq and dnssec-trigger paths in the same way
through common code.
The path set by user must be accepted as is, even if does not exist,
because this is a requirement for cross-compilation. When user does
not specify a path, search a predefined set of paths and fall back to
an hardcoded one.
|
| |
| |
| |
| | |
Use an `if` to keep line length down.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Rename the define for consistency, since the configure option is named
'dnssec-trigger'.
(cherry picked from commit 8e776955ee53b80536f017d2c5bbfc7c9a7b0f10)
|
| |
| |
| |
| |
| |
| |
| | |
Reported-by: Michael Biebl <biebl@debian.org>
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/25
(cherry picked from commit ff837b2686cf8f88bbdb95b2ddd8efd7fc9f809e)
|
| |
| |
| |
| |
| | |
Reported-by: Michael Biebl <biebl@debian.org>
(cherry picked from commit 8c77ca1a6dc87c70c7c61e442accf7fdd2f5d063)
|
| |
| |
| |
| |
| |
| | |
Handle all rc managers paths through the same code.
(cherry picked from commit 2fd7559819c2de392d6964cacc0032d2066d0d6e)
|
| |
| |
| |
| |
| |
| | |
Handle all dhcp client paths through the same code.
(cherry picked from commit 36b0e46146ec7f67acb365e83e306d781f198d1c)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some path variable like $(bindir), $(datadir), etc. are special for
autotools and must be handled separately through config-extra.h.
But dhcp path variables are just normal variables defined through
the configure script and should go into config.h.
(cherry picked from commit 087c367d626a4c5b58dae5bc11670f3ab34b0e44)
|
| |
| |
| |
| |
| |
| |
| | |
dhcpcd version 6, the first supporting IPv6, was released more than 5
years ago. Remove all checks on version number and IPv6 support.
(cherry picked from commit e0c49d7341a0329e2c40e25fee5d3ce249f5ebe6)
|
| |
| |
| |
| |
| |
| |
| |
| | |
dhclient 4.0 was released more than 10 years ago. I think it is
reasonable to expect that nobody is using an older version today.
https://source.isc.org/cgi-bin/gitweb.cgi?p=dhcp.git;a=shortlog;h=refs/tags/v4_0_0
(cherry picked from commit 9e61ea70402b5d8140de512bdcf84252fcb0d11c)
|
| |
| |
| |
| |
| |
| | |
Allow specifying a non-existent path.
(cherry picked from commit 794e499ab8b8825d9794d7c2e320b10909fc3ba3)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Handle the iptables, dnsmasq and dnssec-trigger paths in the same way
through common code.
The path set by user must be accepted as is, even if does not exist,
because this is a requirement for cross-compilation. When user does
not specify a path, search a predefined set of paths and fall back to
an hardcoded one.
(cherry picked from commit 220dea0948a22dfbdddb91ed76a23ae20d2c5810)
|
|/
|
|
|
|
| |
Use an `if` to keep line length down.
(cherry picked from commit 5b042b16ca19931df887709570b13a4dada374ba)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the library is available, let's at least compile both
crypto backends.
That is helpful when developing on crypto backends, so that
one does not have to configure the build twice.
With autotools, the build is only run during `make check`.
Not for meson, but that is generally the case with our meson
setup, that it also builds tests during the regular build step.
|
|
|
|
|
|
| |
suspend-resume must be selectable, out of for possible options.
We can do auto-detection based on present libraries, but it
shall be selectable. Like it is with autotools.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- always define the SESSION_TRACKING_* defines to replace
"#ifdef" with "#if".
- drop defining the consolekit database path CKDB_PATH in
config.h. The path was not customizable via configure/meson.
- fix meson build to enable consolekit support for session tracking
without also enabling logind/elogind session tracking.
logind/elogind is mutually exclusive, but consolekit session tracking
goes together just fine.
|
|
|
|
|
|
|
|
| |
meson.build:897:15: ERROR: Unknown variable "pppd_plugin_dir".
Fixes: a75ab799e4f6b9c5d6f298ad7c1899ae21726a48
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/7
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
via CFLAGS
1) the command line gets shorter. I frequently run `make V=1` to see
the command line arguments for the compiler, and there is a lot
of noise.
2) define each of these variables at one place. This makes it easy
to verify that for all compilation units, a particular
define has the same value. Previously that was not obvious or
even not the case (see commit e5d1a71396e107d1909744d26ad401f206c0c915
and commit d63cf1ef2faba57595112a82e962b9643cce4718).
The point is to avoid redundancy.
3) not all compilation units need all defines. In fact, most modules
would only need a few of these defines. We aimed to pass the necessary
minium of defines to each compilation unit, but that was non-obvious
to get right and often we set a define that wasn't used. See for example
"src_settings_plugins_ibft_cppflags" which needlessly had "-DSYSCONFDIR".
This question is now entirely avoided by just defining all variables in
a header. We don't care to find the minimum, because every component
gets anyway all defines from the header.
4) this also avoids the situation, where a module that previously did
not use a particular define gets modified to require it. Previously,
that would have required to identify the missing define, and add
it to the CFLAGS of the complation unit. Since every compilation
now includes "config-extra.h", all defines are available everywhere.
5) the fact that each define is now available in all compilation units
could be perceived as a downside. But it isn't, because these defines
should have a unique name and one specific value. Defining the same
name with different values, or refer to the same value by different
names is a bug, not a desirable feature. Since these defines should
be unique accross the entire tree, there is no problem in providing
them to every compilation unit.
6) the reason why we generate "config-extra.h" this way, instead of using
AC_DEFINE() in configure.ac, is due to the particular handling of
autoconf for directory variables. See [1].
With meson, it would be trivial to put them into "config.h.meson".
While that is not easy with autoconf, the "config-extra.h" workaround
seems still preferable to me.
[1] https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Installation-Directory-Variables.html
|
|
|
|
|
|
|
| |
configure.ac defines it just like it defines other PATH variables
for use with nm_utils_find_helper. Meson for some reason did not.
https://bugzilla.gnome.org/show_bug.cgi?id=796752
|