Created attachment 34037 [details] wargus-2.1_pre1.ebuild Needs WC2 CD :-(
wargus 2.1pre2 is out. and will work with stratagus 2.1pre2 Compiles with gcc 3.3.3. (ebuild not tested)
ebuild needs a change in the RDEPEND (RDEPEND="=games-engines/stratagus-2.1*") and renaming to work with stratagus-2.1_pre2
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.
tested now, it works flawlessy
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?
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.
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"
Created attachment 47093 [details] wargus-2.1.ebuild
Works perfectly, how about a commit?
SpanKY, Mr_Bones_: do either of you have a copy of Warcraft 2 to test this?
i know i do, Warcraft II is teh bomb
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.
Created attachment 58109 [details] wargus-2.1.ebuild The idea works. Parameters didn't. Also added 2005 to copyright.
BTW, emerge stratagus with USE mikmod to hear the music.
Created attachment 58395 [details] wargus-2.1.ebuild Added more quotes and made dir a local variable at src_install.
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?
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
Created attachment 73636 [details, diff] to be placed in the related files dir files/wargus-2.1-ai.patch
Created attachment 73637 [details, diff] to be placed in the related files dir; files/wargus-2.1-humanbasespell.patch
it would be nice to have this in portage.. the freecraft release is rather old..
thank you all, this has been added to portage now.
Works for me on amd64 (had to modify the ebuild). Maybe someone could add ~amd64 keyword?
Please open a new bug. http://www.gentoo.org/proj/en/desktop/games/index.xml#doc_chap5_sect9
Ok, opened bug 164914. Thanks for the pointer.