Bug 227669 - games-action/wordwarvi to be added to portage
Bug#: 227669 Product:  Gentoo Linux Version: 2007.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: matija.suklje@rutka.net
Component: Games
URL:  http://wordwarvi.sf.net
Summary: games-action/wordwarvi to be added to portage
Keywords:  EBUILD
Status Whiteboard: 
Opened: 2008-06-16 22:47 0000
Description:   Opened: 2008-06-16 22:47 0000
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 From Matija Suklje (hook) 2008-06-16 22:48:33 0000 -------
Created an attachment (id=157167) [details]
games-action/wordwarvi-0.14

Initial ebuild, full of beginner's errors.

------- Comment #2 From Matija Suklje (hook) 2008-06-17 16:40:25 0000 -------
Created an attachment (id=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 From Matija Suklje (hook) 2008-06-17 16:41:52 0000 -------
Created an attachment (id=157317) [details]
wordwarvi-0.14-destdir.patch

A needed DESTDIR patch for Makefile.

------- Comment #4 From Matija Suklje (hook) 2008-06-17 16:44:15 0000 -------
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 From Matija Suklje (hook) 2008-06-17 17:01:02 0000 -------
...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 From Matija Suklje (hook) 2008-06-17 17:41:02 0000 -------
Created an attachment (id=157321) [details]
wordwarvi-0.15-destdir.patch

patch bumped

------- Comment #7 From Matija Suklje (hook) 2008-06-17 17:42:30 0000 -------
Created an attachment (id=157323) [details]
games-action/wordwarvi-0.15

New ebuild, cleaned up taking into consideration Mr.Bones' wise words.

------- Comment #8 From Matija Suklje (hook) 2008-06-17 19:17:09 0000 -------
Created an attachment (id=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 From Matija Suklje (hook) 2008-06-17 19:19:09 0000 -------
Created an attachment (id=157343) [details]
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 From Piotr Szymaniak 2008-06-17 21:04:19 0000 -------
Created an attachment (id=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 From Matija Suklje (hook) 2008-07-28 15:44:15 0000 -------
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 From Matija Suklje (hook) 2008-07-28 15:46:03 0000 -------
Created an attachment (id=161532) [details]
games-action/wordwarvi-0.21

Working ebuild of the (currently) latest WordWarVi release.

------- Comment #13 From Matija Suklje (hook) 2008-07-28 16:31:37 0000 -------
Created an attachment (id=161535) [details]
wordwarvi-0.21-destdir.patch

Patch for accompany the 0.21 ebuild. This time incorporating the 'games.eclass'
variables.

------- Comment #14 From Matija Suklje (hook) 2008-07-28 16:46:20 0000 -------
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 From Matija Suklje (hook) 2008-08-02 19:30:01 0000 -------
Created an attachment (id=162021) [details]
games-action/wordwarvi-0.21

Fixed 'LICENSE' to include the right CC licenses of included art as well.

------- Comment #16 From Mr. Bones. 2008-08-04 03:28:30 0000 -------
wordwarvi-0.22.ebuild added to portage.

------- Comment #17 From Matija Suklje (hook) 2008-08-04 05:59:19 0000 -------
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!