guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: inkscape: Disable "icon-theme.cache" generation.


From: Danny Milosavljevic
Subject: 01/01: gnu: inkscape: Disable "icon-theme.cache" generation.
Date: Tue, 15 May 2018 08:30:35 -0400 (EDT)

dannym pushed a commit to branch master
in repository guix.

commit 20f5c86c3e3226b04eaf2f7d29a1a0200f323033
Author: Danny Milosavljevic <address@hidden>
Date:   Tue May 15 12:52:28 2018 +0200

    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 ffd5f60..de9940d 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



reply via email to

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