All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
what are the steps to contribute an updated package?
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login |
|
|
what are the steps to contribute an updated package? - May 11, '06, 10:53:50 AM
|
|
|
lvirden
Posts: 38
Joined: Nov. 3, '05,
From: Larry W. Virden
Status: offline
|
The current Tk package is incomplete - it is missing the file which permits one to dynamically load the tk package. And, in fact, the package being distributed is 2 years old.
Are there procedures in place that would allow us to a) determine what special steps were taken to build the original packages and then b) allows us to build a newer version of the package and contribute it back to the warehouse?
|
|
|
RE: what are the steps to contribute an updated package? - May 11, '06, 2:01:51 PM
|
|
|
lvirden
Posts: 38
Joined: Nov. 3, '05,
From: Larry W. Virden
Status: offline
|
The missing file should be /usr/local/lib/tk8.4/pkgIndex.tcl if I understand the setup right. I think that having that file should be enough for me to be able, within tclsh, to say
package require Tk
and to get Tk up and going.
|
|
|
RE: what are the steps to contribute an updated package? - May 11, '06, 2:39:15 PM
|
|
|
Rodney
Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
mmm, I don't have that file in that directory or any other directory.
There is a /usr/local/lib/tcl8.4/package.tcl file which is in the install package.
I'll have to investigate some more about it.
|
|
|
RE: what are the steps to contribute an updated package? - May 11, '06, 3:14:46 PM
|
|
|
lvirden
Posts: 38
Joined: Nov. 3, '05,
From: Larry W. Virden
Status: offline
|
Looking at the output from a make install for tk 8.4.6, I see:
if test "x1" = "x1"; then \
echo "Creating package index /usr/tcl84/lib/tk8.4/pkgIndex.tcl"; \
rm -f /usr/tcl84/lib/tk8.4/pkgIndex.tcl; \
(\
echo "if {[package vcompare [package provide Tcl]\
8.4] != 0} { return }";\
echo "package ifneeded Tk 8.4\
[list load [file join \$dir .. libtk8.4.so] Tk]";\
) > /usr/tcl84/lib/tk8.4/pkgIndex.tcl; \
fi
echo "Installing libtk8.4g.so to /usr/tcl84/lib/"
and so on. The makefile creates the file dynamically during installation...
|
|
|
RE: what are the steps to contribute an updated package? - May 11, '06, 8:24:33 PM
|
|
|
Rodney
Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
Looking *in* the Makefile shows things to be slightly different.
The conditional varies. If you build static, then you get this file.
If you build shared then you don't get this file installed.
Tcl and Tk were both built shared. And that's what's in the package.
|
|
|
RE: what are the steps to contribute an updated package? - May 15, '06, 7:15:47 AM
|
|
|
lvirden
Posts: 38
Joined: Nov. 3, '05,
From: Larry W. Virden
Status: offline
|
Thanks . Must be one of the bugs in that old version of the code.
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|