-
Notifications
You must be signed in to change notification settings - Fork 24
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
sdl2-compat binary releases #228
Comments
What do we want in the release?
If a macos dmg is desired, then a Xcode project would be nice to have. |
For Windows we want the same archives that we have for SDL2, with the addition of SDL3.dll. macOS is a little trickier, I'll have to think about that. |
Or maybe we do just want drop in DLLs, and someone can just grab the SDL2 development archives if they want those. I was initially thinking that we'd want an sdl2-compat release to be a drop in replacement for an SDL2 release. @icculus, thoughts? |
If it works like sdl12-compat, eventually Linux distros will literally ship it as their full SDL2 package, but for what we give out, I suspect most people only care about getting a DLL. |
Then I think for now, just source and win32 binaries is all we need. |
That's my long-term intention in Debian, certainly (most likely not in Debian 13, perhaps Debian 14) - but for that, we only need a source release (tarball or git tag) and the distro will handle the rest. |
I think first official release would be on the day SDL 3.2.0 ships. |
As a distro packager, I would like to be able to package a preview release that has "gone through the motions" of building an official release (like I did for a not-quite-3.1.3 source release of SDL3 provided by @slouken), before the first official advertised-as-stable release, so that if there is a problem, I can tell you about it before it's too late to fix. I can upload the resulting packages to a location that is not intended to be stable or suitable for typical users: in my case that's Debian experimental, which is specifically not expected to be release-quality or stable, and I would hope that packagers with an equivalent role in other distros have something similar that they can use. At the moment I'm building from git snapshots, but if the source distribution doesn't have the same content as For example if we're generating a |
@madebr, can we put together a preview release with source archive and win32 binaries? |
Yes we can, I'm still going around all SDL satellite projects adding support for the same release procedure as you used for SDL3 3.1.3. |
Great, thanks! Let me know when SDL3_image is ready, and I'll make a preview release of that as well. |
I hooked up the release scripts with sdl2-compat (in my repo): Can you take a look at these Xcode issues? |
This looks good! |
Thanks @madebr for the binaries! I just tested the Windows build with one of my recent releases, A Cat & His Boy (an emulated GameBoy game), and it works mostly well just dropping both files, except for an issue related to HiDPI support (my monitor has a 125% scale). It looks like there is a difference in what I get from SDL2's SDL_GetCurrentDisplayMode and the same function through SDL2 compat. |
Can you create an issue and provide what SDL2 returns and what sdl2-compat returns? Thanks! |
I think I need to look into it further, as all the numbers check:
But the window is scaled to 125% anyway: This is the screen setup code of the game engine I'm using: I will try to make a better example to write the issue. |
Do you want |
That seems like a good idea. That way people can just drop it in and test. |
We currently install a Also, if sdl2-compat aims to become a replacement for sdl2, should it also install |
I think the convention is underscores for pkg-config files, but @smcv may know better. |
Actually pkg-config files are more often named with dashes than underscores (for example
On systems that (might) use the reference/freedesktop.org version of pkg-config, having a The snapshot of sdl2-compat in Debian experimental currently creates this symlink as part of the packaging for maximum compatibility. Similarly, the version of sdl12-compat available in Debian 12+ has a symlink |
I'm using this build by another Github user: |
sdl2-compat 2.30.50 got released today! The release includes Windows binaries, but no headers. |
Are we doing binaries for sdl2-compat? Someone asked me on Twitter, and @madebr asked me to add an issue so we can come back to it later.
The text was updated successfully, but these errors were encountered: