Commit graph

520 commits

Author SHA1 Message Date
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
Julien Lepiller
3402e651c8
gnu: Add java-janino.
* gnu/packages/java.scm (java-janino): New variable.
2018-05-27 18:47:07 +02:00
Julien Lepiller
3fa18fe796
gnu: Add java-commons-compiler.
* gnu/packages/java.scm (java-commons-compiler): New variable.
2018-05-27 18:47:05 +02:00
Julien Lepiller
66006fe526
gnu: Add java-commons-jxpath.
* gnu/packages/java.scm (java-commons-jxpath): New variable.
2018-05-27 18:47:03 +02:00
Julien Lepiller
7049dea185
gnu: Add java-eclipse-sisu-plexus.
* gnu/packages/java.scm (java-eclipse-sisu-plexus): New variable.
2018-05-27 18:47:01 +02:00
Julien Lepiller
1a1810f534
gnu: Add java-eclipse-sisu-inject.
* gnu/packages/java.scm (java-eclipse-sisu-inject): New variable.
2018-05-27 18:46:58 +02:00
Julien Lepiller
a1a5ef2094
gnu: Add java-jsr250.
* gnu/packages/java.scm (java-jsr250): New variable.
2018-05-27 18:46:38 +02:00
Mark H Weaver
3d5ad159b3
Merge branch 'master' into core-updates 2018-04-30 04:03:54 -04:00
Julien Lepiller
f1f4a4f016
gnu: Add java-apache-ivy.
* gnu/package/java.scm (java-apache-ivy): New variable.
* gnu/packages/patches/java-apache-ivy-port-to-latest-bouncycastle.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-04-29 23:23:14 +02:00
Julien Lepiller
b0fbf59656
gnu: Add java-jsch-agentproxy-jsch.
* gnu/packages/java.scm (java-jsch-agentproxy-jsch): New variable.
2018-04-29 23:23:09 +02:00
Julien Lepiller
5a46b17b12
gnu: Add java-jsch-agentproxy-connector-factory.
* gnu/packages/java.scm (java-jsch-agentproxy-connector-factory): New
variable.
2018-04-29 23:23:07 +02:00
Julien Lepiller
96d6d9c797
gnu: Add java-jsch-agentproxy-usocket-nc.
* gnu/packages/java.scm (java-jsch-agentproxy-usocket-nc): New variable.
2018-04-29 23:23:05 +02:00
Julien Lepiller
475225e306
gnu: Add java-jsch-agentproxy-pageant.
* gnu/packages/java.scm (java-jsch-agentproxy-pageant): New variable.
2018-04-29 23:23:03 +02:00
Julien Lepiller
f438e63835
gnu: Add java-jsch-agentproxy-usocket-jna.
* gnu/packages/java.scm (java-jsch-agentproxy-usocket-jna): New
variable.
2018-04-29 23:23:01 +02:00
Julien Lepiller
f1d79c97be
gnu: Add java-jsch-agentproxy-sshagent.
* gnu/packages/java.scm (java-jsch-agentproxy-sshagent): New variable.
2018-04-29 23:22:59 +02:00
Julien Lepiller
470674a541
gnu: Add java-jsch-agentproxy-core.
* gnu/packages/java.scm (java-jsch-agentproxy-core): New variable.
2018-04-29 23:22:56 +02:00
Julien Lepiller
50d70a727b
gnu: Add java-bouncycastle.
* gnu/packages/java.scm (java-bouncycastle): New variable.
(java-bouncycastle-bcprov, java-bouncycastle-bcpkix): Remove variable.
(java-kafka-clients)[inputs]: Use java-bouncycastle.
2018-04-29 23:22:30 +02:00
Mark H Weaver
c52872bfc4
Merge branch 'master' into core-updates 2018-04-21 05:02:52 -04:00
Gábor Boskovits
bfb4004d34
gnu: Add java-asm-bootstrap.
* gnu/packages/java.scm (java-asm-bootstrap): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2018-04-17 12:58:17 +02:00
Gábor Boskovits
869803aa5e
gnu: Add java-aqute-bndlib-bootstrap.
* gnu/packages/java.scm (java-aqute-bndlib-bootstrap): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2018-04-17 12:58:13 +02:00
Gábor Boskovits
288a59590e
gnu: Add java-aqute-libg-bootstrap.
* gnu/packages/java.scm (java-aqute-libg-bootstrap): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2018-04-17 12:58:10 +02:00
Gábor Boskovits
6d047cc429
gnu: Add java-slfj4-api-bootstrap.
* gnu/packages/java.scm (java-slf4j-api-bootstrap): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2018-04-17 12:58:05 +02:00
Julien Lepiller
57e3776403
gnu: antlr3-3.1: Fix installed script.
* gnu/packages/java.scm (antlr3-3.1)[arguments]: Fix jar name in script.
2018-04-13 23:02:05 +02:00
Mark H Weaver
f89aa1521a
Merge branch 'master' into core-updates 2018-04-10 00:42:22 -04:00
Julien Lepiller
cfb55cfc4a
gnu: Add java-native-access-platform.
* gnu/packages/java.scm (java-native-access-platform): New variable.
2018-04-05 19:48:06 +02:00
Julien Lepiller
a970288c8e
gnu: Add java-native-access.
* gnu/packages/java.scm (java-native-access): New variable.
2018-04-05 19:48:00 +02:00
Julien Lepiller
f7b512c084
gnu: Add java-jakarta-oro.
* gnu/packages/java.scm (java-jakarta-oro): New variable.
2018-04-05 19:47:58 +02:00
Julien Lepiller
5fe981dc83
gnu: Add java-commons-vfs.
* gnu/packages/java.scm (java-commons-vfs): New variable.
2018-04-05 19:47:56 +02:00
Julien Lepiller
5f5b31c63f
gnu: Add java-commons-httpclient.
* gnu/packages/java.scm (java-commons-httpclient): New variable.
2018-04-05 19:47:54 +02:00
Julien Lepiller
afb13a1002
gnu: Add java-commons-bsf.
* gnu/packages/java.scm (java-commons-bsf): New variable.
2018-04-05 19:47:52 +02:00
Julien Lepiller
37602dd8ba
gnu: Update java-commons-cli to 1.4.
* gnu/packages/java.scm (java-commons-cli): Update to 1.4.
2018-04-05 19:47:50 +02:00
Julien Lepiller
49d743117b
gnu: Add java-jline-2.
* gnu/packages/java.scm (java-jline-2): New variable.
2018-04-05 19:47:46 +02:00
Marius Bakke
5576cfabf3
Merge branch 'master' into core-updates 2018-03-29 17:34:41 +02:00
Efraim Flashner
bab9793f54
gnu: classpath: Add aarch64-linux support.
* gnu/packages/java.scm (classpath-bootstrap, classpath-0.99)[source]:
Add patch.
* gnu/packages/patches/classpath-aarch64-support.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2018-03-26 12:21:33 +03:00
Ricardo Wurmus
51602aac8e
gnu: ecj-javac-wrapper: Fix reference to glibj and tools.zip.
* gnu/packages/java.scm (ecj-javac-wrapper)[arguments]: Fix references to
glibj and tools.zip.
2018-03-26 08:05:24 +02:00
Ricardo Wurmus
40e3a197f9
gnu: classpath-jamvm-wrappers: Run JamVM with conservative options.
* gnu/packages/java.scm (classpath-jamvm-wrappers)[arguments]: Pass extra
options to JamVM.
2018-03-26 08:05:24 +02:00
Ricardo Wurmus
ae0a5a7edc
gnu: ecj-javac-wrapper: Run JamVM with conservative options.
* gnu/packages/java.scm (ecj-javac-wrapper)[arguments]: Add options to jamvm
invocation.
2018-03-26 00:14:44 +02:00
Ricardo Wurmus
d4fd4c3a7b
gnu: ant-bootstrap: Make build more reliable.
* gnu/packages/java.scm (ant-bootstrap)[arguments]: Remove bootstrap phase;
create HOME/.ant.properties; pass options to JamVM.
2018-03-26 00:04:53 +02:00
Ricardo Wurmus
269fb7d310
gnu: Remove sablevm and sablevm-classpath, update comments.
* gnu/packages/java.scm (sablevm, sablevm-classpath): Remove variables.
2018-03-25 21:41:27 +02:00
Ricardo Wurmus
b5a0d42708
gnu: Remove ecj-javac-on-jamvm-wrapper.
* gnu/packages/java.scm (ecj-javac-on-jamvm-wrapper): Remove variable.
(classpath-devel)[native-inputs]: Use ecj-javac-wrapper instead.
(jamvm)[inputs]: Use ecj-javac-wrapper instead.
(ecj-javac-on-jamvm-wrapper-final): Rename...
(ecj-javac-wrapper-final): ...to this.
(icedtea-6)[native-inputs]: Use "ecj-javac-wrapper-final" instead of
'ecj-javac-on-jamvm-wrapper-final".
[arguments]: Use jamvm's rt.jar.
2018-03-25 21:41:27 +02:00
Ricardo Wurmus
c98d7a66cc
gnu: classpath-jamvm-wrappers: Use classpath-0.99.
* gnu/packages/java.scm (classpath-jamvm-wrappers): Inherit from
classpath-0.99.
[native-inputs]: Replace "jamvm-bootstrap" with "jamvm-1-bootstrap"; replace
"classpath-on-sablevm" with "classpath-0.99".
2018-03-25 21:41:27 +02:00
Ricardo Wurmus
58d2b13544
gnu: Remove jamvm-bootstrap.
* gnu/packages/java.scm (jamvm-bootstrap): Remove variable.
(classpath-devel)[native-inputs]: Use "jamvm-1-bootstrap" instead of
"jamvm-bootstrap".
(jamvm): Inherit from jamvm-1-bootstrap.
2018-03-25 21:41:27 +02:00
Ricardo Wurmus
8778da03c8
gnu: Replace classpath-on-sablevm with classpath-0.99.
* gnu/packages/java.scm (classpath-on-sablevm): Replace with...
(classpath-0.99): ...this new variable.
(classpath-devel): Inherit from classpath-0.99.
2018-03-25 21:41:27 +02:00
Ricardo Wurmus
c4f06c1164
gnu: ecj-javac-wrapper: Do not use sablevm.
* gnu/packages/java.scm (ecj-javac-wrapper)[native-inputs]: Remove sablevm and
sablevm-classpath; add jamvm-1-bootstrap and classpath-bootstrap.
[arguments]: Simplify builder now that only jamvm is used.
2018-03-25 21:41:27 +02:00
Ricardo Wurmus
6c775dc644
gnu: ecj-bootstrap: Build with JamVM 1.5.1 and jikes.
* gnu/packages/java.scm (ecj-bootstrap)[native-inputs]: Replace "sablevm" with
"jikes" and "jamvm-1-bootstrap".
[arguments]: Adjust accordingly.
2018-03-25 21:41:27 +02:00
Ricardo Wurmus
ff4d9fdf8c
gnu: ant-bootstrap: Update to 1.8.4.
* gnu/packages/java.scm (ant-bootstrap): Update to 1.8.4.
2018-03-25 21:41:27 +02:00
Ricardo Wurmus
aa432388da
gnu: ant-bootstrap: Build with JamVM 1.5.1.
* gnu/packages/java.scm (ant-bootstrap)[native-inputs]: Replace sablevm with
jamvm-1-bootstrap.
[arguments]: Adjust accordingly.
2018-03-25 21:41:26 +02:00
Ricardo Wurmus
063629aa3e
gnu: Add jamvm-1-bootstrap.
* gnu/packages/java.scm (jamvm-1-bootstrap): New variable.
2018-03-25 21:41:26 +02:00
Ricardo Wurmus
45f762ee96
gnu: Add classpath-bootstrap.
* gnu/packages/java.scm (classpath-bootstrap): New variable.
2018-03-25 21:41:26 +02:00
Ricardo Wurmus
4d4a5698ec
gnu: sablevm: Do not change GC, just disable stripping.
* gnu/packages/java.scm (sablevm)[arguments]: Disable stripping; do not play
with GC settings as they have no reliable effect on build success.
2018-03-25 00:14:30 +01:00
Ricardo Wurmus
f15e2ee4e8
gnu: sablevm: Use a different GC implementation.
This is an attempt to fix a segfault when building ant-bootstrap.

