gnu: Add gdl-minimal.

* gnu/packages/gnome.scm (gdl-minimal): New variable.
This commit is contained in:
Maxim Cournoyer 2020-01-09 23:01:59 -05:00
parent 88e61bd4a4
commit ca3adf2607
No known key found for this signature in database
GPG Key ID: 1260E46482E63562

View File

@ -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")