From 8c66255c931c530740b6aa386a45ad49053dea45 Mon Sep 17 00:00:00 2001 From: Rick Calixte <10281587+rcalixte@users.noreply.github.com> Date: Mon, 2 Oct 2023 13:17:07 -0400 Subject: [PATCH] Fix meson.build deprecations up to 0.56.0 (#155) --- doc/dbus/meson.build | 2 +- meson.build | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/dbus/meson.build b/doc/dbus/meson.build index 885e79c..b70b283 100644 --- a/doc/dbus/meson.build +++ b/doc/dbus/meson.build @@ -14,7 +14,7 @@ if docbook_enabled spec_xml_files += custom_target(prefix +'.ref.xml', input : [ 'spec-to-docbook.xsl', - join_paths(meson.source_root(), 'cinnamon-session', prefix + '.xml'), + join_paths(meson.project_source_root(), 'cinnamon-session', prefix + '.xml'), ], output: prefix + '.ref.xml', command: [ diff --git a/meson.build b/meson.build index 03de0bd..2d626d6 100644 --- a/meson.build +++ b/meson.build @@ -2,7 +2,7 @@ project('cinnamon-session', [ 'c', ], version: '5.8.1', - meson_version: '>=0.37.0', + meson_version: '>=0.56.0', ) ################################################################################ @@ -162,7 +162,7 @@ message('\n'.join([ ' sysconfdir: @0@'.format(get_option('sysconfdir')), ' localstatedir: @0@'.format(get_option('localstatedir')), ' datadir: @0@'.format(get_option('datadir')), -' source code location: @0@'.format(meson.source_root()), +' source code location: @0@'.format(meson.project_source_root()), ' compiler: @0@'.format(cc.get_id()), ' cflags: @0@'.format(project_cflags), #' Maintainer mode: @0@'.format(USE_MAINTAINER_MODE),