* gnu/packages/java.scm (sablevm)[arguments]: Use gencopy GC implementation.
2018-03-24 23:00:03 +01:00
Ricardo Wurmus
15b8b5deca
gnu: sablevm-classpath: Remove unnecessary inputs.
* gnu/packages/java.scm (sablevm-classpath)[inputs]: Remove.
2018-03-24 23:00:03 +01:00
Gábor Boskovits
2cac889151
gnu: java-aqute-bnd-annotation: Update to 3.5.0.
* gnu/packages/java.scm (java-aqute-bnd-annotation): Update to 3.5.0.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2018-03-23 20:21:37 +01:00
Mark H Weaver
9f388b1ee1
Merge branch 'master' into core-updates 2018-03-17 01:18:37 -04:00
Leo Famulari
1d97d8ffd8
gnu: icedtea@3: Update to 3.7.0 [security fixes].
Fixes CVE-2018-{2579,2582,2588,2599,2602,2603,2618,2629,2633,2634,2637,2641,
2663,2677,2678}.

* gnu/packages/java.scm (icedtea-8): Update to 3.7.0.
2018-03-16 10:53:10 -04:00
Leo Famulari
7f6485e70c
gnu: icedtea@2: Update to 2.6.13 [security fixes].
Fixes CVE-2018-{2579,2588,2599,2602,2603,2618,2629,2633,2634,2637,2641,2663,
2677,2678}.

