Skip to content

Add support for X11 under Cygwin - #15995

Draft
stahta01 wants to merge 5 commits into
libsdl-org:mainfrom
stahta01:main_cygwin_X11_CI
Draft

Add support for X11 under Cygwin#15995
stahta01 wants to merge 5 commits into
libsdl-org:mainfrom
stahta01:main_cygwin_X11_CI

Conversation

@stahta01

@stahta01 stahta01 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor
  • I confirm that I am the author of this code and release it to the SDL project under the Zlib license.
    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)

@stahta01
stahta01 force-pushed the main_cygwin_X11_CI branch from ef87eed to 94b31c2 Compare July 15, 2026 12:01
@stahta01
stahta01 force-pushed the main_cygwin_X11_CI branch from 94b31c2 to 57488aa Compare July 22, 2026 15:47
@stahta01
stahta01 force-pushed the main_cygwin_X11_CI branch from 57488aa to ee4a22d Compare July 31, 2026 13:26
stahta01 added 5 commits July 31, 2026 11:16
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
stahta01 force-pushed the main_cygwin_X11_CI branch from ee4a22d to c861b2b Compare July 31, 2026 15:17
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.

1 participant