Re: [pygame] Re: Movie module being merged

2009-08-18 Thread René Dudfield
hi, I made the _movie test only run on linux so far, with the test/_movie_tags.py file. Just a note if you're testing on non-linux platforms and the tests don't appear to run anymore. cheers, On Mon, Aug 17, 2009 at 11:54 PM, Tyler Laingtrinio...@gmail.com wrote: strange, I put in if checks

[pygame] Problem with py2exe and font.pyd

2009-08-18 Thread John Eriksson
Hi, I'm trying to use py2exe and get the following error when wxwcuting the exe file. C:\Users\john\workspace\FlickrBackupTool\src\FlickrTagTool\FlickrTagTool.exe\lib\GameGUI.py:40: RuntimeWarning: use font: MemoryLoadLibrary failed loading pygame\font.pyd (ImportError: MemoryLoadLibrary failed

Re: [pygame] Re: Movie module being merged

2009-08-18 Thread René Dudfield
On Tue, Aug 18, 2009 at 3:41 PM, Tyler Laingtrinio...@gmail.com wrote: Thanks Rene, Lenard. I've committed a fix for the compile issues you sent me lenard, it should work now, but let me know if it doesn't. Rene, is the movie test set to interactive? -Tyler Hi, I moved __movie_test.py into

Re: [pygame] Problem with py2exe and font.pyd

2009-08-18 Thread René Dudfield
Hi, this post seems to have a solution to that problem: http://blog.thadeusb.com/tag/memoryloadlibrary/ What dlls do you have in that directory? Are SDL.dll and SDL_ttf.dll being copied? cheers, On Tue, Aug 18, 2009 at 3:25 PM, John Erikssonj...@arainyday.se wrote: Hi, I'm trying to use

Re: [pygame] Re: Movie module being merged

2009-08-18 Thread Tyler Laing
Running at the same time? No. Unless there is a way to have multiple separate SDL screens. Even then, it will be an issue as there is a global struct used to record info in the sound module. Otherwise, everything else can be instantiated per movie. -Tyler On Tue, Aug 18, 2009 at 7:55 AM, René

Re: [pygame] Re: Movie module being merged

2009-08-18 Thread Lenard Lindstrom
Hi Tyler, The module now builds, but the _movie_test.py unit tests fail: ERROR: MovieTypeTest.test_height -- Traceback (most recent call last): File /home/lenard/.local/lib/python2.5/site-packages/pygame/tests/_movie_test.py,

Re: [pygame] Re: Movie module being merged

2009-08-18 Thread René Dudfield
On Tue, Aug 18, 2009 at 4:47 PM, Lenard Lindstromle...@telus.net wrote: Hi Tyler, The module now builds, but the _movie_test.py unit tests fail: ERROR: MovieTypeTest.test_height -- Traceback (most recent call last):  File

Re: [pygame] Re: Movie module being merged

2009-08-18 Thread René Dudfield
On Tue, Aug 18, 2009 at 4:22 PM, Tyler Laingtrinio...@gmail.com wrote: Running at the same time? No. Unless there is a way to have multiple separate SDL screens. Even then, it will be an issue as there is a global struct used to record info in the sound module. Otherwise, everything else can

Re: [pygame] Re: Movie module being merged

2009-08-18 Thread Lenard Lindstrom
Hi René, My mistake. I didn't pay attention to the error. _movie.so was not event built since the _movie entry is missing in Setup.in. I had to manually enter it to Setup the last time, and that was clobbered when I reran config.py. Lenard René Dudfield wrote: On Tue, Aug 18, 2009 at

Re: [pygame] Re: Movie module being merged

2009-08-18 Thread Lenard Lindstrom
Ok, when I add _movie src/_gsound.c src/_gmovie.c src/_gcommand.c src/gmovie.c $(SDL) $(AVFORMAT) $(SWSCALE) $(MIXER) $(DEBUG) to Setup I get these build errors: building 'pygame._movie' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC

Re: [pygame] Re: Movie module being merged

2009-08-18 Thread Tyler Laing
It could be. That, however, increases the coupling between the sound subsystem and the movie module. If you want me to, I will, but I would need to consider how best to make sure the sound subsystem can be replaced on demand. And then for separate movie screens, it would be entirely possible if

Re: [pygame] Re: Movie module being merged

2009-08-18 Thread Tyler Laing
You don't have -l/usr/include actually. What I will do is add to the directories searched, for the specific libraries to search in /usr/include/ffmpeg /usr/include/relevant library name for if people install from source. Does that sound like a good solution? -Tyler On Tue, Aug 18, 2009 at 9:03

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

2009-08-18 Thread Vicent Marti
Hey René, I've just fixed the first issue (the config script was choking because I had split the source files in Setup.in amongst different lines). The FreeType module now won't compile if the required libraries cannot be found. Now, how would we go about installing FreeType on the buildbot?

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

2009-08-18 Thread Brian Fisher
In terms of getting the build bots building, For windows, all dependencies the build bot uses need to be included in pygame's prebuilt dependencies package for both visual c runtimes, and when there is an updated prebuilt dependencies package, I'll copy it over so the windows buildbots will use

Re: [pygame] Re: Movie module being merged

2009-08-18 Thread Lenard Lindstrom
Hi Tyler, /usr/include is included in the default header search paths. What is installed is /usr/include/ffmpeg/avformat.h, not /usr/include/ffmpeg/libavformat/avformat.h. This may be a quirk of the Debian dev package and not the general case. Lenard Tyler Laing wrote: You don't have

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

2009-08-18 Thread Lenard Lindstrom
Hi Brian, Vicent, The freetype2 library is already a part of the prebuilts as a separate dll for use by SDL_tff. What is missing from the prebuilts are the headers. When I add those the module compiles and passes its unit tests for Python 2.5. I will put together a zip file for Python 2.5 to

Re: [pygame] Re: Movie module being merged

2009-08-18 Thread Tyler Laing
Does debian have a unique compile time flag I can use? -Tyler On Tue, Aug 18, 2009 at 12:09 PM, Lenard Lindstrom le...@telus.net wrote: Hi Tyler, /usr/include is included in the default header search paths. What is installed is /usr/include/ffmpeg/avformat.h, not

Re: [pygame] mouse.get_pos()?

2009-08-18 Thread Yanom Mobis
hehe... oops. Thanks! From: RB[0] roeb...@gmail.com To: pygame-users@seul.org Sent: Monday, August 17, 2009 9:37:47 PM Subject: Re: [pygame] mouse.get_pos()? Make sure you are pumping the event queue, either with pygame.event.get or pygame.event.pump On

Re: [pygame] Re: Movie module being merged

2009-08-18 Thread Lenard Lindstrom
Hi, No, I don't see any Debian specific predefined compiler macros. ffmpeg library information is available through pkg-config. Lenard Tyler Laing wrote: Does debian have a unique compile time flag I can use? -Tyler On Tue, Aug 18, 2009 at 12:09 PM, Lenard Lindstrom le...@telus.net

Re: [pygame] Problem with py2exe and font.pyd

2009-08-18 Thread John Eriksson
Hi, I found a solution. I had to copy the following DLL's manualy: SDL_ttf.dll libfreetype-6.dll Why arn't those included automaticly? Is there a way of telling py2exe to include those? Best Regards /John Eriksson 2009/8/18 René Dudfield ren...@gmail.com: Hi, this post seems to have a