Commit graph

10 commits

Author SHA1 Message Date
Riccardo Schirone
3fd578ef7a build: use run_command(..., check: false) as return code is used
run_command(..., check: true) was introduced because of a breaking
change in newer meson versions
(https://github.com/mesonbuild/meson/issues/9300), however Rizin uses
the return code to see if the subproject is in the right state or not.

Revert back to check: false, so that meson will not fail and we can
detect the failure in our meson.build files.

Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2022-03-29 16:53:15 +02:00
Giovanni
bfec86a12e
Add option to install sigdb systemwise and custom user location for additional signatures (#2328) 2022-02-28 14:32:38 +01:00
Giovanni
19bdac1502
Allow dirs within packagefiles (#1976) 2021-11-13 21:32:31 +01:00
Riccardo Schirone
9c05850d85 Fix python linter 2021-08-30 17:31:09 +02:00
Riccardo Schirone
d6319c0d2c
Few SPDX info addition and REUSE lint to CI (#1274)
* Download missing MS-PL license
* Missing copyrights + some licenses
* Add REUSE linter to CI
* Python linter fixes on cmd_descs_generate.py
* Remove unused MPL-1.1 license
* Use with in check_meson_subproject.py script
2021-07-07 16:09:57 +08:00
JunWei Song
ba1dd1c5ed
Using with for resource-allocating operations ##refactor 2021-06-28 17:24:39 +08:00
Riccardo Schirone
53bf5c497f SPDX Copyright text for all files based on history
- Add LICENSES directory
- Download additional licenses used
- Add .reuse directory
- Add doc about SPDX/reuse

Co-authored-by: Florian Märkl <info@florianmaerkl.de>
2021-03-05 19:39:15 +08:00
Alexis Ehret
8eae11ae4e Fix coding style python files (black, isort) 2021-02-15 10:24:46 +01:00
Riccardo Schirone
bac12fddc4 Improve sys/check_meson_subproject script
Check that local files for wrap-file and wrap-git are up-to-date with
the versions in subproject/package-files
2021-02-12 11:08:51 +08:00
Riccardo Schirone
f8291ee3c1
Switch to meson subprojects and wraps
* Remove tree-sitter/sdb git submodules and move them to meson subprojects/wraps
* Use meson subprojects/wraps to get capstone
* Remove capstone patches as they are already applied to rizinorg/capstone repository
* Use meson from master branch to create the release tarball, as all released versions so far have a bug that prevent wrap-git to be patched correctly when creating the tarball with meson dist
* Add check_meson_subproject script to do a quick check if the currently downloaded subprojects are updated
* Add subprojects_check meson option to skip the check_meson_subproject script
* Update documentation to remove references to git submodules.
2021-02-03 14:31:11 +01:00