Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL_image 2.8.0 #2595

Merged

Conversation

Starbuck5
Copy link
Member

@Starbuck5 Starbuck5 commented Dec 8, 2023

It's a long time coming, since we've decided we need SDL_image built with libpng, and SDL_image prebuilts after 2.0.5 don't come with that.

This PR hopes to get around that using CI on a pygame-community fork of SDL_image (https://github.com/pygame-community/SDL_image/releases/tag/2.8.0-pgce) to generate release bundles with our parameters.

This allows our Windows CI and local development workflow to remain almost exactly the same through this change.

@Starbuck5 Starbuck5 requested a review from a team as a code owner December 8, 2023 08:38
@Starbuck5 Starbuck5 marked this pull request as draft December 8, 2023 08:38
@Starbuck5 Starbuck5 changed the title SDL_image 2.0.8 SDL_image 2.8.0 Dec 8, 2023
@Starbuck5
Copy link
Member Author

Starbuck5 commented Dec 9, 2023

From local investigation, the 3.11-32 and 3.12-32 failures come from a segfault when attempting to load webp images. I have no idea how this could be dependent on Python version.

EDIT: More local testing shows webp segfaulting on all 32 bit.

@Starbuck5
Copy link
Member Author

I'm out of debugging ideas about windows 32 bit, so I've brought this up to the SDL_image issue tracker libsdl-org/SDL_image#403

@Starbuck5
Copy link
Member Author

Windows issues resolved with a fresh build of libwebp from SDL_image. Thanks sezero!

@Starbuck5 Starbuck5 changed the base branch from main to starbuck-sdl-image-bump December 10, 2023 07:33
@Starbuck5 Starbuck5 marked this pull request as ready for review December 10, 2023 07:33
@Starbuck5 Starbuck5 merged commit fd129e9 into pygame-community:starbuck-sdl-image-bump Dec 10, 2023
20 of 30 checks passed
@Starbuck5
Copy link
Member Author

Merged to a repo branch from a fork branch so Linux build changes can be made with necessary permissions.

@Starbuck5 Starbuck5 deleted the sdl-image-bump branch December 10, 2023 07:34
@ankith26 ankith26 added this to the 2.4.0 milestone Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants