guix-commits
[Top][All Lists]
Advanced

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

05/12: gnu: Add gdl-minimal.


From: guix-commits
Subject: 05/12: gnu: Add gdl-minimal.
Date: Sun, 31 May 2020 22:18:54 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit ca3adf26072c759b198042ced866efc423dd4b97
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Jan 9 23:01:59 2020 -0500

    gnu: Add gdl-minimal.
    
    * gnu/packages/gnome.scm (gdl-minimal): New variable.
---
 gnu/packages/gnome.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index c5e0959..da69f1b 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1548,6 +1548,27 @@ GNOME Desktop.")
     (description "This library provides docking features for gtk+.")
     (license license:lgpl2.1+)))
 
+;;; A minimal variant used to break a cycle with Inkscape.
+(define-public gdl-minimal
+  (package
+    (inherit gdl)
+    (name "gdl-minimal")
+    (arguments
+     (substitute-keyword-arguments (package-arguments gdl)
+       ((#:phases phases)
+        `(modify-phases ,phases
+           (add-after 'unpack 'disable-doc-generation
+             ;; XXX: There is no easy way to disable generating the
+             ;; documentation.
+             (lambda _
+               (substitute* "configure.in"
+                 (("GTK_DOC_CHECK.*") "")
+                 (("docs/.*") ""))
+               (substitute* "Makefile.am"
+                 (("gdl docs po") "gdl po"))
+               #t))))))
+    (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl)))))
+
 (define-public libgnome-keyring
   (package
     (name "libgnome-keyring")



reply via email to

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