From b624ec8809afa52f03dd2feeaa6bc883f53c52bd Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 30 Oct 2019 14:46:20 -0700 Subject: [PATCH] build: track changes to GLib and gdbus-codegen GLib is already doing this, which broke a number of auto-generated code. This tracks those changes and manually sets the annotations so that we are guaranteed to get this behavior. We'll need to fix other uses (such as in Mutter), but we have to do that already because of the change in GLib. Fixes #17 --- meson.build | 2 +- src/org.gnome.Sysprof2.xml | 4 +++- src/org.gnome.Sysprof3.Profiler.xml | 4 +++- src/org.gnome.Sysprof3.Service.xml | 12 +++++++++--- src/sysprofd/ipc-legacy-impl.c | 8 +++++--- src/sysprofd/ipc-rapl-profiler.c | 8 +++----- src/sysprofd/ipc-service-impl.c | 21 +++++++++++---------- 7 files changed, 35 insertions(+), 24 deletions(-) diff --git a/meson.build b/meson.build index a018c342..a49ac749 100644 --- a/meson.build +++ b/meson.build @@ -17,7 +17,7 @@ version_split = meson.project_version().split('.') datadir = get_option('datadir') podir = join_paths(meson.source_root(), 'po') -glib_req_version = '>= 2.61.3' +glib_req_version = '>= 2.63.0' gtk_req_version = '>= 3.22' polkit_req_version = '>= 0.105' dazzle_req_version = '>= 3.30.0' diff --git a/src/org.gnome.Sysprof2.xml b/src/org.gnome.Sysprof2.xml index b22de4fa..442d32df 100644 --- a/src/org.gnome.Sysprof2.xml +++ b/src/org.gnome.Sysprof2.xml @@ -18,7 +18,9 @@ - + + + - + + + - + + +