|
From: Mats B. <ma...@pr...> - 2007-07-10 12:36:22
|
Thanks for all this. Patch applied to cvs. You can get direct cvs access if you want. Jeff Hobbs wrote: > Hi Mats, > > Finally got some time to poke on this ... a few points. > > Attached is a diff that updates TEA and fixes building somewhat on > Windows. In fact, it is probably totally broken, but then again so is > the state of trying to build Ttk stuff for 8.5. > > I think it is better to target 8.5+Ttk first, and fall back to 8.4+tile. > The configure.in has been updated with respect to that. Me still lives with 8.4 > > I made the TEA stuff work correctly for Windows, so I would recommend > dumping all the win/ build stuff. I'm usually completely lost using TEA on windows why I keep VC++ projects around. > > The part that I can't get quite right is that it is almost impossible to > build for Ttk with 8.5. There are neither stubs to link against, nor > entries in the standard Tk (int) decls header. One or both need to be > addressed in the core (this is really a core issue). I'll work with Joe > on the best way to address that. Couldn't you just append the ttk stubs API to the tk ones? > > On the unix side, I haven't poked much, but it isn't sufficiently > finding the xft/cairo stuff for the build to work for me now. Probably > more configure magic is required there. > I added TEA_ADD_LIBS([-lcairo]) since I wasn't sure how the dynamic loading worked. > Also, the uxtheme dynamic loading isn't properly indirected right now, > so it is required to link in uxtheme.lib at build time currently. You > can see how tile actually addresses this in the code. > I was experimenting with various ways to draw the background but I couldn't find any working. Just mailed Georgios about this. The intention is to let go the direct linking to uxtheme and gdiplus and do it dynamically in the code as tile does it. I need to understand this. > I haven't tried building on OS X yet, but with the latest TEA, it > shouldn't be hard to support as well. > Again, I normally use PB here. Many thanks for your help, Mats |