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

Re: [pygame] 64 bit patch



On 6/10/06, Peter Shinners <pete@xxxxxxxxxxxx> wrote:
On Fri, 2006-06-09 at 18:48 -0700, Christopher Stone wrote:
> I package pygame for Fedora and I have a 64-bit patch against the
> 1.7.1 release located here:

Things have changed a bit against the code in the repository. There were
errors in overlay.c, but the rest seems to apply with some offsets here
and there. I want to hand review the results and hand apply the overlay
changes. I should have time this weekend.

> Also, under Fedora, we cannot allow ffmpeg to be compiled into pygame
> due to patent reasons or something, so I have to configure it without
> ffmpeg.  This causes a problem because the configure script prompts
> the user if it is okay that this package is missing.  In the Fedora

The configure system builds a simple flat text file. I would do the
configure once manually, and then ship the desired config file as a
patch. The file you are looking for is named "Setup". This comes from
the "Setup.in" file, which is commented and easily followable. In fact,
the ffmpeg based movie is always commented out by default. You have to
manually edit the file and enable the "movieext" line to get it.

Thanks for the reply. I noticed yesterday that the pygame build is failing to compile on Fedora development repository. Here is the error:

src/display.c: In function 'get_wm_info':
src/display.c:416: error: 'SDL_SysWMinfo' has no member named 'info'

I asked about this on the Fedora mailing list and someone responded
with the fix of adding
-DSDL_VIDEO_DRIVER_X11 to the CFLAGS.

I'm not sure exactly why this is necessary, but I thought I would make
you aware of the problem.  Let me know if you need any more
information.

Thanks again!
-Chris