Skip to content

Conversation

@dbuenzli
Copy link
Contributor

  • Add: tsdl.1.2.0 home, doc, issues
    Thin bindings to SDL for OCaml

tsdl v1.2.0 2025-11-10 Zagreb

  • Add Sdl.get_preferred_locales and Sdl.Event.locale_changed.
    Thanks to Vu Ngoc San for the patches (#111, #112)
  • Fix bug in Message_box color scheme handling.
    Thanks to Matthieu Dubuget for the patch (#105)
  • Add Sdl.{get,set}_texture_scale_mode.
    Thanks to Maxence Guesdon for the patch (#114)
  • Add Sdl.render_get_window
    Thanks to Léo Andrès for the patch (#113)
  • Change Sdl.rw_close to use the static function.
    Thanks to Pierre Boutillier for the patch.
  • Other Internal ctypes changes.
    Thanks to Pierre Boutillier for the patches.

Use b0 -- .opam publish tsdl.1.2.0 to update the pull request.

@dbuenzli
Copy link
Contributor Author

/cc @zoggy @sanette

@dbuenzli
Copy link
Contributor Author

dbuenzli commented Nov 11, 2025

So here a summary:

  1. The failure on windows cygwin is due to pkg-config not finding sdl2. Not sure if that's an env setup failure or if the package does not install the .pc files.
  2. The failure on windows msys2 is the usual Windows build fixes (MSYS2, Cygwin, etc.) ocamlfind#112
  3. There seem to an issue with opensuse-tumbleweed. tsdl is already not available opensuse-leap I posit I should extent that to this open suse.
  4. I don't think the two tsdl-images.0.3.2 rev deps failures are due to the release.
  5. I'm not sure what's the issue with bogue.20250224 but a subsequent release builds /cc @sanette

I think that 3. is the only actionable item here.

@dbuenzli dbuenzli force-pushed the b0-publish-tsdl.1.2.0 branch from 2fd3b1d to 9b6d31f Compare November 11, 2025 00:18
@sanette
Copy link
Contributor

sanette commented Nov 11, 2025

5. I'm not sure what's the issue with bogue.20250224 but a subsequent release builds /cc @sanette

this one is due to recent Ocaml libraries overriding the compare function, you are probably aware of this breaking change. I think I fixed this in more recent releases

@sanette
Copy link
Contributor

sanette commented Nov 11, 2025

4. I don't think the two tsdl-images.0.3.2 rev deps failures are due to the release.

I don't know either, but 0.3.2 is quite an old release, there is no need to support it now

@dbuenzli
Copy link
Contributor Author

this one is due to recent Ocaml libraries overriding the compare function, you are probably aware of this breaking change. I think I fixed this in more recent releases

Could you perhaps constrain your package accordingly on the OCaml version so that it doesn't fail in the revdeps.

@dbuenzli
Copy link
Contributor Author

The CI seems stuck on the RISCv machines, but other than that I think this is good to go.

@dbuenzli
Copy link
Contributor Author

Ah no sorry my constraint opensuse-tumbleweed wasn't picked up. My boolean logic is failing me.

@dbuenzli
Copy link
Contributor Author

All good now. I think this is good go.

@shonfeder
Copy link
Member

Thanks for the release!

@shonfeder shonfeder merged commit dd6e71d into ocaml:master Nov 11, 2025
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants