Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227669 - games-action/wordwarvi to be added to portage
Summary: games-action/wordwarvi to be added to portage
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
Keywords: EBUILD
Depends on:
Reported: 2008-06-16 22:47 UTC by Matija "hook" Šuklje
Modified: 2008-08-04 05:59 UTC (History)
1 user (show)

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

games-action/wordwarvi-0.14 (wordwarvi-0.14.ebuild,934 bytes, text/plain)
2008-06-16 22:48 UTC, Matija "hook" Šuklje
games-action/wordwarvi-0.14.ebuild (wordwarvi-0.14.ebuild,1.01 KB, text/plain)
2008-06-17 16:40 UTC, Matija "hook" Šuklje
wordwarvi-0.14-destdir.patch (wordwarvi-0.14-destdir.patch,310 bytes, patch)
2008-06-17 16:41 UTC, Matija "hook" Šuklje
Details | Diff
working wordwarvi-0.15-destdir.patch (wordwarvi-0.15-destdir.patch,310 bytes, patch)
2008-06-17 17:41 UTC, Matija "hook" Šuklje
Details | Diff
working games-action/wordwarvi-0.15 (wordwarvi-0.15.ebuild,951 bytes, text/plain)
2008-06-17 17:42 UTC, Matija "hook" Šuklje
testing games-action/wordwarvi-0.15 (wordwarvi-0.15.ebuild,1001 bytes, text/plain)
2008-06-17 19:17 UTC, Matija "hook" Šuklje
testing wordwarvi-0.15-destdir.patch (wordwarvi-0.15-destdir.patch,302 bytes, patch)
2008-06-17 19:19 UTC, Matija "hook" Šuklje
Details | Diff
games-action/wordwarvi-0.14.ebuild (wordwarvi-0.14.ebuild,1.25 KB, text/plain)
2008-06-17 21:04 UTC, Piotr Szymaniak
games-action/wordwarvi-0.21 (wordwarvi-0.21.ebuild,1.10 KB, text/plain)
2008-07-28 15:46 UTC, Matija "hook" Šuklje
wordwarvi-0.21-destdir.patch (wordwarvi-0.21-destdir.patch,351 bytes, patch)
2008-07-28 16:31 UTC, Matija "hook" Šuklje
Details | Diff
games-action/wordwarvi-0.21 (wordwarvi-0.21.ebuild,1.15 KB, text/plain)
2008-08-02 19:30 UTC, Matija "hook" Šuklje

Note You need to log in before you can comment on or make changes to this bug.
Description Matija "hook" Šuklje 2008-06-16 22:47:38 UTC
Word War Vi is a side-scrolling shoot 'em up in the retro '80s style.

* gtk+-2.x
* pango
* atk
* vorbis-tools
* portaudio-1.9

I wrote a simple ebuild, but it does not install properly. I'm new at this stuff.
Comment 1 Matija "hook" Šuklje 2008-06-16 22:48:33 UTC
Created attachment 157167 [details]

Initial ebuild, full of beginner's errors.
Comment 2 Matija "hook" Šuklje 2008-06-17 16:40:25 UTC
Created attachment 157315 [details]

A new, working ebuild with a lot of help from the #gentoo-dev-help (especially gentoofan23). :)

Needs patch (see below).
Comment 3 Matija "hook" Šuklje 2008-06-17 16:41:52 UTC
Created attachment 157317 [details, diff]

A needed DESTDIR patch for Makefile.
Comment 4 Matija "hook" Šuklje 2008-06-17 16:44:15 UTC
Works for me on AMD64 with USE="-portaudio" (as it needs portaudio-0.19 and I'd rather not use a masked ebuild just to have sound).
Comment 5 Matija "hook" Šuklje 2008-06-17 17:01:02 UTC
...and just when I submit a working ebuild for 0.14 I notice that 0.15 has come out!

Anyway, just renaming (or copying) the 0.14 ebuild and patch to 0.15 works. :)
Comment 6 Matija "hook" Šuklje 2008-06-17 17:41:02 UTC
Created attachment 157321 [details, diff]
working wordwarvi-0.15-destdir.patch

patch bumped
Comment 7 Matija "hook" Šuklje 2008-06-17 17:42:30 UTC
Created attachment 157323 [details]
working games-action/wordwarvi-0.15

New ebuild, cleaned up taking into consideration Mr.Bones' wise words.
Comment 8 Matija "hook" Šuklje 2008-06-17 19:17:09 UTC
Created attachment 157341 [details]
testing games-action/wordwarvi-0.15

This is an improved ebuild that applies more to the Right Way of Doing It(TM).

Sadly, it does not work yet. It's probably the patches' fault.
Comment 9 Matija "hook" Šuklje 2008-06-17 19:19:09 UTC
Created attachment 157343 [details, diff]
testing wordwarvi-0.15-destdir.patch

This is the patch that conforms more to the Right Way of Doing It(TM) and accompanies the "testing games-action/wordwarvi-0.15" ebuild.

Sadly it does not work yet, due to me not understanding yet how things are done.
Comment 10 Piotr Szymaniak 2008-06-17 21:04:19 UTC
Created attachment 157357 [details]

That's my ebuild for Word War vi. It looks like crap maybe, but it works. I hope that they can be merged into something usefull. (:
Comment 11 Matija "hook" Šuklje 2008-07-28 15:44:15 UTC
Version 0.21 is out and I think this ebuild + patch could be worth trying. It works for me (with USE="-portaudio") and I think it finally incorporates The Right Way to Do It(TM).

You're free to enjoy ...erm, play-test it ;)

I tried it on AMD64, but it should work on X86 just as good. (and probably other arches as well).
Comment 12 Matija "hook" Šuklje 2008-07-28 15:46:03 UTC
Created attachment 161532 [details]

Working ebuild of the (currently) latest WordWarVi release.
Comment 13 Matija "hook" Šuklje 2008-07-28 16:31:37 UTC
Created attachment 161535 [details, diff]

Patch for accompany the 0.21 ebuild. This time incorporating the 'games.eclass' variables.
Comment 14 Matija "hook" Šuklje 2008-07-28 16:46:20 UTC
Next step would be adding the USE="joystick" flag, but for that I would probably need to write another 'Makefile' patch and put it into a 'if' statement. And I'm not sure that's the ideal way to do it.
Comment 15 Matija "hook" Šuklje 2008-08-02 19:30:01 UTC
Created attachment 162021 [details]

Fixed 'LICENSE' to include the right CC licenses of included art as well.
Comment 16 Mr. Bones. (RETIRED) gentoo-dev 2008-08-04 03:28:30 UTC
wordwarvi-0.22.ebuild added to portage.
Comment 17 Matija "hook" Šuklje 2008-08-04 05:59:19 UTC
1) Yay! Word War Vi is in Portage! :D
2) Aw, did I make that many mistakes in my ebuild? :/ ...I'll get better, I promise!