Bug 452529

Summary: skrooge flatpak is using org.kde.Platform//5.15 which is end-of-life
Product: [Applications] skrooge Reporter: skierpage <skierpage>
Component: generalAssignee: Guillaume DE BURE <guillaume.debure>
Status: RESOLVED FIXED    
Severity: normal CC: stephane
Priority: NOR    
Version: Trunk from git   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description skierpage 2022-04-12 00:03:03 UTC
SUMMARY
Both the flathub and kdeapps "master" flatpaks of Skrooge now cause warnings when you update that "org.kde.Platform//5.15 is end-of-life".


STEPS TO REPRODUCE
1. Enter `flatpak install org.kde.skrooge` , or `flatpak update` if you already have the Skrooge flatpak installed.

OBSERVED RESULT
They warn:
    Info: org.kde.Platform//5.15 is end-of-life, with reason:
       We strongly recommend moving to the latest stable version of the Plaform and SDK
    Applications using this runtime:
       org.kde.skrooge

EXPECTED RESULT
No warning.

ADDITIONAL INFORMATION
  % flatpak remote-ls --runtime flathub | rg -i org.kde.platform
shows two runtimes on flathub:
    KDE Application Platform        org.kde.Platform                5.15-21.08
    KDE Application Platform        org.kde.Platform                6.2

I don't know what's different with 5.15-21.08 , but I have other KDE apps that use it that don't warn about it. Back in September 2021 there was commit https://github.com/KDE/flatpak-kde-applications/commit/1033de03fccfd63ac "Port all apps to 5.15-21.08".

I tried forcing Skrooge to use this runtime and got an error:
  % flatpak run --runtime=org.kde.Platform/x86_64/5.15-21.08 org.kde.skrooge
    skrooge: error while loading shared libraries: libicuuc.so.67: cannot open shared object file: No such file or directory
This might go away if it needs to be rebuilt.

The stable Skrooge build on flathub https://github.com/flathub/org.kde.skrooge needs a similar fix. BTW that has some tweaks, e.g. no more gengetopt patch, in addition to gratuitous whitespace differences.

One could be aggressive and change the nightly flatpak to use the 6.2 runtime.

Commit 9448e79 updated Skrooge's runtime last time https://invent.kde.org/office/skrooge/-/commit/9448e79
Comment 1 Stephane MANKOWSKI 2022-04-12 19:49:10 UTC
Git commit a2ae655ca91b5ec7d3f037ef51f0dc71f785fe74 by Stephane MANKOWSKI.
Committed on 12/04/2022 at 19:48.
Pushed by smankowski into branch 'master'.

skrooge flatpak is using org.kde.Platform//5.15 which is end-of-life

M  +1    -0    CHANGELOG
M  +1    -1    org.kde.skrooge.json

https://invent.kde.org/office/skrooge/commit/a2ae655ca91b5ec7d3f037ef51f0dc71f785fe74
Comment 2 Stephane MANKOWSKI 2022-04-12 20:16:18 UTC
Git commit 26c938a4579806c9b499483ff24b2c181281edb0 by Stephane Mankowski, on behalf of S Page.
Committed on 12/04/2022 at 20:03.
Pushed by smankowski into branch 'master'.

Move "nightly" flatpak to 5.15-21.08 runtime

M  +1    -0    CHANGELOG
M  +1    -1    org.kde.skrooge.json

https://invent.kde.org/office/skrooge/commit/26c938a4579806c9b499483ff24b2c181281edb0