Getting rid of GNUstep GUI
Posted: Fri Mar 31, 2006 1:02 pm
This also applies to Oolite-Linux (and BSD and ...)
Is it worth my while getting rid of GNUstep GUI (and by consequence, the troublesome GNUstep Back)?
Benefits
- Removes a 3.7Mbyte dependency (probably make the download package 2MB smaller)
- Removes incomprehensible problems with GNUstep Back
What it'd need
- Our own NSColor and NSFont mini-implementation (and possibly a few other smaller things). They just need to be subsets of the full functionality - they aren't really used much
Part of it is selfish too - I would like to move my development machine from Fedora Core 2 to Fedora Core 5. Unfortunately, only GNUstep Foundation will even build on FC5 (short of a lot of gyrations with the configure script to convince it to compile without needing the static X11 libs, which are no longer shipped with FC). Copying my working FC2 installation of GNUstep to FC5 means the current tree compiles, but the GNUstep Backend refuses to initialize. I can get the game to run by commenting out:
in src/SDL/main.m (and the game runs fine with no apparent side effects, other than it no longer tries to initialize GNUstep Back - what problems did it originally cause in NSFont?)
If it will bring some benefits to the Windows build process too it might be worth doing.
Other things I might do - modify the dependency pack in Linux with a 'doctored' GNUstep base which disables the DTD warning too.
Is it worth my while getting rid of GNUstep GUI (and by consequence, the troublesome GNUstep Back)?
Benefits
- Removes a 3.7Mbyte dependency (probably make the download package 2MB smaller)
- Removes incomprehensible problems with GNUstep Back
What it'd need
- Our own NSColor and NSFont mini-implementation (and possibly a few other smaller things). They just need to be subsets of the full functionality - they aren't really used much
Part of it is selfish too - I would like to move my development machine from Fedora Core 2 to Fedora Core 5. Unfortunately, only GNUstep Foundation will even build on FC5 (short of a lot of gyrations with the configure script to convince it to compile without needing the static X11 libs, which are no longer shipped with FC). Copying my working FC2 installation of GNUstep to FC5 means the current tree compiles, but the GNUstep Backend refuses to initialize. I can get the game to run by commenting out:
Code: Select all
// This is still necessary for NSFont calls.
[NSApplication sharedApplication];
If it will bring some benefits to the Windows build process too it might be worth doing.
Other things I might do - modify the dependency pack in Linux with a 'doctored' GNUstep base which disables the DTD warning too.