<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Ok I have created the patch on my own. I have got the tarball of Apple (TCL/TK 8.5.9 Cocoa) and patched it myself.</div><div><br></div><div>Cheers,</div><div>Alexander. </div><div><br></div><br><div><div>On Sep 3, 2011, at 8:15 PM, Alexander Agathos wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">As an add-on to my mail I think that I need a patch to Tk-Cocoa also :<div><span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px; "><br><table id="info" summary="Revision info" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(247, 247, 240); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(215, 215, 215); border-right-color: rgb(215, 215, 215); border-bottom-color: rgb(215, 215, 215); border-left-color: rgb(215, 215, 215); border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; clear: both; width: 1259px; background-position: initial initial; background-repeat: initial initial; ">
</table></span><span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px; "><table id="info" summary="Revision info" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(247, 247, 240); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(215, 215, 215); border-right-color: rgb(215, 215, 215); border-bottom-color: rgb(215, 215, 215); border-left-color: rgb(215, 215, 215); border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; clear: both; width: 1259px; display: inline !important; position: static; z-index: auto; ">
<tbody style="display: inline !important; "><tr style="font: normal normal normal 13px/normal Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; display: inline !important; "><td class="message searchable" style="font-size: 11px; padding-top: 2px; padding-right: 0.5em; padding-bottom: 2px; padding-left: 0.5em; vertical-align: top; width: 1248px; display: inline !important; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; display: inline !important; ">This also requires a patch to Tk Cocoa to expose the Mac</div>
</td></tr></tbody></table></span><span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px; "><table summary="Revision info" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(247, 247, 240); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(215, 215, 215); border-right-color: rgb(215, 215, 215); border-bottom-color: rgb(215, 215, 215); border-left-color: rgb(215, 215, 215); border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; clear: both; width: 1259px; position: static; z-index: auto; ">
<tbody><tr style="font: normal normal normal 13px/normal Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; "><td class="message searchable" style="font-size: 11px; padding-top: 2px; padding-right: 0.5em; padding-bottom: 2px; padding-left: 0.5em; vertical-align: top; width: 1248px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
window needed for making an OpenGL context.</div></td></tr></tbody></table></span><br></div><div>Where can I find this patch? </div><div><br></div><div>Cheers,</div><div>Alexander.</div><div><br><div class="gmail_quote">On Sat, Sep 3, 2011 at 7:02 PM, Alexander Agathos <span dir="ltr"><<a href="mailto:alexander.agathos@gmail.com">alexander.agathos@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">Hi,<div><br></div><div>I have seen a patch concerning compiling Togl (a software component of Chimera) in Cocoa based TCL/TK</div>
<div><br></div><div><a href="http://plato.cgl.ucsf.edu/trac/chimera/browser/trunk/foreign/Togl/togl-cocoa.patch" target="_blank">http://plato.cgl.ucsf.edu/trac/chimera/browser/trunk/foreign/Togl/togl-cocoa.patch</a></div>
<div><br></div><div>The problem is that I can't compile it because of the function in the patch :</div><div><br></div><span style="font-family:Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;font-size:13px"></span><div>
<span style="border-collapse:collapse;font-family:monospace;font-size:11px"><span style="color:rgb(0, 0, 0);background-color:rgb(221, 255, 221)">WindowRef r = TkMacOSXDrawableWindowRef(d);</span></span></div><div><font face="monospace"><span style="border-collapse:collapse;font-size:11px"><br>
</span></font></div><div><font face="monospace"><span style="border-collapse:collapse;font-size:11px">The function TkMacOSXDrawableWindowRef does not exist anymore. Is it possible to guide me on what I need to do?</span></font></div>
<div><font face="monospace"><span style="border-collapse:collapse;font-size:11px"><br></span></font></div><div><font face="monospace"><span style="border-collapse:collapse;font-size:11px">Cheers,</span></font></div><div><font face="monospace"><span style="border-collapse:collapse;font-size:11px">Alexander.</span></font></div>
<font color="#888888"><div> </div></font></div></blockquote></div><br></div>
</blockquote></div><br></body></html>