Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kpublictransport for 
openSUSE:Factory checked in at 2025-11-08 16:32:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kpublictransport (Old)
 and      /work/SRC/openSUSE:Factory/.kpublictransport.new.1980 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kpublictransport"

Sat Nov  8 16:32:14 2025 rev:59 rq:1316274 version:25.08.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/kpublictransport/kpublictransport.changes        
2025-10-13 17:30:52.728183824 +0200
+++ 
/work/SRC/openSUSE:Factory/.kpublictransport.new.1980/kpublictransport.changes  
    2025-11-08 16:34:25.375938987 +0100
@@ -1,0 +2,15 @@
+Thu Nov  6 18:37:57 UTC 2025 - Christophe Marin <[email protected]>
+
+- Update to 25.08.3
+  * New bugfix release
+  * For more details please see:
+  * https://kde.org/announcements/gear/25.08.3/
+- Changes since 25.08.2:
+  * Properly validate of onboard API coordinates
+  * Fix parsing of RailJet speed, also parse heading and altitude
+  * Add another Wi-Fi name for the Frecciarossa onboard API
+  * TransportNameControl: Only adapt to width if wanted
+  * JourneyHorizontalBar: Remove duration-based sizing
+  * JourneyHorizontalBar: Improve section width calculation
+
+-------------------------------------------------------------------

Old:
----
  kpublictransport-25.08.2.tar.xz
  kpublictransport-25.08.2.tar.xz.sig

New:
----
  kpublictransport-25.08.3.tar.xz
  kpublictransport-25.08.3.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kpublictransport.spec ++++++
--- /var/tmp/diff_new_pack.RUAfY6/_old  2025-11-08 16:34:27.088010669 +0100
+++ /var/tmp/diff_new_pack.RUAfY6/_new  2025-11-08 16:34:27.096011003 +0100
@@ -21,7 +21,7 @@
 
 %bcond_without released
 Name:           kpublictransport
-Version:        25.08.2
+Version:        25.08.3
 Release:        0
 Summary:        QML imports for querying public transport data
 License:        LGPL-2.0-or-later


++++++ kpublictransport-25.08.2.tar.xz -> kpublictransport-25.08.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpublictransport-25.08.2/CMakeLists.txt 
new/kpublictransport-25.08.3/CMakeLists.txt
--- old/kpublictransport-25.08.2/CMakeLists.txt 2025-10-07 05:20:46.000000000 
+0200
+++ new/kpublictransport-25.08.3/CMakeLists.txt 2025-11-01 04:20:52.000000000 
+0100
@@ -6,7 +6,7 @@
 # KDE Application Version, managed by release script
 set (RELEASE_SERVICE_VERSION_MAJOR "25")
 set (RELEASE_SERVICE_VERSION_MINOR "08")
