Fix macOS SDL runtime packaging - #1
Merged
Merged
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (8)
📝 WalkthroughWalkthroughAdds a cacheable, checksum-verified macOS SDL2/SDL2_net installation action, integrates its prefix into CMake packaging, adds SDL2 license files, and strengthens Linux, macOS, and Windows artifact validation. ChangesSDL2 packaging and verification
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant BuildWorkflow
participant InstallSDLAction
participant CMake
participant ArtifactChecks
BuildWorkflow->>InstallSDLAction: install pinned SDL2 dependencies
InstallSDLAction->>CMake: provide SDL2 and SDL2_net prefix
CMake->>ArtifactChecks: package application and dependency licenses
ArtifactChecks->>BuildWorkflow: validate libraries, links, architectures, and license files
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
@rpathdependencies are copied and rewritten.Why
Homebrew now resolves its
sdl2package tosdl2-compat, which loads SDL3 withdlopen. The v0.1.0 DMGs bundled the compatibility library but not SDL3, causingFailed loading SDL3 library.at launch.User impact
The macOS hotfix packages no longer have a hidden SDL3 runtime dependency. Windows and Linux runtime contents remain unchanged; their archives gain the complete SDL notices.
Validation
wallpaper_core_testspassed.SDL_Init(0)succeeds.Summary by CodeRabbit
New Features
Bug Fixes
Documentation