Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54991 - ebuild: games-strategy/wargus-2.1
Summary: ebuild: games-strategy/wargus-2.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Gentoo Games
URL: http://wargus.sourceforge.net/
Whiteboard:
Keywords:
Depends on: 30519
Blocks:
  Show dependency tree
 
Reported: 2004-06-24 02:41 UTC by Martti Rannanjärvi
Modified: 2007-02-01 21:16 UTC (History)
3 users (show)

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


Attachments
wargus-2.1_pre1.ebuild (wargus-2.1_pre1.ebuild,872 bytes, text/plain)
2004-06-24 02:43 UTC, Martti Rannanjärvi
Details
wargus-2.1.ebuild for stratagus 2.1 (wargus-2.1.ebuild,882 bytes, text/plain)
2004-07-04 11:13 UTC, Martti Rannanjärvi
Details
wargus-2.1.ebuild to match stratgus in portage (wargus-2.1.ebuild,843 bytes, text/plain)
2004-09-01 18:37 UTC, Jacob Gemmell
Details
wargus-2.1.ebuild (wargus-2.1.ebuild,889 bytes, text/plain)
2004-12-29 01:42 UTC, Martti Rannanjärvi
Details
games-strategy/wargus/wargus-2.1.ebuild (wargus-2.1.ebuild,775 bytes, text/plain)
2005-05-04 19:05 UTC, Chris Gianelloni (RETIRED)
Details
wargus-2.1.ebuild (wargus-2.1.ebuild,771 bytes, text/plain)
2005-05-05 01:14 UTC, Martti Rannanjärvi
Details
wargus-2.1.ebuild (wargus-2.1.ebuild,773 bytes, text/plain)
2005-05-08 13:59 UTC, Martti Rannanjärvi
Details
2 problems found playing are patched 1. ai loop; 2. human basespells avaibility wargus-2.1-r1.ebuild (wargus-2.1-r1.ebuild,905 bytes, text/plain)
2005-11-26 06:56 UTC, Florian Manschwetus
Details
to be placed in the related files dir files/wargus-2.1-ai.patch (wargus-2.1-ai.patch,5.78 KB, patch)
2005-11-26 06:58 UTC, Florian Manschwetus
Details | Diff
to be placed in the related files dir; files/wargus-2.1-humanbasespell.patch (wargus-2.1-humanbasespell.patch,1.12 KB, patch)
2005-11-26 07:01 UTC, Florian Manschwetus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martti Rannanjärvi 2004-06-24 02:41:00 UTC
 
Comment 1 Martti Rannanjärvi 2004-06-24 02:43:36 UTC
Created attachment 34037 [details]
wargus-2.1_pre1.ebuild

