Page 1 of 1

Tcl/Tk 8.6

Posted: Tue 05 Feb 2013, 18:44
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.

Posted: Wed 06 Feb 2013, 00:23
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.

Posted: Thu 28 Mar 2013, 15:27
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

Posted: Thu 28 Mar 2013, 17:10
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?

Posted: Thu 28 Mar 2013, 18:20
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.

Posted: Thu 28 Mar 2013, 19:25
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.

Posted: Thu 28 Mar 2013, 21:03
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.

Posted: Thu 28 Mar 2013, 22:02
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.

Posted: Sat 30 Mar 2013, 08:02
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.

Posted: Sat 30 Mar 2013, 09:55
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.

Hi thanks

Posted: Wed 01 Apr 2015, 21:12
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.

Posted: Mon 25 Jan 2016, 02:23
by recobayu

Re: Hi thanks

Posted: Sun 12 Feb 2017, 02:46
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.

Posted: Sun 12 Feb 2017, 07:42
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.