guix-commits
[Top][All Lists]
Advanced

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

02/04: gnu: gnubik: Fix build failure.


From: guix-commits
Subject: 02/04: gnu: gnubik: Fix build failure.
Date: Sun, 10 May 2020 16:29:53 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 1abfb4d4e4ac9a795fbb64ae77c0052c706c2f84
Author: Marius Bakke <address@hidden>
AuthorDate: Sun May 10 22:16:13 2020 +0200

    gnu: gnubik: Fix build failure.
    
    * gnu/packages/games.scm (gnubik)[arguments]: New field.
---
 gnu/packages/games.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index b927ef4..e9e408c 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -27,7 +27,7 @@
 ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2017, 2019 nee <address@hidden>
 ;;; Copyright © 2017 Clément Lassieur <address@hidden>
-;;; Copyright © 2017, 2019 Marius Bakke <address@hidden>
+;;; Copyright © 2017, 2019, 2020 Marius Bakke <address@hidden>
 ;;; Copyright © 2017, 2018 Rutger Helling <address@hidden>
 ;;; Copyright © 2017 Roel Janssen <address@hidden>
 ;;; Copyright © 2017, 2018, 2019, 2020 Nicolas Goaziou <address@hidden>
@@ -1252,6 +1252,16 @@ also features an attractive, 3D representation of the 
playing board.")
        (base32
         "1vlf924mq8hg93bsjj0rzvs0crc6psmlxyc6zn0fr7msnmpx6gib"))))
     (build-system gnu-build-system)
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'skip-gtk-update-icon-cache
+                    (lambda _
+                      ;; Do not attempt to run 'gtk-update-icon-cache', which 
is
+                      ;; unnecessary and causes a needless dependency on glib.
+                      (substitute* "Makefile.in"
+                        (("gtk-update-icon-cache")
+                         "true"))
+                      #t)))))
     (inputs `(("gtk+" ,gtk+-2)
               ("mesa" ,mesa)
               ("glu" ,glu)



reply via email to

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