gnu: josm: Update to 18118.

* gnu/packages/geo.scm (josm): Update to 18118.
[inputs]: Add java-jsr305.
[arguments]<#:phases>{fix-jcs}: Replace ICache.NAME_COMPONENT_DELIMITER with
what it points to (":") because its location changed with jcs3.
This commit is contained in:
Clément Lassieur 2021-08-27 16:23:40 +02:00
parent c9f6fe2c57
commit 7125b0d8a1
No known key found for this signature in database
GPG key ID: 89F96D4808F359C7

View file

@ -1407,7 +1407,7 @@ (define-public java-opening-hours-parser
(define-public josm
(package
(name "josm")
(version "17329")
(version "18118")
(source (origin
(method svn-fetch)
(uri (svn-reference
@ -1416,7 +1416,7 @@ (define-public josm
(recursive? #f)))
(sha256
(base32
"0bq6mirdsi0kmhjfzfp3innxi5a4395d7mas7ikxaz0cziljrz1i"))
"0109ddpxilm7f57n1kl4nf4lw0lh7jfmhfwf724nzlcz4k23mrs0"))
(file-name (string-append name "-" version "-checkout"))
(modules '((guix build utils)))
(snippet
@ -1432,6 +1432,7 @@ (define-public josm
("java-jmapviewer" ,java-jmapviewer)
("java-jsonp-api" ,java-jsonp-api)
("java-jsonp-impl" ,java-jsonp-impl); runtime dependency
("java-jsr305" ,java-jsr305)
("java-metadata-extractor" ,java-metadata-extractor)
("java-opening-hours-parser" ,java-opening-hours-parser)
("java-openjfx-media" ,java-openjfx-media)
@ -1461,7 +1462,8 @@ (define-public josm
;; which has renamed its classes to another namespace. Rename them
;; back so they can be used with our version of jcs.
(substitute* (find-files "." ".*.java$")
(("jcs3") "jcs"))
(("jcs3") "jcs")
(("ICache.NAME_COMPONENT_DELIMITER") "\":\""))
#t))
(add-before 'build 'fix-classpath
(lambda* (#:key inputs #:allow-other-keys)