Find attached an ebuild for W
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.
Created attachment 49392 [details] games-strategy/wormsofprey-0.2.ebuild (New Package)
Doesn't work for me out of the box. Seems to need a config file?
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.
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*
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.
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)
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.
poke this again on a later version.
Ebuild proposal for a later version (v0.3.1) at http://bugs.gentoo.org/show_bug.cgi?id=93695
wheee.
*** This bug has been marked as a duplicate of 93695 ***