Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 227669

Summary: games-action/wordwarvi to be added to portage
Product: Gentoo Linux Reporter: Matija "hook" Šuklje <matija>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: enhancement CC: bugzie
Priority: High Keywords: EBUILD
Version: 2007.0   
Hardware: All   
OS: Linux   
URL: http://wordwarvi.sf.net
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: games-action/wordwarvi-0.14
games-action/wordwarvi-0.14.ebuild
wordwarvi-0.14-destdir.patch
working wordwarvi-0.15-destdir.patch
working games-action/wordwarvi-0.15
testing games-action/wordwarvi-0.15
testing wordwarvi-0.15-destdir.patch
games-action/wordwarvi-0.14.ebuild
games-action/wordwarvi-0.21
wordwarvi-0.21-destdir.patch
games-action/wordwarvi-0.21

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.

Depends:
* 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]
games-action/wordwarvi-0.14

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

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]
wordwarvi-0.14-destdir.patch

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]
games-action/wordwarvi-0.14.ebuild

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]
games-action/wordwarvi-0.21

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]
wordwarvi-0.21-destdir.patch

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]
games-action/wordwarvi-0.21

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!