Subject: [PATCH v2 22/30] gnu: tcl: Autoload unless used by Guix.

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

See first commit in the series for the procedure.
---
 gnu/packages/tcl.scm | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm
index 4cbc9d84b4..8370e51015 100644
--- a/gnu/packages/tcl.scm
+++ b/gnu/packages/tcl.scm
@@ -34,13 +34,12 @@ (define-module (gnu packages tcl)
   #:use-module (guix build-system go)
   #:use-module (guix build-system perl)
   #:use-module (gnu packages)
-  #:use-module (gnu packages image)
-  #:use-module (gnu packages fontutils)
-  #:use-module (gnu packages perl)
-  #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages tls)
-  #:use-module (gnu packages xml)
-  #:use-module (gnu packages xorg)
+  #:autoload (gnu packages image) (libjpeg-turbo libpng)
+  #:use-module (gnu packages fontutils) ; required by "guix build -d guix"
+  #:use-module (gnu packages pkg-config) ; required by "guix build -d guix"
+  #:autoload (gnu packages tls) (openssl)
+  #:autoload (gnu packages xml) (libxml2 libxslt)
+  #:use-module (gnu packages xorg) ; required by "guix build -d guix"
   #:use-module ((guix licenses) #:prefix license:))
 
 (define-public tcl
-- 
2.37.2