Package Details: josm-svn 19018-1

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.001006
First Submitted: 2018-06-03 10:03 (UTC)
Last Updated: 2024-03-20 18:33 (UTC)

Dependencies (6)

Required by (1)

Sources (3)

Pinned Comments

Latest Comments

1 2 3 4 5 6 7 Next › Last »

dreieck commented on 2025-04-09 10:38 (UTC)

Ahoj,

the license identifier should be migrated to a SPDX compliant one:

josm-svn E: GPL is not a valid SPDX license identifier. See https://spdx.org/licenses/ for valid identifiers, or prefix the identifier with 'LicenseRef-', if it is custom.

Regards and many thanks again for this package!

dreieck commented on 2024-07-23 16:18 (UTC) (edited on 2024-07-23 16:24 (UTC) by dreieck)

... 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!

dreieck commented on 2024-07-23 16:02 (UTC) (edited on 2024-07-23 16:24 (UTC) by dreieck)

@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?

SammysHP commented on 2024-07-23 15:53 (UTC)

@dreieck

josm-svn runs fine with extra/jdk-openjdk on my machine. Maybe the JavaFX package is broken?

dreieck commented on 2024-07-23 15:50 (UTC) (edited on 2024-07-23 15:51 (UTC) by dreieck)

@SammysHP: The --add-modules actually was needed, only setting (and exporting) the environment variable did not help.

SammysHP commented on 2024-07-23 15:47 (UTC)

@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.

dreieck commented on 2024-07-23 15:26 (UTC)

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!

SammysHP commented on 2024-07-12 12:04 (UTC)

Thanks for the suggestion! Unfortunately the downloads are handled by the ant build tool and there is no offline mode AFAIK.

dreieck commented on 2024-07-12 11:12 (UTC) (edited on 2024-07-12 11:14 (UTC) by dreieck)

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!