Package: release.debian.org Severity: normal Tags: trixie X-Debbugs-Cc: [email protected] Control: affects -1 + src:libmateweather User: [email protected] Usertags: pu
[ Reason ] API URL change at aviationweather.gov. [ Impact ] If not accepted, most weather related functionalities will still be broken in MATE desktop in Debian 13. [ Tests ] Manual tests on Debian 13. [ Risks ] Only for MATE weather consumers. [ Checklist ] [x] *all* changes are documented in the d/changelog [x] I reviewed all changes and I approve them [x] attach debdiff against the package in (old)stable [x] the issue is verified as fixed in unstable [ Changes ] + * debian/patches: + + Add 0002_metar-Update-AviationWeather-URL.patch. metar: Update + AviationWeather URL. (Closes: #1115612, #1007192, #1117482). [ Other info ] None.
diff -Nru libmateweather-1.26.3/debian/changelog libmateweather-1.26.3/debian/changelog --- libmateweather-1.26.3/debian/changelog 2025-05-07 15:50:20.000000000 +0200 +++ libmateweather-1.26.3/debian/changelog 2026-09-07 09:56:23.000000000 +0200 @@ -1,3 +1,11 @@ +libmateweather (1.26.3-4+deb13u1) trixie; urgency=medium + + * debian/patches: + + Add 0002_metar-Update-AviationWeather-URL.patch. metar: Update + AviationWeather URL. (Closes: #1115612, #1007192, #1117482). + + -- Mike Gabriel <[email protected]> Mon, 07 Sep 2026 09:56:23 +0200 + libmateweather (1.26.3-4) unstable; urgency=medium * debian/patches: diff -Nru libmateweather-1.26.3/debian/patches/0002_metar-Update-AviationWeather-URL.patch libmateweather-1.26.3/debian/patches/0002_metar-Update-AviationWeather-URL.patch --- libmateweather-1.26.3/debian/patches/0002_metar-Update-AviationWeather-URL.patch 1970-01-01 01:00:00.000000000 +0100 +++ libmateweather-1.26.3/debian/patches/0002_metar-Update-AviationWeather-URL.patch 2026-09-07 09:55:36.000000000 +0200 @@ -0,0 +1,36 @@ +From 3ab46125b590d90c021b67d45990b9385a77e54c Mon Sep 17 00:00:00 2001 +From: Victor Kareh <[email protected]> +Date: Thu, 18 Sep 2025 11:40:55 -0400 +Subject: [PATCH] metar: Update AviationWeather URL +According to their website: "The AviationWeather Data API has been +redeveloped in 2025." +Also they put 'METAR' (or 'SPECI') onto the beginning of data to make it +ICAO compliant, so we add code to parse that. +Fixes #135 +--- + libmateweather/weather-metar.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) +diff --git a/libmateweather/weather-metar.c b/libmateweather/weather-metar.c +index d470822..dabca3a 100644 +--- a/libmateweather/weather-metar.c ++++ b/libmateweather/weather-metar.c +@@ -523,7 +523,7 @@ metar_finish (GObject *source, GAsyncResult *result, gpointer data) + + loc = info->location; + +- searchkey = g_strdup_printf ("<raw_text>%s", loc->code); ++ searchkey = g_strdup_printf ("<raw_text>METAR %s", loc->code); + + response_body = g_bytes_get_data (bytes, &len); + end = response_body + len; +@@ -578,7 +578,7 @@ metar_start_open (WeatherInfo *info) + "stationString", loc->code, + NULL); + msg = soup_message_new_from_encoded_form ( +- "GET", "https://aviationweather.gov/cgi-bin/data/dataserver.php", ++ "GET", "https://aviationweather.gov/api/data/dataserver", + query); + soup_session_send_and_read_async (info->session, msg, G_PRIORITY_DEFAULT, + NULL, metar_finish, info); +-- +2.47.3 diff -Nru libmateweather-1.26.3/debian/patches/series libmateweather-1.26.3/debian/patches/series --- libmateweather-1.26.3/debian/patches/series 2025-04-04 21:51:16.000000000 +0200 +++ libmateweather-1.26.3/debian/patches/series 2026-09-07 09:55:36.000000000 +0200 @@ -1 +1,2 @@ 0001_libsoup3.patch +0002_metar-Update-AviationWeather-URL.patch

