summaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
Commit message (Expand)AuthorAgeFilesLines
* gnu: java-cisd-args4j: Copy instead of unpacking input.•••* gnu/packages/java.scm (java-cisd-args4j)[arguments]: Do not unpack build-resources input; just copy the contents. Ricardo Wurmus2021-10-241-5/+3
* gnu: java-commons-io: Replace %build-inputs with gexp.•••* gnu/packages/java.scm (java-commons-io)[arguments]: Do not use %build-inputs; use gexp with this-package-native-inputs instead. Ricardo Wurmus2021-10-241-3/+3
* Merge remote-tracking branch 'origin/master' into core-updates-frozen.Mathieu Othacehe2021-10-121-8/+13
|\
| * gnu: tla2tools: Build from a known commit.•••Reported by Andrew Patterson <andrewpatt7@gmail.com>. * gnu/packages/java.scm (tla2tools)[version, source]: Use a commit (and GIT-VERSION) instead of a tag. Tobias Geerinckx-Rice2021-09-271-8/+13
* | gnu: icedtea-7: Use pem certificates.•••This is a follow-up of: 287a8c90484c76336e0c0457960e4b2ebf4d2b16. * gnu/packages/java.scm (icedtea-7)[arguments]{install-keystore}: Use pem certificates. Mathieu Othacehe2021-09-211-1/+1
* | gnu: openjdk: Fix compiling with gcc 10.•••* gnu/packages/java.scm (openjdk9, openjdk10, openjdk11)[arguments]: Add '-fcommon', '-fno-delete-null-pointer-checks' and '-fno-lifetime-dse' to CFLAGS. Guillaume Le Vaillant2021-09-181-10/+19
* | gnu: openjdk10: Fix build.•••* gnu/packages/java.scm (openjdk10)[arguments]: Pass '-fcommon' to CFLAGS. Add 'disable-warnings-as-errors' phase. [native-inputs]: Add gcc-9. Guillaume Le Vaillant2021-09-151-3/+10
* | gnu: openjdk9: Fix build.•••* gnu/packages/java.scm (openjdk9)[arguments]: Pass '-fcommon' to CFLAGS. [native-inputs]: Add gcc-9. Guillaume Le Vaillant2021-09-151-1/+4
* | gnu: javacc: Fix build.•••* gnu/packages/java.scm (javacc)[arguments]: Use gexp for 'make-flags'. Guillaume Le Vaillant2021-09-141-3/+3
* | gnu: java-org-ow2-parent-pom: Fix build.•••* gnu/packages/java.scm (java-org-ow2-parent-pom-1.3)[arguments]: Use gexp in 'install' phase. Guillaume Le Vaillant2021-09-141-1/+1
* | gnu: java-classpathx-servletapi: Fix build.•••* gnu/packages/java.scm (java-classpathx-servletapi)[arguments]: Use gexp for 'make-flags'. Guillaume Le Vaillant2021-09-141-2/+2
* | gnu: ant: Fix build.•••* gnu/packages/java.scm (ant/java8)[arguments]: Delete 'define-java-environment-variables' phase inherited from ant-bootstrap. Guillaume Le Vaillant2021-09-141-0/+1
* | gnu: icedtea: Fix build.•••* gnu/packages/java.scm (icedtea-8)[arguments]: Pass '-fcommon' to CFLAGS and CXXFLAGS. Add 'fix-openjdk' phase. Guillaume Le Vaillant2021-09-141-1/+10
* | gnu: icedtea-7: Fix build.•••* gnu/packages/java.scm (icedtea-7)[arguments]: Add 'fix-openjdk' phase. Update 'install-keystore' phase. Guillaume Le Vaillant2021-09-141-1/+20
* | gnu: icedtea-6: Fix build.•••* gnu/packages/java.scm (icedtea-6)[arguments]: Add 'fix-openjdk' phase. Guillaume Le Vaillant2021-09-141-0/+28
* | gnu: classpath-bootstrap: Work around miscompilation.•••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. Ludovic Courtès2021-09-031-12/+2
* | gnu: ant-bootstrap: Set environment variables in a separate phase.•••* gnu/packages/java.scm (ant-bootstrap)[arguments]: Move 'setenv' calls to new 'define-java-environment-variables' phase. Ludovic Courtès2021-09-031-8/+7
* | gnu: classpath-bootstrap: Use 'search-input-file'.•••* gnu/packages/java.scm (classpath-bootstrap)[arguments]: Use 'search-input-file'. Ludovic Courtès2021-09-031-2/+1
* | gnu: libantlr3c: Simplify configure.•••* gnu/packages/java.scm (libantlr3c)[arguments]: Remove custom 'configure phase. Move '--enable-64bit' to configure-flags, conditional on being for a 64-bit platform. Efraim Flashner2021-08-081-19/+6
* | gnu: icedtea@1.13.13: Add 'file-name' field to the origins.•••* gnu/packages/java.scm (icedtea-6)[native-inputs]: Add 'file-name' field to all the origins. Ludovic Courtès2021-07-311-0/+7
* | Merge branch 'master' into core-updates-frozen••• 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 Marius Bakke2021-07-291-6/+12
|\|
| * gnu: java-commons-codec: Update to 1.15.•••* gnu/packages/java.scm (java-commons-codec): Update to 1.15. Tobias Geerinckx-Rice2021-07-251-2/+2
| * gnu: java-commons-codec: Fix build on non-huge-memory machines.•••* gnu/packages/java.scm (java-commons-codec)[arguments]: Add a new 'skip-ravenous-test phase. Tobias Geerinckx-Rice2021-07-251-0/+8
| * gnu: java-commons-codec: Don't return #t from phases.•••* gnu/packages/java.scm (java-commons-codec)[arguments]: Don't return #t from phases. Tobias Geerinckx-Rice2021-07-251-4/+2
* | gnu: Use 'search-input-directory' and 'search-input-file' where appropriate.•••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. Ludovic Courtès2021-07-241-2/+2
* | gnu: Use 'search-input-file' when looking for .jar files.•••* 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. Ludovic Courtès2021-07-241-37/+39
* | gnu: Use 'search-input-file' when looking for executables.•••* 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. Ludovic Courtès2021-07-241-7/+4
* | Merge branch 'master' into core-updates•••Conflicts: gnu/packages/cups.scm gnu/packages/python-web.scm gnu/packages/web.scm guix/build/maven/pom.scm Tobias Geerinckx-Rice2021-06-231-126/+77
|\|
| * gnu: java-kafka-clients: Disable failing test.•••* gnu/packages/java.scm (java-kafka-clients): Disable a test that fails non-deterministically. Julien Lepiller2021-06-221-1/+3
| * gnu: java-jmh: Switch to maven-build-system.•••* gnu/packages/java.scm (java-jmh): Switch to maven-build-system. Julien Lepiller2021-06-221-16/+18
| * gnu: java-jmh: Update to 1.32.•••* gnu/packages/java.scm (java-jmh): Update to 1.32. [source]: Switch to the git repository. Julien Lepiller2021-06-221-7/+7
| * gnu: java-commons-math3: Install to maven repository.•••* gnu/packages/java.scm (java-commons-math3)[phases]: Use install-from-pom. Julien Lepiller2021-06-221-1/+1
| * gnu: Add java-jopt-simple-4.•••* gnu/packges/java.scm (java-jopt-simple-4): New variable. (java-jopt-simple): Install to maven repository structure. Julien Lepiller2021-06-221-2/+30
| * guix: java-utils: Factorize pom.xml generation.•••* 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. Julien Lepiller2021-06-221-99/+18
* | Merge branch 'master' into core-updates•••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 Marius Bakke2021-06-191-10/+76
|\|
| * gnu: Add openjdk16.•••* gnu/packages/java.scm (openjdk16): New variable. Pierre Langlois2021-06-131-0/+38
| * gnu: Add openjdk15.•••* gnu/packages/java.scm (openjdk15): New variable. Pierre Langlois2021-06-131-0/+23
| * gnu: openjdk14: Update to 14.0.2.•••* gnu/packages/java.scm (openjdk14): Update to 14.0.2. [source]: Switch to https://github.com/openjdk/jdk14u. Pierre Langlois2021-06-131-5/+7
| * gnu: openjdk13: Update to 13.0.7.•••* gnu/packages/java.scm (openjdk13): Update to 13.0.7. [source]: Switch to https://github.com/openjdk/jdk13u. Pierre Langlois2021-06-131-5/+8
* | gnu: java.scm: Adjust to new #:disallowed-references convention.•••* gnu/packages/java.scm (icedtea-8, openjdk9, openjdk10, openjdk11)[arguments]: Adjust #:disallowed-references. Marius Bakke2021-05-221-4/+8
|/
* gnu: Add tla2tools.•••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> Mike Gerwitz2021-05-051-0/+132
* gnu: Add java-jline-reader.•••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> Mike Gerwitz2021-05-051-0/+41
* gnu: Add java-jline-terminal.•••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> Mike Gerwitz2021-05-051-0/+58
* gnu: Add java-eclipse-lsp4j packages.•••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> Mike Gerwitz2021-05-051-0/+103
* gnu: Add java-eclipse-xtext-xbase-lib.•••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> Mike Gerwitz2021-05-051-0/+30
* gnu: Add java-gson-2.8.6.•••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> Mike Gerwitz2021-05-051-0/+32
* gnu: java-javaparser: Upgrade os.name to ‘Guix’.•••* gnu/packages/java.scm (java-javaparser)[arguments]: Drop ‘SD’. Tobias Geerinckx-Rice2021-05-041-1/+1
* gnu: openjdk: Disallow references to the JDK used for build.•••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. Ludovic Courtès2021-04-211-1/+12
* gnu: openjdk: Avoid non-top-level 'use-modules'.•••* gnu/packages/java.scm (icedtea-8, openjdk9, openjdk11)[arguments]: Replace non-top-level 'use-modules' by '@'. Ludovic Courtès2021-04-211-3/+12
* gnu: openjdk: Fix library substitution when libraries aren't found.•••* gnu/packages/java.scm (icedtea-8, openjdk9, openjdk11)[arguments]: Change 'find-library' to always return a string. Change 'find-library' callers to use 'string-append' rather than 'format'. Starting from 97a43db8b4416a1450aa61737edba9cf4126cf1c, 'find-library' could return #f and JNI substitutions would emit a literal "#f". Co-authored-by: Ludovic Courtès <ludo@gnu.org> Carlo Zancanaro2021-04-211-12/+14