-
Notifications
You must be signed in to change notification settings - Fork 2k
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/freedoom: Add doom engine runtime dependency #12225
Conversation
Copyright policy changePlease 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 assignmentSubmitter: @vilhelmgray games-fps/freedoom: @gentoo/games Linked bugsBugs linked: 687672 In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
1fb46da
to
11154d2
Compare
There is no reason to do this in a PR separate from #12224 and cause twice the CI load. |
11154d2
to
6c8f377
Compare
Does it make sense to keep the old version (broken, presumably, without the RDEPEND), or would you add a separate commit to drop -r0? |
The -r0 version has the benefit of being available for If that's not a big deal for anyone, we can remove the -r0 version. I'll do so for this pull request in a separate patch. |
Is it correct to assume that |
doins */*.wad | ||
dodoc "${P}"/CREDITS.txt "${P}"/README.html | ||
} | ||
|
||
pkg_postinst() { | ||
einfo "Please note that WAD files location is /usr/share/doom-data/${PN}" | ||
einfo "Please note that the WAD files location is ${FREEDOOMWADPATH}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this should be known to users of the package after installation, elog
should be used instead.
No, many doom engines do in fact support ARM -- I don't know about Doomsday, but GZDoom and Odamex certainly do -- so the Gentoo ARM team just needs to add the However, since none of the existing doom engine packages listed in the freedoom ebuild RDEPEND list have My preference would be to keep the |
620b69c
to
b71046b
Compare
Fine, but I'm looking at it from Gentoo ebuild repo POV - if it was only possible to keyword
Yes, that's how it works - open a new KEYWORDREQ for the necessary package(s). |
Ah, I see what you mean now. I suppose you're right if no existing doom engine ebuild in Gentoo's repository is keyworded for |
I have thought about adding PrBoom+, which is more or less still maintained, but it's not a priority. I don't entirely agree with adding engines dependencies to data ebuilds, especially when Doom has so many engines, but I don't feel too strongly about it. |
Regarding prboom+, there's this: https://bugs.gentoo.org/338027 |
I think I can see what you mean about the separation of data and engine. Since there are so many engines, it may be possible the user wants to use one that doesn't have a Gentoo ebuild, but that doesn't mean they should be forced to install some other engine just to get the Freedoom data. Perhaps we can implement a |
You could also simply test for known doom engines at the end of freedoom install ( |
I realized what @chewi said is true --
Regarding a doom engine dependency for Freedoom, I've actually been going back and forth on whether there should be or not. As noted, there a some packages which simply notify the user of compatible engines (e.g. Take for example the mentioned The key point is that XBoard is wholly a separate program from the chess engine -- the two programs are just able to work together. So it naturally makes sense for XBoard to not depend on a chess engine. Freedoom on the other hand is not really separate from a doom engine. The fact that there are multiple doom engines that support Freedoom is a consequence of the doom engines forking from a common codebase. Freedoom is designed with integration in mind, utilizing features of certain doom engines not because there is a standard interface but because those features happen to be available when combined. For this reason it makes sense to have a doom engine be a runtime dependency, since a doom engine is required to run Freedoom in the way intended and designed by the upstream project. However, I can understand the problems of adding a runtime dependency. There are in fact cases where installing Freedoom by itself would be preferred:
Because of that, I'd like to see a |
Currently I have the Freedoom WAD files install into |
At that point I'll have to hand over to @chewi, I'm not into the doom (or games at all, for that matter) stuff. |
b71046b
to
061a7e5
Compare
I see that Note that I like your |
I believe I believe what happened in Gentoo is that the I can update the
I'd be surprised if anyone is still using this (hasn't the upstream project been dead since the early 2000s?). Other forks of DEU are more popular nowadays, such as In addition, it would be good to drop
Ah yes, you're right it should be |
Closes: https://bugs.gentoo.org/687674 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
061a7e5
to
52ccf00
Compare
I combined the FreeDM pull request with this one, and also reimplemented it the same as the Freedoom packages with |
34a0436
to
e44a2d4
Compare
Bug: https://bugs.gentoo.org/687674 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
e44a2d4
to
40425f7
Compare
Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Update maintainership info and add long description. Closes: https://bugs.gentoo.org/687670 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Freedoom is distributed by upstream with the intention to be run by a doom engine; this is also the expectation of end users. This patch adds a doom engine as a runtime dependency for Freedoom. Three possible doom engines are listed in RDEPEND: games-engines/odamex, games-fps/doomsday, games-fps/gzdoom. The games-fps/gzdoom package is set to preferred as it is the recommendation of the Freedoom upstream team. Closes: https://bugs.gentoo.org/687672 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Remove doomsday USE flag since users can install games-fps/doomsday directly. Install location changed to the /usr/share/doom directory. Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
40425f7
to
07c7640
Compare
Pull request CI reportReport generated at: 2019-06-14 12:30 UTC All QA issues have been fixed! |
Merged, many thanks for your awesome work.
You tell me! I haven't really made any DOOM levels since 1996, probably with ye olde DEU 5.21. 😉 Anyway, I've taken your word for it and last-rited Yadex. |
@vilhelmgray, since you seem keen on the DOOM stuff, I'd be grateful if you pick up the prboom+ ebuild. It'll need updating to EAPI 7 before I can merge it. |
@chewi I have a prboom-plus ebuild that is just about ready for a pull request, but I discovered upstream failed to provide some assets in their source tarball. I can access the assets from the upstream Subversion repository (revision 4459), so I'm considering just creating a snapshot of the revision of the corresponding latest release and using that. Is it possible to host it on the Gentoo servers -- what is the process to do so? |
Ideally that should be fixed upstream but the GZDoom guy has a mirror on GitHub. Normally I don't trust random mirrors but he seems trustworthy. Taking snapshots from here should include all the content. |
@chewi The prboom-plus pull request can be found here: #12297 You should be able to last-rite If you get a chance, check out the pull requests for Crispy Doom and Chocolate Doom as well. Chocolate Doom in particular is important for speedrun competitions which often require the behavior of the original DOOM release. |
Freedoom is distributed by upstream with the intention to be run by a
doom engine; this is also the expectation of end users. This patch adds
a doom engine as a runtime dependency for Freedoom.
Three possible doom engines are listed in RDEPEND: games-fps/doomsday,
games-fps/gzdoom, and games-fps/prboom. The games-fps/gzdoom is set to
preferred as it is the recommendation of the Freedoom upstream team.
Closes: https://bugs.gentoo.org/687672
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: William Breathitt Gray vilhelm.gray@gmail.com