Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275213 - New package: games-misc/bsod: A little console tool for emulating windows XP's 'blue screen of death'
Summary: New package: games-misc/bsod: A little console tool for emulating windows XP'...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: Lowest enhancement
Assignee: Gentoo Games
URL: http://www.vanheusden.com/bsod/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-23 19:13 UTC by Livid
Modified: 2012-06-15 03:24 UTC (History)
1 user (show)

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


Attachments
Ebuild for v0.1 (bsod-0.1.ebuild,617 bytes, text/plain)
2009-06-23 19:13 UTC, Livid
Details
Patch for Makefile so that it intalls in /usr/bin instead of /usr/local/bin. Used by ebuild. (bsod-0.1-destdir.patch,406 bytes, patch)
2009-06-23 19:14 UTC, Livid
Details | Diff
Ebuild for v0.1 take two (bsod-0.1.ebuild,622 bytes, text/plain)
2009-06-23 19:17 UTC, Livid
Details
bsod-0.1-prefix.patch (bsod-0.1-prefix.patch,521 bytes, patch)
2009-06-24 10:49 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
bsod-0.1.ebuild (bsod-0.1.ebuild,515 bytes, text/plain)
2009-06-24 10:50 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
Take three (bsod-0.1.ebuild,428 bytes, text/plain)
2009-06-24 18:04 UTC, Livid
Details

Note You need to log in before you can comment on or make changes to this bug.
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