From aa98b3b2738ea84a5a68b0680fdd4f174b94a9ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Fri, 28 Oct 2016 21:04:11 +0800 Subject: [PATCH] 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 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")