gnu: libgweather: Adjust to new timezone name.
* gnu/packages/gnome.scm (libgweather)[arguments]: In 'pre-check' phase, update "Asia/Rangoon" timezone name.
This commit is contained in:
parent
7ffa5d4a2d
commit
8b8dfa7f56
|
@ -2598,13 +2598,18 @@ service via the system message bus.")
|
||||||
"/share/zoneinfo"))
|
"/share/zoneinfo"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before
|
(add-before 'check 'pre-check
|
||||||
'check 'pre-check
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(substitute* "data/check-timezones.sh"
|
||||||
(substitute* "data/check-timezones.sh"
|
(("/usr/share/zoneinfo/zone.tab")
|
||||||
(("/usr/share/zoneinfo/zone.tab")
|
(string-append (assoc-ref inputs "tzdata")
|
||||||
(string-append (assoc-ref inputs "tzdata")
|
"/share/zoneinfo/zone.tab")))
|
||||||
"/share/zoneinfo/zone.tab")))
|
|
||||||
|
;; 'Asia/Rangoon' was renamed in tzdata-2016:
|
||||||
|
;; <https://github.com/eggert/tz/commit/4368251ebf11310a4aadccd1910daeac9080c501>.
|
||||||
|
(substitute* "data/Locations.xml"
|
||||||
|
(("Asia/Rangoon")
|
||||||
|
"Asia/Yangon"))
|
||||||
#t)))))
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("glib:bin" ,glib "bin") ; for glib-mkenums
|
`(("glib:bin" ,glib "bin") ; for glib-mkenums
|
||||||
|
|
Loading…
Reference in New Issue