summaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
AgeCommit message (Expand)Author
2021-09-21gnu: 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 Othacehe
2021-09-18gnu: 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 Vaillant
2021-09-15gnu: 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 Vaillant
2021-09-15gnu: openjdk9: Fix build....* gnu/packages/java.scm (openjdk9)[arguments]: Pass '-fcommon' to CFLAGS. [native-inputs]: Add gcc-9. Guillaume Le Vaillant
2021-09-14gnu: javacc: Fix build....* gnu/packages/java.scm (javacc)[arguments]: Use gexp for 'make-flags'. Guillaume Le Vaillant
2021-09-14gnu: 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 Vaillant
2021-09-14gnu: java-classpathx-servletapi: Fix build....* gnu/packages/java.scm (java-classpathx-servletapi)[arguments]: Use gexp for 'make-flags'. Guillaume Le Vaillant
2021-09-14gnu: ant: Fix build....* gnu/packages/java.scm (ant/java8)[arguments]: Delete 'define-java-environment-variables' phase inherited from ant-bootstrap. Guillaume Le Vaillant
2021-09-14gnu: icedtea: Fix build....* gnu/packages/java.scm (icedtea-8)[arguments]: Pass '-fcommon' to CFLAGS and CXXFLAGS. Add 'fix-openjdk' phase. Guillaume Le Vaillant
2021-09-14gnu: icedtea-7: Fix build....* gnu/packages/java.scm (icedtea-7)[arguments]: Add 'fix-openjdk' phase. Update 'install-keystore' phase. Guillaume Le Vaillant
2021-09-14gnu: icedtea-6: Fix build....* gnu/packages/java.scm (icedtea-6)[arguments]: Add 'fix-openjdk' phase. Guillaume Le Vaillant
2021-09-03gnu: 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ès
2021-09-03gnu: 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ès
2021-09-03gnu: classpath-bootstrap: Use 'search-input-file'....* gnu/packages/java.scm (classpath-bootstrap)[arguments]: Use 'search-input-file'. Ludovic Courtès
2021-08-08gnu: 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 Flashner
2021-07-31gnu: 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ès
2021-07-29Merge 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 Bakke
2021-07-25gnu: java-commons-codec: Update to 1.15....* gnu/packages/java.scm (java-commons-codec): Update to 1.15. Tobias Geerinckx-Rice
2021-07-25gnu: 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-Rice
2021-07-25gnu: 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-Rice
2021-07-24gnu: 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ès
2021-07-24gnu: 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ès
2021-07-24gnu: 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ès
2021-06-23Merge 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-Rice
2021-06-22gnu: java-kafka-clients: Disable failing test....* gnu/packages/java.scm (java-kafka-clients): Disable a test that fails non-deterministically. Julien Lepiller
2021-06-22gnu: java-jmh: Switch to maven-build-system....* gnu/packages/java.scm (java-jmh): Switch to maven-build-system. Julien Lepiller
2021-06-22gnu: java-jmh: Update to 1.32....* gnu/packages/java.scm (java-jmh): Update to 1.32. [source]: Switch to the git repository. Julien Lepiller
2021-06-22gnu: java-commons-math3: Install to maven repository....* gnu/packages/java.scm (java-commons-math3)[phases]: Use install-from-pom. Julien Lepiller
2021-06-22gnu: Add java-jopt-simple-4....* gnu/packges/java.scm (java-jopt-simple-4): New variable. (java-jopt-simple): Install to maven repository structure. Julien Lepiller
2021-06-22guix: 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 Lepiller
2021-06-19Merge 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 Bakke
2021-06-13gnu: Add openjdk16....* gnu/packages/java.scm (openjdk16): New variable. Pierre Langlois
2021-06-13gnu: Add openjdk15....* gnu/packages/java.scm (openjdk15): New variable. Pierre Langlois
2021-06-13gnu: 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 Langlois
2021-06-13gnu: 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 Langlois
2021-05-22gnu: java.scm: Adjust to new #:disallowed-references convention....* gnu/packages/java.scm (icedtea-8, openjdk9, openjdk10, openjdk11)[arguments]: Adjust #:disallowed-references. Marius Bakke
2021-05-05gnu: 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 Gerwitz
2021-05-05gnu: 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 Gerwitz
2021-05-05gnu: 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 Gerwitz
2021-05-05gnu: 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 Gerwitz
2021-05-05gnu: 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 Gerwitz
2021-05-05gnu: 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 Gerwitz
2021-05-04gnu: java-javaparser: Upgrade os.name to ‘Guix’....* gnu/packages/java.scm (java-javaparser)[arguments]: Drop ‘SD’. Tobias Geerinckx-Rice
2021-04-21gnu: 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ès
2021-04-21gnu: 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ès
2021-04-21gnu: 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 Zancanaro
2021-04-21gnu: ant: Update to 1.10.10....* gnu/packages/java.scm (ant): Update to 1.10.10. Tobias Geerinckx-Rice
2021-04-20gnu: openjdk: Clean up runtime dependencies between Java versions....* gnu/packages/java.scm (icedtea-8, openjdk9, openjdk11): Do not consider icedtea/openjdk input paths when rewriting JNI libraries. Signed-off-by: Andreas Enge <andreas@enge.fr> Carlo Zancanaro
2021-04-01gnu: Fix packages that were importing Guile modules from the host....Those packages were importing (ice-9 match) & co. from the host Guile, which could potentially lead to different derivations depending on the Guile in use. Uncovered by the warning emitted by 'gexp-modules'. * gnu/packages/admin.scm (inxi-minimal)[arguments]: Remove Guile modules from #:modules. * gnu/packages/dns.scm (ddclient)[arguments]: Likewise. * gnu/packages/tex.scm (texlive-latex-koma-script)[arguments]: Likewise. * gnu/packages/java.scm (openjdk11)[arguments]: Likewise for #:imported-modules. Ludovic Courtès
2021-03-12gnu: java-openjfx-graphics: Install native libraries....* gnu/packages/java.scm (java-openjfx-graphics)[arguments]: Add phase copy-missing-file and build-native. [native-inputs]: Add missing source file. Ricardo Wurmus