Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52679 - new ebuild: wormux
Summary: new ebuild: wormux
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://www.wormux.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-01 05:12 UTC by Michael Prager
Modified: 2005-02-14 23:09 UTC (History)
10 users (show)

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


Attachments
wormux-0.2.3.ebuild (wormux-0.2.3.ebuild,1.08 KB, text/plain)
2004-06-01 05:13 UTC, Michael Prager
Details
0.2.3-checklib.patch (0.2.3-checklib.patch,1.26 KB, patch)
2004-06-01 05:15 UTC, Michael Prager
Details | Diff
ChangeLog (ChangeLog,374 bytes, text/plain)
2004-06-01 05:16 UTC, Michael Prager
Details
metadata.xml (metadata.xml,351 bytes, text/plain)
2004-06-01 05:16 UTC, Michael Prager
Details
Manifest (Manifest,302 bytes, text/plain)
2004-06-01 05:19 UTC, Michael Prager
Details
digest-wormux-0.2.3 (digest-wormux-0.2.3,66 bytes, text/plain)
2004-06-01 05:20 UTC, Michael Prager
Details
wormux-0.3.ebuild (wormux-0.3.ebuild,1.21 KB, text/plain)
2004-06-02 10:29 UTC, Michael Prager
Details
0.3-checklib-gentoo.patch (0.3-checklib-gentoo.patch,1.30 KB, patch)
2004-06-02 10:31 UTC, Michael Prager
Details | Diff
0.3-readdir.patch (0.3-readdir.patch,5.21 KB, patch)
2004-06-02 10:31 UTC, Michael Prager
Details | Diff
wormux-0.3.1.ebuild (wormux-0.3.1.ebuild,1.10 KB, text/plain)
2004-06-02 11:48 UTC, Michael Prager
Details
wormux-0.4.0.ebuild (wormux-0.4.0.ebuild,1003 bytes, text/plain)
2004-06-28 20:18 UTC, Michael Prager
Details
0.4-checklib-gentoo.patch (0.4-checklib-gentoo.patch,1.41 KB, patch)
2004-06-28 20:18 UTC, Michael Prager
Details | Diff
0.4-prefix.patch (0.4-prefix.patch,647 bytes, patch)
2004-06-28 20:19 UTC, Michael Prager
Details | Diff
wormux-0.4.0-r1.ebuild (wormux-0.4.0-r1.ebuild,806 bytes, text/plain)
2004-08-15 10:41 UTC, Michael Prager
Details
0.5_beta2-compile.patch (0.5_beta2-compile.patch,1.65 KB, patch)
2004-10-31 07:08 UTC, Michael Prager
Details | Diff
wormux-0.5_beta2.ebuild (wormux-0.5_beta2.ebuild,1.19 KB, text/plain)
2004-10-31 07:09 UTC, Michael Prager
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Prager 2004-06-01 05:12:25 UTC
Wormux is a free Worms clone currently under heavy development. Currently it's still completely in french though.

Please note that this is my first submitted ebuild. :-)
Comment 1 Michael Prager 2004-06-01 05:13:27 UTC
Created attachment 32440 [details]
wormux-0.2.3.ebuild
Comment 2 Michael Prager 2004-06-01 05:15:16 UTC
Created attachment 32442 [details, diff]
0.2.3-checklib.patch

this patch is required due to a bug in clanlib-0.6.5-r1 ebuild (#52509)
Comment 3 Michael Prager 2004-06-01 05:16:13 UTC
Created attachment 32443 [details]
ChangeLog
Comment 4 Michael Prager 2004-06-01 05:16:40 UTC
Created attachment 32444 [details]
metadata.xml
Comment 5 Michael Prager 2004-06-01 05:19:36 UTC
Created attachment 32445 [details]
Manifest
Comment 6 Michael Prager 2004-06-01 05:20:09 UTC
Created attachment 32446 [details]
digest-wormux-0.2.3
Comment 7 Jon Hood (RETIRED) gentoo-dev 2004-06-01 13:28:07 UTC
This looks like an interesting game; wormux-0.3 is now available though.

You don't have to attach all those extra files, just the ebuild and patches to it will suffice.
Comment 8 Michael Prager 2004-06-01 18:12:22 UTC
Already trying to get it working, but only get segfaults all over the place. Will have to wait till the developers got those sorted out.

oh and about all those files: ok will do better next time :)
Comment 9 Michael Prager 2004-06-02 10:29:47 UTC
Created attachment 32532 [details]
wormux-0.3.ebuild
Comment 10 Michael Prager 2004-06-02 10:31:07 UTC
Created attachment 32533 [details, diff]
0.3-checklib-gentoo.patch
Comment 11 Michael Prager 2004-06-02 10:31:51 UTC
Created attachment 32534 [details, diff]
0.3-readdir.patch

