From: Francesco M. <f18...@ya...> - 2006-03-06 23:00:38
|
Anders F Björklund ha scritto: > Francesco Montorsi wrote: > >> I'm quite sure the patch is good. Unfortunately I haven't got a Mac to >> test it nor John or Klaas, I think so your help is very useful! > > No problem, but some of the issues encountered should > be present on all the platforms ? Especially these two: > 1) wxluaedit.cpp patch 2) wxlua.cpp + wxlsock.cpp patch the absence of __WXMAC__ symbols can only be noticed when compiling on Mac :) the inclusion of lua internal.h is strange - we don't need it on win or unix. Last the addition of the wxSTENotebook is probably not required using the latest wxStEdit from CVS... > >> I see in patch tracker comment that you had to tweak the lua makefile. >> Why did you use it ? >> the configure script should do all checks for you and it will produce >> a modules/Makefile which should build lua without using lua's own >> makefile (which is not generated through configure and is placed in >> modules\lua\Makefile).,, > > Okay, maybe that was uncalled for then... :-) > I'm just kinda used to patching Lua for the Mac, > so it mostly went out of old habit or something. > > (see http://www.algonet.se/~afb/lua/) ok, could you please check out the latest CVS of wxLua and try the configure script on your Mac ? It would be very useful to know how much portable it is... > >> On my linux, wx-config --rezflags returns: >> >> @true >> Warning: --rezflags, along with Mac OS classic resource building is >> deprecated. You should remove this from your Makefile and build .app >> bundles instead. >> >> but I have no idea what .app bundles are. > > Deprecated doesn't mean "dead", though... :-) ;) > It still works. I did a write-up on the subject > for the Code::Blocks wiki, maybe it helps you: > > http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Mac_OS_X#Bundle_application_for_Mac I'll look deeper into this ASAP > > >> If you could help making mac installation smoother, it would be great ! > > Sure, I can make an installer for it. (eventually) interesting ! I think adding a folder like build\macbundle containing all required files could be enough ? Would you require any change in build system (i.e. Makefiles)? We manage them using Bakefile so I can help with it... Francesco |