Skip to content

SFML 3 migration#59623

Open
thypon wants to merge 11 commits into
masterfrom
sfml3-migration
Open

SFML 3 migration#59623
thypon wants to merge 11 commits into
masterfrom
sfml3-migration

Conversation

@thypon
Copy link
Copy Markdown
Member

@thypon thypon commented Mar 28, 2026

SFML 3.1.0 migration

Migrate SFML and reverse dependencies to SFML 3.x.

SONAME bump

SFML 3.x introduces a major SONAME break (libsfml-*.so.2.6 -> libsfml-*.so.3.1). All reverse dependencies are rebuilt/updated accordingly. common/shlibs updated for both SFML and CSFML.

Version updates

Package Old New
SFML 2.6.2 3.1.0
CSFML 2.5 3.0.0
EmptyEpsilon 2021.03.31 2024.12.08
deerportal 0.8.2 0.10.0
TSC 2.1.0 2.2.0

Revbumps (rebuild for SFML 3.1.0)

  • SLADE (rev 1 -> 2)
  • vba-m (rev 2 -> 3)
  • dolphin-emu (rev 2 -> 3)
  • Cendric (rev 4 -> 5)
  • attract (rev 3 -> 4)
  • etr (rev 1 -> 2)

Notable changes

  • etr: Added 0001-Port-to-SFML-3.0.patch to port to new SFML API
  • attract: Replaced old patches with fix-sfml31-pkgconfig.patch for SFML 3.1 pkgconfig compatibility
  • TSC: Dropped boost-1.80.patch, boost-1.88.patch, and no-scriptdocs-cross.patch (no longer needed with 2.2.0)
  • vba-m: Removed unused SFML makedepends

@thypon thypon force-pushed the sfml3-migration branch 11 times, most recently from b4d25f5 to f2d0424 Compare April 3, 2026 16:31
@thypon thypon force-pushed the sfml3-migration branch from f2d0424 to 53016d4 Compare April 7, 2026 03:22
@thypon thypon changed the title SFML3 migration SFML 3 migration Apr 7, 2026
@thypon thypon requested review from Duncaen and ahesford April 7, 2026 04:30
Copy link
Copy Markdown
Member

@ahesford ahesford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Commit messages for SFML and CSFML should be reworded to follow the usual form
  • Changes to common/shlibs should be split by package and part of the respective first two commits
  • Is this the original source of the etr patch? If so, this file should be used as is to preserve attribution.
  • I'd probably advocate just dropping etr if it is slow to adapt to new SFML, but defer to @Hoshpak as its maintainer

@thypon
Copy link
Copy Markdown
Member Author

thypon commented Apr 7, 2026

Is this the original source of the etr patch? If so, this file should be used as is to preserve attribution.

No it's not. I found this patch https://sourceforge.net/p/extremetuxracer/discussion/general/thread/77659bcd0c/ here, but it was not working so I implemented a Ralph loop to port from scratch.

Most of the other patches are also generated by me, with a custom Ralph loop.

@thypon thypon force-pushed the sfml3-migration branch from 53016d4 to 69a1dc3 Compare April 7, 2026 22:27
@thypon thypon requested a review from ahesford April 7, 2026 22:32
@thypon
Copy link
Copy Markdown
Member Author

thypon commented Apr 7, 2026

@ahesford
Copy link
Copy Markdown
Member

ahesford commented Apr 8, 2026

It looks like your Ralph loop has stolen at least the patch description whole cloth from the source I linked.

@thypon
Copy link
Copy Markdown
Member Author

thypon commented Apr 9, 2026

Possibly, I'll add a reference. That patch does not compile at all, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants