summary refs log tree commit diff
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2016-10-28 21:04:11 +0800
committer宋文武 <iyzsong@gmail.com>2016-10-28 21:04:11 +0800
commitaa98b3b2738ea84a5a68b0680fdd4f174b94a9ca (patch)
treecd8190338c41da51886e13a62422c0f6780c6f16
parent3b6f8b579b7fa712170f0535e264d8d5112fd9bc (diff)
downloadguix-aa98b3b2738ea84a5a68b0680fdd4f174b94a9ca.tar.gz
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.
-rw-r--r--gnu/packages/gxmessage.scm12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/gxmessage.scm b/gnu/packages/gxmessage.scm
index 53e5daa233..c6cba2cd7b 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")