That's what caused the seg faults.
Comment 12 Michael Prager 2004-06-02 10:34:13 UTC
Comment on attachment 32532 [details]
wormux-0.3.ebuild

New version released.
Comment 13 Michael Prager 2004-06-02 11:48:29 UTC
Created attachment 32537 [details]
wormux-0.3.1.ebuild

Version bump
Comment 14 Jonas Bähr 2004-06-02 13:44:55 UTC
very nice, thx a lot (I was just going to write the same ebuild ;))
Only I'd add
RESTRICT="nomirror"
to skip the search for the file on all mirrors where it's not to find
Comment 15 Mr. Bones. (RETIRED) gentoo-dev 2004-06-02 14:07:16 UTC
no.  nomirror is for when we're not going to put it on our mirrors for whatever
reason.
Comment 16 Ghislain Bourgeois 2004-06-22 16:55:40 UTC
Hi, 

Thanks for the ebuild, I was going to write one, but was happy to find one in bugzilla!

I've tested the ebuild and it emerged perfectly. I also works correctly.

If a dev could commit it in the cvs, it could be tested by other people too... that's really a nice project!

Hysteric
Comment 17 Ghislain Bourgeois 2004-06-22 20:30:59 UTC
I made an ebuild for the cvs version that you can find in bug 54846.

Hysteric
Comment 18 Michael Prager 2004-06-28 20:18:07 UTC
Created attachment 34380 [details]
wormux-0.4.0.ebuild

Another version bump.

This version introduces localisation, new weapons, new levels, new avatars,
sound, wind and lots of bugfixes and improvements.
Comment 19 Michael Prager 2004-06-28 20:18:39 UTC
Created attachment 34381 [details, diff]
0.4-checklib-gentoo.patch
Comment 20 Michael Prager 2004-06-28 20:19:00 UTC
Created attachment 34382 [details, diff]
0.4-prefix.patch
Comment 21 Benjamin Michotte 2004-07-03 01:53:50 UTC
excellent game...

we need this ebuild in portage \o/
Comment 22 Roman Gaufman 2004-07-05 13:15:14 UTC
yes, its been a while since the ebuild was released, atleast add it to portage as masked.
Comment 23 Mr. Bones. (RETIRED) gentoo-dev 2004-07-05 13:26:37 UTC
That's not the way we do things.  We don't just stick just anything into portage.
If you need to have this game on a local install, you can easily add it to
your local overlay until the Gentoo games team processes this bug.  Thanks.
Comment 24 Sebastian Schlingmann 2004-07-13 02:32:15 UTC
I have a little problem with the ebuild.
I put it into my portage overlay and added the patches to the corresponding files dir. Compiling works flawlessly, but when linking starts I get lots of errors like this:

o Lie le tout dans ../wormux
aerienne.o(.text+0x376): In function `Wormux::Obus::Init()':
: undefined reference to `CL_Surface::load(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CL_ResourceManager*)'
aerienne.o(.text+0x3c7): In function `Wormux::Obus::Init()':
: undefined reference to `CL_Surface::load(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CL_ResourceManager*)'
aerienne.o(.text+0x923): In function `Wormux::Avion::Init()':
: undefined reference to `CL_Surface::load(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CL_ResourceManager*)'

I figured this has something to do with clanlib. I already tried to recompile clanlib. I am using 0.7.7.
Comment 25 Michael Prager 2004-07-13 05:37:24 UTC
That's odd, did you change anything in the ebuild? It shouldn't even compile with clanlib-0.7 because of this line:

DEPEND="=dev-games/clanlib-0.6.5*

Note that wormux only works with the old clanlib-0.6
Comment 26 SpanKY gentoo-dev 2004-07-15 21:22:01 UTC
aaaaaaand the clanlib stuff is kind of broken atm :x

maybe it's related to that ... maybe not ... Bug 44258
Comment 27 Michael Prager 2004-07-17 05:23:05 UTC
Wormux gets ported to clanlib-0.7 at the moment so we can expect the next version to run with 0.7. I thought that my clanlib patch would no longer be necessary but after having read bug 44258 I fear that for canlib-0.7 wormux will need a patch too.
Comment 28 Michael Prager 2004-08-15 10:41:20 UTC
Created attachment 37489 [details]
wormux-0.4.0-r1.ebuild

