Subject: [PATCH v2 20/30] gnu: algebra: Autoload unless used by Guix.

From: Maxime Devos <[email-masked]>
Date: Sat, 3 Sep 2022 18:43:22 +0200

See first commit in the series for the procedure.
This helps with, but is not sufficient for, avoiding Java.
---
 gnu/packages/algebra.scm | 66 +++++++++++++++++++++-------------------
 1 file changed, 35 insertions(+), 31 deletions(-)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 8ccb44c434..b52ace9e98 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -32,37 +32,41 @@
 
 (define-module (gnu packages algebra)
   #:use-module (gnu packages)
-  #:use-module (gnu packages autotools)
-  #:use-module (gnu packages bison)
-  #:use-module (gnu packages boost)
-  #:use-module (gnu packages check)
-  #:use-module (gnu packages compression)
-  #:use-module (gnu packages cpp)
-  #:use-module (gnu packages documentation)
-  #:use-module (gnu packages ed)
-  #:use-module (gnu packages flex)
-  #:use-module (gnu packages fltk)
-  #:use-module (gnu packages gcc)
-  #:use-module (gnu packages gl)
-  #:use-module (gnu packages graphviz)
-  #:use-module (gnu packages image)
-  #:use-module (gnu packages java)
-  #:use-module (gnu packages maths)
-  #:use-module (gnu packages mpi)
-  #:use-module (gnu packages multiprecision)
-  #:use-module (gnu packages ocaml)
-  #:use-module (gnu packages perl)
-  #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages pulseaudio)
-  #:use-module (gnu packages python)
-  #:use-module (gnu packages python-xyz)
-  #:use-module (gnu packages readline)
-  #:use-module (gnu packages shells)
-  #:use-module (gnu packages tex)
-  #:use-module (gnu packages texinfo)
-  #:use-module (gnu packages xiph)
-  #:use-module (gnu packages xml)
-  #:use-module (gnu packages xorg)
+  #:autoload (gnu packages autotools) (autoconf automake libtool)
+  #:autoload (gnu packages bison) (bison)
+  #:autoload (gnu packages boost) (boost)
+  #:autoload (gnu packages check)
+  (doctest googlebenchmark googletest python-pytest)
+  #:autoload (gnu packages compression) (zlib)
+  #:autoload (gnu packages cpp) (xsimd xtl)
+  #:autoload (gnu packages documentation) (doxygen)
+  #:autoload (gnu packages ed) (ed)
+  #:autoload (gnu packages flex) (flex)
+  #:autoload (gnu packages fltk) (fltk)
+  #:autoload (gnu packages gcc) (gcc-7)
+  #:autoload (gnu packages gl) (mesa)
+  #:autoload (gnu packages graphviz) (graphviz)
+  #:autoload (gnu packages image) (libjpeg-turbo libpng)
+  #:autoload (gnu packages java)
+  (icedtea-8 java-commons-math3 java-hamcrest-core java-junit)
+  #:autoload (gnu packages maths) (cddlib glpk-4 gnuplot gsl lapack openblas)
+  #:autoload (gnu packages mpi) (openmpi %openmpi-setup)
+  #:autoload (gnu packages multiprecision) (cln gmp mpc mpfi mpfr)
+  #:autoload (gnu packages ocaml) (hevea)
+  #:autoload (gnu packages perl) (perl)
+  #:autoload (gnu packages pkg-config) (pkg-config)
+  #:autoload (gnu packages pulseaudio) (libsamplerate)
+  #:autoload (gnu packages python) (python-2 python-wrapper)
+  #:autoload (gnu packages python-xyz)
+  (python-cysignals python-cython python-flake8 python-numpy)
+  #:autoload (gnu packages readline) (readline)
+  #:autoload (gnu packages shells) (tcsh)
+  #:autoload (gnu packages tex)
+  (texlive-amsfonts texlive-tiny texlive-updmap.cfg)
+  #:autoload (gnu packages texinfo) (texinfo)
+  #:autoload (gnu packages xiph) (ao)
+  #:autoload (gnu packages xml) (libxml2)
+  #:autoload (gnu packages xorg) (libx11 libxft libxinerama libxt)
   #:use-module (guix build-system ant)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system cmake)
-- 
2.37.2