guix-devel
[Top][All Lists]
Advanced

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

[PATCH] enable debug symbols


From: David Craven
Subject: [PATCH] enable debug symbols
Date: Thu, 9 Feb 2017 20:04:43 +0100

---
 gnu/packages/base.scm   | 1 +
 gnu/packages/glib.scm   | 3 ++-
 gnu/packages/gnome.scm  | 1 +
 gnu/packages/gtk.scm    | 2 +-
 gnu/packages/webkit.scm | 3 ++-
 5 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index c75e03828..b50dd57cc 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -67,6 +67,7 @@
                (base32
                 "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i"))))
     (build-system gnu-build-system)
+    (outputs '("out" "debug"))
     (synopsis "Hello, GNU world: An example GNU package")
     (description
      "GNU Hello prints the message \"Hello, world!\" and then exits.  It
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 83afa38ae..554ca60d0 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -150,7 +150,8 @@ shared NFS home directories.")
    (build-system gnu-build-system)
    (outputs '("out"           ; everything
               "bin"           ; glib-mkenums, gtester, etc.; depends on Python
-              "doc"))         ; 20 MiB of GTK-Doc reference
+              "doc"           ; 20 MiB of GTK-Doc reference
+              "debug"))
    (propagated-inputs
     `(("pcre" ,pcre))) ; in the Requires.private field of glib-2.0.pc
    (inputs
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 955ac610a..5e798713c 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3693,6 +3693,7 @@ work and the interface is well tested.")
               (sha256
                (base32
                 "0skdsma9rmq01703andigmpbdn2rl34y3lqny19a93v1ph3jb9qk"))))
+    (outputs '("out" "debug"))
     (build-system glib-or-gtk-build-system)
     (arguments
      ;; FIXME: tests run under Xvfb, but fail with:
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 0a291370e..f3b001cef 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -661,7 +661,7 @@ application suites.")
               "0bqpx8825b1fdjmz14wq20zq58gq1yi1p5xjps8l6zqid8hmm9zb"))
             (patches (search-patches "gtk3-respect-GUIX_GTK3_PATH.patch"
                                      
"gtk3-respect-GUIX_GTK3_IM_MODULE_FILE.patch"))))
-   (outputs '("out" "bin" "doc"))
+   (outputs '("out" "bin" "doc" "debug"))
    (propagated-inputs
     `(("at-spi2-atk" ,at-spi2-atk)
       ("atk" ,atk)
diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index 474232236..a41b5c404 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -61,10 +61,11 @@
               (sha256
                (base32
                 "0v0hkvggxi38cdb3v672qwr0m0y3x2rmnwh8j3q28869li8d9shb"))))
+    (outputs '("out" "debug"))
     (build-system cmake-build-system)
     (arguments
      '(#:tests? #f ; no tests
-       #:build-type "Release" ; turn off debugging symbols to save space
+       #:build-type "Debug" ; turn off debugging symbols to save space
        #:configure-flags (list
                           "-DPORT=GTK"
                           (string-append ; uses lib64 by default
-- 
2.11.0



reply via email to

[Prev in Thread] Current Thread [Next in Thread]