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

games-fps/gzdoom: Prevent build error on -fluidsynth #12248

Closed

Conversation

vilhelmgray
Copy link
Contributor

Closes: https://bugs.gentoo.org/687922
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: William Breathitt Gray vilhelm.gray@gmail.com

@gentoo-bot
Copy link

Copyright policy change

Please note that on 2018-09-15 Trustees have approved new Gentoo copyright policy. All contributions made to Gentoo need to follow this policy. If you include the Signed-off-by line in your commit message, you indicate that you have read the policy and agree to its terms. For more detailed explanation, please see the new Gentoo copyright policy explained article.

Pull Request assignment

Submitter: @vilhelmgray
Areas affected: ebuilds
Packages affected: games-fps/gzdoom

games-fps/gzdoom: @vilhelmgray, @gentoo/proxy-maint, @gentoo/games

Linked bugs

Bugs linked: 687922


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Jun 12, 2019
@steils
Copy link
Member

steils commented Jun 12, 2019

Seems it doesn't affect runtime, only fixes compilation, so revision bump is not needed.

@vilhelmgray vilhelmgray force-pushed the fix_gzdoom-4.1.3_fluidsynth branch 4 times, most recently from d3960da to c23712e Compare June 13, 2019 06:16
FluidSynth is a dependency of GZDoom and cannot be disabled. Similarly,
OpenAL is a dependency of GZDoom on Linux and cannot be disabled.

Closes: https://bugs.gentoo.org/687922
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Closes: https://bugs.gentoo.org/687990
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2019-06-13 12:10 UTC
Newest commit scanned: 9814415
Status: ✅ good

No issues found

@chewi chewi self-assigned this Jun 13, 2019
@chewi
Copy link
Member

chewi commented Jun 13, 2019

Thanks for getting this patch merged upstream. I did think the sound dependencies looked a little odd before, definitely better now. They should have used SDL_mixer instead, I added FluidSynth support to that years ago! 😝 Just one problem, the fluidsynth2 patch you're referencing here is missing.

@steils
Copy link
Member

steils commented Jun 13, 2019

  1. @chewi The upstream has some doubts about the fluidsynth2 patch: Allow dynamic link FluidSynth 2 builds ZDoom/gzdoom#865
    so I would wait for results of the discussion there.

  2. @vilhelmgray After adding "games-fps/gzdoom: Install soundfonts" the change probably affects the runtime (tell me if I am wrong). So a revdep is now about time:)

@vilhelmgray
Copy link
Contributor Author

vilhelmgray commented Jun 14, 2019

Thanks for getting this patch merged upstream. I did think the sound dependencies looked a little odd before, definitely better now. They should have used SDL_mixer instead, I added FluidSynth support to that years ago! stuck_out_tongue_closed_eyes Just one problem, the fluidsynth2 patch you're referencing here is missing.

The fluidsynth2 patch was added as part of commit 8aa71216840d5cd875f4321a8a03ce8ed98375df. I think that commit is already in this branch -- or am I mistaken (I can rebase again on master if need be)?

  1. @chewi The upstream has some doubts about the fluidsynth2 patch: coelckers/gzdoom#865
    so I would wait for results of the discussion there.

The GZDoom upstream team has some reservations against the concept of dynamic linking with external libraries. You can see some of the discussion and their reasons in this thread: https://forum.zdoom.org/viewtopic.php?f=2&t=64633

However, this fluidsynth 2 patch is simple, so upstream may merge it in after some consideration. I'll keep an eye on it, and remove the patch if it's merged in time for the next version bump.

  1. @vilhelmgray After adding "games-fps/gzdoom: Install soundfonts" the change probably affects the runtime (tell me if I am wrong). So a revdep is now about time:)

The soundfont patch only affects the GZDoom makefile -- it only introduces a configurable installation location for the GZDoom soundfonts -- so no runtime changes have occurred.

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0bb16f39e..4ff15062d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
Copy link
Member

Choose a reason for hiding this comment

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

While this is nice for upstreaming, wouldn't doins be simpler for Gentoo purposes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That is a fair point, but with this patch I can match upstream in preparation for the next release (the patch has already been merged upstream). That should allow the upcoming version bump to be a simple cp rename and removal of this patch from the PATCHES list; with the doins approach, I'll have to remove the doins and reimplement the INSTALL_SOUNDFONT_PATH definition line again for the version bump.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else)
Projects
None yet
6 participants