[jhbuild/ptomato/gjs-sysprof] Add sysprof-capture as a dependency to GJS and mutter



commit 478b4ec5442717adbe96705980135f7934c0184e
Author: Philip Chimento <philip chimento gmail com>
Date:   Sat Jun 8 22:53:09 2019 -0700

    Add sysprof-capture as a dependency to GJS and mutter
    
    Only in the case of Linux. This allows profiling a jhbuild-built
    gnome-shell.

 modulesets/gnome-suites-core-deps-latest.modules | 11 +++++++++++
 modulesets/gnome-suites-core-latest.modules      |  1 +
 2 files changed, 12 insertions(+)
---
diff --git a/modulesets/gnome-suites-core-deps-latest.modules 
b/modulesets/gnome-suites-core-deps-latest.modules
index f244641e..76128ff8 100644
--- a/modulesets/gnome-suites-core-deps-latest.modules
+++ b/modulesets/gnome-suites-core-deps-latest.modules
@@ -669,6 +669,9 @@
       <dep package="dbus-glib"/>
       <dep package="gobject-introspection"/>
       <dep package="mozjs60"/>
+      <if condition-set="linux">
+        <dep package="sysprof-capture"/>
+      </if>
       <if condition-set="coverage">
         <dep package="lcov"/>
       </if>
@@ -1884,6 +1887,14 @@
     </dependencies>
   </meson>
 
+  <meson id="sysprof-capture"
+         mesonargs="-Denable_gtk=false -Dhelp=false -Dlibsysprof=false -Dwith_sysprofd=none">
+    <branch module="sysprof"/>
+    <dependencies>
+      <dep package="glib"/>
+    </dependencies>
+  </meson>
+
   <autotools id="telepathy-glib"
              supports-non-srcdir-builds="no"
              autogenargs="--enable-vala-bindings --disable-fatal-warnings">
diff --git a/modulesets/gnome-suites-core-latest.modules b/modulesets/gnome-suites-core-latest.modules
index a1dbfc61..c3c52559 100644
--- a/modulesets/gnome-suites-core-latest.modules
+++ b/modulesets/gnome-suites-core-latest.modules
@@ -389,6 +389,7 @@
       <if condition-set="linux">
         <dep package="gnome-bluetooth"/>
         <dep package="libnma"/>
+        <dep package="sysprof-capture"/>
         <dep package="NetworkManager"/>
       </if>
       <if condition-set="systemd">


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