Needs WC2 CD :-(
Comment 2 Russell Smith 2004-06-27 03:05:20 UTC
wargus 2.1pre2 is out.  and will work with stratagus 2.1pre2

Compiles with gcc 3.3.3.  (ebuild not tested)
Comment 3 Martti Rannanjärvi 2004-06-27 06:04:27 UTC
ebuild needs a change in the RDEPEND (RDEPEND="=games-engines/stratagus-2.1*") and renaming to work with stratagus-2.1_pre2
Comment 4 Martti Rannanjärvi 2004-07-04 11:13:07 UTC
Created attachment 34792 [details]
wargus-2.1.ebuild for stratagus 2.1

Should work for stratagus 2.1, edited with windows notepad so newlines can be
bad.. have not tried.
Comment 5 Giacomo Perale 2004-07-07 13:37:03 UTC
tested now, it works flawlessy
Comment 6 Jacob Gemmell 2004-09-01 12:27:51 UTC
Stratagus is in portage now with a ~x86 mask.  The ebuild works great for me with  both the original WC2 CD and the Expansion Pack.  I just had to emerge it again for each CD I wanted and both data sets showed up in the menu.  Are there any other outstanding issues?
Comment 7 Jacob Gemmell 2004-09-01 18:37:37 UTC
Created attachment 38718 [details]
wargus-2.1.ebuild to match stratgus in portage

Changed 
exec ${GAMES_LIBDIR}/stratagus -d ${dir} "\$@"
to 
exec ${GAMES_BINDIR}/stratagus -d ${dir} "\$@"

so it works with the stratagus ebuild in portage.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2004-12-11 00:19:01 UTC
comments on the ebuild:

header needs to be updated (from skel.ebuild)
move the wrapper creation into src_unpack()
virtual/glibc -> virtual/libc
error check dogamesbin with ... || die "dogamesbin failed"
Comment 9 Martti Rannanjärvi 2004-12-29 01:42:30 UTC
Created attachment 47093 [details]
wargus-2.1.ebuild
Comment 10 Hinrik Örn Sigurðsson 2005-04-24 02:09:22 UTC
Works perfectly, how about a commit?
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2005-05-04 18:44:01 UTC
SpanKY, Mr_Bones_: do either of you have a copy of Warcraft 2 to test this?
Comment 12 SpanKY gentoo-dev 2005-05-04 18:47:17 UTC
i know i do, Warcraft II is teh bomb
Comment 13 Chris Gianelloni (RETIRED) gentoo-dev 2005-05-04 19:05:33 UTC
Created attachment 58091 [details]
games-strategy/wargus/wargus-2.1.ebuild

This is my totally untested version of the ebuild.  I don't know if
games_make_wrapper will work like this, but I think it should.	If not, try out
Henrik's ebuild.
Comment 14 Martti Rannanjärvi 2005-05-05 01:14:12 UTC
Created attachment 58109 [details]
wargus-2.1.ebuild

The idea works. Parameters didn't.

Also added 2005 to copyright.
Comment 15 Martti Rannanjärvi 2005-05-05 01:16:33 UTC
BTW, emerge stratagus with USE mikmod to hear the music.
Comment 16 Martti Rannanjärvi 2005-05-08 13:59:42 UTC
Created attachment 58395 [details]
wargus-2.1.ebuild

Added more quotes and made dir a local variable at src_install.
Comment 17 Wescott 2005-06-30 16:14:05 UTC
Note: This will replace the 'freecraft' ebuilds in portage.  When freecraft was
stopped by Blizzard, the developers renamed the game engine to 'stratagus', and
developed software to decompress the CD to build a game data-set to run on the
engine.

Some of you probably knew that, but I was wondering, does this mean that
freecraft will be removed from portage...of if the freecraft ebuild would be
changed to just prompt the user to 'emerge -av wargus' due to the fact stated above?
Comment 18 Florian Manschwetus 2005-11-26 06:56:22 UTC
Created attachment 73635 [details]
2 problems found playing are patched 1. ai loop; 2. human basespells avaibility wargus-2.1-r1.ebuild

needs the two also added patches
Comment 19 Florian Manschwetus 2005-11-26 06:58:49 UTC
Created attachment 73636 [details, diff]
to be placed in the related files dir files/wargus-2.1-ai.patch
Comment 20 Florian Manschwetus 2005-11-26 07:01:02 UTC
Created attachment 73637 [details, diff]
to be placed in the related files dir; files/wargus-2.1-humanbasespell.patch
Comment 21 Redeeman 2005-12-10 19:05:25 UTC
it would be nice to have this in portage.. the freecraft release is rather 
old.. 
Comment 22 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-06 05:52:55 UTC
thank you all, this has been added to portage now.
Comment 23 Gleb Litvjak 2007-02-01 20:59:14 UTC
Works for me on amd64 (had to modify the ebuild). Maybe someone could add ~amd64 keyword?
Comment 24 Tristan Heaven (RETIRED) gentoo-dev 2007-02-01 21:03:11 UTC
Please open a new bug.

http://www.gentoo.org/proj/en/desktop/games/index.xml#doc_chap5_sect9
Comment 25 Gleb Litvjak 2007-02-01 21:16:33 UTC
Ok, opened bug 164914. Thanks for the pointer.