diff options
| author | Danny Milosavljevic <dannym@scratchpost.org> | 2018-10-07 14:42:15 +0200 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@scratchpost.org> | 2018-10-07 14:42:57 +0200 |
| commit | 02803fdf45541584d0341786d5dfbfb76f17d317 (patch) | |
| tree | 7ab9cf8b1de03be6b237951ffb3c9e8280e23041 /gnu/packages/batik.scm | |
| parent | 52d2725ab126a98f170482d483ef4ddd71ba8edf (diff) | |
gnu: java-xmlgraphics-commons: Remove bundled dependencies.
* gnu/packages/batik.scm (java-xmlgraphics-commons): Remove bundled
dependencies.
Diffstat (limited to 'gnu/packages/batik.scm')
| -rw-r--r-- | gnu/packages/batik.scm | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/gnu/packages/batik.scm b/gnu/packages/batik.scm index d45600f7b9e..9449e565f11 100644 --- a/gnu/packages/batik.scm +++ b/gnu/packages/batik.scm | |||
| @@ -26,7 +26,8 @@ | |||
| 26 | #:use-module (gnu packages) | 26 | #:use-module (gnu packages) |
| 27 | #:use-module (gnu packages compression) | 27 | #:use-module (gnu packages compression) |
| 28 | #:use-module (gnu packages java) | 28 | #:use-module (gnu packages java) |
| 29 | #:use-module (gnu packages textutils)) | 29 | #:use-module (gnu packages textutils) |
| 30 | #:use-module (gnu packages xml)) | ||
| 30 | 31 | ||
| 31 | (define-public java-w3c-smil-3.0 | 32 | (define-public java-w3c-smil-3.0 |
| 32 | (package | 33 | (package |
| @@ -199,13 +200,16 @@ SAC is an interface for CSS parsers.") | |||
| 199 | version "-src.tar.gz")) | 200 | version "-src.tar.gz")) |
| 200 | (sha256 | 201 | (sha256 |
| 201 | (base32 | 202 | (base32 |
| 202 | "0a432a4ca3vgnbada5cy9mlmfzmq6hi4i176drfxrp17q2d43w23")))) | 203 | "0a432a4ca3vgnbada5cy9mlmfzmq6hi4i176drfxrp17q2d43w23")) |
| 204 | (modules '((guix build utils))) | ||
| 205 | (snippet | ||
| 206 | `(begin | ||
| 207 | (delete-file-recursively "lib") | ||
| 208 | #t)))) | ||
| 203 | (build-system ant-build-system) | 209 | (build-system ant-build-system) |
| 204 | (arguments | 210 | (arguments |
| 205 | `(#:build-target "jar-main" | 211 | `(#:build-target "jar-main" |
| 206 | ;; TODO: More detailed tests are available--but they need | 212 | ;; TODO: More detailed tests are available. |
| 207 | ;; commons-xml-resolver. | ||
| 208 | ;; TODO: Provide commons-xml-resolver. | ||
| 209 | #:test-target "junit-basic" | 213 | #:test-target "junit-basic" |
| 210 | #:phases | 214 | #:phases |
| 211 | (modify-phases %standard-phases | 215 | (modify-phases %standard-phases |
| @@ -215,6 +219,11 @@ SAC is an interface for CSS parsers.") | |||
| 215 | (("<attribute name=\"Build-Id\" value=\"[^\"]*\"") | 219 | (("<attribute name=\"Build-Id\" value=\"[^\"]*\"") |
| 216 | "<attribute name=\"Build-Id\" value=\"\"")) | 220 | "<attribute name=\"Build-Id\" value=\"\"")) |
| 217 | #t)) | 221 | #t)) |
| 222 | (add-before 'build 'prepare-build-directories | ||
| 223 | (lambda _ | ||
| 224 | (mkdir "lib") | ||
| 225 | (mkdir "lib/build") | ||
| 226 | #t)) | ||
| 218 | (replace 'install | 227 | (replace 'install |
| 219 | (lambda* (#:key outputs #:allow-other-keys) | 228 | (lambda* (#:key outputs #:allow-other-keys) |
| 220 | (let* ((out (assoc-ref outputs "out")) | 229 | (let* ((out (assoc-ref outputs "out")) |
| @@ -225,7 +234,14 @@ SAC is an interface for CSS parsers.") | |||
| 225 | "xmlgraphics-commons.*\\.jar$")) | 234 | "xmlgraphics-commons.*\\.jar$")) |
| 226 | #t)))))) | 235 | #t)))))) |
| 227 | (native-inputs | 236 | (native-inputs |
| 228 | `(("java-junit" ,java-junit))) | 237 | `(("java-apache-xml-commons-resolver" ,java-apache-xml-commons-resolver) |
| 238 | ("java-hamcrest" ,java-hamcrest-core) | ||
| 239 | ("java-junit" ,java-junit) | ||
| 240 | ("java-mockito" ,java-mockito-1) | ||
| 241 | ("java-objenesis" ,java-objenesis))) | ||
| 242 | (propagated-inputs | ||
| 243 | `(("java-commons-io" ,java-commons-io) | ||
| 244 | ("java-commons-logging-minimal" ,java-commons-logging-minimal))) | ||
| 229 | (home-page "https://xmlgraphics.apache.org/commons/") | 245 | (home-page "https://xmlgraphics.apache.org/commons/") |
| 230 | (synopsis "XMLGraphics constants") | 246 | (synopsis "XMLGraphics constants") |
| 231 | (description "This package provides XMLGraphics constants (originally | 247 | (description "This package provides XMLGraphics constants (originally |
