[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] freetype merge and the Spectacularly Adequate Automated Pygame Build Page Re: [pygame] Documentation changes in trunk



On Fri, Aug 21, 2009 at 5:29 PM, Lenard Lindstrom<len-l@xxxxxxxxx> wrote:
> Hi René,
>
> Undefined Setup macros do cause mysterious TypeErrors in distutils. The
> _movie module needs to be commented out for Windows anyway, as it crashes
> right now, at least the __movie_test.py example does.
>
> Lenard

cool, ok.



Back on to OSX freetype...

Using this works ok:
FREETYPE = -I/Library/Frameworks/SDL_ttf.framework/Versions/Current/Headers
-Xlinker "-framework" -Xlinker "SDL_ttf" -Xlinker
"-F/Library/Frameworks/"
-I/Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/
-I/Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/freetype2/freetype
-I/Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/freetype2/
-L/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/ -lfreetype

Except then it depends on the OSX installed freetype... which is only
installed in 10.5+ by default and in 10.3+ if the user installs X11.


So for now I've made it use the apple installed freetype.   With the
config script: /usr/X11R6/bin/freetype-config

Hopefully that will work ok on the buildbot at least until a new
SDL_ttf can be build with the symbols that the freetype module
requires.


cheers,