gnu: gnumeric: Update to 1.12.24.

* gnu/packages/gnome.scm (gnumeric): Update to 1.12.24.
[inputs]: Add librsvg, libxslt.
[arguments]: Use "modify-phases" syntax.
This commit is contained in:
Efraim Flashner 2015-12-11 13:23:14 +02:00
parent 8cabd349b4
commit 7bcbd40dc8
1 changed files with 17 additions and 14 deletions

View File

@ -1515,7 +1515,7 @@ Hints specification (EWMH).")
(define-public gnumeric (define-public gnumeric
(package (package
(name "gnumeric") (name "gnumeric")
(version "1.12.17") (version "1.12.24")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/" (uri (string-append "mirror://gnome/sources/" name "/"
@ -1523,31 +1523,34 @@ Hints specification (EWMH).")
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"18bvc3phghr4p5440fp8hm6gvp53d3mqs9cyc637zpmk0b6bcp7c")))) "0lcm8k0jb8rd5y4ii803f21nv8rx6gc3mmdlrj5h0rkkn9qm57f5"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(;; The gnumeric developers don't worry much about failing tests. `(;; The gnumeric developers don't worry much about failing tests.
;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387 ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387
#:tests? #f #:tests? #f
#:phases #:phases
(alist-cons-before (modify-phases %standard-phases
'configure 'pre-conf (add-before
(lambda* (#:key outputs #:allow-other-keys) 'configure 'pre-conf
;; Make install tries to write into the directory of goffice (lambda* (#:key outputs #:allow-other-keys)
;; I am informed that this only affects the possibility to embed a ;; Make install tries to write into the directory of goffice
;; spreadsheet inside an Abiword document. So presumably when we ;; I am informed that this only affects the possibility to embed a
;; package Abiword we'll have to refer it to this directory. ;; spreadsheet inside an Abiword document. So presumably when we
(substitute* "configure" ;; package Abiword we'll have to refer it to this directory.
(("^GOFFICE_PLUGINS_DIR=.*") (substitute* "configure"
(string-append "GOFFICE_PLUGINS_DIR=" (("^GOFFICE_PLUGINS_DIR=.*")
(assoc-ref outputs "out") "/goffice/plugins")))) (string-append "GOFFICE_PLUGINS_DIR="
%standard-phases))) (assoc-ref outputs "out")
"/goffice/plugins"))))))))
(inputs (inputs
`(("glib" ,glib) `(("glib" ,glib)
("gtk+" ,gtk+) ("gtk+" ,gtk+)
("goffice" ,goffice) ("goffice" ,goffice)
("libgsf" ,libgsf) ("libgsf" ,libgsf)
("librsvg" ,librsvg)
("libxml2" ,libxml2) ("libxml2" ,libxml2)
("libxslt" ,libxslt)
("zlib" ,zlib))) ("zlib" ,zlib)))
(native-inputs (native-inputs
`(("intltool" ,intltool) `(("intltool" ,intltool)