Commit graph

390 commits

Author SHA1 Message Date
Fernando Fernandez Mancera 09e822edba release: bump version to 1.51.2 (development) 2024-09-28 22:04:20 +02:00
Fernando Fernandez Mancera cfe5432de8 release: bump version to 1.51.1 (development) 2024-09-16 12:30:37 +02:00
Jan Vaclav 4db1829bc7 all: remove misc mentions of autotools in docs 2024-09-11 12:18:15 +00:00
Fernando Fernandez Mancera 851c411df0 release: bump version to 1.51.0 (development) 2024-08-30 14:21:27 +02:00
Fernando Fernandez Mancera 556231a5c9 release: bump version to 1.49.90 (1.50-rc1) 2024-08-30 14:14:15 +02:00
Lubomir Rintel 288ac99211 release: bump version to 1.49.6 (development) 2024-08-29 12:10:58 +02:00
Íñigo Huguet 63818a213b release: bump version to 1.49.5 (development) 2024-08-21 13:54:01 +02:00
Fernando Fernandez Mancera 24b8d6b662 release: bump version to 1.49.4 (development) 2024-08-09 16:35:10 +02:00
Lubomir Rintel ab3d9ea949 meson: state that ifcfg-rh is deprecated in config summary
It's been deprecated for some time, but it doesn't hurt to point it out.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1989
2024-07-31 11:57:29 +02:00
Fernando Fernandez Mancera 815505fc43 release: bump version to 1.49.3 (development) 2024-07-25 12:04:09 +02:00
Lubomir Rintel 001b3e9494 build/meson: deprecate dhclient
Make it off by default. Point out it's deprecated in a config summary.

It's not maintained upstream. There's probably not much justification for
using it any more and we'd like to remove it at some point.

https://issues.redhat.com/browse/RHEL-24622
2024-07-11 11:09:31 +02:00
Stanislas FAYE 71383394d5 release: bump version to 1.49.2 (development) 2024-07-05 13:33:24 +02:00
Beniamino Galvani 97324356cd release: bump version to 1.49.1 (development) 2024-06-21 15:24:07 +02:00
Lubomir Rintel 1852557a67 release: bump version to 1.48.0 2024-05-31 13:23:57 +02:00
Lubomir Rintel 4f05de07ad release: bump version to 1.47.91 (1.48-rc2) (development) 2024-05-16 21:52:50 +02:00
Fernando Fernandez Mancera d8c4e70533 release: bump version to 1.49.0 (development) 2024-05-03 18:12:46 +02:00
Fernando Fernandez Mancera 8be0ba422d release: bump version to 1.47.90 (1.48-rc1) 2024-05-03 18:07:22 +02:00
Íñigo Huguet 92e19b01ac release: bump version to 1.47.5 (development) 2024-04-19 08:19:10 +02:00
Jan Vaclav e42ef92bfa meson: add runtime_dir option
Adds a runtime_dir option to the meson options, which allows the user to
specify the run directory when building. This commit also changes it so
that `/run` is set as the default run directory if building with /usr prefix.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1919
2024-04-15 15:03:35 +02:00
Fernando Fernandez Mancera 628371423b release: bump version to 1.47.4 (development) 2024-04-05 10:21:39 +02:00
Íñigo Huguet ded7b78a7b meson: remove version checks for old versions
We now only support meson >= 0.51, as it is defined in
project(..., meson_version: '>= 0.51.0').

Remove checks for versions older than that.
2024-04-04 08:13:38 +00:00
Íñigo Huguet ef2438414f meson: remove deprecated ExternalProgram.path
Replaced by full_path:
https://mesonbuild.com/Reference-manual_returned_external_program.html#external_programpath

ExternalProgram.full_path was added in meson 0.55 but we support meson
>= 0.51. Because of that, use path or full_path conditionally depending
on the meson version.

This gets rid of the following deprecation warning:
  NOTICE: Future-deprecated features used:
   * 0.48.0: {'module python3'}
   * 0.55.0: {'ExternalProgram.path'}
2024-04-04 08:13:38 +00:00
Íñigo Huguet 3b72f19694 meson: replace deprecated meson.source_root
Instead, meson.current_source_root or meson.project_source_root should
be used:
https://mesonbuild.com/Reference-manual_builtin_meson.html#mesonsource_root

Also, the documentation referenced above suggest to use `files()` as a
better alternative to refer to files, so do that at the same time.

This gets rid of the deprecation warning:
  NOTICE: Future-deprecated features used:
   * 0.56.0: {'meson.source_root'}
2024-04-04 08:13:38 +00:00
Íñigo Huguet 07f463bc94 meson: replace deprecated dep.get_pkgconfig_variable
Replaced by dep.get_variable:
https://mesonbuild.com/Reference-manual_returned_dep.html#depget_variable

This get rid of the following deprecation warning:
  NOTICE: Future-deprecated features used:
   * 0.56.0: {'dependency.get_pkgconfig_variable'}
2024-04-04 08:13:38 +00:00
Íñigo Huguet 9158f4165f meson: replace deprecated module 'python3'
Replaced by 'python' module:
https://mesonbuild.com/Python-3-module.html.

This get rids of the following deprecation warning:
  NOTICE: Future-deprecated features used:
   * 0.48.0: {'module python3'}
2024-04-04 08:13:38 +00:00
Íñigo Huguet 9d9e5bd6c1 meson: bump minimum version to 0.51
We were already using some features from 0.49:
 WARNING: Project specifies a minimum meson_version '>= 0.47.2' but uses features which were added in newer versions:
 * 0.48.0: {'meson.add_dist_script'}
 * 0.49.0: {'Calling "add_dist_script" with multiple arguments'}

