From 20d70463f2ed9a7debe9bd5b3e09359882f646e1 Mon Sep 17 00:00:00 2001 From: Oz Tiram Date: Wed, 2 Apr 2025 01:06:15 +0200 Subject: fix more build errors Signed-off-by: Oz Tiram --- cut-n-paste/toolbar-editor/meson.build | 2 +- meson.build | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cut-n-paste/toolbar-editor/meson.build b/cut-n-paste/toolbar-editor/meson.build index cb3f55cd..759b4daa 100644 --- a/cut-n-paste/toolbar-editor/meson.build +++ b/cut-n-paste/toolbar-editor/meson.build @@ -89,7 +89,7 @@ libtoolbareditor = static_library('toolbareditor', '-DCURSOR_DIR="' + join_paths(get_option('prefix'), get_option('datadir'), meson.project_name()) + '"', ], include_directories: include_directories('.'), - dependencies: shell_core_deps + dependencies: [shell_core_deps, xml] ) libtoolbareditor_dep = declare_dependency( diff --git a/meson.build b/meson.build index 69277334..4156d47a 100644 --- a/meson.build +++ b/meson.build @@ -212,6 +212,7 @@ atril_view_header = [ c_args = [ '-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()), '-DDATADIR="@0@"'.format(join_paths(prefix, datadir)), + '-DMATEDATADIR="@0@"'.format(join_paths(prefix, datadir)), '-DLIBDIR="@0@"'.format(join_paths(prefix, libdir)), '-DBINDIR="@0@"'.format(join_paths(prefix, bindir)), '-DEV_BACKENDSDIR="@0@"'.format(join_paths(prefix, libdir, meson.project_name(), binary_major_version, 'backends')), -- cgit v1.2.1