Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36706 - Request for Dominions II in the portage tree
Summary: Request for Dominions II in the portage tree
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://www.shrapnelgames.com/Illwinte...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-29 02:21 UTC by John Herdy
Modified: 2005-10-05 08:58 UTC (History)
2 users (show)

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


Attachments
dominions2-2.16.ebuild (dominions2-2.16.ebuild,2.77 KB, text/plain)
2005-09-16 23:49 UTC, Alex Linke
Details
dominions2.png (dominions2.png,1.11 KB, image/png)
2005-09-16 23:51 UTC, Alex Linke
Details
dominions2-2.16.ebuild (dominions2-2.16.ebuild,2.26 KB, text/plain)
2005-09-20 00:58 UTC, Alex Linke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Herdy 2003-12-29 02:21:13 UTC
ShrapnelGames.com has released an awesome game called; Dominions II. Forunatly this game (and demo) is available for Linux, but unfortunately this game (and demo) isn't available in the portage tree. I would like to make a humble request to the game-gurus to add this to the tree. Downloadlocation for the demo; http://www.shrapnelgames.com/Illwinter/d2/6.htm

Thanks a lot in advance.

Reproducible: Always
Steps to Reproduce:
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2003-12-29 03:49:11 UTC
I'll look into getting the demo added, but there's no way I can add the full game without buying it.  I'll look into purchasing a copy.
Comment 2 Carlos Vendramini 2004-06-16 20:02:53 UTC
Great, I would like to enjoy this game..:-)
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2004-06-17 04:24:54 UTC
Is there a chance one of you guys can grab this one (at least the demo) since I've been rather swamped and am having a difficult time keeping up with my bug requests, let alone requests for new features.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-08-08 00:15:29 UTC
games-strategy/dominions2-demo-bin added to CVS.  Since we don't have a copy
of the retail version an ebuild for that's not possible at this time.  If anyone
has a copy and would like to attach a working ebuild as text/plain that would be grand.
Comment 5 Alex Linke 2005-09-16 23:47:27 UTC
hi,

my copy of the game arrived yesterday, so here's the ebuild I wrote.

I added an icon to 'files/' which is about 1 kb in size in order to avoid a
buildtime dependency on imagemagick (convert). The icon included on the CD comes
in .ico-format only. I edited the icon to add background transparency.

The ebuild is keyworded for x86 and ppc, but I did only test it on x86, because
I don't own a ppc-machine.

The USE-flag 'doc' installs some additional documentation which I consider
useful: a detailed beginners walkthrough and the updated manual in pdf-format.
Comment 6 Alex Linke 2005-09-16 23:49:38 UTC
Created attachment 68643 [details]
dominions2-2.16.ebuild
Comment 7 Alex Linke 2005-09-16 23:51:48 UTC
Created attachment 68644 [details]
dominions2.png

-> files/dominions2.png
Comment 8 Anton Romanov 2005-09-18 05:07:31 UTC
someone reopen this...
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-19 07:15:18 UTC
- don't KEYWORD for a platform that you can't test
- don't use cp where doins (or doins -r) works fine
- pkg_setup isn't needed
- newicon can be doicon, you aren't renaming it
- does the game *require* esound?

Also, since none of us have a copy of this game, we can't include it yet.  We
have to be able to support anything that we add.

Anyway, I just ordered it from Tuxgames, so I should have it in ~2 weeks.
Comment 10 Alex Linke 2005-09-19 08:45:46 UTC
First, thanks for the suggestions.

Does anyone have the possibility to test the game on ppc or shall I remove the
keyword?

Ok, I'll remove pkg_setup() - I thought it would be needed for check_license()
once the exact name and terms of the proprietary license are determined.

esound is marked as a dependency in the demo's ebuild, which I used as a
template. I haven't tried if it is really necessary.
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-19 10:03:30 UTC
I have a PPC machine, but if it requires OpenGL, I won't be able to test it,
since there's no opengl-capable drivers for Nvidia on the PPC.  It looks like
we'll just need to remove the KEYWORDS.  I'd leave the SRC_URI for it, though. 
It'll make it easier for the PPC team to KEYWORD it later.
Comment 12 Alex Linke 2005-09-20 00:58:30 UTC
Created attachment 68845 [details]
dominions2-2.16.ebuild

Here's the updated ebuild.
Comment 13 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-05 08:58:23 UTC
I modified the ebuild slightly and committed it to CVS.  Thanks for the ebuild!

In the future, when dealing with something that supports more than one
architecture, don't use the $ARCH variable.  Instead, use the USE flag.

if use x86; then

It makes it cleaner, and allows for amd64 support on x86 binaries.  ;]