... but "Microsoft Streetside" seems to be defunct anyway, so we for now can forget about this.
↗ Ticket to remove the "MicrosoftStreetside"-plugin has been issued to JOSM.
Regards and sorry for bothering!
Git Clone URL: | https://aur.archlinux.org/josm-svn.git (read-only, click to copy) |
---|---|
Package Base: | josm-svn |
Description: | An editor for OpenStreetMap written in Java |
Upstream URL: | http://josm.openstreetmap.de/ |
Keywords: | openstreetmap |
Licenses: | GPL |
Conflicts: | josm |
Provides: | josm |
Submitter: | SammysHP |
Maintainer: | SammysHP |
Last Packager: | SammysHP |
Votes: | 31 |
Popularity: | 0.013633 |
First Submitted: | 2018-06-03 10:03 (UTC) |
Last Updated: | 2024-03-20 18:33 (UTC) |
... but "Microsoft Streetside" seems to be defunct anyway, so we for now can forget about this.
↗ Ticket to remove the "MicrosoftStreetside"-plugin has been issued to JOSM.
Regards and sorry for bothering!
@SammysHP: Some plugin(s) need it:
I also have extra/jdk-openjdk
.
So maybe java-openjfx
(which in the up to date version is only in the AUR) could be an optional dependency, and the run script checks it's presence and if present, adds the needed command line option?
@dreieck
josm-svn
runs fine with extra/jdk-openjdk
on my machine. Maybe the JavaFX package is broken?
@SammysHP: The --add-modules
actually was needed, only setting (and exporting) the environment variable did not help.
@dreieck
The startup script does not enforce any specific Java environment. It uses the system default (or whatever you've changed your environment to when starting josm). It is not the task of Java applications to set up the Java environment. Please check your Java installation.
JOSM complained for me that JavaFX was not found (needed by some plugin).
Adding the following to /usr/bin/josm
did fix it for me:
JAVAFX_HOME="/usr/lib/jvm/default/lib/javafx.base.jar:/usr/lib/jvm/default/lib/javafx.web.jar:/usr/lib/jvm/default/lib/javafx.controls.jar:/usr/lib/jvm/default/lib/javafx.swing.jar:/usr/lib/jvm/default/lib/javafx.media.jar:/usr/lib/jvm/default/lib/javafx.graphics.jar:/usr/lib/jvm/default/lib/javafx.fxml.jar"
and
JAVA_OPTS="--module-path ${JAVAFX_HOME} --add-modules java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web"
(Taken from ↗ here and ↗ here.)
Maybe you look into your startup script?
Regards!
Thanks for the suggestion! Unfortunately the downloads are handled by the ant build tool and there is no offline mode AFAIK.
This PKGBUILD
downloads stuff in build()
.
It looks like that the first thing actually also can be downloaded via the source
array; if so, please do so.
Otherwise (and for all the other dependencies), please move the download step to prepare()
, to make build
beeing able to run in offline environment (like packages using cargo
or go
also have the recommendation to download in prepare
).
init-ivy:
[get] Getting: https://josm.openstreetmap.de/nexus/content/repositories/public/org/apache/ivy/ivy/2.5.1/ivy-2.5.1.jar
[get] To: /var/cache/makepkg/build/josm-svn/src/josm-svn/tools/ivy/ivy-2.5.1.jar
resolve:
[ivy:resolve] :: Apache Ivy 2.5.1 - 20221101102211 :: https://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = /var/cache/makepkg/build/josm-svn/src/josm-svn/ivysettings.xml
[ivy:resolve] downloading https://josm.openstreetmap.de/nexus/content/repositories/public/org/openstreetmap/jmapviewer/jmapviewer/2.19/jmapviewer-2.19.jar ...
[ivy:resolve] ............................ (142kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] [SUCCESSFUL ] org.openstreetmap.jmapviewer#jmapviewer;2.19!jmapviewer.jar (545ms)
[...]
[ much more ]
[...]
[ivy:resolve] downloading https://josm.openstreetmap.de/nexus/content/repositories/public/net/bytebuddy/byte-buddy/1.14.13/byte-buddy-1.14.13.jar ...
[ivy:resolve] ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
[ivy:resolve] ......................................................................... (4114kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] [SUCCESSFUL ] net.bytebuddy#byte-buddy;1.14.13!byte-buddy.jar (1987ms)
[...]
[ starting build process ]
Regards and thanks for the package!
jdk-openjdk was updated to java 22 on 2024-04-17, but JOSM doesn't work on that, I got SIGSEGV errors and josm collapsed when I opened some dialogs
Removed jdk-openjdk and installed jdk21-openjdk instead, and now everything works.
In the docs they recommend only running josm on LTS java releases. Java 21 is an LTS release, the next LTS will be java 25, it will be released in 2025.
Thanks, fixed!
Pinned Comments