Re: beginning GSOC preparations: was Re: [pygame] Thank You

2009-04-23 Thread Tyler Laing
Okay, with the new compile, everything works... except for Freetype. Again.
It appears that the dll is not being compiled as it should be.

Here's the error message:
--
for P in
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/freetype.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftbbox.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftbdf.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftbitmap.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftcache.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftchapters.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftcid.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/fterrdef.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/fterrors.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftgasp.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftglyph.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftgxval.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftgzip.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftimage.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftincrem.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftlcdfil.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftlist.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftlzw.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftmac.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftmm.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftmodapi.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftmoderr.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftotval.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftoutln.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftpfr.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftrender.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftsizes.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftsnames.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftstroke.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftsynth.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftsystem.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/fttrigon.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/fttypes.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftwinfnt.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftxf86.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/t1tables.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ttnameid.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/tttables.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/tttags.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ttunpat.h
; do   \
  /mingw/bin/install -c -m 644\
$P /usr/local/include/freetype2/freetype ; \
done
for P in
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/config/ftconfig.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/config/ftheader.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/config/ftmodule.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/config/ftoption.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/config/ftstdlib.h
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/objs/ftmodule.h
; do  \
  /mingw/bin/install -c -m
