Add support for X11 under Cygwin - #15995
Draft
stahta01 wants to merge 5 commits into
Draft
Conversation
stahta01
force-pushed
the
main_cygwin_X11_CI
branch
from
July 15, 2026 12:01
ef87eed to
94b31c2
Compare
stahta01
force-pushed
the
main_cygwin_X11_CI
branch
from
July 22, 2026 15:47
94b31c2 to
57488aa
Compare
stahta01
force-pushed
the
main_cygwin_X11_CI
branch
from
July 31, 2026 13:26
57488aa to
ee4a22d
Compare
Use SDL_THREAD_WINDOWS to prevent issue with testautomation Use SDL_FILESYSTEM_WINDOWS to prevent issue with testfilesystem [sdl-ci-filter cygwin] [sdl-ci-filter msys2-*] [sdl-ci-filter msvc-*] [sdl-ci-filter ngage]
Most of the code is from Cygwin's SDL3-3.4.8-1.src.patch [sdl-ci-filter cygwin] [sdl-ci-filter msys2-*] [sdl-ci-filter msvc-*] [sdl-ci-filter ngage]
[sdl-ci-filter cygwin] [sdl-ci-filter msys2-*] [sdl-ci-filter msvc-*] [sdl-ci-filter ngage]
[sdl-ci-filter cygwin] [sdl-ci-filter msys2-*] [sdl-ci-filter msvc-*] [sdl-ci-filter ngage]
stahta01
force-pushed
the
main_cygwin_X11_CI
branch
from
July 31, 2026 15:17
ee4a22d to
c861b2b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "Part 2 of adding X11 support to Cygwin DLL names" commit contains code from Cygwin's SDL3-3.4.8-1.src.patch.
This contribution does not contain code from other sources, including code generated by a Large Language Model ("AI").
I have no plans to ever say this PR is ready for review; it is for others to look at and use.
I have forgotten how to use X11 correctly; so, I am not sure the X11 terminal lockup issue I see is a real problem or user error. I have decided that spending more time on the X11 version is no longer what I wish to do. I will continue my work on Cygwin/Win and Msys.
Move a lot of code to a new macro called "do_WIN_LIKE_steps"; added and changed guards for X11 support.
Description
Used SDL_THREAD_WINDOWS to prevent issue with testautomation.
And, used SDL_FILESYSTEM_WINDOWS to prevent issue with testfilesystem.
Added code that allows SDL_X11=NO to prevent an X11 build from being done.
Edited the CI to install the X11 Cygwin packages.
Existing Issue(s)