Hide Forgot
pygame-1.9 adds MIDI support via the pygame.midi module which was enabled bug #585526. The midi module depends on portmidi which is Java-based. This causes some headaches for OLPC (and any small Sugar installation) as it means that Java and java's dependency chain is added to our software image, which eats a big chunk of precious disk space (XO-1 laptop only has 1gb disk). Please can you split the midi part into a subpackage, so that we can easily exclude it from OLPC's builds and not get the whole Java invasion? I'll attach a patch that does this. I've checked that it does this safely - pygame does list midi support as an optional dependency, and if portmidi is not available at build time the end result is simply that pypm.so is not installed.
Created attachment 498919 [details] spec file patch
ah, I just looked closer and portmidi is just a small library and doesn't actually require java. a small mistake in the spec file pulls in java for no reason. I'll make the trivial fix to portmidi, meaning that theres no need for changes to pygame.