From: Jeff H. <je...@ac...> - 2009-09-22 16:49:52
|
Is there a reason not to have done this work based on tkhtml3? Andreas assisted in porting this to a TEA-based system and you can actually find it in the teapot. Although it's not considered final, I would think it would be a better starting point for future work. Jeff On 22/09/2009 8:11 AM, Kevin Walzer wrote: > On 9/22/09 9:08 AM, Jerry LeVan wrote: >> Snow Leopard seems to have damaged my main app ( WxPython) for accessing >> Postgresql Databases... >> >> So, I have gone back to some of my earlier Tcl/Tk efforts and have been >> trying to 'spiffify' the rascals. >> >> One sticky point is the display of html based docs. >> >> Apples Tcl package has neither Tkhtml 2 or Tkthml 3. >> >> It turns out that the version 2 of Tkhtml has just enough >> capability to display the simple html that I have ( in >> particular the Postgresql documentation). >> >> The 'hv' proc was easy to setup and point to the html doc >> files. >> >> I have active state's Tcl/Tk installed on some of my boxen >> (linux and apple) and it appears to have Tkhtml 2 available >> and it works with my app. >> >> However I really would like to get a 'fat' package that works >> with Apples' Tcl/Tk... >> >> Does anyone have a recipe and source that even an aged burnt out >> geezer could follow to build Tkhtml2 ? >> >> Thanks, >> >> Jerry >> > > Jerry, > > Ok, I've packaged this up. Let me know if it works: > > http://www.codebykevin.com/opensource/TkHTML-OSX-Cmake.zip > > Pay close attention to the steps outlined in > "instructions-for-buidling-on-macosx.txt." I've been able to get a > successful build using these. The initial steps were outlined by > Georgios Petasis, developer of Ellogon (pe...@ii...), to > whom I extend thanks. I've also added additional information that I > discovered when doing the build. I am using install_name_tool to link > the TkHtml dylibs against embedded frameworks in my standalone apps, and > I also had to modify hv.tcl to work around some scrolling issues that I > noticed. > > What's very important to remember is that the build instructions aren't > based on the usual configure; make; make steps. These use a different > build system called Cmake. There's a Mac version available from > http://www.cmake.org/. Be sure to install it and take a quick look at > the documentation. > > TkHTML 2 is pretty much impossible to build the old-fashioned way; its > build system dates back to 2002, and things have evolved a lot since > then. I couldn't get it to build that way no matter how many things I > tried. It only took me a couple of tries to get it right with Cmake. So, > that's where I'm staying. > > Please report back. If you are successful with it, I'll make the archive > more publicly available with a link from my main website. > > For what it's worth, this package is licensed under the LGPL--see the > "copying" file in the source tree. > > Thanks, > Kevin > |