gnu: pango@1.42: Disable layout test.

* gnu/packages/gtk.scm (pango-1.42)[arguments]: Add #:phases.
This commit is contained in:
Marius Bakke 2020-12-10 21:39:47 +01:00
parent f04dca8eb7
commit ba47c83570
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -357,7 +357,18 @@ (define-public pango-1.42
(base32
"17bwb7dgbncrfsmchlib03k9n3xaalirb39g3yb43gg8cg6p8aqx"))))
(build-system gnu-build-system)
(arguments '())))
(arguments
'(#:phases (modify-phases %standard-phases
(add-after 'configure 'disable-layout-test
(lambda _
;; This test requires that fontconfig uses bitmap fonts
;; such as "gs-fonts"; however providing such a package
;; alone is not enough, as the requirement comes from
;; deeper in the font stack. Since this version of Pango
;; is only used for librsvg, simply disable the test.
(substitute* "tests/Makefile"
(("test-layout\\$\\(EXEEXT\\)") ""))
#t)))))))
(define-public pangox-compat
(package