Skip to content

Move Cygwin from SDL to X - #2691

Open
fghalasz wants to merge 6 commits into
masterfrom
fgh_cygwin2X
Open

Move Cygwin from SDL to X#2691
fghalasz wants to merge 6 commits into
masterfrom
fgh_cygwin2X

Conversation

@fghalasz

Copy link
Copy Markdown
Member

This PR depends on PR#549 in the Maiko repo.

SDL no longer works reliably with Cygwin. This PR includes the changes to the medley script and the Cygwin installer that are required to move Cygwin from SDL to X.

This PR also includes fixes to several bugs in the prior Cygwin install including

  1. CLIPBOARD did not work because xclip was not installed in Cygwin. It now is included in medley.iss installer.
  2. The lock that prevented two medley installations with the same id from being run simultaneously did not work for Cygwin due to differences in the ps flags between Linux/MacOS and Cygwin. This PR fixes by special casing the ps flags for Cygwin.
  3. loadup-apps-from-full.sh did not work on Cygwin because the mechanisms for locating the Notecards directory did not account for the fact that MEDLEYDIR is at the top level (i.e., /medley) in Cygwin. This PR fixes this.

fghalasz added 5 commits July 6, 2026 18:05
…ded for X windows. Also add packages so we can compile maiko on cygwin.
…t are rquired for Cygwin running on X instead of SDL.
…and delete others that are needed for compiling maiko but not needed for running medley. Also modify medley script - when running on Cygwin, start up X server if necessary before running maiko. Have cygwin installer create loadup link in MEDLEYDIR since maiko now supports cygwin ldeinit.
…x does not include the full command line in cygwin.
@pamoroso

Copy link
Copy Markdown
Member

It builds and runs with no issues on Linux Mint 22.1 Cinnamon.

@pamoroso

Copy link
Copy Markdown
Member

Still looking good at commit 9fb8309.

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.

3 participants