summaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
AgeCommit message (Collapse)Author
2021-11-03Merge remote-tracking branch 'origin/master' into core-updates-frozenEfraim Flashner
2021-11-03gnu: openjdk11: Update to 11.0.13.Julien Lepiller
The new URL was found in the release announcement at https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2021-October/009368.html * gnu/packages/java.scm (openjdk11): Update to 11.0.13.
2021-10-24gnu: java-cisd-args4j: Copy instead of unpacking input.Ricardo Wurmus
* gnu/packages/java.scm (java-cisd-args4j)[arguments]: Do not unpack build-resources input; just copy the contents.
2021-10-24gnu: java-commons-io: Replace %build-inputs with gexp.Ricardo Wurmus
* gnu/packages/java.scm (java-commons-io)[arguments]: Do not use %build-inputs; use gexp with this-package-native-inputs instead.
2021-10-12Merge remote-tracking branch 'origin/master' into core-updates-frozen.Mathieu Othacehe
2021-09-27gnu: tla2tools: Build from a known commit.Tobias Geerinckx-Rice
Reported by Andrew Patterson <andrewpatt7@gmail.com>. * gnu/packages/java.scm (tla2tools)[version, source]: Use a commit (and GIT-VERSION) instead of a tag.
2021-09-21gnu: icedtea-7: Use pem certificates.Mathieu Othacehe
This is a follow-up of: 287a8c90484c76336e0c0457960e4b2ebf4d2b16. * gnu/packages/java.scm (icedtea-7)[arguments]{install-keystore}: Use pem certificates.
2021-09-18gnu: openjdk: Fix compiling with gcc 10.Guillaume Le Vaillant
* gnu/packages/java.scm (openjdk9, openjdk10, openjdk11)[arguments]: Add '-fcommon', '-fno-delete-null-pointer-checks' and '-fno-lifetime-dse' to CFLAGS.
2021-09-15gnu: openjdk10: Fix build.Guillaume Le Vaillant
* gnu/packages/java.scm (openjdk10)[arguments]: Pass '-fcommon' to CFLAGS. Add 'disable-warnings-as-errors' phase. [native-inputs]: Add gcc-9.
2021-09-15gnu: openjdk9: Fix build.Guillaume Le Vaillant
* gnu/packages/java.scm (openjdk9)[arguments]: Pass '-fcommon' to CFLAGS. [native-inputs]: Add gcc-9.
2021-09-14gnu: javacc: Fix build.Guillaume Le Vaillant
* gnu/packages/java.scm (javacc)[arguments]: Use gexp for 'make-flags'.
2021-09-14gnu: java-org-ow2-parent-pom: Fix build.Guillaume Le Vaillant
* gnu/packages/java.scm (java-org-ow2-parent-pom-1.3)[arguments]: Use gexp in 'install' phase.
2021-09-14gnu: java-classpathx-servletapi: Fix build.Guillaume Le Vaillant
* gnu/packages/java.scm (java-classpathx-servletapi)[arguments]: Use gexp for 'make-flags'.
2021-09-14gnu: ant: Fix build.Guillaume Le Vaillant
* gnu/packages/java.scm (ant/java8)[arguments]: Delete 'define-java-environment-variables' phase inherited from ant-bootstrap.
2021-09-14gnu: icedtea: Fix build.Guillaume Le Vaillant
* gnu/packages/java.scm (icedtea-8)[arguments]: Pass '-fcommon' to CFLAGS and CXXFLAGS. Add 'fix-openjdk' phase.
2021-09-14gnu: icedtea-7: Fix build.Guillaume Le Vaillant
* gnu/packages/java.scm (icedtea-7)[arguments]: Add 'fix-openjdk' phase. Update 'install-keystore' phase.
2021-09-14gnu: icedtea-6: Fix build.Guillaume Le Vaillant
* gnu/packages/java.scm (icedtea-6)[arguments]: Add 'fix-openjdk' phase.
2021-09-03gnu: classpath-bootstrap: Work around miscompilation.Ludovic Courtès
Fixes <https://issues.guix.gnu.org/49990>. Previously, building 'ant-bootstrap' would fail in obscure ways. * gnu/packages/patches/classpath-miscompilation.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/java.scm (classpath-bootstrap)[source]: Use it. [arguments]: Remove 'remove-call-to-free' phase.
2021-09-03gnu: ant-bootstrap: Set environment variables in a separate phase.Ludovic Courtès
* gnu/packages/java.scm (ant-bootstrap)[arguments]: Move 'setenv' calls to new 'define-java-environment-variables' phase.
2021-09-03gnu: classpath-bootstrap: Use 'search-input-file'.Ludovic Courtès
* gnu/packages/java.scm (classpath-bootstrap)[arguments]: Use 'search-input-file'.
2021-08-08gnu: libantlr3c: Simplify configure.Efraim Flashner
* gnu/packages/java.scm (libantlr3c)[arguments]: Remove custom 'configure phase. Move '--enable-64bit' to configure-flags, conditional on being for a 64-bit platform.
2021-07-31gnu: icedtea@1.13.13: Add 'file-name' field to the origins.Ludovic Courtès
* gnu/packages/java.scm (icedtea-6)[native-inputs]: Add 'file-name' field to all the origins.
2021-07-29Merge branch 'master' into core-updates-frozenMarius Bakke
Conflicts: gnu/packages/bioinformatics.scm gnu/packages/cmake.scm gnu/packages/curl.scm gnu/packages/emacs-xyz.scm gnu/packages/gpodder.scm gnu/packages/music.scm gnu/packages/patches/glibc-bootstrap-system.patch gnu/packages/python-xyz.scm gnu/packages/shells.scm gnu/packages/statistics.scm
2021-07-25gnu: java-commons-codec: Update to 1.15.Tobias Geerinckx-Rice
* gnu/packages/java.scm (java-commons-codec): Update to 1.15.
2021-07-25gnu: java-commons-codec: Fix build on non-huge-memory machines.Tobias Geerinckx-Rice
* gnu/packages/java.scm (java-commons-codec)[arguments]: Add a new 'skip-ravenous-test phase.
2021-07-25gnu: java-commons-codec: Don't return #t from phases.Tobias Geerinckx-Rice
* gnu/packages/java.scm (java-commons-codec)[arguments]: Don't return #t from phases.
2021-07-24gnu: Use 'search-input-directory' and 'search-input-file' where appropriate.Ludovic Courtès
This changes some of the remaining uses of this idiom: (string-append (assoc-ref inputs "LABEL") "FILE") to one of: (search-input-file inputs "FILE") (search-input-directory inputs "FILE") * gnu/packages/axoloti.scm (axoloti-patcher): Use 'search-input-directory'. (axoloti-patcher-next): Likewise. * gnu/packages/bioinformatics.scm (java-picard): Likewise. * gnu/packages/bootloaders.scm (grub-hybrid): Likewise. (u-boot-puma-rk3399): Likewise. (u-boot-rock64-rk3328): Likewise. (u-boot-firefly-rk3399): Likewise. (u-boot-rockpro64-rk3399): Likewise. (u-boot-pinebook-pro-rk3399): Likewise. * gnu/packages/cran.scm (r-shiny): Likewise. (r-shinytree): Likewise. * gnu/packages/education.scm (anki): Likewise. * gnu/packages/emacs-xyz.scm (emacs-flycheck-grammalecte): Likewise. (emacs-rime): Likewise. * gnu/packages/emulators.scm (dolphin-emu): Likewise. * gnu/packages/games.scm (bsd-games): Likewise. (seahorse-adventures): Likewise. (einstein): Likewise. * gnu/packages/gimp.scm (gimp-fourier): Likewise. * gnu/packages/gnome.scm (gspell): Likewise. * gnu/packages/guile-xyz.scm (guile-libyaml): Likewise. * gnu/packages/java.scm (icedtea-7): Likewise. * gnu/packages/language.scm (nimf): Likewise. * gnu/packages/lxde.scm (spacefm): Likewise. * gnu/packages/mail.scm (claws-mail): Likewise. * gnu/packages/netpbm.scm (netpbm): Likewise. * gnu/packages/networking.scm (blueman): Likewise. * gnu/packages/scheme.scm (scm): Likewise. * gnu/packages/security-token.scm (python-fido2): Likewise. * gnu/packages/syndication.scm (rtv): Likewise. * gnu/packages/tls.scm (acme-client): Likewise. * gnu/packages/web.scm (netsurf): Likewise. * gnu/packages/wine.scm (wine-staging): Likewise. * gnu/packages/wxwidgets.scm (wxwidgets): Likewise.
2021-07-24gnu: Use 'search-input-file' when looking for .jar files.Ludovic Courtès
* gnu/packages/bioinformatics.scm (java-picard-1.113): Use 'search-input-file' when looking for *.jar. (fastqc): Likewise. * gnu/packages/groovy.scm (groovy): Likewise. * gnu/packages/java.scm (ant-bootstrap): Likewise. (ecj-bootstrap): Likewise. (java-cisd-base): Likewise. (java-cisd-args4j): Likewise. (java-cisd-jhdf5): Likewise. (java-native-access): Likewise. (java-native-access-platform): Likewise. * gnu/packages/maths.scm (hdf-java): Likewise.
2021-07-24gnu: Use 'search-input-file' when looking for executables.Ludovic Courtès
* gnu/packages/admin.scm (isc-dhcp): Use 'search-input-file' when looking for executables. * gnu/packages/audio.scm (ableton-link): Likewise. * gnu/packages/benchmark.scm (fio): Likewise. * gnu/packages/bioinformatics.scm (roary): Likewise. (ngless): Likewise. * gnu/packages/boost.scm (boost-for-irods): Likewise. * gnu/packages/bootloaders.scm (grub): Likewise. (grub-efi): Likewise. * gnu/packages/chemistry.scm (inchi): Likewise. * gnu/packages/dictionaries.scm (ding): Likewise. * gnu/packages/dlang.scm (ldc): Likewise. * gnu/packages/education.scm (childsplay): Likewise. * gnu/packages/emacs-xyz.scm (emacs-hyperbole): Likewise. (emacs-haskell-mode): Likewise. (emacs-auctex): Likewise. (emacs-ggtags): Likewise. (emacs-graphviz-dot-mode): Likewise. (emacs-flycheck-grammalecte): Likewise. (emacs-counsel-notmuch): Likewise. (emacspeak): Likewise. (emacs-exwm): Likewise. (emacs-exwm-x): Likewise. (emacs-treemacs): Likewise. (emacs-telega): Likewise. (emacs-exiftool): Likewise. * gnu/packages/emulators.scm (higan): Likewise. * gnu/packages/engineering.scm (freehdl): Likewise. (librepcb): Likewise. * gnu/packages/entr.scm (entr): Likewise. * gnu/packages/file-systems.scm (libeatmydata): Likewise. (xfstests): Likewise. (mergerfs): Likewise. (mergerfs-tools): Likewise. * gnu/packages/finance.scm (monero-gui): Likewise. * gnu/packages/flashing-tools.scm (flashrom): Likewise. * gnu/packages/fontutils.scm (fontforge): Likewise. * gnu/packages/game-development.scm (python2-renpy): Likewise. * gnu/packages/games.scm (opensurge): Likewise. (xboard): Likewise. (hyperrogue): Likewise. (flare-game): Likewise. (chessx): Likewise. * gnu/packages/geo.scm (grass): Likewise. * gnu/packages/glib.scm (glib): Likewise. * gnu/packages/gnome.scm (mm-common): Likewise. (network-manager-openvpn): Likewise. (network-manager-vpnc): Likewise. (network-manager-openconnect): Likewise. (apostrophe): Likewise. * gnu/packages/gnupg.scm (pius): Likewise. (jetring): Likewise. * gnu/packages/gnuzilla.scm (icedove): Likewise. * gnu/packages/golang.scm (go-1.4): Likewise. * gnu/packages/graphviz.scm (xdot): Likewise. * gnu/packages/guile-xyz.scm (jupyter-guile-kernel): Likewise. * gnu/packages/haskell-xyz.scm (ghc-hindent): Likewise. * gnu/packages/ibus.scm (ibus): Likewise. * gnu/packages/image.scm (phockup): Likewise. * gnu/packages/irc.scm (quassel): Likewise. * gnu/packages/java.scm (drip): Likewise. (ant-bootstrap): Likewise. (tla2tools): Likewise. * gnu/packages/julia.scm (julia): Likewise. * gnu/packages/less.scm (lesspipe): Likewise. * gnu/packages/libreoffice.scm (libreoffice): Likewise. * gnu/packages/linux.scm (fuse): Likewise. (lm-sensors): Likewise. (bluez): Likewise. (fakeroot): Likewise. (inputattach): Likewise. * gnu/packages/lisp-xyz.scm (sbcl-cl-diskspace): Likewise. * gnu/packages/lisp.scm (lisp-repl-core-dumper): Likewise. * gnu/packages/lua.scm (fennel): Likewise. * gnu/packages/lxde.scm (spacefm): Likewise. * gnu/packages/mail.scm (public-inbox): Likewise. * gnu/packages/maths.scm (hdf-java): Likewise. (maxima): Likewise. (frama-c): Likewise. * gnu/packages/messaging.scm (libgadu): Likewise. * gnu/packages/music.scm (denemo): Likewise. (curseradio): Likewise. * gnu/packages/netpbm.scm (netpbm): Likewise. * gnu/packages/networking.scm (blueman): Likewise. (squid): Likewise. (aircrack-ng): Likewise. * gnu/packages/node.scm (node): Likewise. (node-llparse-frontend-bootstrap): Likewise. (node-llparse-bootstrap): Likewise. (llhttp-bootstrap): Likewise. (node-lts): Likewise. * gnu/packages/ocaml.scm (ocaml-4.11): Likewise. (opam): Likewise. (ocaml-graph): Likewise. * gnu/packages/orpheus.scm (orpheus): Likewise. * gnu/packages/password-utils.scm (password-store): Likewise. * gnu/packages/python.scm (pypy3): Likewise. * gnu/packages/qt.scm (qt5ct): Likewise. * gnu/packages/radio.scm (libosmo-dsp): Likewise. * gnu/packages/ruby.scm (ruby-pandoc-ruby): Likewise. * gnu/packages/rust.scm (rust-1.30): Likewise. * gnu/packages/screen.scm (byobu): Likewise. * gnu/packages/statistics.scm (r-with-tests): Likewise. * gnu/packages/suckless.scm (surf): Likewise. * gnu/packages/syndication.scm (gfeeds): Likewise. * gnu/packages/telephony.scm (mumble): Likewise. * gnu/packages/terminals.scm (alacritty): Likewise. * gnu/packages/tex.scm (texlive-bin): Likewise. * gnu/packages/uml.scm (plantuml): Likewise. * gnu/packages/version-control.scm (python-git-multimail): Likewise. (gitolite): Likewise. (hg-commitsigs): Likewise. (git-when-merged): Likewise. (git-imerge): Likewise. (gita): Likewise. * gnu/packages/video.scm (you-get): Likewise. * gnu/packages/vim.scm (eovim): Likewise. * gnu/packages/virtualization.scm (qemu): Likewise. (virt-manager): Likewise. (criu): Likewise. * gnu/packages/vpn.scm (strongswan): Likewise. (xl2tpd): Likewise. * gnu/packages/wm.scm (i3lock-fancy): Likewise. * gnu/packages/wxwidgets.scm (python-wxpython): Likewise. (python2-wxpython): Likewise. * gnu/packages/xdisorg.scm (autorandr): Likewise. * gnu/packages/xorg.scm (hackneyed-x11-cursors): Likewise. (v86d): Likewise. (mkfontdir): Likewise. (xpra): Likewise.
2021-06-23Merge branch 'master' into core-updatesTobias Geerinckx-Rice
Conflicts: gnu/packages/cups.scm gnu/packages/python-web.scm gnu/packages/web.scm guix/build/maven/pom.scm
2021-06-22gnu: java-kafka-clients: Disable failing test.Julien Lepiller
* gnu/packages/java.scm (java-kafka-clients): Disable a test that fails non-deterministically.
2021-06-22gnu: java-jmh: Switch to maven-build-system.Julien Lepiller
* gnu/packages/java.scm (java-jmh): Switch to maven-build-system.
2021-06-22gnu: java-jmh: Update to 1.32.Julien Lepiller
* gnu/packages/java.scm (java-jmh): Update to 1.32. [source]: Switch to the git repository.
2021-06-22gnu: java-commons-math3: Install to maven repository.Julien Lepiller
* gnu/packages/java.scm (java-commons-math3)[phases]: Use install-from-pom.
2021-06-22gnu: Add java-jopt-simple-4.Julien Lepiller
* gnu/packges/java.scm (java-jopt-simple-4): New variable. (java-jopt-simple): Install to maven repository structure.
2021-06-22guix: java-utils: Factorize pom.xml generation.Julien Lepiller
* guix/build/java-utils.scm (generate-pom.xml): New procedure. * gnu/packages/maven.scm (java-surefire-junit4): Use it. * gnu/packages/java.scm (java-qdox, java-jsr250, java-jsr305) (java-aopalliance, java-jboss-el-api-spec) (java-jboss-interceptors-api-spec): Use it. (java-qdox-M9): Ensure the generated pom file has the correct version.
2021-06-19Merge branch 'master' into core-updatesMarius Bakke
Note: this merge actually changes the 'curl' and 'python-attrs' derivations, as part of solving caf4a7a2770ef4d05a6e18f40d602e51da749ddc and 12964df69a99de6190422c752fef65ef813f3b6b respectively. 4604d43c0e (gnu: gnutls@3.6.16: Fix cross-compilation.) was ignored because it cannot currently be tested. Conflicts: gnu/local.mk gnu/packages/aidc.scm gnu/packages/boost.scm gnu/packages/curl.scm gnu/packages/nettle.scm gnu/packages/networking.scm gnu/packages/python-xyz.scm gnu/packages/tls.scm
2021-06-13gnu: Add openjdk16.Pierre Langlois
* gnu/packages/java.scm (openjdk16): New variable.
2021-06-13gnu: Add openjdk15.Pierre Langlois
* gnu/packages/java.scm (openjdk15): New variable.
2021-06-13gnu: openjdk14: Update to 14.0.2.Pierre Langlois
* gnu/packages/java.scm (openjdk14): Update to 14.0.2. [source]: Switch to https://github.com/openjdk/jdk14u.
2021-06-13gnu: openjdk13: Update to 13.0.7.Pierre Langlois
* gnu/packages/java.scm (openjdk13): Update to 13.0.7. [source]: Switch to https://github.com/openjdk/jdk13u.
2021-05-22gnu: java.scm: Adjust to new #:disallowed-references convention.Marius Bakke
* gnu/packages/java.scm (icedtea-8, openjdk9, openjdk10, openjdk11)[arguments]: Adjust #:disallowed-references.
2021-05-05gnu: Add tla2tools.Mike Gerwitz
This introduces tla2tools.jar, which contains the TLA+ model checker and simulator (TLC); a TLA+ REPL; a semantic analyzer (SANY); the TLATeX typesetting system; PlusCal translator; and more. I have added five wrapper scripts for convenience, rather than invoking `java' manually. The wrapper scripts are not comprehensive; users who are familiar with tla2tools.jar, or have read the book Specifying Systems, may still invoke the commands in the traditional way. The minimum JDK version is 11. I chose to stick with that rather than bumping it to 14 (which is the largest version currently in Guix) because each OpenJDK version in Guix depends on the version before it, and so it needlessly results in many 100s of MiB of unnecessary dependencies. Note that this is _not_ the TLA+ Toolbox, which is the GUI commonly used with TLA+. * gnu/packages/java.scm (tla2tools): New variable. * gnu/packages/patches/tla2tools-build-xml.patch: New patch. * gnu/local.mk (dist_patch_DATA): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-05-05gnu: Add java-jline-reader.Mike Gerwitz
This package is part of JLine 3. * gnu/packages/java.scm (java-jline-reader): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-05-05gnu: Add java-jline-terminal.Mike Gerwitz
This is part of JLine 3. I was able to get this working properly under Guix by providing ncurses' infocmp, as well as ensuring the *.caps files were present in the JAR, but similar methods didn't work for the tests; if you have Java knowledge, I'd appreciate the help getting those tests enabled. * gnu/packages/java.scm (java-jline-terminal): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-05-05gnu: Add java-eclipse-lsp4j packages.Mike Gerwitz
All of these packages are components of java-eclipse-lsp4j, packaged independently. This contains only what was needed for tla2tools, and so there are parts of java-eclipse-lsp4j that are not packaged. Note that this does not package the latest version (0.12.0 at the time of writing)---it depends on the Xtend language, which is a huge packaging effort. 0.10.0 is the version expected by tla2tools, for which this dependency was introduced. * gnu/packages/java.scm (java-eclipse-lsp4j-common): New variable. (java-eclipse-lsp4j-jsonrpc): New variable. (java-eclipse-lsp4j-jsonrpc-debug): New variable. (java-eclipse-lsp4j-generator): New variable. (java-eclipse-lsp4j-debug): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-05-05gnu: Add java-eclipse-xtext-xbase-lib.Mike Gerwitz
This package is a component of xtext-lib. The rest of xtext-lib was not added. * gnu/packages/java.scm (java-eclipse-xtext-xbase-lib): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-05-05gnu: Add java-gson-2.8.6.Mike Gerwitz
This introduces a new package rather than upgrading the exist java-gson package because it is built using OpenJDK11; I didn't want to have to propagate that JDK dependency to the other packages that use it. OpenJDK 11 was chosen becuase this dependency was introduced for tla2tools. * gnu/packages/java.scm (java-gson-2.8.6): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-05-04gnu: java-javaparser: Upgrade os.name to ‘Guix’.Tobias Geerinckx-Rice
* gnu/packages/java.scm (java-javaparser)[arguments]: Drop ‘SD’.
2021-04-21gnu: openjdk: Disallow references to the JDK used for build.Ludovic Courtès
This ensures JDKs don't unintentionally keep references to the one used to build them, as reported at <https://issues.guix.gnu.org/31719#7> and fixed by 97a43db8b4416a1450aa61737edba9cf4126cf1c. * gnu/packages/java.scm (icedtea-8)[arguments]: Add #:disallowed-references. (openjdk9)[arguments]: Likewise. (openjdk10)[arguments]: Likewise. (openjdk11)[arguments]: Likewise.