/usr/share/tcltk/tklib0.5/pkgIndex.tcl is in tklib 0.5-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | # Tcl package index file, version 1.1
# Do NOT edit by hand. Let tklib install generate this file.
# Generated by tklib installer for version 0.5
# All tklib packages need Tcl 8 (use [namespace])
if {![package vsatisfies [package provide Tcl] 8]} {return}
# Extend the auto_path to make tklib packages available
if {[lsearch -exact $::auto_path $dir] == -1} {
lappend ::auto_path $dir
}
# For Tcl 8.3.1 and later, that's all we need
if {[package vsatisfies [package provide Tcl] 8.4]} {return}
if {(0 == [catch {
package vcompare [info patchlevel] [info patchlevel]
}]) && (
[package vcompare [info patchlevel] 8.3.1] >= 0
)} {return}
# For older Tcl releases, here are equivalent contents
# of the pkgIndex.tcl files of all the modules
if {![package vsatisfies [package provide Tcl] 8.0]} {return}
set maindir $dir
set dir [file join $maindir autoscroll] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir canvas] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir chatwidget] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir crosshair] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir ctext] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir cursor] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir datefield] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir diagrams] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir getstring] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir history] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir ico] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir ipentry] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir khim] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir ntext] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir plotchart] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir style] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir swaplist] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir tablelist] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir tkpiechart] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir tooltip] ; source [file join $dir pkgIndex.tcl]
set dir [file join $maindir widget] ; source [file join $dir pkgIndex.tcl]
unset maindir
|