summaryrefslogtreecommitdiff
path: root/meson.build
AgeCommit message (Collapse)AuthorFilesLines
2022-06-24build: post-release version bump to 1.30.9qmi-1-30Aleksander Morgado1-1/+1
2022-06-19release: bump version to 1.30.81.30.8Aleksander Morgado1-1/+1
2022-04-28build: post-release version bump to 1.30.7Aleksander Morgado1-1/+1
2022-04-28release: bump version to 1.30.61.30.6Aleksander Morgado1-1/+1
2022-02-11build: post-release version bump to 1.30.5Aleksander Morgado1-1/+1
2022-02-11release: bump version to 1.30.41.30.4Aleksander Morgado1-1/+1
2021-11-09build: Make feature options booleanIñigo Martínez1-16/+24
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)
2021-11-03build: add an option to not build man pagesAleksander Morgado1-1/+7
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)
2021-10-14build: Remove the unnecessary check to enable rmnetIñigo Martínez1-6/+1
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)
2021-09-13build: Improve mm_runtime_check optionIñigo Martínez1-2/+1
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)
2021-09-13build: Make use of features build optionIñigo Martínez1-18/+9
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)
2021-09-13build: Create a variable for the project nameIñigo Martínez1-1/+2
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)
2021-09-13build: Remove unnecessary MALLOC_PERTURB_ variable setIñigo Martínez1-3/+0
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)
2021-09-13build: Make use of dictionariesIñigo Martínez1-4/+5
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)
2021-09-13build: Use the if_found featureIñigo Martínez1-3/+1
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)
2021-09-13build: Use / instead of join_pathsIñigo Martínez1-5/+5
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)
2021-09-13build: Make use of the summary functionIñigo Martínez1-17/+20
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)
2021-09-13build: Use the newer python moduleIñigo Martínez1-2/+2
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)
2021-09-06build: post-release version bump to 1.30.3Aleksander Morgado1-1/+1
2021-09-06release: bump version to 1.30.21.30.2Aleksander Morgado1-1/+1
2021-08-06build,meson: fix introspection optionAleksander Morgado1-1/+4
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)
2021-08-05build: post-release version bump to 1.30.1Aleksander Morgado1-1/+1
2021-08-05release: bump version to 1.30.01.30.0Aleksander Morgado1-3/+3
2021-08-03build,meson: Fix documentation generationIñigo Martínez1-0/+1
When the message collection is not fully built, the necessary symbols are not available for `gtkdoc-scan`. `full` option is forced in configure time.
2021-07-28meson: fix SPDX license identifierYegor Yefremov1-1/+1
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.
2021-07-26build,meson: make bash-completion file install optionalIñigo Martínez1-1/+16
`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.
2021-07-26build: version bump to flag existence of new API (supplementary voice services)Aleksander Morgado1-1/+1
Also sync the version string in meson.build, which was not updated the last time the version string in configure.ac was updated :/
2021-06-16build: allow disabling rmnet support at configure timeAleksander Morgado1-3/+8
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.
2021-05-19build,meson: missing version bumpAleksander Morgado1-1/+1
2021-05-17build: Fix QMI over MBIM and QRTR auto supportIñigo Martínez1-6/+8
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
2021-05-14build: version bump to flag existence of new API (PDS->PCS typo)Aleksander Morgado1-1/+1
2021-05-05build: Port to meson build systemIñigo Martínez1-0/+247
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.