NetworkManager: fix fix-cross-gir.patch
This commit is contained in:
parent
ace2be68b5
commit
123d262d4c
1 changed files with 22 additions and 4 deletions
|
@ -11,9 +11,9 @@ Upstream: No, not upstreamable since this is very specific to the Void setup
|
|||
)
|
||||
|
||||
test(
|
||||
--- libnm/meson.build 2019-11-27 21:35:56.964752550 +0100
|
||||
+++ - 2019-11-27 21:40:25.516650233 +0100
|
||||
@@ -244,7 +244,24 @@
|
||||
--- libnm/meson.build.orig Mon Jan 13 02:12:09 2020
|
||||
+++ libnm/meson.build Mon Jan 13 02:17:17 2020
|
||||
@@ -236,7 +236,24 @@
|
||||
)
|
||||
endif
|
||||
|
||||
|
@ -34,8 +34,26 @@ Upstream: No, not upstreamable since this is very specific to the Void setup
|
|||
+ qemu_python3_cmd = qemu + ' -L @XBPS_CROSS_BASE@ @XBPS_CROSS_BASE@/bin/python3'
|
||||
+ generate_setting_docs = ['sh', '-c', qemu_python3_cmd, join_paths(meson.current_source_dir(), 'generate-setting-docs.py')]
|
||||
+ else
|
||||
+ generate_setting_docs = join_paths(meson.current_source_dir(), 'generate-setting-docs.py')
|
||||
+ generate_setting_docs = [python.path(), join_paths(meson.current_source_dir(), 'generate-setting-docs.py')]
|
||||
+ endif
|
||||
|
||||
gi_typelib_path = run_command('printenv', 'GI_TYPELIB_PATH').stdout()
|
||||
if gi_typelib_path != ''
|
||||
@@ -261,7 +278,7 @@
|
||||
name,
|
||||
input: libnm_gir[0],
|
||||
output: name,
|
||||
- command: [generate_setting_docs_env, python.path(), generate_setting_docs, '--lib-path', meson.current_build_dir(), '--gir', '@INPUT@', '--output', '@OUTPUT@'],
|
||||
+ command: [generate_setting_docs_env, generate_setting_docs, '--lib-path', meson.current_build_dir(), '--gir', '@INPUT@', '--output', '@OUTPUT@'],
|
||||
depends: libnm_gir,
|
||||
)
|
||||
|
||||
@@ -270,7 +287,7 @@
|
||||
name,
|
||||
input: [libnm_gir[0], nm_settings_docs_overrides],
|
||||
output: name,
|
||||
- command: [generate_setting_docs_env, python.path(), generate_setting_docs, '--lib-path', meson.current_build_dir(), '--gir', '@INPUT0@', '--overrides', '@INPUT1@', '--output', '@OUTPUT@'],
|
||||
+ command: [generate_setting_docs_env, generate_setting_docs, '--lib-path', meson.current_build_dir(), '--gir', '@INPUT0@', '--overrides', '@INPUT1@', '--output', '@OUTPUT@'],
|
||||
depends: libnm_gir,
|
||||
)
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue