[MacPorts] #24135: py26-game extended image format support disabled
#24135: py26-game extended image format support disabled ------------------------------------------------------+--------------------- Reporter: macports@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: py26-game, pygame, extended image format | Port: py26-game ------------------------------------------------------+--------------------- The problem occurred recently after reinstalling py26-game: {{{
import pygame pygame.image.get_extended() 0
}}} It is a bit puzzling as in the versions before, there was no problem at all. Debug log attached. -- Ticket URL: <http://trac.macports.org/ticket/24135> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ----------------------------------------+----------------------------------- Changes (by jmr@…): * status: new => assigned * owner: macports-tickets@… => jmr@… * type: enhancement => defect * keywords: py26-game, pygame, extended image format => -- Ticket URL: <http://trac.macports.org/ticket/24135#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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@…): The problem occurs on Leopard as well as on Snow Leopard here. -- Ticket URL: <http://trac.macports.org/ticket/24135#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 macsforever2000@…): FYI, works fine for me on Snow Leopard. {{{ In [1]: import pygame In [2]: pygame.image.get_extended() Out[2]: 1 }}} {{{ $ port installed py26-game The following ports are currently installed: py26-game @1.9.1_2 (active) }}} -- Ticket URL: <http://trac.macports.org/ticket/24135#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 macsforever2000@…): And i should mention that I just installed py26-game for first time to test this. -- Ticket URL: <http://trac.macports.org/ticket/24135#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24135: py26-game extended image format support disabled -----------------------------------------+---------------------------------- Reporter: macports@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: py26-game | -----------------------------------------+---------------------------------- Changes (by jmr@…): * status: assigned => closed * resolution: => fixed Comment: Rev bumped in r65130. The libsdl_image port is picked up just fine, and py26-game will not link against the framework installed in /Library. Rebuilding fixed it, not installing the framework. -- Ticket URL: <http://trac.macports.org/ticket/24135#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24135: py26-game extended image format support disabled -----------------------------------------+---------------------------------- Reporter: macports@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: py26-game | -----------------------------------------+---------------------------------- Comment(by macports@…): The might have been the case on my Snow Leopard, but rebuilding does not help on the Leopard Machine. -- Ticket URL: <http://trac.macports.org/ticket/24135#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24135: py26-game extended image format support disabled -----------------------------------------+---------------------------------- Reporter: macports@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: py26-game | -----------------------------------------+---------------------------------- Comment(by jmr@…): Works for me on Leopard. -- Ticket URL: <http://trac.macports.org/ticket/24135#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts