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.23
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 Next › Last »

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!

infeeeee commented on 2024-04-23 10:50 (UTC)

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.

SammysHP commented on 2024-03-20 18:35 (UTC)

Thanks, fixed!

infeeeee commented on 2024-03-20 12:19 (UTC)

On version 19017 I get this error on startup:

Missing JVM Arguments:
 --add-exports=java.base/sun.security.action=ALL-UNNAMED
 --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED
 --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED

To solve this, add these to the end of the file /etc/conf.d/josm:

JAVA_OPTS="${JAVA_OPTS} --add-exports=java.base/sun.security.action=ALL-UNNAMED --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED"

Upstream issue: https://josm.openstreetmap.de/ticket/23489

dreieck commented on 2023-08-20 14:06 (UTC) (edited on 2023-08-20 14:11 (UTC) by dreieck)

pkgver() is broken:

Forget about it, and the previous issue.

firejail broke things for me.

SammysHP commented on 2023-08-20 14:05 (UTC) (edited on 2023-08-20 14:06 (UTC) by SammysHP)

@dreieck

It is the pkgver function recommended by pacman and it built fine in the past (last checked about two weeks ago). What string is generated by your system?

Do you have something installed that provides subversion, but actually doesn't contain the executables?

dreieck commented on 2023-08-20 13:59 (UTC) (edited on 2023-08-20 14:00 (UTC) by dreieck)

@dreieck It is already in makedepends.

I see; strange that a yay josm-svn did abort on not-present svn executable. Hm.

dreieck commented on 2023-08-20 13:57 (UTC)

pkgver() is broken:

==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version:  

Regards!

SammysHP commented on 2023-08-20 13:55 (UTC)

@dreieck It is already in makedepends.