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

[pygame] [BUG] pygame svn fails to build on unix platforms.



Todays pygame svn (rev. 860) fails to build on unix (FreeBSD and
possibly any other except drawin derivates) because of missing
dependencies, which cannot be resolved by the distutils (Setup.in adds
$(PNG), $(JPEG), which are not defined in config_unix.py).

A patch is attached.

Regards
Marcus
diff -Nur pygame/config_unix.py foo/config_unix.py
--- pygame/config_unix.py	Tue Jul  4 09:47:46 2006
+++ foo/config_unix.py	Wed Jul 19 21:59:33 2006
@@ -141,7 +141,9 @@
         Dependency('IMAGE', 'SDL_image.h', 'libSDL_image.so', 'SDL_image'),
         Dependency('MIXER', 'SDL_mixer.h', 'libSDL_mixer.so', 'SDL_mixer'),
         DependencyProg('SMPEG', 'SMPEG_CONFIG', 'smpeg-config', '0.4.3', 'smpeg'),
-        DependencyPython('NUMERIC', 'Numeric', 'Numeric/arrayobject.h')
+        DependencyPython('NUMERIC', 'Numeric', 'Numeric/arrayobject.h'),
+        Dependency('PNG', 'png.h', 'libpng', 'png'),
+        Dependency('JPEG', 'jpeglib.h', 'libjpeg', 'jpeg'),
     ]
 
     if not DEPS[0].found:

Attachment: pgpM0rj8yJcLk.pgp
Description: PGP signature