We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4936

Summary: XCF support broken in official macOS .frameworks
Product: SDL_image Reporter: Austin Hurst <mynameisaustinhurst>
Component: miscAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sezeroz
Version: 2.0.5   
Hardware: x86   
OS: Mac OS X (All)   

Description Austin Hurst 2020-01-11 03:26:54 UTC
In the process of rewriting the test suite for pysdl2, I think I stumbled on another XCF bug in SDL2_image: the official libsdl.org macOS .frameworks fail (i.e. return a NULL pointer) when loading XCF files (same as Bug #4935), and additionally fails to identify XCF images with IMG_isXCF (unlike Bug #4935). The same tests with the same file work fine on Linux, 64-bit Windows, and macOS with SDL2_image installed using Homebrew instead of the official binaries. You can check out the relevant Travis CI logs here (note: the tests w/ brew-installed SDL2 are also failing here, but for an unrelated SDL2_ttf/brew bug): https://travis-ci.org/a-hurst/py-sdl2/builds/635073067

I'm more a Python guy than a C guy, so I'm not really equipped to figure out the root of the issue or offer up a patch, but the fact that it works fine with brewed SDL2_image but not the official binaries would point to something related to the build process. Anyway, the bug's not really preventing me from doing anything important, but I figured it was worth reporting.

Cheers,

- Austin
Comment 1 Ozkan Sezer 2020-10-26 16:22:30 UTC
Reopened and dropped a note about this at 
https://bugzilla.libsdl.org/show_bug.cgi?id=4413
Comment 2 Ozkan Sezer 2020-10-31 17:23:37 UTC
Should be fixed in bug #4935