Hi, I'm the proposer of the MacPorts scid update.

From: <fbf@li...> - 2020-08-10 18:29:25
Yes and No: you don't need the tklib but the tcl/tk library is not 
automatically installed by SCID.
When configuring SCID, a tcl library must be found, automatically or manually 
(https://github.com/benini/scid/blob/github/azure-pipelines.yml#L194 ).
If the Macports' libraries correspond to the Debian packages, the required 
dependencies are only tcllib and tk.
Hope it helps,
Fulvio


I appreciate this response, but it is still not clear to me why tcllib
is recommended. After searching the scid source for instances of
`package require`, the only dependencies I found which are not in "core"
Tcl/Tk (Tcl, Tk, http, msgcat) nor bundled with scid (tooltip from
tklib, ezsmtp) are tls, tDOM, and snack; I don't see what is currently
needed from tcllib. tDOM has already been marked as a dependency. I will
consider seeing if MacPorts' `tcl-tls` port can be fixed and then making
it a dependency of scid. snack is not in MacPorts, and will probably not
be added due to being unmaintained.

I do see how the Debian package added tcllib as a recommended dependency
in 2012, but did not find elaboration of what exactly from tcllib is
needed; all that was mentioned was Xfcc support.

The CI build script in the provided link shows only "core" Tcl and Tk
being built and installed prior to building and installing scid; there
is no mention of Tcllib. The `TCL_LIBRARY` define is merely pointing to
the shared library file in "core" Tcl. Tcllib is a completely separate
collection of packages for Tcl. These are in the `tcl` and `tcllib`
ports respectively in MacPorts. Could this be what there is confusion over?

I would note that although MacPorts "prefers" using shared rather than
bundled dependencies, I think the case of letting scid use a specific
known-working version of tklib tooltip, a single Tcl script file, is
okay. I think the preference for shared dependencies is more applicable
to things that require much more effort to build and maintain on the Mac.


Christopher A. Chavez


_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to