From 20f5c86c3e3226b04eaf2f7d29a1a0200f323033 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Tue, 15 May 2018 12:52:28 +0200 Subject: [PATCH] gnu: inkscape: Disable "icon-theme.cache" generation. * gnu/packages/inkscape.scm (inkscape)[arguments]<#:make-flags>: Delete. <#:phases>[patch-icon-cache-generator]: Add phase. --- gnu/packages/inkscape.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gnu/packages/inkscape.scm b/gnu/packages/inkscape.scm index ffd5f60b38..de9940df1c 100644 --- a/gnu/packages/inkscape.scm +++ b/gnu/packages/inkscape.scm @@ -80,8 +80,13 @@ ;; FIXME: tests require gmock (arguments `(#:tests? #f - #:make-flags - '("gtk_update_icon_cache=true"))) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-icon-cache-generator + (lambda _ + (substitute* "share/icons/application/CMakeLists.txt" + (("gtk-update-icon-cache") "true")) + #t))))) (home-page "https://inkscape.org/") (synopsis "Vector graphics editor") (description "Inkscape is a vector graphics editor. What sets Inkscape