gnu: gnome-maps: Update to 40.5.

* gnu/packages/geo.scm (gnome-maps): Update to 40.5.
[source]: Fix the URI.
[arguments]: Remove trailing #t.
[inputs]: Add libhandy.
This commit is contained in:
Mathieu Othacehe 2021-09-24 19:37:07 +00:00
parent 821fa7bd43
commit d0b0912212
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -211,15 +211,15 @@ (define-public geos
(define-public gnome-maps (define-public gnome-maps
(package (package
(name "gnome-maps") (name "gnome-maps")
(version "3.38.5") (version "40.5")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/" (uri (string-append "mirror://gnome/sources/" name "/"
(version-major+minor version) "/" (version-major version) "/"
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1llgzm2ni3iy31dznqkc81vadv0fpqgpz2l9zzrj5jshvyq0akgh")))) "02bdkmb3wyzfrbq726634v4g1hyh9za70cc2ivlbp7zc2n1jgp5c"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:glib-or-gtk? #t `(#:glib-or-gtk? #t
@ -229,14 +229,13 @@ (define-public gnome-maps
;; Don't create 'icon-theme.cache'. ;; Don't create 'icon-theme.cache'.
(lambda _ (lambda _
(substitute* "meson_post_install.py" (substitute* "meson_post_install.py"
(("gtk-update-icon-cache") "true")) (("gtk-update-icon-cache") "true"))))
#t))
(add-after 'unpack 'patch-dbus-service (add-after 'unpack 'patch-dbus-service
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(substitute* "data/org.gnome.Maps.service.in" (substitute* "data/org.gnome.Maps.service.in"
(("@pkgdatadir@/org.gnome.Maps") (("@pkgdatadir@/org.gnome.Maps")
(string-append (assoc-ref outputs "out") "/bin/gnome-maps"))) (string-append (assoc-ref outputs "out")
#t)) "/bin/gnome-maps")))))
(add-after 'install 'wrap (add-after 'install 'wrap
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")) (let ((out (assoc-ref outputs "out"))
@ -274,6 +273,7 @@ (define-public gnome-maps
("folks" ,folks) ("folks" ,folks)
("libchamplain" ,libchamplain) ("libchamplain" ,libchamplain)
("libgee" ,libgee) ("libgee" ,libgee)
("libhandy" ,libhandy)
("libsecret" ,libsecret) ("libsecret" ,libsecret)
("libsoup" ,libsoup) ("libsoup" ,libsoup)
("libgweather" ,libgweather) ("libgweather" ,libgweather)