guix-commits
[Top][All Lists]
Advanced

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

01/05: gnu: goffice: Add "doc" output.


From: Ludovic Courtès
Subject: 01/05: gnu: goffice: Add "doc" output.
Date: Fri, 18 Dec 2015 10:04:51 +0000

civodul pushed a commit to branch master
in repository guix.

commit 72a06d3e32700dbf30409e1ace8f3989680dd680
Author: Ludovic Courtès <address@hidden>
Date:   Fri Dec 18 10:30:08 2015 +0100

    gnu: goffice: Add "doc" output.
    
    * gnu/packages/gnome.scm (goffice)[outputs, arguments]: New fields.
    (goffice-0.8)[arguments]: Append arguments from GOFFICE.
---
 gnu/packages/gnome.scm |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 1ace594..59e43dc 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1470,6 +1470,12 @@ Hints specification (EWMH).")
               (sha256
                (base32 
"0nmghi26dpjcw7knkviq031crhm0zjy4k650pv1jj3hb1fmhx9yd"))))
     (build-system gnu-build-system)
+    (outputs '("out"
+               "doc"))                            ;4.1 MiB of gtk-doc
+    (arguments
+     '(#:configure-flags (list (string-append "--with-html-dir="
+                                              (assoc-ref %outputs "doc")
+                                              "/share/gtk-doc/html"))))
     (inputs
      `(("gtk+" ,gtk+)
        ("libgsf" ,libgsf)
@@ -1507,7 +1513,9 @@ Hints specification (EWMH).")
           ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
           (substitute* "configure"
             (("glib/gregex\\.h") "glib.h")) #t)
-        %standard-phases)))
+        %standard-phases)
+
+       ,@(package-arguments goffice)))
     (propagated-inputs
      ;; libgoffice-0.8.pc mentions libgsf-1
      `(("libgsf" ,libgsf)))



reply via email to

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