Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 275213

Summary: New package: games-misc/bsod: A little console tool for emulating windows XP's 'blue screen of death'
Product: Gentoo Linux Reporter: Livid <g.livid>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: enhancement CC: ssuominen
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://www.vanheusden.com/bsod/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ebuild for v0.1
Patch for Makefile so that it intalls in /usr/bin instead of /usr/local/bin. Used by ebuild.
Ebuild for v0.1 take two
bsod-0.1-prefix.patch
bsod-0.1.ebuild
Take three

Description Livid 2009-06-23 19:13:24 UTC
bsod will let UNIX users experience the authentic microsoft windows experience.
Bsod displays the infamous windows xp blue screen of death on the console.
Errors and drivers causing the error are selected randomly from a large set of examples.

Reproducible: Always
Comment 1 Livid 2009-06-23 19:13:55 UTC
Created attachment 195588 [details]
Ebuild for v0.1
Comment 2 Livid 2009-06-23 19:14:47 UTC
Created attachment 195589 [details, diff]
Patch for Makefile so that it intalls in /usr/bin instead of /usr/local/bin. Used by ebuild.
Comment 3 Livid 2009-06-23 19:17:27 UTC
Created attachment 195591 [details]
Ebuild for v0.1 take two

Oops. Forgot to add ~x86 to keywords.
Comment 4 Kevin Pyle 2009-06-24 03:46:41 UTC
LICENSE should be GPL-2, not GPLv2 <http://devmanual.gentoo.org/general-concepts/licenses/index.html>.  Traditionally, KEYWORDS is alphabetized, so you should move amd64 to appear before x86.  Attachment #195591 [details] declares functions using:

function foo {
}

Usually, ebuilds declare functions using:

foo() {
}

src_prepare starts in $S, so you do not need to cd to it <http://devmanual.gentoo.org/ebuild-writing/eapi/index.html#phases>.  Similarly, src_install starts in $S if it is a directory.  Given the simplicity of the installation process, you may be better off dropping the Makefile patch and instead installing the finished file directly from src_install using the installation helper functions <http://devmanual.gentoo.org/function-reference/install-functions/index.html>.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-24 10:49:11 UTC
Created attachment 195647 [details, diff]
bsod-0.1-prefix.patch

Another trial of fixing the hardcoded paths in the app's Makefile
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-24 10:50:52 UTC
Created attachment 195648 [details]
bsod-0.1.ebuild

This is the ebuild that I used to install the package
Comment 7 Livid 2009-06-24 18:04:58 UTC
Created attachment 195674 [details]
Take three

I tried to fix whatever was wrong with this ebuild. So goes take three.
No patch, no src_prepare, no EAPI=2, and doc USE-flag.
Should work out, I think.
Thanks for your notes, Kevin.
Comment 8 Marcel Partap 2010-10-21 00:14:28 UTC
Looking good, last ebuild works flawlessly, good to be included imho!
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2012-06-15 03:24:20 UTC
games-misc/bsod-0.1 in tree, silly little app :-p