[gnome-build-meta/alatiera/gtk-debug] sdk/{glib, gtk, gtk3}: Build with G_ENABLE_DEBUG
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/alatiera/gtk-debug] sdk/{glib, gtk, gtk3}: Build with G_ENABLE_DEBUG
- Date: Thu, 28 Apr 2022 17:31:43 +0000 (UTC)
commit 27683e2c05f2f0d177479c956fa20e03a1c7370d
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 | 3 +++
elements/sdk/gtk.bst | 3 +++
3 files changed, 7 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..26fa09643 100644
--- a/elements/sdk/gtk+-3.bst
+++ b/elements/sdk/gtk+-3.bst
@@ -37,6 +37,9 @@ depends:
- freedesktop-sdk.bst:components/xorg-lib-xinerama.bst
- freedesktop-sdk.bst:bootstrap-import.bst
+environment:
+ CFLAGS: '-DG_ENABLE_DEBUG'
+
variables:
meson-local: >-
-Dbroadway_backend=true
diff --git a/elements/sdk/gtk.bst b/elements/sdk/gtk.bst
index 7bfc37746..800ccc215 100644
--- a/elements/sdk/gtk.bst
+++ b/elements/sdk/gtk.bst
@@ -33,6 +33,9 @@ depends:
- freedesktop-sdk.bst:components/wayland.bst
- freedesktop-sdk.bst:bootstrap-import.bst
+environment:
+ CFLAGS: '-DG_ENABLE_DEBUG'
+
variables:
meson-local: >-
-Dbroadway-backend=true
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]