[MacPorts] #24135: py26-game extended image format support disabled
MacPorts
noreply at macports.org
Mon Mar 22 08:50:09 PDT 2010
#24135: py26-game extended image format support disabled
----------------------------------------+-----------------------------------
Reporter: macports@… | Owner: jmr@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: py26-game
----------------------------------------+-----------------------------------
Comment(by macports@…):
For pygame to work with extended image formats, it is necessary to have
the SDL Image framework installed. However, in my case the framework is
installed via MacPorts, but it is not recognized during the setup of
pygame. To fix this, you can just install the most recent version by hand.
http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.10.dmg and
drag the SDL_image.framework folder to the /Library/Framework folder.
Reinstall pygame with
{{{
sudo port uninstall -f py26-game @1.9.1_2 && sudo port install pyg26-game
}}}
and it works again.
{{{
>>> import pygame
>>> pygame.image.get_extended() 1
}}}
However, it is not clear to me, why the the initial pygame install did not
work with the libsdl_image package from MacPorts. Could somebody test
whether this issue is mine alone or if it is a general problem?
--
Ticket URL: <http://trac.macports.org/ticket/24135#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list