guix-commits
[Top][All Lists]
Advanced

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

03/04: gnu: gnome-mime-data: Do not use the bundled intltool.


From: Ludovic Courtès
Subject: 03/04: gnu: gnome-mime-data: Do not use the bundled intltool.
Date: Mon, 24 Jul 2017 11:35:05 -0400 (EDT)

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

commit 3e6add96c52fc6c92acc9bb5da3eb5a208c90a67
Author: Ludovic Courtès <address@hidden>
Date:   Mon Jul 24 17:11:30 2017 +0200

    gnu: gnome-mime-data: Do not use the bundled intltool.
    
    * gnu/packages/gnome.scm (gnome-mime-data)[arguments]: New field.
---
 gnu/packages/gnome.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 8a9ddf6..b560fe8 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1288,6 +1288,17 @@ is intended for user preferences; not arbitrary data 
storage.")
     (native-inputs
      `(("perl" ,perl)
        ("intltool" ,intltool)))
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (add-after 'configure 'use-our-intltool
+                    (lambda _
+                      ;; Do not use the bundled intltool commands, which lack
+                      ;; the "dotless @INC" fixes of our 'intltool' package.
+                      (substitute* (find-files "." "^Makefile$")
+                        (("^INTLTOOL_(EXTRACT|UPDATE|MERGE) = .*$" _ tool)
+                         (string-append "INTLTOOL_" tool " = intltool-"
+                                        (string-downcase tool) "\n")))
+                      #t)))))
     (home-page "http://www.gnome.org";)
     (synopsis "Base MIME and Application database for GNOME")
     (description  "GNOME Mime Data is a module which contains the base MIME



reply via email to

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