diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-08-06 11:22:23 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-03-07 13:41:28 +0100 |
commit | a7dd0c02cc5820ceabf0f7cc34c8986aa21cda84 (patch) | |
tree | f21af05e6648f536d87be1fd06c5685b0cdca422 /gnu/packages/gnome.scm | |
parent | 83232ba2c87a46d08fa6407066392775b9a9171f (diff) | |
download | guix-a7dd0c02cc5820ceabf0f7cc34c8986aa21cda84.tar guix-a7dd0c02cc5820ceabf0f7cc34c8986aa21cda84.tar.gz |
gnu: geocode-glib: Update to 3.26.0.
* gnu/packages/gnome.scm (geocode-glib): Update to 3.26.0.
[build-system]: Use meson-build-system.
[arguments]: Enable tests; add phase "set-locales".
[native-inputs]: Add glibc-locales, gettext-minimal, and gtk-doc.
Diffstat (limited to 'gnu/packages/gnome.scm')
-rw-r--r-- | gnu/packages/gnome.scm | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 842d7895dd..ce524f205c 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -3029,7 +3029,7 @@ permission from user.") (define-public geocode-glib (package (name "geocode-glib") - (version "3.20.1") + (version "3.26.0") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/geocode-glib/" @@ -3037,15 +3037,24 @@ permission from user.") name "-" version ".tar.xz")) (sha256 (base32 - "18iphsx3bybw7lssbb7rxc1rrnsc8vxai521zkqc535zr8rci7v6")))) - (build-system gnu-build-system) + "1vmydxs5xizcmaxpkfrq75xpj6pqrpdjizxyb30m00h54yqqch7a")))) + (build-system meson-build-system) (arguments - `(;; The tests want to write to $HOME/.cache/geocode-glib, which doesn't - ;; work for the builder. Punt. - #:tests? #f)) + `(#:phases + (modify-phases %standard-phases + ;; The tests require a bunch of locales. + (add-before 'check 'set-locales + (lambda* (#:key inputs #:allow-other-keys) + (setenv "GUIX_LOCPATH" + (string-append (assoc-ref inputs "glibc-locales") + "/lib/locale")) + #t))))) (native-inputs `(("glib:bin" ,glib "bin") ; for glib-mkenums + ("glibc-locales" ,glibc-locales) ; for tests + ("gettext" ,gettext-minimal) ("gobject-introspection" ,gobject-introspection) + ("gtk-doc" ,gtk-doc) ("pkg-config" ,pkg-config) ("json-glib" ,json-glib))) (propagated-inputs |