-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
glfw3: general improvements #358007
glfw3: general improvements #358007
Conversation
CMAKE_C_FLAGS did not work previously, as it was defined multiple times. Instead of fixing it, it is much more readable to use NIX_CFLAGS_COMPILE instead of having to escape special characters across Nix, Bash and CMake Signed-off-by: Sefa Eyeoglu <[email protected]>
Including quotes around the library names should make these substitutions stricter. Signed-off-by: Sefa Eyeoglu <[email protected]>
libX11-xcb.so.1 and libXxf86vm.so.1 are dlopen-ed at runtime, but are not linked by the linker. Let's hardcode their library paths into the code. Signed-off-by: Sefa Eyeoglu <[email protected]>
The new apple-sdk pattern doesn't require this anymore. Signed-off-by: Sefa Eyeoglu <[email protected]>
Signed-off-by: Sefa Eyeoglu <[email protected]>
Signed-off-by: Sefa Eyeoglu <[email protected]>
Signed-off-by: Sefa Eyeoglu <[email protected]>
cb0a034
to
00b5f4e
Compare
|
Nice, thanks. Not sure how this stuff works exactly, but as a reminder, this should be backported, right? Also, on the note of raylib-games, it would be be great to get #357729 merged as well, which updates raylib (and adds a platform argument to allow using SDL), and pretty much rewrites the entire definition, since it was mostly wrong. |
The issue(s) fixed by this PR shouldn't be present in 24.11, as #354761 was not backported. I will backport both that and this PR once this is merged. |
Regarding my nixpkgs-review result above:
both darwins:
|
Successfully created backport PR for |
Closes #357732
Closes #356975
Each commit has a description describing its primary change.
The formatting commit is last, to make reviewing easier. The evaluation should not change between
HEAD
andHEAD^
One fairly simple package to test these changes with is
raylib-games
. I was able to build and run asteroids both on XWayland and Wayland.Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.