mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 09:53:25 +00:00
meson: fix warnings of deprecated features.
Now that we bumped our meson requirement, meson is complaining about several features now deprecated even in the minimum required meson version: s/meson.source_root/meson.project_source_root/ to fix: > WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead. s/meson.build_root/meson.project_build_root/ to fix: > WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.build_root. use meson.project_build_root() or meson.global_build_root() instead. Fixing using path() on xdg_email and python ExternalProgram variables: > WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.55.0': ExternalProgram.path. use ExternalProgram.full_path() instead s/get_pkgconfig_variable *(\([^)]*\))/get_variable(pkgconfig: \1)/ to fix: > WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': dependency.get_pkgconfig_variable. use dependency.get_variable(pkgconfig : ...) instead
This commit is contained in:
parent
9ff1358e0b
commit
ca230cb770
60 changed files with 89 additions and 89 deletions
|
@ -36,10 +36,10 @@ foreach lang : [ 'python', 'gjs' ]
|
|||
command: [
|
||||
gir_doc_tool,
|
||||
'-I', prefix / 'share/gir-1.0/',
|
||||
'-I', meson.build_root() / 'libgimp',
|
||||
'-I', meson.project_build_root() / 'libgimp',
|
||||
'--language=' + lang,
|
||||
'-o', '@OUTDIR@' + '/pages/' + lang + '/Gimp-' + gimp_api_version,
|
||||
meson.build_root() / '@INPUT@'
|
||||
meson.project_build_root() / '@INPUT@'
|
||||
],
|
||||
build_by_default: true)
|
||||
|
||||
|
@ -101,10 +101,10 @@ foreach lang : [ 'python', 'gjs' ]
|
|||
command: [
|
||||
gir_doc_tool,
|
||||
'-I', prefix / 'share/gir-1.0/',
|
||||
'-I', meson.build_root() / 'libgimp',
|
||||
'-I', meson.project_build_root() / 'libgimp',
|
||||
'--language=' + lang,
|
||||
'-o', '@OUTDIR@' + '/pages/' + lang + '/GimpUi-' + gimp_api_version,
|
||||
meson.build_root() / '@INPUT@'
|
||||
meson.project_build_root() / '@INPUT@'
|
||||
],
|
||||
build_by_default: true)
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ gimp_ui_docs = custom_target('gimp-ui-docs',
|
|||
'--output-dir=@OUTPUT@',
|
||||
'--no-namespace-dir',
|
||||
'--content-dir=@0@'.format(meson.current_source_dir()),
|
||||
'--add-include-path=@0@'.format(meson.build_root() / 'libgimp'),
|
||||
'--add-include-path=@0@'.format(meson.project_build_root() / 'libgimp'),
|
||||
'@INPUT@',
|
||||
],
|
||||
depends: libgimp_gir[0],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue