Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328069 - games-fps/prboom-2.5.0: improved ebuild
Summary: games-fps/prboom-2.5.0: improved ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-13 08:45 UTC by Alexander Korshun
Modified: 2011-08-20 15:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Improved ebuild. (prboom-2.5.0-r1.ebuild,2.31 KB, text/plain)
2010-07-13 08:49 UTC, Alexander Korshun
Details
Previous ebuild without USE flags. (prboom-2.5.0-r1.ebuild,2.17 KB, text/plain)
2010-07-15 09:39 UTC, Alexander Korshun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Korshun 2010-07-13 08:45:12 UTC
Improvements are:
1. RDEPEND="${DEPEND}" because default RDEPEND is deprecated
2. almost all use flags supported by upstream (opengl, net, sound)
3. pkg_postinst message fixed. It said 
"doom.wad is the full Doom 1 set of 3 episodes (or 4 in the Final Doom wad)."
but this is wrong. Final Doom has two wads: tnt.wad(Final Doom: TNT Evilution) and plutonia.wad(Final Doom: Plutonia experiment) while the version of doom.wad with 4 episodes is called the Ultimate Doom.

I did no tests but building prboom with various USE and playing. It seems to give out no errors.

Reproducible: Always
Comment 1 Alexander Korshun 2010-07-13 08:49:04 UTC
Created attachment 238599 [details]
Improved ebuild.
Comment 2 Alexander Korshun 2010-07-15 09:37:11 UTC
Sorry. Just now I discovered it requires SDL_net even if built without it and has sound even without sound use flag. So I revert canges to USE flags and leave just small fixes.
Comment 3 Alexander Korshun 2010-07-15 09:39:05 UTC
Created attachment 238861 [details]
Previous ebuild without USE flags.
Comment 4 James L. Hammons 2011-08-06 05:05:25 UTC
For some reason, building with i386-asm causes prboom to dump out after few seconds with

I_SignalHandler: Exiting on signal: signal 8

so I would recommend that 

$(use_enable x86 i386-asm)

be replaced with

--disable-i386-asm

in the ebuild, as this fixes the problem. Either that, or make a useflag to disable it; though it seems that on modern hardware that assembly is hardly needed to get good performance these days. The problem seems to be related to the bug posted here (and this comment has a backtrace & analysis):

https://bugs.launchpad.net/ubuntu/+source/prboom/+bug/375498/comments/17

My system is a Pentium-M based laptop (a Thinkpad T42 to be exact); I can post my emerge --info if it will help. :-)
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2011-08-20 15:00:02 UTC
updated the comment.  thanks for the bug report.