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,14 +1523,15 @@ 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
(add-before
'configure 'pre-conf 'configure 'pre-conf
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
;; Make install tries to write into the directory of goffice ;; Make install tries to write into the directory of goffice
@ -1540,14 +1541,16 @@ Hints specification (EWMH).")
(substitute* "configure" (substitute* "configure"
(("^GOFFICE_PLUGINS_DIR=.*") (("^GOFFICE_PLUGINS_DIR=.*")
(string-append "GOFFICE_PLUGINS_DIR=" (string-append "GOFFICE_PLUGINS_DIR="
(assoc-ref outputs "out") "/goffice/plugins")))) (assoc-ref outputs "out")
%standard-phases))) "/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)