Commit Graph

488 Commits

Author SHA1 Message Date
Gábor Boskovits 6219685922
gnu: clojure: Fix index generation.
* gnu/packages/java.scm (clojure)[arguments]: Add phase 'fix-manifest-classpath to remove
offending directory entry making indexing fail.
2018-07-29 08:41:34 +02:00
Björn Höfling 4b472f6a06
gnu: java: Use java-javaee-servletapi instead of java-tomcat.
* gnu/packages/java.scm(java-eclipse-sisu-inject)[inputs]: Remove java-tomcat, add java-javaee-servletapi.
(logback-core)[inputs]: Likewise.
* gnu/packages/maven.scm (maven-wagon-provider-test)[inputs]: Likewise.
* gnu/packages/web.scm (java-eclipse-jetty-webapp)[inputs]: Likewise.
(java-eclipse-jetty-server)[inputs]: Likewise.
(java-eclipse-jetty-http)[inputs]: Likewise.
(java-eclipse-jetty-jmx)[inputs]: Likewise.
(java-eclipse-jetty-io)[inputs]: Likewise.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2018-07-25 00:27:12 +02:00
Björn Höfling 10d62a88bf
gnu: Add java-javaee-servletapi.
* gnu/packages/java.scm (java-javaee-servletapi): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2018-07-25 00:27:10 +02:00
Björn Höfling 10eddaca0e
gnu: java: Use java-classpathx-servletapi instead of java-tomcat where possible.
* gnu/package/java.scm (java-commons-jxpath)[inputs]: Remove java-tomcat, add java-classpathx-servletapi.
(java-guice-servlet)[inputs]: Likewise.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2018-07-25 00:27:08 +02:00
Björn Höfling b1ccd2a1ec
gnu: java-logback-core: Add file-name field.
* gnu/package/java.scm (java-logback-core)[source]: Add file-name field.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2018-07-25 00:27:05 +02:00
Björn Höfling 9936ffe77d
gnu: java-guice: Remove jars.
* gnu/packages/java.scm (java-guice)[source]: Add snippet to delete jar-files.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2018-07-25 00:26:37 +02:00
Leo Famulari 248a9e163b
gnu: java-bouncycastle: Update to 1.60 [fixes CVE-2018-1000180].
* gnu/packages/java.scm (java-bouncycastle): Update to 1.60.
2018-07-16 03:07:49 -04:00
Julien Lepiller 34aff57c82
gnu: antlr3: Fix compilation.
* gnu/packages/java.scm (antlr3)[arguments]: Fix 'generate-grammar' phase.
2018-07-13 18:39:28 +02:00
Marius Bakke 873325b030
Merge branch 'master' into staging 2018-07-08 23:58:22 +02:00
Julien Lepiller a70182b099
gnu: java-plexus-compiler-api: Update to 2.8.4.
* gnu/packages/java.scm (java-plexus-compiler-api): Update to 2.8.4.
2018-07-04 21:05:36 +02:00
Gábor Boskovits 673135df30
gnu: icedtea Work around gcc segfault.
* gnu/packages/java.scm (icedtea-8)[native-inputs]: Add icedtea-7
patch to hotspot.
2018-07-03 02:07:14 +02:00
Gábor Boskovits db024183c9
gnu: icedtea: Work around gcc segfault.
* gnu/packages/java.scm (icedtea-7)[native-inputs]: Add patch to hotspot.
* gnu/packages/patches/icedtea-7-hotspot-gcc-segfault-workaround.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-07-03 00:53:56 +02:00
Ricardo Wurmus 2cc63e6fcf
gnu: java-hamcrest-all: Add java-hamcrest-core to inputs.
Fixes <https://debbugs.gnu.org/31390>, probably.

