Package: release.debian.org Severity: normal X-Debbugs-Cc: [email protected] Control: affects -1 + src:lomiri-weather-app User: [email protected] Usertags: unblock
Please unblock package lomiri-weather-app [ Reason ] In Debian, lomiri-weather-app would fail in retrieving weather data due to failing built-in online connectivity checks and the alignment check for the downloaded weather data. Resulting in no weather data being shown by the app at all. This version now disables the app's connectivity checks and also disable the alignment checks in the flatbuffers code. Doing this for data downloaded from the internet is not an ideal idea, upstream is currently looking into this problem. However, but for lomiri-weather-app to be usable at all on Debian, we temporarily need data integrity verification disabled for now. [ Impact ] Weather app being broken and not release ready for Debian 13. [ Tests ] Manual tests on local hardware. [ Risks ] Minimal, only for lomiri-weather-app users. [ 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 testing [ Other info ] Relevant for Lomiri on Debian. This changeset might see an update in the furture (either before the Debian 13 release of afterwards). unblock lomiri-weather-app/6.1.4-2
diff -Nru lomiri-weather-app-6.1.4/debian/changelog lomiri-weather-app-6.1.4/debian/changelog --- lomiri-weather-app-6.1.4/debian/changelog 2025-05-05 17:29:31.000000000 +0200 +++ lomiri-weather-app-6.1.4/debian/changelog 2025-06-21 16:36:00.000000000 +0200 @@ -1,3 +1,12 @@ +lomiri-weather-app (6.1.4-2) unstable; urgency=medium + + [ Robert Tari ] + * debian/patches: + + Add 2003_connectivity-flatbuffers.patch. Patch for upstream issues caused + by Connectivity and flatbuffers. + + -- Mike Gabriel <[email protected]> Sat, 21 Jun 2025 16:36:00 +0200 + lomiri-weather-app (6.1.4-1) unstable; urgency=medium * New upstream release. diff -Nru lomiri-weather-app-6.1.4/debian/patches/2003_connectivity-flatbuffers.patch lomiri-weather-app-6.1.4/debian/patches/2003_connectivity-flatbuffers.patch --- lomiri-weather-app-6.1.4/debian/patches/2003_connectivity-flatbuffers.patch 1970-01-01 01:00:00.000000000 +0100 +++ lomiri-weather-app-6.1.4/debian/patches/2003_connectivity-flatbuffers.patch 2025-06-21 16:35:55.000000000 +0200 @@ -0,0 +1,29 @@ +diff --git a/src/app/qml/lomiri-weather-app.qml b/src/app/qml/lomiri-weather-app.qml +index 672bdfa..7edfc3c 100644 +--- a/src/app/qml/lomiri-weather-app.qml ++++ b/src/app/qml/lomiri-weather-app.qml +@@ -39,7 +39,7 @@ MainView { + When the app is started with clickable desktop, the check for network connection via Connectivity does not work. + If the app is run in desktop mode, set this property to 'true' and the check will be disabled. + */ +- property bool isDesktopMode: false ++ property bool isDesktopMode: true + + automaticOrientation: true + +diff --git a/src/plugin/open_meteo/open_meteo_weather_provider.cpp b/src/plugin/open_meteo/open_meteo_weather_provider.cpp +index 38a5745..42c0f96 100644 +--- a/src/plugin/open_meteo/open_meteo_weather_provider.cpp ++++ b/src/plugin/open_meteo/open_meteo_weather_provider.cpp +@@ -318,8 +318,10 @@ void OpenMeteoWeatherProvider::onResponse(QNetworkReply *reply) + + void OpenMeteoWeatherProvider::handleResponseChunk(QByteArray bytes, QVariant userData) + { ++ flatbuffers::Verifier::Options verifierOptions; ++ verifierOptions.check_alignment = false; + flatbuffers::Verifier verifier((const uint8_t *)bytes.constData(), +- (const size_t)bytes.length()); ++ (const size_t)bytes.length(), verifierOptions); + bool ok = openmeteo_sdk::VerifyWeatherApiResponseBuffer(verifier); + if (!ok) { + qDebug() << "error in flatbuffer data!"; diff -Nru lomiri-weather-app-6.1.4/debian/patches/series lomiri-weather-app-6.1.4/debian/patches/series --- lomiri-weather-app-6.1.4/debian/patches/series 2025-05-05 17:29:26.000000000 +0200 +++ lomiri-weather-app-6.1.4/debian/patches/series 2025-06-21 16:35:55.000000000 +0200 @@ -1,2 +1,3 @@ 2001_no-autopilot-tests.patch 2002_mention-Lomiri-in-desktop-file-description.patch +2003_connectivity-flatbuffers.patch

