Debian Patches

Status for pysdl2/0.9.17+dfsg-2

Patch Description Author Forwarded Bugs Origin Last update
Remove-test-setting-hint-with-empty-string-280.patch Remove test setting hint with empty string (#280)
SDL2 allows a hint with an empty name, SDL3 does not.
Because of this, sdl2-compat has a different behavior.

Since a hint with no name does not make sense, remove the test.
Anonymous Maarten <madebr@users.noreply.github.com> no upstream, 0.9.18, commit:a4fba937913038586cf11685e723359ed86edc52 2025-03-20
Fix-test_get_events-failure-with-sdl2-compat.patch Fix test_get_events failure with sdl2-compat
The test meant to call SDL_FlushEvents() to flush all events, but
instead only flushed SDL_FIRSTEVENT. This mistake was harmless
until SDL3, which does have queued events at this point that must
be flushed for the test expectations to be met.
Cameron Gutman <aicommander@gmail.com> no upstream, 0.9.18, commit:28ce2c8b1ce756a1320807c8deb4ea93826f7239 2025-03-16
SDL_SetWindowBrightness-is-not-guaranteed-to-succeed.patch SDL_SetWindowBrightness is not guaranteed to succeed Anonymous Maarten <anonymous.maarten@gmail.com> no upstream, 0.9.18, commit:0c52bbbe295e838c435a55d18afbd3d7ca5a31c1 2025-03-20
SDL_SetWindowGammaRamp-is-not-guaranteed-to-succeed.patch SDL_SetWindowGammaRamp is not guaranteed to succeed Anonymous Maarten <anonymous.maarten@gmail.com> no upstream, 0.9.18, commit:d1317f4e9b9ae31de230482d7f44a5daa2488410 2025-03-20
Detect-wayland-video-driver-and-mark-2-tests-as-expected-.patch Detect wayland video driver, and mark 2 tests as expected failures on wayland (#284)

* Detect wayland video driver

* Wayland does generally not allow changing the window icon

* Wayland does not allow repositioning of windows
Anonymous Maarten <madebr@users.noreply.github.com> no upstream, 0.9.18, commit:6414ee1c5f4a6eb91b71f5f9e35d469eee395b9f 2025-04-02
Adjust-tolerances-for-FreeType-2.14.0-288.patch Adjust tolerances for FreeType >= 2.14.0 (#288)
Glyph metrics and font sizes are slightly different when running the
tests with FreeType >= 2.14.0.
Sandro <shfu29r4bu@liamekaens.com> no upstream, 0.9.18, commit:3d0672135fab3ca58e2f00c0a76b7b25cb818784 2025-11-18
surface_test-Expect-intended-behaviour-if-SDL2-is-new-eno.patch surface_test: Expect intended behaviour if SDL2 is new enough
In older versions of "classic" SDL2, including the 2.32.x series,
intersecting an empty rectangle with another rectangle would have an
empty result (w=0, h=0) with an uninitialized position (x, y arbitrary).
However, SDL upstream considers this to be a bug, and it caused
observable visual issues in some older games when used in conjunction
with sdl12-compat.

This test previously asserted that the clip rectangle would not be equal
to the requested clip rectangle, but that was only true because of
this bug: the uninitialized x and y coordinates were very unlikely to be
equal to the requested rectangle. With the bug fix in sdl2-compat,
the coordinates come out as equal to those that were requested.

If SDL2 is sufficiently new, assert that the comparison result is true
(which is the correct result according to SDL upstream), and if not,
make no assertion (in case the bug fix is backported).
Simon McVittie <smcv@debian.org> yes upstream 2025-12-19
video_test-Skip-SDL_SetWindowMouseRect-with-sdl2-compat-d.patch video_test: Skip SDL_SetWindowMouseRect with sdl2-compat dummy driver

This driver doesn't implement mouse confinement.
Simon McVittie <smcv@debian.org> yes 2025-12-19
0001-drop-intersphinx.patch drop intersphinx =?utf-8?q?H=C3=A5vard_Flaget_Aasen?= <haavard_aasen@yahoo.no> not-needed 2020-12-28
0002-dont-include-buildpath-in-docs.patch don't include buildpath in docs =?utf-8?q?H=C3=A5vard_Flaget_Aasen?= <haavard_aasen@yahoo.no> not-needed 2020-12-28

All known versions for source package 'pysdl2'

Links