FS#69919 - [libgweather] no longer works due to upstream API change

Attached to Project: Arch Linux
Opened by Kevin (prurigro) - Tuesday, 09 March 2021, 02:33 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 09 March 2021, 21:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The yr.no weather API changed and libgweather no longer works (affecting at least gnome-weather and the weather in the dropdown menu). Gnome has fixed it in the upcoming Gnome 40 release but don't appear to have plans to release a fixed point release version of the current 3.36 package.

Debian did however backport the fix here https://salsa.debian.org/gnome-team/libgweather/-/commit/bacbf97c838abb33c18aceff09bb06d6df396329, and I tested their package as working in Arch:

To test, I used the current archlinux libgweather package, replaced the source repo with https://salsa.debian.org/gnome-team/libgweather.git, removed the pkgver function and added the following to the prepare function: while read -r; do git apply debian/patches/"$REPLY"; done < <(cat debian/patches/series)

Additional info:
* package version(s): Any previous version of libgweather as well as the current one (3.36.1)
* config and/or log files etc: journalctl /usr/bin/gnome-shell: gnome-shell[1763]: Failed to get Yr.no forecast data: 404 Not Found
* link to upstream bug report, if any: https://gitlab.gnome.org/GNOME/libgweather/-/issues/82

Steps to reproduce:

Open gnome-weather or the notification area and see weather isn't working, run "journalctl /usr/bin/gnome-shell" to see the error.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Tuesday, 09 March 2021, 21:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  libgweather 3.36.1-2

Loading...