wok view xfce4-weather-plugin/stuff/patches/weather.c-0.8.11 @ rev 25805

created recipe for xfce4-weather-plugin
author Hans-G?nter Theisgen
date Wed Nov 13 15:24:31 2024 +0100 (7 months ago)
parents
children
line source
1 --- panel-plugin/weather.c.original
2 +++ panel-plugin/weather.c
3 @@ -634,7 +634,7 @@
5 /* build url */
6 url = g_strdup_printf("https://api.met.no/weatherapi"
7 - "/sunrise/2.0/?lat=%s&lon=%s&"
8 + "/sunrise/3.0/?lat=%s&lon=%s&"
9 "date=%04d-%02d-%02d&"
10 "offset=%s&days=%u",
11 data->lat, data->lon,
12 @@ -660,8 +660,8 @@
14 /* build url */
15 url = g_strdup_printf("https://api.met.no/weatherapi"
16 - "/locationforecastlts/1.3/?lat=%s&lon=%s&"
17 - "msl=%d",
18 + "/locationforecast/2.0/classic?lat=%s&lon=%s&"
19 + "altitude=%d",
20 data->lat, data->lon, data->msl);
22 /* start receive thread */