Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: drop SDL1 support + use pkg-config for SDL2 #1093

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

orbea
Copy link
Contributor

@orbea orbea commented Oct 21, 2024

  • Drops SDL1 support for the unix Makefile since it is unmaintained upstream and using it will result in a degraded experience especially when it receives so little testing. It also makes the SDL section of the Makefile far more complicated than it needs to be.
  • Use pkg-config for SDl2. Using sdl2-config hasn't been required for a long time and using pkg-config is preferable for distros.

As a benefit this avoids which(1) as a dependency when PKG_CONFIG is explicitly set by the user as is the case with some distros.

orbea added 2 commits October 21, 2024 09:11
SDL1 is unmaintained upstream and using it only leads to a degraded
experience. Especially when it recives far less testing.
SDL2 hasn't required suing sdl2-config in a long time and using
pkg-config can have better results for distros.
@Rosalie241
Copy link
Contributor

Drops SDL1 support for the unix Makefile since it is unmaintained upstream and using it will result in a degraded experience especially when it receives so little testing. It also makes the SDL section of the Makefile far more complicated than it needs to be.

There's quite a bit of code that can be reworked in vidext.c if it's fine to drop SDL1 support completely, I can get to that if @richard42 is fine with dropping it.

On a semi-related note, I want to get SDL3 support in eventually too, so dropping SDL1 would help with that work.

@richard42 richard42 merged commit 485afc5 into mupen64plus:master Oct 24, 2024
10 checks passed
@richard42
Copy link
Member

yes, let's move forward with this. Please pull out the SDL1 code from the video extension as well.

@orbea orbea deleted the sdl branch October 24, 2024 16:15
@orbea orbea mentioned this pull request Oct 27, 2024
orbea added a commit to orbea/gentoo that referenced this pull request Nov 3, 2024
Also removes undocumented dependency on which(1).

Upstream-PR: mupen64plus/mupen64plus-core#1093
Upstream-Commit: mupen64plus/mupen64plus-core@966a5df
Upstream-Commit: mupen64plus/mupen64plus-core@b007759
Upstream-Commit: Rosalie241/RMG@4cd4f4c
Signed-off-by: orbea <[email protected]>
orbea added a commit to orbea/gentoo that referenced this pull request Nov 9, 2024
Also removes undocumented dependency on which(1).

Upstream-PR: mupen64plus/mupen64plus-core#1093
Upstream-Commit: mupen64plus/mupen64plus-core@966a5df
Upstream-Commit: mupen64plus/mupen64plus-core@b007759
Upstream-Commit: Rosalie241/RMG@4cd4f4c
Signed-off-by: orbea <[email protected]>
orbea added a commit to orbea/gentoo that referenced this pull request Nov 9, 2024
Also removes undocumented dependency on which(1).

Upstream-PR: mupen64plus/mupen64plus-core#1093
Upstream-Commit: mupen64plus/mupen64plus-core@966a5df
Upstream-Commit: mupen64plus/mupen64plus-core@b007759
Upstream-Commit: Rosalie241/RMG@4cd4f4c
Signed-off-by: orbea <[email protected]>
orbea added a commit to orbea/gentoo that referenced this pull request Nov 15, 2024
Also removes undocumented dependency on which(1).

Upstream-PR: mupen64plus/mupen64plus-core#1093
Upstream-Commit: mupen64plus/mupen64plus-core@966a5df
Upstream-Commit: mupen64plus/mupen64plus-core@b007759
Upstream-Commit: Rosalie241/RMG@4cd4f4c
Signed-off-by: orbea <[email protected]>
gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Nov 26, 2024
Also removes undocumented dependency on which(1).

Upstream-PR: mupen64plus/mupen64plus-core#1093
Upstream-Commit: mupen64plus/mupen64plus-core@966a5df
Upstream-Commit: mupen64plus/mupen64plus-core@b007759
Upstream-Commit: Rosalie241/RMG@4cd4f4c
Signed-off-by: orbea <[email protected]>
Signed-off-by: Eli Schwartz <[email protected]>
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