gnu: xdot: Build with harfbuzz.

This fixes a crash when launching xdot.

* gnu/packages/graphviz.scm (xdot)[inputs]: Add harfbuzz.
[arguments]: Add harfbuzz to the GI_TYPELIB_PATH wrapper in the 'wrap' phase.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
terramorpha 2021-12-15 17:01:02 -05:00 committed by Leo Famulari
parent b574ccc453
commit 18b1497673
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -11,6 +11,7 @@
;;; Copyright © 2020 Pjotr Prins <pjotr.guix@thebird.nl>
;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
;;; Copyright © 2021 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2021 Justin Veilleux <terramorpha@cock.li>
;;;
;;; This file is part of GNU Guix.
;;;
@ -346,12 +347,14 @@ (define-public xdot
(assoc-ref inputs "gtk+") "/lib/girepository-1.0"
":" (assoc-ref inputs "pango") "/lib/girepository-1.0"
":" (assoc-ref inputs "gdk-pixbuf") "/lib/girepository-1.0"
":" (assoc-ref inputs "atk") "/lib/girepository-1.0")))
":" (assoc-ref inputs "atk") "/lib/girepository-1.0"
":" (assoc-ref inputs "harfbuzz") "/lib/girepository-1.0")))
`("PATH" ":" prefix
(,(dirname (search-input-file inputs "bin/dot"))))))))))
(inputs
(list atk
librsvg
harfbuzz
graphviz
gtk+
python-pycairo