Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions pkgs/by-name/sd/sdl2-compat/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
cmake,
lib,
fetchFromGitHub,
fetchpatch2,
ninja,
sdl3,
stdenv,
Expand Down Expand Up @@ -31,13 +30,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "sdl2-compat";
version = "2.32.58";
version = "2.32.60";

src = fetchFromGitHub {
owner = "libsdl-org";
repo = "sdl2-compat";
tag = "release-${finalAttrs.version}";
hash = "sha256-Ngmr/KG5dQ1IDVafn2Jw/29hFCzPGKc9GOenT/4fsIM=";
hash = "sha256-8nhSyifEeYEZj9tqid1x67jhxqmrR61NwQ/g0Z8vbw8=";
};

nativeBuildInputs = [
Expand Down Expand Up @@ -74,12 +73,6 @@ stdenv.mkDerivation (finalAttrs: {

patches = [
./find-headers.patch

# https://github.com/libsdl-org/sdl2-compat/pull/545
(fetchpatch2 {
url = "https://github.com/libsdl-org/sdl2-compat/commit/b799076c72c2492224e81544f58f92b737cccbd3.patch?full_index=1";
hash = "sha256-fAc8yBlT+XFHDKcF4MFgBAz2WtXGmhYzNNrjaGSr+do=";
})
];
setupHook = ./setup-hook.sh;

Expand Down
8 changes: 2 additions & 6 deletions pkgs/by-name/sd/sdl3/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ assert lib.assertMsg (ibusSupport -> dbusSupport) "SDL3 requires dbus support to

stdenv.mkDerivation (finalAttrs: {
pname = "sdl3";
version = "3.2.26";
version = "3.2.28";

outputs = [
"lib"
Expand All @@ -74,18 +74,14 @@ stdenv.mkDerivation (finalAttrs: {
owner = "libsdl-org";
repo = "SDL";
tag = "release-${finalAttrs.version}";
hash = "sha256-edcub/zeho4mB3tItp+PSD5l+H6jUPm3seiBP6ppT0k=";
hash = "sha256-nfnvzog1bON2IaBOeWociV82lmRY+qXgdeXBe6GYlww=";
};

postPatch =
# Tests timeout on Darwin
# `testtray` loads assets from a relative path, which we are patching to be absolute
lib.optionalString (finalAttrs.finalPackage.doCheck) ''
substituteInPlace test/CMakeLists.txt \
--replace-fail 'set(noninteractive_timeout 10)' 'set(noninteractive_timeout 30)'

substituteInPlace test/testtray.c \
--replace-warn '../test/' '${placeholder "installedTests"}/share/assets/'
''
+ lib.optionalString waylandSupport ''
substituteInPlace src/video/wayland/SDL_waylandmessagebox.c \
Expand Down

This file was deleted.

5 changes: 1 addition & 4 deletions pkgs/development/python-modules/pygame-ce/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,8 @@ buildPythonPackage rec {
);
})

# Can be removed with the next SDL3 bump.
# Can be removed after the SDL 3.4.0 bump.
./skip-rle-tests.patch

# https://github.com/pygame-community/pygame-ce/pull/3639
./0001-Use-SDL_AllocFormat-instead-of-creating-it-manually.patch
];

postPatch = ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ diff --git a/test/surface_test.py b/test/surface_test.py
index c2c91f4f5..58d916de8 100644
--- a/test/surface_test.py
+++ b/test/surface_test.py
@@ -404,6 +404,7 @@ class SurfaceTypeTest(unittest.TestCase):
finally:
pygame.display.quit()

+ @unittest.skipIf(True, "https://github.com/libsdl-org/SDL/pull/14429")
def test_solarwolf_rle_usage_2(self):
"""Test for RLE status after setting alpha"""

@@ -435,6 +436,7 @@ class SurfaceTypeTest(unittest.TestCase):
finally:
pygame.display.quit()
Expand Down
Loading