Package: pygame / 1.9.6+dfsg-4

Metadata

Package Version Patches format
pygame 1.9.6+dfsg-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
MMX.diff | (download)

buildconfig/Setup.SDL1.in | 2 1 + 1 - 0 !
buildconfig/Setup.SDL2.in | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 turn on mmx instructions on amd64

setup_ignore_portmidi_on_non_linux.diff | (download)

buildconfig/config_unix.py | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 ignore missing portmidi/porttime build dependencies on non-linux

0003 Fix spelling.patch | (download)

docs/reST/ref/mouse.rst | 2 1 + 1 - 0 !
docs/reST/themes/classic/elements.html | 2 1 + 1 - 0 !
examples/mask.py | 4 2 + 2 - 0 !
examples/sound_array_demos.py | 2 1 + 1 - 0 !
examples/testsprite.py | 2 1 + 1 - 0 !
src_c/SDL_gfx/SDL_gfxPrimitives.c | 4 2 + 2 - 0 !
src_c/camera.h | 4 2 + 2 - 0 !
src_c/camera_mac.m | 6 3 + 3 - 0 !
src_c/doc/freetype_doc.h | 2 1 + 1 - 0 !
src_c/font.c | 2 1 + 1 - 0 !
src_c/pgcompat.h | 2 1 + 1 - 0 !
src_c/pixelarray_methods.c | 2 1 + 1 - 0 !
src_c/pixelcopy.c | 2 1 + 1 - 0 !
src_c/rotozoom.c | 8 4 + 4 - 0 !
src_c/scale_mmx32.c | 4 2 + 2 - 0 !
src_c/scale_mmx64.c | 4 2 + 2 - 0 !
src_c/scale_mmx64_gcc.c | 4 2 + 2 - 0 !
src_c/scale_mmx64_msvc.c | 4 2 + 2 - 0 !
src_py/freetype.py | 2 1 + 1 - 0 !
src_py/ftfont.py | 4 2 + 2 - 0 !
src_py/sprite.py | 8 4 + 4 - 0 !
src_py/sysfont.py | 2 1 + 1 - 0 !
test/base_test.py | 2 1 + 1 - 0 !
test/cdrom_test.py | 2 1 + 1 - 0 !
test/freetype_test.py | 2 1 + 1 - 0 !
test/math_test.py | 8 4 + 4 - 0 !
test/mouse_test.py | 4 2 + 2 - 0 !
test/surface_test.py | 4 2 + 2 - 0 !
test/test_utils/png.py | 8 4 + 4 - 0 !
test/time_test.py | 2 1 + 1 - 0 !
30 files changed, 54 insertions(+), 54 deletions(-)

 fix spelling.

0005 Remove font test set bold.patch | (download)

test/font_test.py | 8 0 + 8 - 0 !
1 file changed, 8 deletions(-)

 remove font test set bold.

Can't get the test to run with the system font, but that's most
definitely not a pygame issue.

fix_sphinx_unicode.patch | (download)

docs/reST/ext/headers.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix unicode in sphinx output

skip_flaky_tests_on_le.patch | (download)

test/font_test.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 skip tests that are flaky on little-endian archs.

Bug-Upstream: https://github.com/pygame/pygame/issues/587

declare encoding.patch | (download)

src_py/draw_py.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 declare utf-8 encoding
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Module contains a ° symbol.

python 3.8.patch | (download)

test/math_test.py | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 python 3.8 compatibility

disable doc comments.patch | (download)

docs/reST/themes/classic/elements.html | 5 0 + 5 - 0 !
1 file changed, 5 deletions(-)

 disable comment js in documentation

This calls back to pygame's server to retrieve comments to display,
which wouldn't work offline, and is a privacy breach.

ppc64 bitwise shifts.patch | (download)

src_c/bitmask.c | 31 27 + 4 - 0 !
1 file changed, 27 insertions(+), 4 deletions(-)

 fix bitwise shifts to avoid undefined behavior

- Fixed the bitmask bitwise shifts where the right operand could be
  equal to the width of the left operand (undefined behavior in C).

Fixes test failures on ppc64el

skip test_flip_alpha.patch | (download)

test/transform_test.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 skip test_flip_alpha, fails on ppc64el

Bug-Upstream: https://github.com/pygame/pygame/issues/1547

skip test_aapolygon.patch | (download)

test/gfxdraw_test.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 skip test_aapolygon, fails on s390x

Bug-Upstream: https://github.com/pygame/pygame/issues/1548

PR1299.patch | (download)

docs/reST/ext/customversion.py | 11 11 + 0 - 0 !
1 file changed, 11 insertions(+)

 [patch] fix doc build error with newer versions of sphinx


python3.9 is_alive.patch | (download)

test/threads_test.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 replace long-deprecated thread.isalive() with .is_alive()

Replace Thread.isAlive() calls with Thread.is_alive() to fix
compatibility with Python 3.9.  The new method was present since py2.6,
the old one got deprecated in py3.1 and was finally removed in py3.9.

python3.9 array.tostring.patch | (download)

test/image_test.py | 6 3 + 3 - 0 !
test/test_utils/__init__.py | 16 16 + 0 - 0 !
test/test_utils/png.py | 9 2 + 7 - 0 !
3 files changed, 21 insertions(+), 10 deletions(-)

 fix deprecation warnings in image_test

It needed the same fix as png.py.  The relevant compat code has been
moved into the test_utils module so all tests can rely on it.

sphinx3.patch | (download)

docs/reST/ext/utils.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix docs build failure on sphinx 3

This doesn't change the ouput on sphinx 1.8, and it allows building without error on sphinx 3.x

I was having a hard time finding what this function did until I set it to always return "OMGOMG".  It is part of the system that pulls up the functions to the top of the html file so you can jump around easily.

Bug-Upstream: https://github.com/pygame/pygame/issues/2202
Bug-Debian: https://bugs.debian.org/963639