Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
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
|
|
`QMI_USERNAME` is quoted twice in the
`76-qmi-proxy-device-ownership.rules` rules file. This is because
the definition is used in two files.
The first one is `config.h` file, that is used in source code files
and needs to be explicitly quoted. The second one is the rules file,
mentioned above that already has quotes in the template file.
The explicit quotes have been removed in the rules file generation.
|
|
collection
|
|
We may have systems that define IFLA_RMNET_MAX, but don't have all
known flags (e.g. the QMAPV5 ones are newer).
|
|
Allows use of the QMAPv5 checksum offload format for both TX and RX paths.
|
|
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
|
|
|
|
Also, skip validating fields like 'num_partition_sectors' or
'total_sector_size_in_bytes' which are nowhere used.
This enables the firmware upgrade operation on the EM9191.
Fixes https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/issues/70
|
|
Fix the following issue with dms-get-capabilities
$ sudo qmicli -d /dev/cdc-wdm0 --dms-get-capabilities
(qmicli:91960): GLib-CRITICAL **: 13:13:40.755: g_string_insert_len: assertion 'len == 0 || val != NULL' failed
[/dev/cdc-wdm0] Device capabilities retrieved:
Max TX channel rate: '50000000'
Max RX channel rate: '100000000'
Data Service: 'non-simultaneous-cs-ps'
SIM: 'supported'
Networks: 'cdma20001x, evdo, gsm, umts, lte, , 5gnr'
|
|
|
|
At the end of September 2021, Let's Encrypt's DST Root CA X3
certificate expired, and the new ISRG Root X1 took over.
Update the CI template so that the new certificate is available and we
can keep on cloning the libmbim/libqmi/libqrtr-glib repos without
failures.
|
|
|
|
|
|
|
|
|
|
Both `libmbim` and `libqrtr-glib` have started using `feature`
options in their meson builds.
The CI options when building `libmbim` and `libqrtr-glib` have been
updated to use `feature` option values.
|
|
Although not totally necessary due to its implementation, some files
built by meson are included as content files.
They have been explicitly added for the sake of correctness.
|
|
`install_header` allows the use of the `subdir` parameter that
points to the subdirectory in the `includedir` directory.
However, to maintain consistency, this has been changed to use the
`install_dir` parameter.
|
|
Since meson 0.49, a new argument called `kwargs` can be used to pass
a dictionary to specify different parameters[0].
This feature has been used to make test builds more readable.
[0] https://mesonbuild.com/Release-notes-for-0-49-0.html#can-specify-keyword-arguments-with-a-dictionary
|
|
Since meson 0.50, `include_directories` also include strings[0].
This feature is used to improve slightly build files.
[0] https://mesonbuild.com/Release-notes-for-0-50-0.html#include_directories-accepts-a-string
|
|
Since meson 0.47, `install_mode` option can be used to set a given
set of rights to any target.
This feature has been used to set `qmi-network` rights instead of
using a post install script.
[0] https://mesonbuild.com/Release-notes-for-0-47-0.html#install_mode-keyword-argument-extended-to-all-installable-targets
|
|
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.
|
|
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
|
|
A new variable called `qmi_name` has been created to avoid the call
to a function inside the meson object.
|
|
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
|
|
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
|
|
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
|
|
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-
|
|
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
|
|
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
|
|
The qmimcli `bash-completion` file has the `-completion` suffix as
it can be overriden by the generated qmimcli binary file. However,
meson builds the binary field in a different build directory so there
is no need to have it renamed.
|
|
(cherry picked from commit dd7e62960f70ef4e32a379af8c8fb984b0832d20)
|
|
|
|
|
|
Equivalent of AT+CLCC to retrieve information about all current calls
|
|
|
|
We should be able to build with QRTR support but without introspection
support.
|
|
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).
|
|
To avoid the burden of maintaining multiple build systems, autotools
support has been removed.
|
|
In order to allow the removal of autotools, all related builds have
been removed.
|
|
|
|
This prints a message every time a refresh indication
is received.
|
|
|
|
|
|
|
|
|
|
|