gnu: wayland: Add workaround for graphviz 2.40.1.

* gnu/packages/freedesktop.scm (wayland)[arguments]: Add fix-graphviz phase.
This commit is contained in:
Arun Isaac 2017-07-12 19:55:56 +05:30
parent cca9c75661
commit 28a96f2aa1
No known key found for this signature in database
GPG key ID: 2E25EE8B61802BB3

View file

@ -367,7 +367,17 @@ (define-public wayland
(base32 (base32
"0lgywr1m0d79vr4s8aimj8a307nss29hhy68gjpqj7m667055c39")))) "0lgywr1m0d79vr4s8aimj8a307nss29hhy68gjpqj7m667055c39"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments `(#:parallel-tests? #f)) (arguments
`(#:parallel-tests? #f
#:phases
(modify-phases %standard-phases
;; Remove record shapes to workaround graphviz 2.40.1 problems
;; http://www.graphviz.org/content/i-havent-been-able-render-these-files-graphviz-226
;; This will likely be fixed upstream in the next release
(add-before 'build 'fix-graphviz
(lambda _
(substitute* "doc/doxygen/dot/x-architecture.gv"
(("Mrecord") "none")))))))
(native-inputs (native-inputs
`(("doxygen" ,doxygen) `(("doxygen" ,doxygen)
("graphviz" ,graphviz) ("graphviz" ,graphviz)