GNU bug report logs - #54920
[PATCH] gnu: tcl: Add tcl-tls to packages.

Previous Next

Package: guix-patches;

Reported by: Daniel Lowe <dlowe <at> dlowe.net>

Date: Wed, 13 Apr 2022 20:52:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Daniel Lowe <dlowe <at> dlowe.net>
Cc: 54920 <at> debbugs.gnu.org
Subject: [bug#54920] [PATCH] gnu: tcl: Add tcl-tls to packages.
Date: Fri, 06 May 2022 15:22:45 +0200
Hi,

Daniel Lowe <dlowe <at> dlowe.net> skribis:

> * gnu/packages/tcl.scm (tcl-tls): Added 1.7.22

Applied.  I followed up with cosmetic changes.

One question though:

> +   (search-paths
> +    (list (search-path-specification
> +           (variable "TCLLIBPATH")
> +           (separator " ")
> +           (files (list (string-append "lib/tcltls" version))))))

This declaration most likely belongs in ‘tcl’ itself:

  https://guix.gnu.org/manual/devel/en/html_node/Search-Paths.html

Most Tcl libraries that we have have that ‘search-paths’ declaration
though, and they would need to be fixed.

One problem is that they augment TCLLIBPATH not with a generic “lib/tcl”
(say) collection of directories, but instead with a package-specific
directory, like “lib/tcltls1.3”.

The solution would be to ensure that, instead, all these libraries
install their Tcl code in “lib/tcl” rather than “lib/PACKAGE”.

Since you’re into Tcl, would you like to give it a try? :-)

TIA,
Ludo’.




This bug report was last modified 3 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.