Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79351 - games-strategy/wormsofprey-0.2.ebuild (New Package)
Summary: games-strategy/wormsofprey-0.2.ebuild (New Package)
Status: RESOLVED DUPLICATE of bug 93695
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://wormsofprey.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-24 09:45 UTC by Josh Glover
Modified: 2005-05-25 18:45 UTC (History)
0 users

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


Attachments
games-strategy/wormsofprey-0.2.ebuild (New Package) (wormsofprey-0.2.ebuild,1.25 KB, text/plain)
2005-01-24 09:46 UTC, Josh Glover
Details
games-strategy/wormsofprey-0.2.ebuild (New Package) (wormsofprey-0.2.ebuild,1.68 KB, text/plain)
2005-01-24 12:55 UTC, Josh Glover
Details
Ebuild that writes wrapper scripts for client and server modes (wormsofprey-0.2.ebuild,1.82 KB, text/plain)
2005-01-24 15:05 UTC, Josh Glover
Details
wormsofprey-0.2.ebuild (wormsofprey-0.2.ebuild,1.50 KB, text/plain)
2005-01-29 21:35 UTC, Mr. Bones. (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Glover 2005-01-24 09:45:33 UTC
Find attached an ebuild for W
Comment 1 Josh Glover 2005-01-24 09:45:33 UTC
Find attached an ebuild for Wörms of Prey, another multi-player, real-time clone of Worms just like Liero and NiL. It depends on media-libs/libsdl, media-libs/sdl-image, media-libs/sdl-mixer, media-libs/sdl-net, media-libs/sdl-ttf, and virtual/x11.
Comment 2 Josh Glover 2005-01-24 09:46:16 UTC
Created attachment 49392 [details]
games-strategy/wormsofprey-0.2.ebuild (New Package)
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2005-01-24 11:53:15 UTC
Doesn't work for me out of the box.  Seems to need a config file?
Comment 4 Josh Glover 2005-01-24 12:55:38 UTC
Created attachment 49408 [details]
games-strategy/wormsofprey-0.2.ebuild (New Package)

The previous ebuild installed the game data into /usr/share/games/. This ebuild
puts it in /usr/data/games/wopdata-2005-01-24, and symlinks that to
/usr/data/games/wormsofprey.

I also added some einfo spew in pkg_postinst(), which should take care of your
issue, Mr. Bones.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2005-01-24 13:17:35 UTC
Can't some config file be installed in GAMES_SYSCONFDIR?

Other comments:

make the header the same as header.txt
change the description to "A multi-player, real-time clone of Worms"
expand HOMEPAGE in SRC_URI (make it cutnpaste friendly)
emake -C src
use dogamesbin
no need to dodir GAMES_BINDIR
no error check for dodoc
no error check for dodir
don't install COPYING
dodoc README*
Comment 6 Josh Glover 2005-01-24 15:05:12 UTC
Created attachment 49417 [details]
Ebuild that writes wrapper scripts for client and server modes

I am not sure that wop supports a system-wide config dir. I know that it
handles a ~/.woprc per-user config file. I will look into it, but in the
meantime, dig this ebuild that writes a couple of wrapper scripts.
Comment 7 Aris Basic 2005-01-28 17:43:23 UTC
Buidling (with ebuild or without) is not working on my box
amd64
gcc 3.4.3 and gcc-3.3.4

here is the error:

g++ -Wall -Wparentheses -fno-exceptions -O3 -fno-strict-aliasing -DDBG_LEVEL=4 -DLOG_LEVEL=4 -DUSE_SDL -DNEW=new\(std::nothrow\) -I../sdlwidgets -I/usr/include/SDL -D_REENTRANT  -c collidableobject.cpp -o collidableobject.o
In file included from client.cpp:19:
spritesequence.cpp: In member function `void SpriteSequence<T>::setHotSpot(int, int)':
spritesequence.cpp:52: error: there are no arguments to `getSize' that depend on a template parameter, so a declaration of `getSize' must be available
spritesequence.cpp:52: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
spritesequence.cpp:53: error: `m_Data' undeclared (first use this function)
spritesequence.cpp:53: error: (Each undeclared identifier is reported only once for each function it appears in.)
spritesequence.cpp: In member function `bool SpriteSequence<T>::setColorKey(Uint8, Uint8, Uint8)':
spritesequence.cpp:66: error: there are no arguments to `getSize' that depend on a template parameter, so a declaration of `getSize' must be available
spritesequence.cpp:67: error: `m_Data' undeclared (first use this function)
spritesequence.cpp: In member function `bool SpriteSequence<T>::setAlphaValue(Uint8)':
spritesequence.cpp:87: error: there are no arguments to `getSize' that depend on a template parameter, so a declaration of `getSize' must be available
spritesequence.cpp:88: error: `m_Data' undeclared (first use this function)
spritesequence.cpp: In member function `int SpriteSequence<T>::draw(SDL_Surface*, int, int, int) const':
spritesequence.cpp:114: error: `m_Size' undeclared (first use this function)
spritesequence.cpp:121: error: `m_Data' undeclared (first use this function)
spritesequence.cpp:122: error: there are no arguments to `getSize' that depend on a template parameter, so a declaration of `getSize' must be available
spritesequence.cpp: In member function `int SpriteSequence<T>::load(const char*, const char*, const char*)':
spritesequence.cpp:155: error: there are no arguments to `getSize' that depend on a template parameter, so a declaration of `getSize' must be available
spritesequence.cpp: In member function `int SpriteSequence<T>::load(const char*, const SettingDataBase&)':
spritesequence.cpp:178: error: there are no arguments to `reset' that depend on a template parameter, so a declaration of `reset' must be available
spritesequence.cpp:222: error: there are no arguments to `getSize' that depend on a template parameter, so a declaration of `getSize' must be available
spritesequence.cpp:263: error: there are no arguments to `getSize' that depend on a template parameter, so a declaration of `getSize' must be available
In file included from client.cpp:20:
spriteset.cpp: In member function `int SpriteSet<T>::load(const char*, const char*, ProgressLog*)':
spriteset.cpp:134: error: there are no arguments to `resize' that depend on a template parameter, so a declaration of `resize' must be available
spriteset.cpp:228: error: there are no arguments to `getSize' that depend on a template parameter, so a declaration of `getSize' must be available
spriteset.cpp:230: error: there are no arguments to `getSize' that depend on a template parameter, so a declaration of `getSize' must be available
spriteset.cpp:232: error: there are no arguments to `getSize' that depend on a template parameter, so a declaration of `getSize' must be available
spriteset.cpp:258: error: there are no arguments to `getSize' that depend on a template parameter, so a declaration of `getSize' must be available
spriteset.cpp: In member function `int SpriteSet<T>::getColoredInstance(const Uint32*, bool, float)':
spriteset.cpp:305: error: there are no arguments to `getSize' that depend on a template parameter, so a declaration of `getSize' must be available
spriteset.cpp:313: error: `m_Data' undeclared (first use this function)
spriteset.cpp: In member function `bool SpriteSet<T>::checkTemplate() const':
spriteset.cpp:535: error: there are no arguments to `getSize' that depend on a template parameter, so a declaration of `getSize' must be available
spriteset.cpp:538: error: there are no arguments to `getSize' that depend on a template parameter, so a declaration of `getSize' must be available
spriteset.cpp:544: error: there are no arguments to `getSize' that depend on a template parameter, so a declaration of `getSize' must be available
spriteset.cpp:545: error: `m_Data' undeclared (first use this function)
In file included from client.cpp:21:
wopsprites.cpp: In member function `const SpriteSet<T>* WopSprites<T>::getSet(int) const':
wopsprites.cpp:70: error: `m_Data' undeclared (first use this function)
wopsprites.cpp: In member function `const SpriteSet<T>* WopSprites<T>::getColorInstance(int, int) const':
wopsprites.cpp:166: error: `m_Data' undeclared (first use this function)
wopsprites.cpp: In member function `const SpriteSet<T>* WopSprites<T>::getColorInstance(int, const Uint32*, bool)':
wopsprites.cpp:201: error: `m_Data' undeclared (first use this function)
wopsprites.cpp: In member function `bool WopSprites<T>::load(const char*, const char*, ProgressLog*)':
wopsprites.cpp:431: error: `m_Data' undeclared (first use this function)
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2005-01-29 21:35:49 UTC
Created attachment 49897 [details]
wormsofprey-0.2.ebuild

We'll hold off on adding this to portage until it's a bit further along but
with this ebuild people will be able to use it in their overlays and it will
provide a good working platform as we go.
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2005-01-29 21:36:12 UTC
poke this again on a later version.
Comment 10 Horst Schirmeier 2005-05-23 07:18:10 UTC
Ebuild proposal for a later version (v0.3.1) at
http://bugs.gentoo.org/show_bug.cgi?id=93695
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2005-05-25 18:44:45 UTC
wheee.
Comment 12 Mr. Bones. (RETIRED) gentoo-dev 2005-05-25 18:45:02 UTC

*** This bug has been marked as a duplicate of 93695 ***