TIP 482: Record Tk demo directory information

Login
Author:         Stuart Cassoff <[email protected]>
State:          Final
Type:           Project
Vote:           Done
Created:        03-Nov-2017
Post-History:   
Keywords:       Tk, demos, configuration
Tcl-Version:    8.7
Tk-Branch:      tk-stu-pkg

Abstract

The Tk demos can be installed anywhere but this location is not recorded anywhere. This TIP proposes recording the demo directory location.

Rationale

The Tk demos can be installed in a non-default directory by overriding the Makefile variable DEMO_INSTALL_DIR at install-time. Since this information isn't recorded anywhere there is no practical way for an external entity to determine the demo install directory.

Proposal

Platform Considerations

Current Uncertainties as of 2017/11/21:

Reference Implementation

The reference implementation is available in the tk-stu-pkg branch. https://core.tcl-lang.org/tk/timeline?r=tk-stu-pkg

The code is licensed under the same license as Tk.

See Also

TIP #483 [483]: Improved TIP #59 implementation for Tk.

Copyright

This document has been placed in the public domain.