Tcl/Tk 8.6

Core libraries and systems
Post Reply
Message
Author
User avatar
NeroVance
Posts: 201
Joined: Wed 10 Oct 2012, 23:00
Location: Halifax, Canada

Tcl/Tk 8.6

#1 Post by NeroVance »

I whipped up a few packages for Tcl and Tk version 8.6.0, since I like to work in Tcl, and this does have a multitude of new features, including bulit-in OO for the first time, and a database package and the like included.

This is kinda untested, but I compiled it on Precise Puppy, and therefore should work on it as such.

Tcl 8.6 https://docs.google.com/file/d/0B1GBBc2 ... sp=sharing
Tk 8.6 https://docs.google.com/file/d/0B1GBBc2 ... sp=sharing

These packages however do refer to files known as "tclsh8.6" and "wish8.6" rather than just tclsh or wish, there may be an additional ".0" at the end of each of these, but I can't remember. Hence keep this in mind, and if it works out well in testing, feel free to symlink these to your tclsh and wish.
Last edited by NeroVance on Wed 06 Feb 2013, 00:25, edited 1 time in total.

User avatar
NeroVance
Posts: 201
Joined: Wed 10 Oct 2012, 23:00
Location: Halifax, Canada

#2 Post by NeroVance »

And for the Development and Documentation Packages

Tcl 8.6 DEV: https://docs.google.com/file/d/0B1GBBc2 ... sp=sharing
Tcl 8.6 DOC: https://docs.google.com/file/d/0B1GBBc2 ... sp=sharing
Tk 8.6 DEV: https://docs.google.com/file/d/0B1GBBc2 ... sp=sharing
Tk 8.6 DOC: https://docs.google.com/file/d/0B1GBBc2 ... sp=sharing

Hopefully these dotpets will be of service for puppians like me, who use Tcl/Tk for their share of Puppy work, and to those who may want to incorporate the newest Tcl into Puppy.

User avatar
thunor
Posts: 350
Joined: Thu 14 Oct 2010, 15:24
Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
Contact:

#3 Post by thunor »

I've compiled tcl and tk 8.6.0 into an sfs and instead of creating another Tcl/Tk 8.6 thread I'll append my links to yours if that's OK.

This I compiled on slacko55 for i686:
https://files.myopera.com/thunor/slacko ... 0-i686.sfs

md5 is 640f655407276ecc8b521f59036d79a5

Place the sfs into your Puppy installation folder and then run Setup-->SFS-Load on-the-fly from the Puppy menu.

I've been using it with tkdiff and tkgames for a while now. I did notice that slacko55 comes with a /usr/bin/tclsh symlink to /usr/bin/jimsh which I haven't touched so it's up to you if you want to symlink /usr/bin/tclsh to /usr/bin/tclsh8.6 instead. A /usr/bin/wish symlink to /usr/bin/wish8.6 I have included as part of the sfs.

Regards,
Thunor

User avatar
NeroVance
Posts: 201
Joined: Wed 10 Oct 2012, 23:00
Location: Halifax, Canada

#4 Post by NeroVance »

thunor wrote:I've compiled tcl and tk 8.6.0 into an sfs and instead of creating another Tcl/Tk 8.6 thread I'll append my links to yours if that's OK.

This I compiled on slacko55 for i686:
https://files.myopera.com/thunor/slacko ... 0-i686.sfs

md5 is 640f655407276ecc8b521f59036d79a5

Place the sfs into your Puppy installation folder and then run Setup-->SFS-Load on-the-fly from the Puppy menu.

I've been using it with tkdiff and tkgames for a while now. I did notice that slacko55 comes with a /usr/bin/tclsh symlink to /usr/bin/jimsh which I haven't touched so it's up to you if you want to symlink /usr/bin/tclsh to /usr/bin/tclsh8.6 instead. A /usr/bin/wish symlink to /usr/bin/wish8.6 I have included as part of the sfs.

Regards,
Thunor
Sweet. A Tcl/Tk SFS can be good.
I personally like packages, more like ol' Linux eh?

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#5 Post by jpeps »

thunor wrote:I've compiled tcl and tk 8.6.0 into an sfs and instead of creating another Tcl/Tk 8.6 thread I'll append my links to yours if that's OK.

This I compiled on slacko55 for i686:
https://files.myopera.com/thunor/slacko ... 0-i686.sfs

md5 is 640f655407276ecc8b521f59036d79a5

Place the sfs into your Puppy installation folder and then run Setup-->SFS-Load on-the-fly from the Puppy menu.