* gnu/packages/java.scm (java-hamcrest-all)[inputs]: Add java-hamcrest-core.
[arguments]: Add java-hamcrest-core to the build-time classpath.
2018-07-02 16:48:03 +02:00
Gábor Boskovits 1cdff8cdb7
gnu: icedtea: Work around gcc segfault.
* gnu/packages/java.scm (icedtea-6)[arguments]: Modify phases to extract
hostspot, as after the patching it becomes an archive.
[native-inputs]: add patch to hotspot-src.
* gnu/packages/patches/icedtea-6-hotspot-gcc-segfault-workaround.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-07-02 14:41:27 +02:00
Gábor Boskovits 79f9b054df
Revert "gnu: icedtea-7: Build with gcc-4.9."
This reverts commit bc73f673e8.
2018-07-02 14:39:12 +02:00
Marius Bakke 92af3ce417
Merge branch 'master' into staging 2018-07-02 12:18:58 +02:00
Gábor Boskovits 88aa75e922
gnu: java-jarjar: Unbundle asm.
* gnu/packages/java.scm (java-jarjar)[inputs]: Add java-asm-bootstrap.
[source]: Add snippet to delete bundled asm and junit.
[arguments]: Add phase 'do-not-use-bundled-asm to patch build.xml to
use system asm.
2018-06-28 17:00:32 +02:00
Mark H Weaver fa41a089a1
gnu: icedtea-7: Return #t from custom check phase.
* gnu/packages/java.scm (icedtea-7)[arguments]: Return #t from custom
check phase.
2018-06-28 05:47:48 -04:00
Mark H Weaver 2c8ac3641a
gnu: java: Return #t from all phases and snippets.
* guix/build/java-utils.scm (ant-build-javadoc): Use invoke; return #t.
* guix/build/ant-build-system.scm (generate-jar-indices): Return #t and
remove vestigal plumbing.
* gnu/packages/java.scm (classpath-bootstrap, ant-bootstrap, classpath-devel)
(icedtea-6, icedtea-7, java-plexus-sec-dispatcher, ant/java8, clojure)
(java-classpathx-servletapi, java-swt, java-qdox-1.12, java-hamcrest-core)
(java-plexus-archiver, java-plexus-sec-dispatcher, java-modello-plugins-xml)
(java-asm, java-commons-collections, java-commons-bsf, java-slf4j-api)
(java-slf4j-api, java-slf4j-simple, java-stringtemplate-3)
(java-stringtemplate, antlr3, antlr3-3.3, antlr3-3.1, java-ops4j-base-lang)
(java-ops4j-pax-tinybundles, java-ops4j-pax-exam-core-spi)
(java-fasterxml-jackson-core, java-fasterxml-jackson-databind)
(java-fasterxml-jackson-modules-base-jaxb, java-ecj-3, java-ecj-3.5)
(java-fasterxml-jackson-dataformat-yaml, java-woodstox-core)
(java-fasterxml-jackson-dataformat-xml, java-testng, java-jnacl)
(java-bouncycastle, java-powermock-core, java-powermock-modules-junit4)
(java-jansi-native, java-jansi, java-commons-httpclient, java-commons-vfs)
(java-apache-ivy, java-janino, java-logback-core): Return #t from all phases
and snippets, use invoke where appropriate, and remove vestigial plumbing.
2018-06-28 03:55:37 -04:00
Efraim Flashner b6dc384a5a
gnu: ecj-javac-wrapper: Remove unnecessary build flags.
* gnu/packages/java.scm (ecj-javac-wrapper)[arguments]: Remove
unnecessary build flags passed to the java command.
2018-06-27 22:16:23 +03:00
Gábor Boskovits 3785ccd201
gnu: java-aqute-libg-bootstrap: Use base package phases.
* gnu/packages/java.scm (java-aqute-libg-boostrap)[arguments]: Do not ignore
base package arguments.
2018-06-27 19:54:50 +02:00
Marius Bakke a167873c67
Merge branch 'master' into staging 2018-06-26 13:51:26 +02:00
Efraim Flashner 4c65eb43c7
gnu: classpath-devel: Use INVOKE.
* gnu/packages/java.scm (classpath-devel)[arguments]: Substitute INVOKE
for SYSTEM*.
2018-06-26 14:46:00 +03:00
Efraim Flashner 15a59c21d3
gnu: classpath@0.99: Use INVOKE.
* gnu/packages/java.scm (classpath@0.99)[arguments]: Substitute INVOKE
for SYSTEM*.
2018-06-26 14:45:59 +03:00
Efraim Flashner 0b302a161d
gnu: ecj-bootstrap: Use INVOKE.
* gnu/packages/java.scm (ecj-bootstrap)[arguments]: Substitute INVOKE
for SYSTEM*.
2018-06-26 14:45:59 +03:00
Efraim Flashner 8e14634a88
gnu: ant-bootstrap: Use INVOKE.
* gnu/packages/java.scm (ant-bootstrap)[arguments]: Substitute INVOKE
for SYSTEM*.
2018-06-26 14:45:59 +03:00
Efraim Flashner 0c66a4ebb8
gnu: classpath@0.93: Use INVOKE.
* gnu/packages/java.scm (classpath@0.93)[arguments]: Substitute INVOKE
for SYSTEM*.
2018-06-26 14:45:59 +03:00
Efraim Flashner e3ec1258e3
gnu: classpath-jamvm-wrappers: Fix building on armhf-linux.
* gnu/packages/java.scm (classpath-jamvm-wrappers)[arguments]: Change
the flags used in custom script for armhf-linux.
2018-06-26 14:45:58 +03:00
Efraim Flashner 6e6bd6f929
gnu: ecj-javac-bootstrap: Fix building on armhf-linux.
* gnu/packages/java.scm (ecj-javac-bootstrap)[arguments]: On armhf-linux
use different flags when calling 'java'.
2018-06-26 14:45:58 +03:00
Efraim Flashner a495998b79
gnu: ant-bootstrap: Fix building on armhf-linux.
* gnu/packages/java.scm (ant-bootstrap)[arguments]: On armhf-linux add
different flags to the 'bootstrap.sh' file.
2018-06-26 14:45:58 +03:00
Efraim Flashner 64b2efc12c
gnu: jamvm@1.5.1: Fix building on armhf-linux.
* gnu/packages/java.scm (jamvm@1.5.1)[source]: Add patch.
* gnu/packages/patches/jamvm-arm.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2018-06-26 14:45:55 +03:00
Gábor Boskovits 7c7323e432
gnu: java-commons-collections: Fix java8 errors.
* gnu/packages/java.scm (java-commons-collections)[source]: Add patch.
* gnu/packages/patches/java-commons-collections-fix-java8.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-06-26 11:35:14 +02:00
Gábor Boskovits aca7dcdd1e
gnu: java-aqute-libg-bootstrap: Disable tests.
* gnu/packages/java.scm (java-aqute-libg-bootstrap)[arguments]: New field.
[native-inputs]: New field.
2018-06-24 15:21:18 +02:00
Gábor Boskovits 2ab089b7ba
gnu: java-aqute-libg: Enable tests.
* gnu/packages/java.scm (java-aqute-libg)[arguments]: Remove #:source-dir
and #:tests?, add #:phases 'chdir and 'create-test-directory.
[native-inputs]: Add java-hamcrest-core and java-junit.
2018-06-24 15:21:17 +02:00
Gábor Boskovits 78754995e8
gnu: java-aqute-libg: Explicitly build for java7.
* gnu/package/java.scm (java-aqute-libg)[arguments]: Add #:make-flags
ant.build.javac.source=1.7 and ant.build.javac.target=1.7.
2018-06-24 15:21:17 +02:00
Marius Bakke 4dfea1010a
Merge branch 'master' into staging 2018-06-21 15:52:26 +02:00
Tobias Geerinckx-Rice de99ba7e7c
Fix some more lonely unquotes.
* gnu/packages/gnome.scm (workrave)[inputs]: Move unquote to its
operand.
* gnu/packages/java.scm (java-asm-bootstrap)[propagated-inputs]:
Likewise.
* gnu/packages/maven.scm (maven-compat)[native-inputs]: Likewise.
(maven)[inputs]: Likewise.
* gnu/packages/networking.scm (amule)[inputs]: Likewise.
* gnu/packages/wm.scm (nitrogen)[native-inputs]: Likewise.
2018-06-20 04:56:28 +02:00
Marius Bakke 6969c4de44
Merge branch 'master' into staging 2018-06-18 15:29:38 +02:00
Gábor Boskovits 3b6ba18bab
gnu: ant: Add missing dependencies.
* gnu/packages/java.scm (ant)[native-inputs]: Add zip and unzip.
2018-06-17 14:30:26 +02:00
Gábor Boskovits 1c7ef07ea1
gnu: ant/java8: Add missing dependencies.
* gnu/packages/java.scm (ant/java8)[native-inputs]: Add zip and unzip.
2018-06-17 14:18:34 +02:00
Gábor Boskovits cded3a7593
gnu: ant-bootstrap: Make build reproducible.
* gnu/packages/java.scm (ant-bootstrap)[arguments]<#:phases>[strip-jar-timestamps]:
New phase to reset jar file timestamps.
<#:imported-modules>: Import guix build syscalls, gnu-build-system-modules.
<#:modules>: Import guix build: gnu-build-system, utils, syscalls.
[native-inputs]: Add unzip, zip.
2018-06-16 19:58:41 +02:00
Julien Lepiller ab621bf142
gnu: Add java-qdox.
* gnu/packages/java.scm (java-qdox): New variable.
2018-06-16 13:17:50 +02:00
Julien Lepiller 7d65489ffe
gnu: Add java-plexus-cli.
* gnu/packages/java.scm (java-plexus-cli): New variable.
2018-06-16 13:17:48 +02:00
Ricardo Wurmus 0c68f7fd9b
gnu: java-bouncycastle: Disable tests.
* gnu/packages/java.scm (java-bouncycastle)[arguments]: Disable tests.
2018-06-05 12:49:41 +02:00
Ricardo Wurmus 1ed386fc26
gnu: java-cisd-jhdf5: Delete failing build phase.
* gnu/packages/java.scm (java-cisd-jhdf5)[arguments]: Delete build phase
"generate-jar-indices".
2018-06-05 11:17:03 +02:00
Ricardo Wurmus bc73f673e8
gnu: icedtea-7: Build with gcc-4.9.
* gnu/packages/java.scm (icedtea-7)[native-inputs]: Add gcc-4.9.
2018-05-30 12:29:14 +02:00
Ricardo Wurmus bcb078a4dc
gnu: icedtea-6: Build with gcc-4.9.
* gnu/packages/java.scm (icedtea-6)[native-inputs]: Add gcc-4.9 and libnsl.
2018-05-30 11:06:21 +02:00
Mark H Weaver 82b695b834
Merge branch 'master' into core-updates 2018-05-28 20:45:37 -04:00
Julien Lepiller 3a69f5f2d3
gnu: Add java-logback-classic.
* gnu/packages/java.scm (java-logback-classic): New variable.
2018-05-27 18:47:15 +02:00
Julien Lepiller 7d8207a4c1
gnu: Add java-logback-core.
* gnu/packages/java.scm (java-logback-core): New variable.
2018-05-27 18:47:09 +02:00