[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/05: gnu: josm: Update to 16731.
From: |
guix-commits |
Subject: |
05/05: gnu: josm: Update to 16731. |
Date: |
Sun, 5 Jul 2020 08:16:19 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit cfdb6770ef57a745c101388fa708aa327b8cde2b
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sun Jul 5 01:06:32 2020 +0200
gnu: josm: Update to 16731.
* gnu/packages/geo.scm (josm): Update to 16731.
---
gnu/packages/geo.scm | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index cae7f2d..0834add 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1208,7 +1208,7 @@ to the OSM opening hours specification.")
(define-public josm
(package
(name "josm")
- (version "15937")
+ (version "16731")
(source (origin
(method svn-fetch)
(uri (svn-reference
@@ -1217,7 +1217,7 @@ to the OSM opening hours specification.")
(recursive? #f)))
(sha256
(base32
- "00b8sw0wgkcf7xknmdpn5s521ax8x2660figidcrry37sgq3x946"))
+ "036kdb1ckhym5f7lj5ydzblli7f1i1pl8z00hxvagf2rczdf5fi3"))
(file-name (string-append name "-" version "-checkout"))
(modules '((guix build utils)))
(snippet
@@ -1234,6 +1234,7 @@ to the OSM opening hours specification.")
("java-jsonp-api" ,java-jsonp-api)
("java-jsonp-impl" ,java-jsonp-impl); runtime dependency
("java-metadata-extractor" ,java-metadata-extractor)
+ ("java-opening-hours-parser" ,java-opening-hours-parser)
("java-openjfx-media" ,java-openjfx-media)
("java-signpost-core" ,java-signpost-core)
("java-svg-salamander" ,java-svg-salamander)))
@@ -1255,6 +1256,14 @@ to the OSM opening hours specification.")
"<date>1970-01-01 00:00:00 +0000</date>"
"</commit></entry></info>"))))
#t))
+ (add-before 'build 'fix-jcs
+ (lambda _
+ ;; This version of JOSM uses an unreleased version of commons-jcs,
+ ;; 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"))
+ #t))
(add-before 'build 'fix-classpath
(lambda* (#:key inputs #:allow-other-keys)
(setenv "CLASSPATH"
@@ -1288,10 +1297,9 @@ to the OSM opening hours specification.")
(invoke "java" "-cp" "build/classes:scripts:."
"BuildProjectionDefinitions" ".")
#t))
- (add-after 'generate-epsg 'copy-data
+ (add-after 'generate-epsg 'copy-resources
(lambda _
- (mkdir-p "build/classes")
- (rename-file "data" "build/classes/data")
+ (copy-recursively "resources" "build/classes")
#t))
(add-before 'install 'regenerate-jar
(lambda _
@@ -1300,16 +1308,6 @@ to the OSM opening hours specification.")
(invoke "jar" "-cf" "build/jar/josm.jar" "-C"
"build/classes" ".")
#t))
- (add-before 'build 'copy-styles
- (lambda _
- (mkdir-p "build/classes")
- (rename-file "styles" "build/classes/styles")
- #t))
- (add-before 'build 'copy-images
- (lambda _
- (mkdir-p "build/classes")
- (rename-file "images" "build/classes/images")
- #t))
(add-before 'build 'copy-revision
(lambda _
(mkdir-p "build/classes")
- branch master updated (a057037 -> cfdb677), guix-commits, 2020/07/05
- 02/05: gnu: java-icu4j: Update to 66.1, use full sources., guix-commits, 2020/07/05
- 01/05: gnu: Add java-junitparams., guix-commits, 2020/07/05
- 03/05: gnu: Add java-jetbrains-annotations., guix-commits, 2020/07/05
- 04/05: gnu: Add java-opening-hours-parser., guix-commits, 2020/07/05
- 05/05: gnu: josm: Update to 16731.,
guix-commits <=