JOSM on Flathub is still version 19555

I’m using JOSM installed via flatpak.
The version on Flathub seems out of date as after starting it shows;

You should update!
Active version ‘19555’ should be updated!Stable version: 19613 Development version: 19621

But if Flathub doesn’t list any newer version, I can’t.

Could someone please update GitHub - flathub/org.openstreetmap.josm · GitHub ?

Or, would adding the file flathub.json help their bot automatically detect new stable versions and submit pull requests?;

{
    "x-checker-data": {
        "type": "html",
        "url": "https://josm.openstreetmap.de/",
        "version-pattern": "\\(Latest tested version, currently (\\d+)\\)",
        "url-template": "https://josm.openstreetmap.de/download/josm-snapshot-$version.jar"
    }
}
2 Likes

Alternative would be to use one of official installation methods

1 Like

Obviously that’s an option, yes.

I don’t remember when or why exactly I switched, it might have been an issue with the java version, some skin applying incorrectly, outdated ubuntu version and subsequently unavailable updates in the apt repository, or some combination of those.
I could try through apt again, since I’m now using debian, yes.

PRs seem to be opened automatically, but need to be tested before merging. josm-binary: Update josm.jar to 19613 by flathubbot · Pull Request #142 · flathub/org.openstreetmap.josm · GitHub

1 Like

I tried again, on Debian GNU/Linux 12 (bookworm) using the josm-installer package:

josm-installer/oldstable,oldstable,now 0.0.2+svn18515 all [installed]
  Editor for OpenStreetMap (installer)

At first I ran into the same problem as JOSM auf MANJARO since I did not have the package openjfx installed and the starter script at /usr/bin/josm requires it. Just running java -jar /usr/share/josm/josm.jar does work too, it complains about some missing parameters, oh well.

The startup script could check if openjfx is installed or not;

if ! dpkg -l openjfx 2>&1 | grep -q "ii"; then
    echo "Error: openjfx is not installed. Please install it using 'sudo apt install openjfx'."
fi

that may be distribution dependant though, I don’t know.

Using Debian 13, I just use the josm package from backports.

The one in bookworm-backports is out of date unfortunatly : I Challenge Thee