Fix macOS build: use openal-soft instead of deprecated system OpenAL#143
Open
ibehnam wants to merge 2 commits intozevv:masterfrom
Open
Fix macOS build: use openal-soft instead of deprecated system OpenAL#143ibehnam wants to merge 2 commits intozevv:masterfrom
ibehnam wants to merge 2 commits intozevv:masterfrom
Conversation
The alure package was removed from Homebrew on 2025-04-18 because its upstream repository was deleted. This made bucklespring impossible to build on macOS using the documented instructions. This commit: - Adds setup-macos.sh script that downloads and builds alure from archive.org against openal-soft - Updates main.c to use AL/ headers instead of deprecated OpenAL/ framework headers (fixes -Werror build failures) - Updates Makefile to use pkg-config libs and adds rpath for runtime library loading - Updates README.md with new macOS build instructions - Adds .gitignore entries for macOS build artifacts Fixes zevv#95, zevv#142
Owner
|
Thanks for this; I have no way to test as I currently have no access to a mac, but I assume this will do what you says it does. Could you make one small change before I merge: since Macos now includes the same alure headers as the other platforms, the |
|
Hi @ibehnam , your fork worked on my end, just commenting in case you missed zevv comments. |
Both branches included identical headers; macOS now uses the same AL/ headers as other platforms via setup-macos.sh. Addresses review feedback on zevv#143.
51155f3 to
757e0bf
Compare
Author
|
Done; dropped the |
5 tasks
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.
Summary
setup-macos.shscript that downloads and builds alure from archive.org against openal-softmain.cto useAL/headers instead of deprecatedOpenAL/framework headersBackground
The
alurepackage was removed from Homebrew on 2025-04-18 because its upstream repository was deleted. This made bucklespring impossible to build on macOS using the documented instructions.Fixes #95, #142
Test plan
./setup-macos.shsuccessfully on macOS Tahoe (Apple Silicon)make- no errors or warnings./buckle -lshows "OpenAL Soft"./buckle -hworks