There will probably be a new release of FreeOrion soon, and it'd be nice if we could have a new Mac OSX version around the same time.
The previous page's discussion of putting the XCode project into FreeOrion's SVN repository and patching GG seems to have been forgotten...
.Id wrote:
tzlaine wrote:
Thanks for doing this! Ok, here's my take on your GG patch. I changed some formatting-type stuff, and s/NULL/0. Do these changes work for you? If so, I'll be committing these files as they are here, including your copyright. If you approve, I'll take this as written consent to release this code under LGPL.
Anything that's copyright from me, I didn't intend to have there.
I'm not sure if tzlaine saw that, but that's not a very clear response. Do you mean that all code you wrote and submitted in this thread can be released under the LGPL?
.Id wrote:
But the aglGetProcAddress files are actually apple's work:
http://developer.apple.com/qa/qa2001/qa1188.html which I should have made clear, sorry
Do you know if it's allowed to release that code under the LGPL? It appears to be standard / boilerplate code that wouldn't be copyright, but the page doesn't seem to specifically say that it's free to use and redistribute.
.Id wrote:
I can rewrite that code to get OpenGL entry points if you'd like.
That would probably be the best option.
.Id wrote:
tzlaine wrote:
Did you build GG with its SCons build system? It appears you did not, since I found "#ifdef FREEORION_MACOSX" in your changes to GG/Ogre/OgreGUI.h. Before I can accept this patch for GG's trunk, I'll need your assurance that the SCons build works. Otherwise, I'll stick this changeset in a patches directory in the GG repository.
I didn't use SCons. Considering a SCons build wasn't previously supported on a mac platform, I'll take you mean the changes don't break win32 or posix. And I'm fairly certain they don't, since everything would be preprocessed out and the aglGetProcAddress files do not even need to be looked at for those platforms. Would confirming a GG SCons build with this patch on linux suffice?
.Id wrote:
Glad, I checked this. There was a bug where I #ifdef instead of #if, use this patch for OgreGUI.cpp instead of what was in previous files:
[...]
These compile with SCons on linux and still in Xcode.
It'd be good to address this (tzlaine...?)
I've mashed together the changes and editing the FreeOrion part slightly for tabs -> spaces, and attached.