Since the clanlib-0.6.x ebuild has been fixed
(http://bugs.gentoo.org/show_bug.cgi?id=52509) 0.4-checklib-gentoo.patch is no
longer required.
Comment 29 Laurent Defert 2004-08-22 11:47:11 UTC
Is there anythingelse to do, to see wormux added to portages database?
Comment 30 Mark Derail 2004-10-30 12:24:24 UTC
Gentoo 2.6.7-r11 (2004.2) on x86 (P4-1.6Ghz)
Placed appropriate files in /usr/portage/games-action

davidgentoo /usr/portage/games-action # ls -al wormux*/*
-rw-r--r--  1 root root  374 Oct 30 13:42 wormux/ChangeLog
-rw-r--r--  1 root root  302 Oct 30 13:42 wormux/Manifest
-rw-r--r--  1 root root  351 Oct 30 13:42 wormux/metadata.xml
-rw-r--r--  1 root root  806 Oct 30 13:39 wormux/wormux-0.4.0-r1.ebuild

wormux/files:
total 16
dr-xr-xr-x  2 root root 4096 Oct 30 13:42 .
drwxr-xr-x  3 root root 4096 Oct 30 13:42 ..
-rw-r--r--  1 root root 1446 Oct 30 13:42 0.4-checklib-gentoo.patch
-rw-r--r--  1 root root  647 Oct 30 13:40 0.4-prefix.patch

davidgentoo /etc/make.profile # grep USE make*
#Experimental: trying to use these USE variables to build up from stage 2->3
#thus eliminating the inherent fragility of using USE for this
GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl ncurses"
# implications with core packages. For example, if "java" is in USE and db
USE="x86 oss apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg kde gnome libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl pam pdflib png python qt quicktime readline sdl slang spell ssl svga tcpd truetype X xml2 xmms xv zlib"

davidgentoo /usr/portage/games-action/wormux # emerge wormux
Calculating dependencies
!!! all ebuilds that could satisfy "wormux" have been masked.
!!! possible candidates are:
- games-action/wormux-0.4.0-r1 (masked by: ~keyword)

!!! Error calculating dependencies. Please correct.
davidgentoo /usr/portage/games-action/wormux # emerge search wormux
Searching...
[ Results for search key : wormux ]
[ Applications found : 1 ]

*  games-action/wormux [ Masked ]
      Latest version available: 0.4.0-r1
      Latest version installed: [ Not Installed ]
      Size of downloaded files:  [no/bad digest]
      Homepage:    http://www.haypocalc.com/wormux/en/index.php
      Description: free Worms clone
      License:     GPL-2

Comment 31 Michael Prager 2004-10-30 17:45:50 UTC
I marked the ebuild unstable, so you'll have to put the following into your /etc/portage/package.keywords file (create it if it does not exist yet):

games-action/wormux ~x86

Also keep in mind that you have to run "ebuild /usr/portage/games-action/wormux/wormux-0.4.0-r1.ebuild digest" to prevent a diggest error message on emerging this. For further questions about this please take a look at the gentoo documentation and the support forum.

BTW: I'm currently working on a new ebuild for wormux 0.5_beta2 - stay tuned ;-)
Comment 32 Michael Prager 2004-10-31 07:08:10 UTC
Created attachment 43008 [details, diff]
0.5_beta2-compile.patch

Patch to fix compiling issues for wormux 0.5 beta2
Comment 33 Michael Prager 2004-10-31 07:09:43 UTC
Created attachment 43009 [details]
wormux-0.5_beta2.ebuild

new ebuild for 0.5 beta2
Comment 34 Panard 2004-12-08 14:50:27 UTC
works well on ~amd64!! please add this keyword.

Excellent work!!!! I love it!!

Only one strange thing concerning the ebuild :

>>> Completed installing wormux-0.5_beta2 into /var/tmp/portage/wormux-0.5_beta2/image/

>>> Merging games-fps/wormux-0.5_beta2 to /
...
>>> /usr/share/games/wormux/Makefile.am
>>> /usr/share/games/wormux/Makefile.in
..

Thanks
Comment 35 Michael Prager 2004-12-09 04:38:27 UTC
That's a bug in Beta2, it will be fixed in the final release. Thx for the amd64 info, I'll add this to the next ebuild.
Comment 36 Christoph Brill (egore) (RESIGNED) 2004-12-14 12:05:57 UTC
Wormux 0.5 is out

https://gna.org/forum/forum.php?forum_id=504
Comment 37 Michael Prager 2004-12-14 12:24:46 UTC
I'm working on it, there are still some touble with the translation...
Comment 38 Christoph Brill (egore) (RESIGNED) 2004-12-14 13:11:49 UTC
I thought it was completely (UI and code) translated to english ... (which would be a giant leap towards portage)
Comment 39 Michael Prager 2004-12-14 13:49:14 UTC
wormux indeed uses english as primary language now, but it also comes with a lot of other translations which - right now still cause some touble.
Comment 40 SpanKY gentoo-dev 2004-12-16 14:33:44 UTC
0.5.0 now in portage
Comment 41 Michael Prager 2004-12-17 04:35:54 UTC
this ebuild works fine for amd64, please add ~amd64
Comment 42 Pietro Montorfano 2005-02-14 23:09:19 UTC
hi guys, the wormux ebuild does not compile if clanlib is compiled without the sdl useflag, so put a check in the ebuild, thanks!