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/freedoom-data: Set DOOMWADPATH in freedoom launch script #12871

Closed

Conversation

vilhelmgray
Copy link
Contributor

Engines such as Odamex may not have a default search path and simply
search for freedoom1.wad relative to the current directory. This can
cause an unexpected WAD file not found error when executing the freedoom
script.

This issue is mitigated by setting a default DOOMWADPATH environment
variable with sensible search paths, if it is not already set. All
engines listed in the PORTS variable support the DOOMWADPATH environment
variable, which makes it a simple and convenient way of helping prevent
this error.

@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/freedm-data, games-fps/freedoom-data

games-fps/freedm-data: @vilhelmgray, @gentoo/proxy-maint, @gentoo/games
games-fps/freedoom-data: @vilhelmgray, @gentoo/proxy-maint, @gentoo/games

Linked bugs

No bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment.


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). labels Sep 6, 2019
@chewi
Copy link
Member

chewi commented Sep 7, 2019

To make this work on prefix, you should use hprefixify from prefix.eclass against the scripts in src_prepare.

@vilhelmgray
Copy link
Contributor Author

To make this work on prefix, you should use hprefixify from prefix.eclass against the scripts in src_prepare.

The patch is pretty simple so I opted instead to update it to use @GENTOO_PORTAGE_EPREFIX@ and called eprefixify in the ebuilds.

@chewi
Copy link
Member

chewi commented Sep 7, 2019

Right but this patch has been accepted upstream and they obviously cannot add @GENTOO_PORTAGE_EPREFIX@. Just calling hprefixify dist/freedoom with no modifications will do what you need.

Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
@vilhelmgray
Copy link
Contributor Author

Right but this patch has been accepted upstream and they obviously cannot add @GENTOO_PORTAGE_EPREFIX@. Just calling hprefixify dist/freedoom with no modifications will do what you need.

I see what you mean. I've updated it now to use hprefixify instead as you suggest.

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2019-09-07 16:59 UTC
Newest commit scanned: 2740c78
Status: ✅ good

Issues already there before the PR (double-check them):
https://qa-reports.gentoo.org/output/gentoo-ci/039ebfc/output.html#media-gfx/pstoedit
https://qa-reports.gentoo.org/output/gentoo-ci/039ebfc/output.html#sci-chemistry/wxmacmolplt

@gentoo-bot gentoo-bot closed this in 6e1214a Sep 7, 2019
thebitpit pushed a commit to thebitpit/gentoo that referenced this pull request Sep 13, 2019
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Closes: gentoo#12871
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
thebitpit pushed a commit to thebitpit/gentoo that referenced this pull request Sep 13, 2019
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Closes: gentoo#12871
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
thebitpit pushed a commit to thebitpit/gentoo that referenced this pull request Sep 14, 2019
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Closes: gentoo#12871
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
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). self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else)
Projects
None yet
4 participants