[tcltk-perl] packaging Tcl::Tk and Tcl/Tk files within Perl installation
Brought to you by:
hobbs
From: Vadim K. <va...@vk...> - 2004-11-02 23:56:44
|
I developed small Perl script that aims in Tcl/Tk build process for creation of Tcl/Tk being used from Perl's Tcl::Tk modules only. All steps are very very first preliminary and only work on Win32. However following currently works: - after Tcl, Tk, trf, memchan, vfs built, they could be linked with Tcl.xs we get single Tcl.dll, (otherwise Perl's Tcl.dll calls Tcl/Tk's tcl84.dll and tk84.dll) - "tcl-scripts.zip" created during build - all related *.tcl scripts being used from "tcl-scripts.zip" archive directly using Tcl's vfs::zip vrtual FS. Following are not currently working but expect those really soon (after weekend) - tk.res not linked with Tcl.dll but it should - process requires Compress::Zlib static lib behind the scenes - non-Win32 - Tcl/Tk versions other than 8.4.7 Alternatively, it is quite possible to create distribution without any compressing/zip tricks, so using all Tcl/Tk without trf, memchan, vfs. This will be easier and not harder. When all will be settled, I suppose creating CPAN distribution with names like TclTk-zpackaged - Tcl/Tk+Tix+some others, trf, memchan, vfs and Tcl scripts zipped TclTk-packaged - same but no zipping I like first one much better than second. I placed my "build area" with mentioned script at www.vkonovalov.ru/tcltk-misc File tcltk-packaged.zip contains current build tree. All things are not settled, and after a week or two things will stabilize much more, so people who do not have enough time to look into broken scripts should wait a bit. On the contrary, those who want help things to grow in a sane way, should speak early. -- Best regards, Vadim |