[sysprof] build: fix various meson deprecation warnings



commit b307550ea514dbaefb07f265ed7f7011d722d5b9
Author: Christian Hergert <chergert redhat com>
Date:   Fri Apr 1 13:08:26 2022 -0700

    build: fix various meson deprecation warnings

 meson.build             | 4 ++--
 src/sysprof/meson.build | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 7397e864..ea29ae8f 100644
--- a/meson.build
+++ b/meson.build
@@ -18,7 +18,7 @@ libsysprof_api_version = 4
 version_split = meson.project_version().split('.')
 datadir = get_option('datadir')
 datadir_for_pc_file = join_paths('${prefix}', datadir)
-podir = join_paths(meson.source_root(), 'po')
+podir = join_paths(meson.current_source_dir(), 'po')
 
 glib_req_version = '>= 2.67.4'
 gtk_req_version = '>= 3.22'
@@ -191,7 +191,7 @@ int main(void) {
   return 0;
 }
 ''')
-  config_h.set10('HAVE_STDATOMIC_H', 1)
+  config_h.set10('HAVE_STDATOMIC_H', true)
 endif
 
 subdir('src')
diff --git a/src/sysprof/meson.build b/src/sysprof/meson.build
index b4e5ea51..1777b5b4 100644
--- a/src/sysprof/meson.build
+++ b/src/sysprof/meson.build
@@ -22,7 +22,6 @@ sysprof_deps = [
 
 sysprof = executable('sysprof', sysprof_resources + sysprof_sources,
   dependencies: sysprof_deps,
-       gui_app: true,
    install_dir: get_option('bindir'),
        install: true,
 )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]