guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: gxmessage: Don't install 'icon-theme.cache'.


From: ???
Subject: 01/01: gnu: gxmessage: Don't install 'icon-theme.cache'.
Date: Fri, 28 Oct 2016 13:06:56 +0000 (UTC)

iyzsong pushed a commit to branch core-updates
in repository guix.

commit aa98b3b2738ea84a5a68b0680fdd4f174b94a9ca
Author: 宋文武 <address@hidden>
Date:   Fri Oct 28 21:04:11 2016 +0800

    gnu: gxmessage: Don't install 'icon-theme.cache'.
    
    * gnu/packages/gxmessage.scm (gxmessage)[arguments]: Add
    'skip-gtk-update-icon-cache' phase.
    [native-inputs]: Remove gtk+:bin.
---
 gnu/packages/gxmessage.scm |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gxmessage.scm b/gnu/packages/gxmessage.scm
index 53e5daa..c6cba2c 100644
--- a/gnu/packages/gxmessage.scm
+++ b/gnu/packages/gxmessage.scm
@@ -38,11 +38,19 @@
              (sha256
               (base32 
"01ggvvp0nyn8xczh93icifnji468wsjgqzd1f1bixwsqziaicknv"))))
     (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-before 'install 'skip-gtk-update-icon-cache
+           ;; Don't create 'icon-theme.cache'.
+           (lambda _
+             (substitute* "Makefile"
+               (("gtk-update-icon-cache") "true"))
+             #t)))))
     (inputs
      `(("gtk+" ,gtk+)))
     (native-inputs
-     `(("gtk+-bin" ,gtk+ "bin") ; gtk-update-icon-cache
-       ("intltool" ,intltool)
+     `(("intltool" ,intltool)
        ("pkg-config" ,pkg-config)))
     (home-page "http://www.gnu.org/software/gxmessage/";)
     (synopsis "Open popup message window with buttons for return")



reply via email to

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