Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
Different options are set as `feature` but this may cause confusion.
They have been made `boolean`.
In order to always build man documentation, `help2man` is also
installed in the CI builds.
(cherry picked from commit 0b29792fa12fccb1b7f0c455225b646b82fdf24e)
|
|
When cross-compiling, the compiled binaries cannot be run on the build
machine, unless one defines a helper (e.g. qemu) in the meson
configuration, which is most of the time undesirable.
If help2man is installed on the build machine, then the build would fail
because of this, so add an option to disable generating the man pages.
With later versions of meson, it will be possible to automatically
detect this condition.
Based on the same fix done in libmbim by Nicolas Cavallari, see
https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/commit/792af73ea90e9689703ab526dd444fdb1c2f8e40
Fixes https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/issues/75
(cherry picked from commit 295b75e9c8dc895e281e36b1e8121d09fd556af0)
|
|
At the moment, to enable rmnet the `ifla_rmnet_flags` struct is
checked in `if_link.h` header. However, this is not necessary
because `libqmi` already includes the `if_link_rmnet.h` header.
The unnecessary check has been removed.
Refs !292
(cherry picked from commit 653b3b847d451d1ce6657ab5b628be1540ce2575)
|
|
The option is only used to set the `MM_RUNTIME_CHECK_ENABLED` define
so there is no need to have a variable for it.
The option is used directly and the linked variable has been
removed.
(cherry picked from commit 6a9c6bd9f5bf155c045b33b39f751a2713b9f1b1)
|
|
Since meson 0.47, there is support for features build options[0] that
can be enabled automatically if the system has the required support.
This feature has been used for some options that fit properly for
their needs.
The setup of the CI builds have also been apropiately updated.
[0] https://mesonbuild.com/Release-notes-for-0-47-0.html#new-type-of-build-option-for-features
(cherry picked from commit 187f86c17fab8dcd7e816e425f366f298f3a8917)
|
|
A new variable called `qmi_name` has been created to avoid the call
to a function inside the meson object.
(cherry picked from commit 1c9ca122087a6ae805258c38ef632c510de55267)
|
|
meson's test function already sets the `MALLOC_PERTURB_` environment
variable[0], so there is no need to set it.
[0] https://mesonbuild.com/Reference-manual.html#test
(cherry picked from commit 44b309f202a0abfad19300f0681faa64ea3124a1)
|
|
meson gained the dictionaries as builtin objects[0] that can be
modified with the addition operator[1] and can be useful when
setting configuration or even environment values[2].
The individual object creation has been replaced by dictionaries
when possible.
[0] http://mesonbuild.com/Release-notes-for-0-47-0.html#new-builtin-object-type-dictionary
[1] https://mesonbuild.com/Release-notes-for-0-48-0.html#dictionary-addition
[2] https://mesonbuild.com/Release-notes-for-0-52-0.html#support-taking-environment-values-from-a-dictionary
(cherry picked from commit 3831932228c2271d722ac9785f2dc4a6c8d88686)
|
|
meson is able to process or discard a directory based on a
dependency object based on if it is found or not[0].
The `man` directory depends on the `help2man` program so it has been
changed to take advantage of this feature.
[0] https://mesonbuild.com/Release-notes-for-0-44-0.html#added-if_found-to-subdir
(cherry picked from commit 34cc1b10fef443fc8e1fe80adfc819f2d262308d)
|
|
Since meson 0.49, the `/` character can be used to join paths[0], so
all the instances of `join_paths` have been replaced.
[0] http://mesonbuild.com/Release-notes-for-0-49-0.html#joining-paths-with-
(cherry picked from commit 7fe355d4bfc36ba947843080f4e212349153c9fd)
|
|
Since meson 0.53, it has added a new function to summarize the build
configuration[0].
The summary has been changed to make use of it.
meson version has been bumped to 0.53.
[0] https://mesonbuild.com/Release-notes-for-0-53-0.html#add-a-new-summary-function
(cherry picked from commit ba4c55e09eb9901acf1169c0238ae1bfafdb8e98)
|
|
Since 0.48 version of meson, there is a new generic `python` module
and the previous `python3` module has been deprecated[0].
The use of the `python3` module has been replaced by this new
`python` module.
meson version has been bumped to 0.48.
CI has also been updated to have this meson version available.
[0] https://mesonbuild.com/Release-notes-for-0-48-0.html#python3-module-is-deprecated
(cherry picked from commit a4657004d50688e8c761abf1876210214e8e0082)
|
|
|
|
|
|
Using -Dintrospection=false would actually not disable it. There is no
longer an "auto" option for the introspection support, it will be
either enabled or disabled depending on what the user asks
for (default enabled).
(cherry picked from commit bfb066419f288764edbade1e27e93a5dda59a5f4)
|
|
|
|
|
|
When the message collection is not fully built, the necessary
symbols are not available for `gtkdoc-scan`.
`full` option is forced in configure time.
|
|
There is no such license as GPL-2 in the SPDX nomenclature. As
the project is licensed under GNU General Public License v2.0
or later, use the related identifier GPL-2.0-or-later.
|
|
`qmicli` provides a bash-completion file. To install this file
`bash-completion`'s pkg-file is checked to set the proper
installation directory.
This has been made optional.
|
|
Also sync the version string in meson.build, which was not updated the
last time the version string in configure.ac was updated :/
|
|
There may be systems using a new enough kernel that would have rmnet
support as seen in the installed kernel headers, but in which
CONFIG_RMNET was not really enabled, and so there is no true rmnet
support during runtime.
We now allow disabling rmnet support completely at configure time, so
that all that logic is completely skipped if we know the kernel won't
support it.
|
|
|
|
meson port dropped the auto support for QMI over MBIM and QRTR.
The auto support has been recovered by checking libraries in
the system.
Fixes #66
|
|
|
|
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.
|