Debian 10 uses meson 0.49.2, but it will get out of support in 2 months
so we can start considering it as a too old version. Next oldest meson
version used by the distros that we follow is Ubuntu 20.04 with meson
0.53.2.

Raise to 0.51 as it is supported by all the distros that we test (except
Debian 10) and it contains all the features that we need for the next
commits.
2024-04-04 08:13:38 +00:00
Íñigo Huguet f57513097f meson: autodetect Qt dependencies
Configuring the build directory with meson often fails if you don't have
the right Qt dependencies. As they are used only to build some examples,
it is better to autodetect them and, if present, then build the
examples but skip them otherwise.

Still accept forcing qt=true or qt=false as before.

Note that there is a option type called "feature" whose purpose is to
support exactly this: features with enable/disable/auto possible values:
https://mesonbuild.com/Build-options.html#features.  However, they don't
accept true/false values so scripts using qt=true/false would start
failing. Since meson 0.60 the "deprecated" argument can be used for
options (https://mesonbuild.com/Build-options.html#deprecated-options),
but that's a too new version of meson.

Also, this fixes some Gitlab-CI failures that happen when generating the
tarball with make distcheck or meson dist. This is because it tries to
check that the tarball content can be configured and built, but it uses
the default configurations so it was using qt=yes. Now it will use
qt=auto, avoiding the failure.

Fixes: 61f0531509 ('gitlab-ci: test re-buildability of distribution tarballs')
2024-04-02 12:58:26 +00:00
Gris Ge 666dd2840a release: bump version to 1.47.3 (development) 2024-03-22 16:28:21 +08:00
Yegor Yefremov 76fd8f6775 build: use only booleans in a set10 method
Fixes the following deprecation warning:

meson.build:585: DEPRECATION: configuration_data.set10
with number. the `set10` method should only be used with booleans
2024-03-20 17:27:16 +00:00
Íñigo Huguet f3f2f49580 release: bump version to 1.47.2 (development) 2024-03-08 10:31:14 +01:00
Fernando Fernandez Mancera 05ef682bb5 power: remove monitoring of upower signals
UPower "Sleeping" and "Resuming" signals were dropped long ago [1].
Therefore we are also dropping the support of it.

[1] https://lists.freedesktop.org/archives/devkit-devel/2014-March/001575.html
2024-03-04 18:29:07 +01:00
Yegor Yefremov be872e193e build: specify run_command semantics
"check" argument will change its default value to "true" in the future
versions. Hence, set it explicitly to "false", to preserve current
semantics.

Fixes the following warning:

WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300
2024-03-01 07:46:32 +00:00
Yegor Yefremov b864eb2eb3 build: rework -Wall and -Wextra declaration
Use warning_level instead of defining -Wall and -Wextra explicitly.

Fixes the following warning:

meson.build:235: WARNING: Consider using the built-in warning_level
option instead of using "-Wall".
2024-03-01 07:45:42 +00:00
Stanislas FAYE 9920a4b576 release: bump version to 1.47.1 (development) 2024-02-26 15:38:17 +01:00
Stanislas FAYE e39f48a30a release: bump version to 1.46.0 2024-02-22 16:08:57 +01:00
Íñigo Huguet 8776409483 release: bump version to 1.45.91 (1.46-rc2) (development) 2024-02-09 15:41:49 +01:00
Stanislas FAYE c3acd38645 release: bump version to 1.47.0 (development) 2024-01-25 01:27:55 +01:00
Stanislas FAYE ee21ca8743 release: bump version to 1.45.90 (1.46-rc1) 2024-01-25 01:16:53 +01:00
Jan Vaclav 1c41066a40 build: include documentation in meson dist
Previously, the tarball generated by `meson dist` did not contain the
autogenerated documentation due to the way meson works (packaging the
latest revision control commit). This introduces a dist script which
builds & copies the generated documentation into the distribution
tarball.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1811
2024-01-17 12:39:46 +00:00
Stanislas FAYE 1730ceda70
release: bump version to 1.45.10 (development) 2024-01-15 16:02:07 +01:00
Ján Václav 9593651b50 release: bump version to 1.45.9 (development) 2023-12-14 11:49:45 +01:00
Thomas Haller b749c01091
build: bump dependency to glib-2.42
glib-2.42 brings G_PARAM_EXPLICIT_NOTIFY, which is interesting to use.

2.42.0 was released 2014-09-22, so it's very old. Bump from 2.40 to
2.42.0.
2023-12-11 12:43:31 +01:00
Beniamino Galvani 0f626a5ede release: bump version to 1.45.8 (development) 2023-11-29 14:27:20 +01:00
Íñigo Huguet 83a1ce39b0 release: bump version to 1.45.7 (development) 2023-11-16 11:37:32 +01:00
Michael Biebl 886cd58658 build: assume we have at least systemd v200
systemd v200 was released over 10 years ago.
It is thus reasonable to no longer support versions older than that and
simplify the build system a bit.
2023-11-03 07:19:08 +00:00
Beniamino Galvani d12a882845 release: bump version to 1.45.6 (development) 2023-11-01 18:24:55 +01:00
Íñigo Huguet 94ead251de release: bump version to 1.45.5 (development) 2023-10-18 11:06:37 +02:00
Beniamino Galvani 9b0b28acf7 release: bump version to 1.45.4 (development) 2023-10-04 14:54:57 +02:00
Beniamino Galvani 07b46b7873 release: bump version to 1.45.3 (development) 2023-09-22 13:58:50 +02:00
Beniamino Galvani 7a0d3f53fa release: bump version to 1.45.2 (development) 2023-09-06 14:53:48 +02:00