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

* gnu/packages/gnome.scm (gnome-mime-data)[arguments]: New field.
This commit is contained in:
Ludovic Courtès 2017-07-24 17:11:30 +02:00
parent 23212bf9e6
commit 3e6add96c5
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 11 additions and 0 deletions

View File

@ -1288,6 +1288,17 @@ is intended for user preferences; not arbitrary data storage.")
(native-inputs (native-inputs
`(("perl" ,perl) `(("perl" ,perl)
("intltool" ,intltool))) ("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") (home-page "http://www.gnome.org")
(synopsis "Base MIME and Application database for GNOME") (synopsis "Base MIME and Application database for GNOME")
(description "GNOME Mime Data is a module which contains the base MIME (description "GNOME Mime Data is a module which contains the base MIME