guix-commits
[Top][All Lists]
Advanced

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

branch ungrafting updated: gnu: pango@1.42: Disable layout test.


From: guix-commits
Subject: branch ungrafting updated: gnu: pango@1.42: Disable layout test.
Date: Thu, 10 Dec 2020 15:52:59 -0500

This is an automated email from the git hooks/post-receive script.

mbakke pushed a commit to branch ungrafting
in repository guix.

The following commit(s) were added to refs/heads/ungrafting by this push:
     new ba47c83  gnu: pango@1.42: Disable layout test.
ba47c83 is described below

commit ba47c83570b6d1824738ef5ff8580e7581990699
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Dec 10 21:39:47 2020 +0100

    gnu: pango@1.42: Disable layout test.
    
    * gnu/packages/gtk.scm (pango-1.42)[arguments]: Add #:phases.
---
 gnu/packages/gtk.scm | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 3c93072..b4472a5 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -357,7 +357,18 @@ used throughout the world.")
               (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



reply via email to

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