Subject: [PATCH v2 18/30] gnu: compression: Autoload unless used by Guix.

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

See first commit in the series for the procedure.
This helps with, but is not sufficient for, avoiding the GTK and Qt stacks.
---
 gnu/packages/compression.scm | 53 ++++++++++++++++++------------------
 1 file changed, 26 insertions(+), 27 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 684979018c..ef0f952047 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -66,33 +66,32 @@ (define-module (gnu packages compression)
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
-  #:use-module (gnu packages assembly)
-  #:use-module (gnu packages autotools)
-  #:use-module (gnu packages backup)
-  #:use-module (gnu packages base)
-  #:use-module (gnu packages benchmark)
-  #:use-module (gnu packages boost)
-  #:use-module (gnu packages check)
-  #:use-module (gnu packages curl)
-  #:use-module (gnu packages documentation)
-  #:use-module (gnu packages file)
-  #:use-module (gnu packages gettext)
-  #:use-module (gnu packages glib)
-  #:use-module (gnu packages gnome)
-  #:use-module (gnu packages gnupg)
-  #:use-module (gnu packages gtk)
-  #:use-module (gnu packages llvm)
-  #:use-module (gnu packages man)
-  #:use-module (gnu packages maths)
-  #:use-module (gnu packages perl)
-  #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages python)
-  #:use-module (gnu packages qt)
-  #:use-module (gnu packages selinux)
-  #:use-module (gnu packages tls)
-  #:use-module (gnu packages valgrind)
-  #:use-module (gnu packages version-control)
-  #:use-module (gnu packages xml)
+  #:autoload (gnu packages assembly) (nasm yasm)
+  #:autoload (gnu packages autotools) (autoconf automake libtool)
+  #:autoload (gnu packages backup) (libarchive)
+  #:autoload (gnu packages base) (tzdata-for-tests which)
+  #:autoload (gnu packages benchmark) (benchmark)
+  #:autoload (gnu packages boost) (boost)
+  #:autoload (gnu packages check) (googletest)
+  #:autoload (gnu packages curl) (curl)
+  #:autoload (gnu packages documentation) (doxygen)
+  #:autoload (gnu packages file) (file)
+  #:autoload (gnu packages gettext) (gettext-minimal)
+  #:autoload (gnu packages glib) (glib gobject-introspection intltool)
+  #:autoload (gnu packages gnome) (adwaita-icon-theme json-glib vala)
+  #:autoload (gnu packages gnupg) (gnupg gpgme)
+  #:autoload (gnu packages gtk) (gtk+)
+  #:autoload (gnu packages llvm)
+  (clang-toolchain-6 libcxxabi-6 libcxx+libcxxabi-6)
+  #:autoload (gnu packages man) (help2man)
+  #:use-module (gnu packages perl) ; required by "guix build -d guix"
+  #:use-module (gnu packages pkg-config) ; required by "guix build -d guix"
+  #:use-module (gnu packages python) ; required by "guix build -d guix"
+  #:autoload (gnu packages qt) (qtbase-5)
+  #:autoload (gnu packages selinux) (libselinux)
+  #:autoload (gnu packages tls) (gnutls openssl)
+  #:autoload (gnu packages valgrind) (valgrind)
+  #:autoload (gnu packages xml) (libxslt)
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
-- 
2.37.2