I've been using it with tkdiff and tkgames for a while now. I did notice that slacko55 comes with a /usr/bin/tclsh symlink to /usr/bin/jimsh which I haven't touched so it's up to you if you want to symlink /usr/bin/tclsh to /usr/bin/tclsh8.6 instead. A /usr/bin/wish symlink to /usr/bin/wish8.6 I have included as part of the sfs.

Regards,
Thunor
I see the wish link included, but it's not being seen in the loaded file system.

User avatar
thunor
Posts: 350
Joined: Thu 14 Oct 2010, 15:24
Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
Contact:

#6 Post by thunor »

jpeps wrote:I see the wish link included, but it's not being seen in the loaded file system.
I created it like this:

Code: Select all

For both tcl8.6.0 and tk8.6.0:

./configure --prefix=/usr
make
make DESTDIR=/tmp/tcltk-8.6.0-i686 install

ln -rs /tmp/tcltk-8.6.0-i686/usr/bin/wish8.6 /tmp/tcltk-8.6.0-i686/usr/bin/wish
mksquashfs /tmp/tcltk-8.6.0-i686 /tmp/tcltk-8.6.0-i686.sfs -noappend
as recommended by the Puppy Linux Wiki.

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#7 Post by jpeps »

The file is in initrd, but doesn't load to /usr/bin. I've had similar problems with links before, and solved it by copying the target file first to /usr/bin, and then creating the link to it in the build directory.

edit: I tried that, with similar results. Must be just SFS's screwing up once again.

User avatar
NeroVance
Posts: 201
Joined: Wed 10 Oct 2012, 23:00
Location: Halifax, Canada

#8 Post by NeroVance »

jpeps wrote:The file is in initrd, but doesn't load to /usr/bin. I've had similar problems with links before, and solved it by copying the target file first to /usr/bin, and then creating the link to it in the build directory.

edit: I tried that, with similar results. Must be just SFS's screwing up once again.
Who knows.
This plus stuff involving loading SFSs is why I do my work mostly in packaging.

I may think about methods to build packages that automatically backup what files they would replace, that way if one does install new software that has upgrade libraries that rely on it, and you don't want it anymore, you could still safely remove it.

Like miniature restore points. There could be a couple complications with that, but if a package has gone and done another update, then perhaps have a system for filing versions by reference and package...

I should write something about this... This could be very useful for puppies to use perchance.

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#9 Post by jpeps »

After a few times installing, uninstalling, reinstalling...the link showed up and all looked well until I noticed other SFS's stopped working. I uninstalled tcltk and they worked again. Think I'll stick with it as a pet.

User avatar
NeroVance
Posts: 201
Joined: Wed 10 Oct 2012, 23:00
Location: Halifax, Canada

#10 Post by NeroVance »

jpeps wrote:After a few times installing, uninstalling, reinstalling...the link showed up and all looked well until I noticed other SFS's stopped working. I uninstalled tcltk and they worked again. Think I'll stick with it as a pet.
Eh! :D
Also, I'm currently working on a thing for puppy that will allow you to have an IRIX look. I just need to fix a couple things, and get XDG menu creation working, and it should be swell.

User avatar
mister_electronico
Posts: 969
Joined: Sun 20 Jan 2008, 20:20
Location: Asturias_ España
Contact:

Hi thanks

#11 Post by mister_electronico »

Hi thanks for this Pets I am searching for it.

I do not know why programs do more in this powerful programmer puppy with TCL / TK, I want to start learning so thanks for your pets

Greetings.

User avatar
recobayu
Posts: 387
Joined: Wed 15 Sep 2010, 22:48
Location: indonesia

#12 Post by recobayu »


User avatar
NeroVance
Posts: 201
Joined: Wed 10 Oct 2012, 23:00
Location: Halifax, Canada

Re: Hi thanks

#13 Post by NeroVance »

mister_electronico wrote:Hi thanks for this Pets I am searching for it.

I do not know why programs do more in this powerful programmer puppy with TCL / TK, I want to start learning so thanks for your pets

Greetings.
Puppy used to have a lot of Tcl software in it, but it fell by the wayside around 4.0. I kinda feel that things began to truly change with Puppy around that time, for better or worse.

I'll be honest, I know a lot of people love Bash+Gtk but I just can't stand it personally, it just looks very ugly from my view as a coder, but that is subjective, some probably see beauty in how it works. But I honestly prefer Tcl/Tk or Tcl/Gnocl over it.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#14 Post by musher0 »

Thanks recobayu, this will be useful.

However, could you please put your files on zippyshare, and give the links?
I can't access them at your dropbox site. TIA.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply