[mutter/wip/chergert/sysprof-4-abi] build: bump ABI to sysprof-capture-4
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/chergert/sysprof-4-abi] build: bump ABI to sysprof-capture-4
- Date: Sat, 4 Jul 2020 22:47:31 +0000 (UTC)
commit 9a5ddc8f3925a1eb580b08f0fef91a763bc6904a
Author: Christian Hergert <chergert redhat com>
Date: Sat Jul 4 12:01:28 2020 -0700
build: bump ABI to sysprof-capture-4
GLib will now be linking against sysprof-capture-4.a. To support that,
sysprof had to remove the GLib dependency from sysprof-capture-4 which
had the side-effect of breaking ABi.
This bumps the dependency and includes a fallback to compile just the
libsysprof-capture-4.a using a subproject wrap.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1352
meson.build | 15 ++++++++++++++-
subprojects/sysprof.wrap | 4 ++++
2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 26a00eaf9a..a3068f2e32 100644
--- a/meson.build
+++ b/meson.build
@@ -279,7 +279,20 @@ endif
have_profiler = get_option('profiler')
if have_profiler
- sysprof_dep = dependency('sysprof-capture-3', version: sysprof_req)
+ # libsysprof-capture support
+ sysprof_dep = dependency('sysprof-capture-4',
+ required: true,
+ default_options: [
+ 'enable_examples=false',
+ 'enable_gtk=false',
+ 'enable_tests=false',
+ 'enable_tools=false',
+ 'libsysprof=false',
+ 'with_sysprofd=none',
+ 'help=false',
+ ],
+ fallback: ['sysprof', 'libsysprof_capture_dep'],
+ )
endif
required_functions = [
diff --git a/subprojects/sysprof.wrap b/subprojects/sysprof.wrap
new file mode 100644
index 0000000000..b1cff4b09f
--- /dev/null
+++ b/subprojects/sysprof.wrap
@@ -0,0 +1,4 @@
+[wrap-git]
+directory=sysprof
+url=https://gitlab.gnome.org/GNOME/sysprof.git
+revision=master
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]