[gnome-build-meta/alatiera/gtk-debug] sdk/{glib, gtk, gtk3}: Build with G_ENABLE_DEBUG




commit 1c067fbd8e2c2c9427446400f3d6d042c15fccef
Author: Jordan Petridis <jordan centricular com>
Date:   Thu Apr 28 00:35:43 2022 +0300

    sdk/{glib, gtk, gtk3}: Build with G_ENABLE_DEBUG
    
    https://docs.gtk.org/gtk4/building.html
    
    Related to #337
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1590>

 elements/sdk/glib.bst   | 1 +
 elements/sdk/gtk+-3.bst | 1 +
 elements/sdk/gtk.bst    | 1 +
 3 files changed, 3 insertions(+)
---
diff --git a/elements/sdk/glib.bst b/elements/sdk/glib.bst
index 052031036..6b1359efd 100644
--- a/elements/sdk/glib.bst
+++ b/elements/sdk/glib.bst
@@ -33,6 +33,7 @@ depends:
 
 variables:
   meson-local: >-
+    -Dglib_debug=enabled
     -Dgtk_doc=true
     -Dinstalled_tests=true
     -Dselinux=disabled
diff --git a/elements/sdk/gtk+-3.bst b/elements/sdk/gtk+-3.bst
index 469d72208..46ae49c3f 100644
--- a/elements/sdk/gtk+-3.bst
+++ b/elements/sdk/gtk+-3.bst
@@ -38,6 +38,7 @@ depends:
 - freedesktop-sdk.bst:bootstrap-import.bst
 
 variables:
+  local_flags: '-DG_ENABLE_DEBUG'
   meson-local: >-
     -Dbroadway_backend=true
     -Dinstalled_tests=true
diff --git a/elements/sdk/gtk.bst b/elements/sdk/gtk.bst
index 7bfc37746..2cec8b436 100644
--- a/elements/sdk/gtk.bst
+++ b/elements/sdk/gtk.bst
@@ -34,6 +34,7 @@ depends:
 - freedesktop-sdk.bst:bootstrap-import.bst
 
 variables:
+  local_flags: '-DG_ENABLE_DEBUG'
   meson-local: >-
     -Dbroadway-backend=true
     -Dgtk_doc=true


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