644   \
$P /usr/local/include/freetype2/freetype/config ; \
done
rm -f /usr/local/include/freetype2/freetype/cache/*
rmdir /usr/local/include/freetype2/freetype/cache
rm -f /usr/local/include/freetype2/freetype/internal/*
rmdir /usr/local/include/freetype2/freetype/internal
rmdir: /usr/local/include/freetype2/freetype/internal: No such file or
directory
make: [install] Error 1 (ignored)

Re: [pygame] PyGame Website Rewrite

2009-04-23 Thread jug

Hello,

to organize the development process, I've set up a SVN-repo and a small
Trac at http://pygameweb.no-ip.org/trac/

You'll find there a first concept and you can take part in developing
it by adding your ideas. Some of the point are completely to work out,
so just have a look. If you have a complete concept for one of the
points (eg the design) create a new wiki page and add a link.

If you would like to participate in developing, add yourself to the list
on the start page and provide some information like I did.

I've done the setup on the quick so if there are any problems with Trac
or you need more rights, please email me.

Regards,
Jug


[pygame] PodSixNet game networking library now without simplejson

2009-04-23 Thread Chris McCormick
Hey all,

I've just released a new version of PodSixNet which doesn't require simplejson
any more, although you can still use it if you want. This version includes the
BSD licensed rencode.py to do its serialising, which was born out of the
bittorrent project.

http://mccormick.cx/projects/PodSixNet/

Would love it if some pygame people got a chance to check it out and gave me
feedback, and hopefully use it in a game!

I think it makes it really quite trivial to write simple multiplayer games, or
add multiplayer to existing games, and it comes with a chat and a whiteboard
example to demonstrate this. I should probably stop spamming the pygame list,
so please join the mailing list if you're interested. :)

http://groups.google.com/group/podsixnet

Best,

Chris.

---
http://mccormick.cx


Re: [pygame] PodSixNet game networking library now without simplejson

2009-04-23 Thread Zack Schilling
I really appreciate the work you've done and I really hope some more  
people check it out. I don't have any projects going right now that  
use any networking but it's great to know that the pieces are in place  
to easily pass objects.


-Zack

On Apr 23, 2009, at 5:58 PM, Chris McCormick wrote:


Hey all,

I've just released a new version of PodSixNet which doesn't require  
simplejson
any more, although you can still use it if you want. This version  
includes the
BSD licensed rencode.py to do its serialising, which was born out of  
the

bittorrent project.

http://mccormick.cx/projects/PodSixNet/

Would love it if some pygame people got a chance to check it out and  
gave me

feedback, and hopefully use it in a game!

I think it makes it really quite trivial to write simple multiplayer  
games, or
add multiplayer to existing games, and it comes with a chat and a  
whiteboard
example to demonstrate this. I should probably stop spamming the  
pygame list,

so please join the mailing list if you're interested. :)

http://groups.google.com/group/podsixnet

Best,

Chris.

---
http://mccormick.cx




Re: beginning GSOC preparations: was Re: [pygame] Thank You

2009-04-23 Thread Lenard Lindstrom

Hi Tyler,

I assume you checked out a clean copy of Pygame rather than update the 
1.8 checkout. If you had edited msys_build_deps.py then it will not be 
properly updated. Other than that try to clean up freetype and rebuild:


python msys_build_deps.py --clean-only freetype
python msys_build_deps.py freetype font

I added font (SDL_ttf) to the build list to make sure is built, since it 
depends on freetype.


Lenard

Tyler Laing wrote:
Okay, with the new compile, everything works... except for Freetype. 
Again. It appears that the dll is not being compiled as it should be.


Here's the error message:
--
for P in 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/freetype.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftbbox.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftbdf.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftbitmap.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftcache.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftchapters.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftcid.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/fterrdef.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/fterrors.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftgasp.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftglyph.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftgxval.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftgzip.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftimage.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftincrem.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftlcdfil.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftlist.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftlzw.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftmac.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftmm.h  
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftmodapi.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftmoderr.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftotval.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftoutln.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftpfr.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftrender.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftsizes.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftsnames.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftstroke.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftsynth.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftsystem.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/fttrigon.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/fttypes.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftwinfnt.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftxf86.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/t1tables.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ttnameid.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/tttables.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/tttags.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ttunpat.h 
; do   \
  /mingw/bin/install -c -m 
644\

$P /usr/local/include/freetype2/freetype ; \
done
for P in 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/config/ftconfig.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/config/ftheader.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/config/ftmodule.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/config/ftoption.h 
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/config/ftstdlib.h  
/c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/objs/ftmodule.h  
; do   

Re: [pygame] C/C++ and Python

2009-04-23 Thread Daniel Jo
As is mentioned in Psyco's guide. . .

http://psyco.sourceforge.net/psycoguide/req.html

. . . the author has no intention of updating Psyco to support 64 bit
architectures.  For 64 bit OSs, you're stuck with other methods of
optimisation.

-Daniel

On Thu, Apr 23, 2009 at 5:02 PM, Yanom Mobis ya...@rocketmail.com wrote:
 ya... it doesn't work

 --- On Wed, 4/22/09, Ian Mallett geometr...@gmail.com wrote:

 From: Ian Mallett geometr...@gmail.com
 Subject: Re: [pygame] C/C++ and Python
 To: pygame-users@seul.org
 Date: Wednesday, April 22, 2009, 10:51 PM

 Psyco working?  It looks like it might not work on 64 bit machines.  The
 Psyco Intro says Psyco only runs on Intel 386-compatible processors, and
 Wikipedia says that's 32 bit.  I could be wrong, but that might mean it
 won't work.

 Regardless of what other packages you're using, (and assuming it's
 compatible) you can use Psyco pretty easily:

 import psyco
 psyco.full()

 At the top of your main file.

 Ian



divbr/div


Re: [pygame] C/C++ and Python

2009-04-23 Thread René Dudfield
However, recently other people are working on psyco... so if they get funded
for 64bit work... it might happen too.

There's a new release of psyco coming out soon.

cu,



On Fri, Apr 24, 2009 at 12:36 PM, Daniel Jo ost...@gmail.com wrote:

 As is mentioned in Psyco's guide. . .

 http://psyco.sourceforge.net/psycoguide/req.html

 . . . the author has no intention of updating Psyco to support 64 bit
 architectures.  For 64 bit OSs, you're stuck with other methods of
 optimisation.

 -Daniel

 On Thu, Apr 23, 2009 at 5:02 PM, Yanom Mobis ya...@rocketmail.com wrote:
  ya... it doesn't work
 
  --- On Wed, 4/22/09, Ian Mallett geometr...@gmail.com wrote:
 
  From: Ian Mallett geometr...@gmail.com
  Subject: Re: [pygame] C/C++ and Python
  To: pygame-users@seul.org
  Date: Wednesday, April 22, 2009, 10:51 PM
 
  Psyco working?  It looks like it might not work on 64 bit machines.  The
  Psyco Intro says Psyco only runs on Intel 386-compatible processors,
 and
  Wikipedia says that's 32 bit.  I could be wrong, but that might mean it
  won't work.
 
  Regardless of what other packages you're using, (and assuming it's
  compatible) you can use Psyco pretty easily:
 
  import psyco
  psyco.full()
 
  At the top of your main file.
 
  Ian
 
 

 divbr/div



Re: beginning GSOC preparations: was Re: [pygame] Thank You

2009-04-23 Thread Tyler Laing
So that worked, thank you Lenard.

All of them compiled. I'm now getting this error:

$ /c/Python25/python.exe setup.py build --compiler=mingw32
WARNING, DLL for smpeg library not found.
WARNING, DLL for tiff library not found.
WARNING, DLL for SDL_ttf library not found.
WARNING, DLL for SDL_image library not found.
WARNING, DLL for vorbisfile library not found.
WARNING, DLL for jpeg library not found.
WARNING, DLL for vorbis library not found.
WARNING, DLL for SDL library not found.
WARNING, DLL for portmidi library not found.
WARNING, DLL for SDL_mixer library not found.
WARNING, DLL for ogg library not found.
WARNING, DLL for z library not found.
WARNING, DLL for png library not found.
running build
running build_py
running build_ext
Traceback (most recent call last):
  File setup.py, line 459, in module
setup(**PACKAGEDATA)
  File C:\Python25\lib\distutils\core.py, line 151, in setup
dist.run_commands()
  File C:\Python25\lib\distutils\dist.py, line 974, in run_commands
self.run_command(cmd)
  File C:\Python25\lib\distutils\dist.py, line 994, in run_command
cmd_obj.run()
  File C:\Python25\lib\distutils\command\build.py, line 112, in run
self.run_command(cmd_name)
  File C:\Python25\lib\distutils\cmd.py, line 333, in run_command
self.distribution.run_command(command)
  File C:\Python25\lib\distutils\dist.py, line 994, in run_command
cmd_obj.run()
  File setup.py, line 324, in run
sys.version_info[:2])
RuntimeError: The dependencies are linked to the wrong C runtime for Python
2.5

But beforehand, we had this:

  SDL   : Installed new DLL c:\msys\1.0\local\bin\SDL.dll
  Z : Installed new DLL c:\msys\1.0\local\bin\zlib1.dll
  FREETYPE  : Installed new DLL c:\msys\1.0\local\bin\libfreetype-6.dll
  FONT  : Installed new DLL c:\msys\1.0\local\bin\SDL_ttf.dll
  PNG   : Installed new DLL c:\msys\1.0\local\bin\libpng12-0.dll
  JPEG  : Installed new DLL c:\msys\1.0\local\bin\jpeg.dll
  TIFF  : Installed new DLL c:\msys\1.0\local\bin\libtiff.dll
  IMAGE : Installed new DLL c:\msys\1.0\local\bin\SDL_image.dll
  SMPEG : Installed new DLL c:\msys\1.0\local\bin\smpeg.dll
  OGG   : Installed new DLL c:\msys\1.0\local\bin\libogg-0.dll
  VORBIS: Installed new DLL c:\msys\1.0\local\bin\libvorbis-0.dll
  VORBIS: Installed new DLL c:\msys\1.0\local\bin\libvorbisfile-3.dll
  MIXER : Installed new DLL c:\msys\1.0\local\bin\SDL_mixer.dll
  PORTMIDI  : Installed new DLL c:\msys\1.0\local\bin\portmidi.dll


So the DLL's did install.

I'm sorry I keep bothering you guys with questions, but once it works, I
won't bother you!

-Tyler

On Thu, Apr 23, 2009 at 5:58 PM, Lenard Lindstrom le...@telus.net wrote:

 Hi Tyler,

 I assume you checked out a clean copy of Pygame rather than update the 1.8
 checkout. If you had edited msys_build_deps.py then it will not be properly
 updated. Other than that try to clean up freetype and rebuild:

 python msys_build_deps.py --clean-only freetype
 python msys_build_deps.py freetype font

 I added font (SDL_ttf) to the build list to make sure is built, since it
 depends on freetype.

 Lenard

 Tyler Laing wrote:

 Okay, with the new compile, everything works... except for Freetype.
 Again. It appears that the dll is not being compiled as it should be.

 Here's the error message:
 --
 for P in
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/freetype.h
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftbbox.h
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftbdf.h
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftbitmap.h
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftcache.h
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftchapters.h
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftcid.h
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/fterrdef.h
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/fterrors.h
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftgasp.h
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftglyph.h
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftgxval.h
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftgzip.h
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftimage.h
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftincrem.h
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftlcdfil.h
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftlist.h
 /c/pygame/pygame_mingw32_compile_pack/PyGame/freetype-2.3.7/include/freetype/ftlzw.h