[Xfce4-commits] <midori:master> Enable Vala debug symbols and disable deprecations

Christian Dywan noreply at xfce.org
Thu Oct 20 07:42:01 CEST 2011


Updating branch refs/heads/master
         to e420c36860732e5ea105187b758ccb737ec30936 (commit)
       from a023dc5471cb2f70a36476f6e149edf6a81a5be2 (commit)

commit e420c36860732e5ea105187b758ccb737ec30936
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Oct 19 09:01:28 2011 +0200

    Enable Vala debug symbols and disable deprecations

 wscript |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/wscript b/wscript
index c7b616b..8d66022 100644
--- a/wscript
+++ b/wscript
@@ -301,9 +301,12 @@ def configure (conf):
                 '-DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED '
                 '-DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE'.split ())
     if debug_level == 'full':
-        conf.env.append_value ('VALAFLAGS', '--enable-checking'.split ())
+        conf.env.append_value ('VALAFLAGS', '--debug --enable-checking'.split ())
+    elif debug_level == 'debug':
+        conf.env.append_value ('VALAFLAGS', '--debug'.split ())
     elif debug_level == 'none':
         conf.env.append_value ('VALAFLAGS', '--disable-assert')
+    conf.env.append_value ('VALAFLAGS', '--enable-deprecated')
     print ('''
         Localization:        %(nls)s (intltool)
         Icon optimizations:  %(icons)s (rsvg-convert)


More information about the Xfce4-commits mailing list