-set (RELEASE_SERVICE_VERSION_MICRO "2")
+set (RELEASE_SERVICE_VERSION_MICRO "3")
 set (RELEASE_SERVICE_VERSION 
"${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
 project(KPublicTransport VERSION ${RELEASE_SERVICE_VERSION})
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kpublictransport-25.08.2/autotests/onboardstatustest.cpp 
new/kpublictransport-25.08.3/autotests/onboardstatustest.cpp
--- old/kpublictransport-25.08.2/autotests/onboardstatustest.cpp        
2025-10-07 05:20:46.000000000 +0200
+++ new/kpublictransport-25.08.3/autotests/onboardstatustest.cpp        
2025-11-01 04:20:52.000000000 +0100
@@ -61,7 +61,7 @@
         QTest::newRow("sncf-inoui") << s("sncf-tgv") << s("sncf-inoui.json") 
<< 48.064258333f << 7.33914f << 105.379f << 212.5f << 205.47f;
         QTest::newRow("thalys") << s("icomera-omboard") << s("thalys.json") << 
50.948208f << 6.885135f << 163.512f << 259.72f << 54.7f;
         QTest::newRow("oebb-railnet") << s("oebb") << s("oebb-railnet.json") 
<< 47.4719f << 19.022648f << NAN << NAN << NAN;
-        QTest::newRow("oebb-railnetregio") << s("oebb") << 
s("oebb-railnetregio.json") << 48.1459f << 16.4267f << 37.325f  << NAN << NAN;
+        QTest::newRow("oebb-railnetregio") << s("oebb") << 
s("oebb-railnetregio.json") << 48.1459f << 16.4267f << 134.371f  << NAN << NAN;
 
         QTest::newRow("ana") << s("panasonic-inflight-v1") << 
s("../onboard-journey/ana.in.json") << 39.3520f << 141.077f << 801.916f << 
191.0f << 9753.91f;
         QTest::newRow("united-panasonic") << s("panasonic-inflight-v1") << 
s("../onboard-journey/united-panasonic.in.json") << 41.5150f << 2.069f << 
872.292f << 169.0f << 10668.6f;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpublictransport-25.08.2/po/ar/kpublictransport.po 
new/kpublictransport-25.08.3/po/ar/kpublictransport.po
--- old/kpublictransport-25.08.2/po/ar/kpublictransport.po      2025-10-07 
05:20:46.000000000 +0200
+++ new/kpublictransport-25.08.3/po/ar/kpublictransport.po      2025-11-01 
04:20:52.000000000 +0100
@@ -15,7 +15,7 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
-"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
+"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
 "X-Generator: Lokalize 23.08.5\n"
 
 #: lib/datatypes/classutil.cpp:29
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpublictransport-25.08.2/po/de/kpublictransport.po 
new/kpublictransport-25.08.3/po/de/kpublictransport.po
--- old/kpublictransport-25.08.2/po/de/kpublictransport.po      2025-10-07 
05:20:46.000000000 +0200
+++ new/kpublictransport-25.08.3/po/de/kpublictransport.po      2025-11-01 
04:20:52.000000000 +0100
@@ -4,7 +4,6 @@
 # This file is distributed under the same license as the kpublictransport 
package.
 # SPDX-FileCopyrightText: 2024, 2025 Alois.spitzbart <[email protected]>
 # SPDX-FileCopyrightText: 2024 Johannes Obermayr <[email protected]>
-# Automatically generated, 2024.
 msgid ""
 msgstr ""
 "Project-Id-Version: kpublictransport\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpublictransport-25.08.2/po/fi/kpublictransport.po 
new/kpublictransport-25.08.3/po/fi/kpublictransport.po
--- old/kpublictransport-25.08.2/po/fi/kpublictransport.po      2025-10-07 
05:20:46.000000000 +0200
+++ new/kpublictransport-25.08.3/po/fi/kpublictransport.po      2025-11-01 
04:20:52.000000000 +0100
@@ -15,7 +15,7 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Lokalize 23.08.5\n"
+"X-Generator: Lokalize 25.04.0\n"
 
 #: lib/datatypes/classutil.cpp:29
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpublictransport-25.08.2/po/it/kpublictransport.po 
new/kpublictransport-25.08.3/po/it/kpublictransport.po
--- old/kpublictransport-25.08.2/po/it/kpublictransport.po      2025-10-07 
05:20:46.000000000 +0200
+++ new/kpublictransport-25.08.3/po/it/kpublictransport.po      2025-11-01 
04:20:52.000000000 +0100
@@ -15,7 +15,7 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Lokalize 25.04.3\n"
+"X-Generator: Lokalize 25.08.2\n"
 
 #: lib/datatypes/classutil.cpp:29
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kpublictransport-25.08.2/src/onboard/data/accesspoints.json 
new/kpublictransport-25.08.3/src/onboard/data/accesspoints.json
--- old/kpublictransport-25.08.2/src/onboard/data/accesspoints.json     
2025-10-07 05:20:46.000000000 +0200
+++ new/kpublictransport-25.08.3/src/onboard/data/accesspoints.json     
2025-11-01 04:20:52.000000000 +0100
@@ -19,6 +19,7 @@
     { "ssid": "THALYSNET", "id": "icomera-omboard" },
     { "ssid": "United_Wi-Fi", "id": "panasonic-inflight-v1" },
     { "ssid": "Unitedwifi.com", "id": "united" },
+    { "ssid": "WiFi Frecciarossa.", "id": "icomera-omboard" },
     { "ssid": "WIFI@DB", "id": "deutschebahn-zugportal" },
     { "ssid": "wififrecceplus2", "id": "icomera-omboard" },
     { "ssid": "WIFIonICE", "id": "deutschebahn-ice" },
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpublictransport-25.08.2/src/onboard/data/oebb.js 
new/kpublictransport-25.08.3/src/onboard/data/oebb.js
--- old/kpublictransport-25.08.2/src/onboard/data/oebb.js       2025-10-07 
05:20:46.000000000 +0200
+++ new/kpublictransport-25.08.3/src/onboard/data/oebb.js       2025-11-01 
04:20:52.000000000 +0100
@@ -8,7 +8,9 @@
     return {
         latitude: response.Latitude,
         longitude: response.Longitude,
-        speed: response.JSON ? response.JSON.speed : undefined
+        speed: response.JSON?.speed * 3.6,
+        heading: response.JSON?.heading,
+        altitude: response.JSON?.altitude,
     };
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kpublictransport-25.08.2/src/onboard/positiondata_p.h 
new/kpublictransport-25.08.3/src/onboard/positiondata_p.h
--- old/kpublictransport-25.08.2/src/onboard/positiondata_p.h   2025-10-07 
05:20:46.000000000 +0200
+++ new/kpublictransport-25.08.3/src/onboard/positiondata_p.h   2025-11-01 
04:20:52.000000000 +0100
@@ -16,9 +16,9 @@
 class PositionData
 {
 public:
-    inline bool hasCoordinate() const
+    [[nodiscard]] bool hasCoordinate() const
     {
-        return !std::isnan(latitude) && !std::isnan(longitude);
+        return !std::isnan(latitude) && !std::isnan(longitude) && latitude >= 
-90.0f && latitude <= 90.0f && longitude >= -180.0f && longitude <= 180.0f;
     }
 
     float latitude = NAN;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kpublictransport-25.08.2/src/quick/JourneyHorizontalBar.qml 
new/kpublictransport-25.08.3/src/quick/JourneyHorizontalBar.qml
--- old/kpublictransport-25.08.2/src/quick/JourneyHorizontalBar.qml     
2025-10-07 05:20:46.000000000 +0200
+++ new/kpublictransport-25.08.3/src/quick/JourneyHorizontalBar.qml     
2025-11-01 04:20:52.000000000 +0100
@@ -32,19 +32,6 @@
     spacing: Kirigami.Units.smallSpacing
     Layout.fillWidth: true
 
-    // minimum width we need to show the journey without eliding/clipping/etc
-    readonly property real __minimumWidth: {
-        if (repeater.count != root.journey.sections.length || repeater.count 
=== 0) // still being populated
-            return 0.0;
-        let s = 0.0;
-        for (const v of root.children) {
-            if (v as TransportNameControl)
-                s += v.implicitWidth
-        }
-        s += (repeater.count - 1) * root.spacing;
-        return s;
-    }
-
     // suspiciously long individual transport sections
     function warnAboutSection(section : KPublicTransport.journeySection): bool 
{
         switch (section.mode) {
@@ -81,12 +68,9 @@
             required property KPublicTransport.journeySection modelData
             journeySection: modelData
 
-            Layout.fillWidth: true
-            Layout.maximumWidth: delegateRoot.modelData.mode === 
KPublicTransport.JourneySection.PublicTransport ? Number.POSITIVE_INFINITY : 
implicitWidth
-            Layout.minimumWidth: root.__minimumWidth < root.width ? 
implicitWidth : 0
+            Layout.fillWidth: delegateRoot.modelData.mode === 
KPublicTransport.JourneySection.PublicTransport
 
-            // when we have the space, size public transport sections based on 
their duration
-            Layout.preferredWidth: implicitWidth + 
(delegateRoot.modelData.mode === 
KPublicTransport.JourneySection.PublicTransport ? 
(delegateRoot.journeySection.duration / root.journey.duration) * (root.width - 
(root.journey.sections.length * root.spacing) - root.__minimumWidth) : 0)
+            squashToFit: true
 
             // ### enabled: false for cancelled sections? needs the below icon 
moved out of the hierarchy though
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kpublictransport-25.08.2/src/quick/TransportNameControl.qml 
new/kpublictransport-25.08.3/src/quick/TransportNameControl.qml
--- old/kpublictransport-25.08.2/src/quick/TransportNameControl.qml     
2025-10-07 05:20:46.000000000 +0200
+++ new/kpublictransport-25.08.3/src/quick/TransportNameControl.qml     
2025-11-01 04:20:52.000000000 +0100
@@ -44,11 +44,21 @@
     /** Displayed name of the public transport line. */
     property string lineName: root.line.name
 
+    /** The lower limit of the width this item can take **/
+    readonly property int minimumWidth: Kirigami.Units.iconSizes.smallMedium + 
Kirigami.Units.smallSpacing * 2
+
+    /**
+     * Whether the item should try to adapt to a lack of space (width)
+     * Default: false
+    **/
+    property bool squashToFit: false
+
     leftPadding: Kirigami.Units.smallSpacing
     rightPadding: Kirigami.Units.smallSpacing
     topPadding: Kirigami.Units.smallSpacing
     bottomPadding: Kirigami.Units.smallSpacing
 
+
     clip: true
 
     contentItem: RowLayout {
@@ -56,6 +66,7 @@
 
         Item {
             Layout.fillWidth: true
+            Layout.horizontalStretchFactor: 5
         }
 
         KPublicTransport.TransportIcon {
@@ -71,6 +82,9 @@
             Accessible.name: root.modeName
 
             Layout.rightMargin: lineName.visible ? Kirigami.Units.smallSpacing 
: 0
+            Layout.fillWidth: true
+
+            Layout.minimumWidth: Kirigami.Units.iconSizes.smallMedium
         }
 
         Kirigami.Heading {
@@ -93,18 +107,20 @@
             }
             level: 4
             text: root.lineName
-            visible: text.length > 0 && root.journeySectionMode === 
KPublicTransport.JourneySection.PublicTransport && !root.line.hasLogo
-            elide: Text.ElideRight
+            visible: text.length > 0 && root.journeySectionMode === 
KPublicTransport.JourneySection.PublicTransport && !root.line.hasLogo &&
+                    !(squashToFit && lineName.contentWidth > lineName.width)
             font.weight: Font.DemiBold
             horizontalAlignment: Text.AlignHCenter
             verticalAlignment: Text.AlignVCenter
 
             Layout.minimumHeight: Kirigami.Units.iconSizes.smallMedium
             Layout.fillHeight: true
+            Layout.fillWidth: true
         }
 
         Item {
             Layout.fillWidth: true
+            Layout.horizontalStretchFactor: 5
         }
     }
 

Reply via email to