Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

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
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> what are the steps to contribute an updated package? Page: [1]
Login
Message << Older Topic   Newer Topic >>
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?
Post #: 1
RE: what are the steps to contribute an updated package? - May 11, '06, 1:00:21 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Yeah, there are several packages needing an update.
With Tk it should be done as a trio with Tcl and expect because
they sync together and one builds on the previous.

If there is a missing file, let me know which one. Updating the package for a missing
file can be done quite quickly. A file addition can usually be turned over is a few
minutes once I hear about it. Then you can be on your way :-)

In general building applications can be straight-forward in many cases and in others
go loopy. The loopy cases are usually the app's build shooting itself in the foot.
rather than it being an Interix problem.

Specifically to Tcl/Tk my last notes say:
./configure --enable-threads --enable-shared --enable-load
after editing the configure stript to remove -fPIC from being used and checking
that shared library support is added for Interix.

You're welcome to contribute.
When I get to it can be a challenge sometimes. There's a Russian fellow who
contributed some new stuff a couple weeks ago that I need to get to still.
The delay is my verifying the package is okay and doing some checking that
a trojan horse isn't in it. Most people rely on this happening. Yes, I know
that you know you are okay , but it only takes once to be burned. And if
one person gets burned then thousands are getting burned.

To bundle up a package read the man page for pkg_create as a start.
You can also break out current packages to examine the internal content
into a subdirectory use tar (it's not opaque, everything is visible).

(in reply to lvirden)
Post #: 2
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.

(in reply to Rodney)
Post #: 3
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.

(in reply to lvirden)
Post #: 4
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...

(in reply to Rodney)
Post #: 5
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.

(in reply to lvirden)
Post #: 6
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.

(in reply to Rodney)
Post #: 7
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> what are the steps to contribute an updated package? Page: [1]
Jump to:





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


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.047