[MacPorts] #23670: Pygame is not built with PyPortMidi support
#23670: Pygame is not built with PyPortMidi support --------------------------------+------------------------------------------- Reporter: gchaynes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: pygame midi | Port: py26-game --------------------------------+------------------------------------------- The current build on py26-game does not seem to be built with Midi support, as has been added in recent versions. The Python portion of the MIDI support is correctly there. I just did a fresh install of py26-game, which installed 1.9.1 correctly. If I then open python, and type: {{{
import pygame.midi }}}
This command works fine. If I then call: {{{
pygame.midi.init() }}}
I get the following error: {{{ Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/pygame/midi.py", line 71, in init import pygame.pypm ImportError: No module named pypm }}} The current Mac OS X build of PyGame, available on the PyGame website, provides the pypm build (it's a .so file that gets dynamically linked into pygame at run-time). This is on Mac OS X Snow Leopard, in 64-bit mode. (The build of PyGame available on their website is 32-bit). -- Ticket URL: <http://trac.macports.org/ticket/23670> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23670: Pygame is not built with PyPortMidi support --------------------------------+------------------------------------------- Reporter: gchaynes@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: pygame midi | Port: py26-game --------------------------------+------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => jmr@… -- Ticket URL: <http://trac.macports.org/ticket/23670#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23670: Pygame is not built with PyPortMidi support --------------------------------+------------------------------------------- Reporter: gchaynes@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: py26-game --------------------------------+------------------------------------------- Changes (by jmr@…): * keywords: pygame midi => Comment: The MIDI support is described as "experimental", so I'll put it in a variant for now. -- Ticket URL: <http://trac.macports.org/ticket/23670#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23670: build pygame with PyPortMidi support --------------------------------+------------------------------------------- Reporter: gchaynes@… | Owner: jmr@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: py26-game --------------------------------+------------------------------------------- Changes (by jmr@…): * version: 1.8.2 => * type: defect => enhancement Comment: Seems like portmidi needs updating first, and it doesn't look to be straightforward. -- Ticket URL: <http://trac.macports.org/ticket/23670#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23670: build pygame with PyPortMidi support --------------------------------+------------------------------------------- Reporter: gchaynes@… | Owner: jmr@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: py26-game --------------------------------+------------------------------------------- Comment(by gchaynes@…): I'm new to editing Portfiles, but managed to update the portmidi Portfile to both a much newer SVN version, and also to include the porttime.h header file as well. (portmidi used to also create an additional library, libporttime.a, but that is now rolled into libportmidi.a) Hope this helps. -- Ticket URL: <http://trac.macports.org/ticket/23670#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23670: build pygame with PyPortMidi support ---------------------------------+------------------------------------------ Reporter: gchaynes@… | Owner: jmr@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: py26-game | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r67314 -- Ticket URL: <http://trac.macports.org/ticket/23670#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts