On May 1, 2008, at 9:46 AM, Cory Helfrich wrote: > Hello Garth, > > > On May 1, 2008, at 7:19 PM, Garth Corral wrote: >> menu bar on top of the display as they expect. Now this will only >> work when built against the Tcl/Tk libraries shipped with OS X and >> when installed as an application bundle (e.g. double-clickable >> Scid.app). If users choose to build against an X11 version of Tk, it >> should behave as on unix so this should be fine for ports and fink. >> > > I am using scid on OS X 10.4. I have built it against an X11 version > of scid. Would you mind sending instructions on how to build scid > against the Tcl/Tk libraries shipped with OS X? The "Tcl.framework" > and "Tk.framework" exist in my "/Library/Frameworks" folder > I wouldn't mind at all, but I need to ask, are you sure you've built against X11? I ask this because unless you explicitly built and installed tcl and tk (with ports or fink for instance), you are likely already built against the system version.
The tcl and tk libraries are also installed in /usr/lib on 10.4 and 10.5. The link line in the scid makefile contains '-L /usr/lib -ltcl$ (TCL_VERSION)...' and '-ltk$(TCL_VERSION) -L /usr/X11R6/lib -lX11' this links against the system installed versions by default, but because the system version does not use X11 to render the UI, there are no symbol references to any X11 libraries, and hence no X11 code is linked in. I guess what I'm saying is that you don't need to do anything to link against the system installed tcl/tk libraries. That said, it is not enough to link against them to get the proper menu bar behavior. You must also launch it from an application bundle, and even then you'll only get a proper menu bar for the main window. The rest will have menu buttons with the usual unreadable label on them. There might be a trick to launching it from the command line and having the menu bar show up but I'm not aware of it. I should point out that I'm no Tcl/Tk expert, in fact I don't much care for them. Shane has created such a useful application, though, that it seems worth learning a bit about them just to make it more usable on OS X, my platform of choice at the moment. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Scid-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scid-users