* gnu/packages/java.scm (icedtea-7): Update to 2.6.13.
2018-03-16 10:53:10 -04:00
Mark H Weaver
6cbee49d66
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 09:08:31 -04:00
Ricardo Wurmus
2a69f48e0f
gnu: classpath-devel: Fix bootstrap phase.
* gnu/packages/java.scm (classpath-devel)[arguments]: Replace "bootstrap"
build phase.
2018-03-16 12:27:40 +01:00
Ricardo Wurmus
8c72ed923d
Merge branch 'master' into core-updates 2018-03-14 17:37:20 +01:00
Efraim Flashner
307856cdfa
gnu: java-snakeyaml: Declare a source file-name.
* gnu/packages/java.scm (java-snakeyaml)[source]: Declare a source
file-name.
2018-03-13 20:17:11 +02:00
Efraim Flashner
6c34ad73d5
gnu: java-jnacl: Declare a source file-name.
* gnu/packages/java.scm (java-jnacl)[source]: Declare a source
file-name.
2018-03-13 20:17:11 +02:00
Ludovic Courtès
189be331ac
build-system/gnu: Add 'bootstrap' phase.
This factorizes what has become a widespread idiom.

* guix/build/gnu-build-system.scm (%bootstrap-scripts): New variable.
(bootstrap): New procedure.
(%standard-phases): Add it after 'unpack'.
* guix/build/ant-build-system.scm (%standard-phases): Delete 'bootstrap.
* guix/build/asdf-build-system.scm (%standard-phases/source)
(%standard-phases): Likewise.
* guix/build/cargo-build-system.scm (%standard-phases): Likewise.
* guix/build/cmake-build-system.scm (%standard-phases): Likewise.
* guix/build/dub-build-system.scm (%standard-phases): Likewise.
* guix/build/emacs-build-system.scm (%standard-phases): Likewise.
* guix/build/font-build-system.scm (%standard-phases): Likewise.
* guix/build/go-build-system.scm (%standard-phases): Likewise.
* guix/build/haskell-build-system.scm (%standard-phases): Likewise.
* guix/build/minify-build-system.scm (%standard-phases): Likewise.
* guix/build/ocaml-build-system.scm (%standard-phases): Likewise.
* guix/build/perl-build-system.scm (%standard-phases): Likewise.
* guix/build/python-build-system.scm (%standard-phases): Likewise.
* guix/build/r-build-system.scm (%standard-phases): Likewise.
* guix/build/ruby-build-system.scm (%standard-phases): Likewise.
* guix/build/scons-build-system.scm (%standard-phases): Likewise.
* guix/build/texlive-build-system.scm (%standard-phases): Likewise.
* guix/build/waf-build-system.scm (%standard-phases): Likewise.
* gnu/packages/audio.scm (faad2)[arguments]: Replace 'bootstrap.
(soundtouch, cuetools, bluez-alsa): Remove 'arguments'.
(cava)[arguments]: Replace 'bootstrap.
* gnu/packages/backup.scm (rdup): Remove 'bootstrap.
* gnu/packages/bioinformatics.scm (seek)[arguments]: Replace
'bootstrap.
* gnu/packages/bioinformatics.scm (htslib-for-sambamba): Remove
'arguments'.
* gnu/packages/ci.scm (hydra, cuirass): Remove 'bootstrap'.
* gnu/packages/crypto.scm (libb2): Remove #:phases.
* gnu/packages/databases.scm (guile-wiredtiger): Likewise.
* gnu/packages/debug.scm (stress-make): Remove 'bootstrap'.
* gnu/packages/documentation.scm (asciidoc): Likewise.
* gnu/packages/fontutils.scm (libuninameslist): Remove 'arguments'.
* gnu/packages/ftp.scm (weex): Remove 'arguments'.
* gnu/packages/game-development.scm (ois): Remove 'arguments'.
* gnu/packages/games.scm (pioneer): Remove 'bootstrap.
* gnu/packages/gnome.scm (vte-ng, byzanz): Replace 'bootstrap.
(arc-theme): Remove 'arguments'.
(faba-icon-theme): Remove 'bootstrap.
(arc-icon-theme): Remove 'arguments'.
* gnu/packages/gnunet.scm (guile-gnunet): Likewise.
* gnu/packages/gtk.scm (guile-rsvg): Likewise.
* gnu/packages/guile.scm (mcron2): Remove 'bootstrap.
(guile-bash): Remove #:phases.
(guile-git): Remove 'bootstrap.
(guile-syntax-highlight): Remove 'arguments'.
(guile-sjson): Likewise.
* gnu/packages/java.scm (classpath-devel): Remove 'bootstrap.
* gnu/packages/kodi.scm (libdvdnav/kodi)
(libdvdread/kodi, libdvdcss/kodi): Likewise.
* gnu/packages/libreoffice.scm (hunspell): Remove 'arguments'.
* gnu/packages/libusb.scm (hidapi): Likewise.
* gnu/packages/linux.scm (bridge-utils): Rename 'bootstrap' to
'patch-stuff'; move it before 'bootstrap', without autoreconf
invocation.
(eudev): Rename 'bootstrap' to 'patch-file-names', without 'autogen.sh'
invocation; move it before 'bootstrap.
(gpm): Replace 'bootstrap'.
(f2fs-tools): Remove 'arguments'.
(rng-tools): Remove #:phases.
* gnu/packages/messaging.scm (hexchat): Rename 'bootstrap' to
'copy-intltool-makefile'; remove "autoreconf" invocation and move before
'bootstrap'.
(libmesode): Remove 'arguments'.
(libstrophe): Likewise.
* gnu/packages/microcom.scm (microcom): Likewise.
* gnu/packages/networking.scm (libnet): Remove 'bootstrap.
* gnu/packages/onc-rpc.scm (libnsl): Remove 'arguments'.
* gnu/packages/package-management.scm (guix): Replace 'bootstrap.
* gnu/packages/sawfish.scm (librep): Remove 'arguments'.
* gnu/packages/version-control.scm (findnewest): Likewise.
* gnu/packages/video.scm (liba52, handbrake, motion): Replace
'bootstrap.
* gnu/packages/web.scm (fcgiwrap): Remove #:phases.
(tidy): Replace 'bootstrap.
(gumbo-parser): Remove #:phases.
* gnu/packages/wget.scm (wget2): Replace 'bootstrap.
* gnu/packages/wm.scm (i3lock-color): Remove #:phases.
* gnu/packages/xdisorg.scm (xclip): Likewise.
* gnu/packages/xml.scm (libxls): Replace 'bootstrap'.
* gnu/packages/xorg.scm (xf86-video-freedreno)
(xf86-video-intel): Remove #:phases.
* gnu/packages/zile.scm (zile-on-guile): Replace 'bootstrap.
2018-03-11 22:04:40 +01:00
Gábor Boskovits
594bd3a08a
gnu: java-jeromq: Fix tests.
* gnu/packages/patches/java-jeromq-fix-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/java.scm (java-jeromq)[source](patches): Add it.
[arguments](#test-exclude): Disable more failing tests.
2018-03-11 20:06:06 +01:00
Ricardo Wurmus
bfc007e13e
gnu: java-hamcrest-all: Build with icedtea-8.
* gnu/packages/java.scm (java-hamcrest-all)[arguments]: Build with icedtea-8;
do not disable tests.
[inputs]: Remove java-hamcrest-core.
2018-03-11 20:02:10 +01:00
Ricardo Wurmus
f2785bd657
gnu: icedtea-8: Build "out" reproducibly.
Partially fixes <https://bugs.gnu.org/30730>.

* gnu/packages/java.scm (icedtea-8)[arguments]: Add phases
"patch-keystore" and "strip-jar-timestamps".
[source]: Also patch DIST_ID in "configure" script.
2018-03-11 11:53:39 +01:00
Gábor Boskovits
0f2778029a
gnu: java-ops4j-pax-tinybundles: Use distribution bndlib version.
* gnu/packages/java.scm (java-ops4j-pax-tinybundles)[arguments]<#:phases>:
Modify fix-version to use the distibution version of java-aqute-bndlib.
2018-03-05 20:42:48 +01:00
Gábor Boskovits
48c8622010
gnu: antlr3-3.3: Fix java8 issue.
* gnu/packages/java.scm (antlr3-3.3)[source]: Add patch.
* gnu/packages/patches/antlr3-3_3-fix-java8-compilation.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2018-03-04 14:16:37 +01:00
Gábor Boskovits
4c763b4d67
gnu: antlr3-3.1: Fix java8 issue.
* gnu/packages/java.scm (antlr3-3.1)[source]: Add patch.
* gnu/packages/patches/antlr3-3_1-fix-java8-compilation.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2018-03-04 14:13:47 +01:00
Ricardo Wurmus
93abc975fe
gnu: Add java-openchart2.
* gnu/packages/java.scm (java-openchart2): New variable.
2018-03-03 21:27:39 +01:00