Rust-SDL2 / rust-sdl2

SDL2 bindings for Rust
MIT License
2.78k stars 474 forks source link

A new release that just bumps the bundled version to 2.26.x? #1287

Open hikari-no-yume opened 1 year ago

hikari-no-yume commented 1 year ago

For my project, I'm using the bundled and static-link features of this crate, because they make it a lot easier to get a working build. But when you use the bundled feature, your SDL2 version is determined by this crate.

There's been quite a number of improvements in SDL2 since the last version of rust-sdl2 came out. Notably for me, Nintendo Switch Joy-Cons get treated as a single controller now. It seems like support for various other controllers via HIDAPI was also greatly improved. Considering SDL3 is now in development, I'm guessing there won't be many more 2.x releases…? So, I'm wondering if there's any possibility of a new release that just bumps the bundled SDL2 version.

This would also be a good opportunity to fix some of the current macOS build issues: https://github.com/Rust-SDL2/rust-sdl2/issues/1187.

I'm probably going to fork rust-sdl2 and prepare a branch like this for my project's use, so if it works well, I guess that could be a “release candidate”.

hikari-no-yume commented 1 year ago

Aha, the macOS build issues are already fixed: https://github.com/Rust-SDL2/rust-sdl2/issues/1187#issuecomment-1472374034.

hikari-no-yume commented 1 year ago

I made a PR to update the bundled SDL2 version again: https://github.com/Rust-SDL2/rust-sdl2/pull/1291.

Honestly, even without that part it'd still be worth a new release IMO.

coderedart commented 1 year ago

could be duplicate of https://github.com/Rust-SDL2/rust-sdl2/issues/1278

ElectricS01 commented 6 months ago

+1, can we get a new release

Cobrand commented 6 months ago

You can reference the master version of rust-sdl2 in Cargo.toml instead of crates.io if you are in a hurry. For a new release to be done on crates.io, I need to merge a bunch of stuff first, but it's currently blocked because the pipeline fails on macos (different issue from the static-link macOS issue).

Feel free to contribute, but please don't just "+1".