Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 206287 - games-arcade/teeworlds (new ebuild)
Summary: games-arcade/teeworlds (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement with 4 votes (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: EBUILD
: 206279 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-17 05:42 UTC by Maxim A. Novoselov
Modified: 2010-03-29 12:41 UTC (History)
23 users (show)

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


Attachments
teewars-0.3.3.ebuild (New Package) and license (teewars.tar.gz,1.31 KB, application/octet-stream)
2008-01-17 05:46 UTC, Maxim A. Novoselov
Details
teewars-0.3.3.ebuild (New Package) (teewars-0.3.3.ebuild,1.74 KB, text/plain)
2008-01-17 15:57 UTC, Maxim A. Novoselov
Details
TEEWARS license (TEEWARS,1.02 KB, text/plain)
2008-01-17 16:01 UTC, Maxim A. Novoselov
Details
Added ~amd64 keyword (teewars-0.3.3.ebuild,1.75 KB, text/plain)
2008-01-17 21:27 UTC, Stratos Psomadakis (RETIRED)
Details
teewars-0.3.3.ebuild (New Package) Update (teewars-0.3.3.ebuild,1.88 KB, text/plain)
2008-01-19 16:03 UTC, Maxim A. Novoselov
Details
teewars-0.3.3.ebuild (New Package) (teewars-0.3.3.ebuild,1.89 KB, text/plain)
2008-01-22 07:28 UTC, Maxim A. Novoselov
Details
teewars-0.3.3.ebuild (teewars-0.3.3.ebuild,3.25 KB, text/plain)
2008-01-29 17:32 UTC, Piotr Szymaniak
Details
teewars-0.3.3.ebuild (teewars-0.3.3.ebuild,3.86 KB, text/plain)
2008-01-29 19:10 UTC, Piotr Szymaniak
Details
teewars-0.3.3.ebuild (teewars-0.3.3.ebuild,3.39 KB, text/plain)
2008-01-29 20:23 UTC, Piotr Szymaniak
Details
games-action/teewars-0.3.4.ebuild (teewars-0.3.4.ebuild,3.37 KB, text/plain)
2008-02-13 22:17 UTC, Piotr Szymaniak
Details
Unclean ebuild for 0.4.0 (teeworlds-0.4.0.ebuild,3.28 KB, text/plain)
2008-03-23 03:05 UTC, Marek Kubica
Details
teeworlds-0.4.0.ebuild (teeworlds-0.4.0.ebuild,3.28 KB, text/plain)
2008-03-23 08:26 UTC, Piotr Szymaniak
Details
teeworlds-0.4.0.ebuild (teeworlds-0.4.0.ebuild,3.37 KB, text/plain)
2008-03-23 08:47 UTC, Piotr Szymaniak
Details
ebuild for teeworlds 0.4.1 (teeworlds-0.4.1.ebuild,3.17 KB, text/plain)
2008-03-23 16:02 UTC, Marek Kubica
Details
teeworlds-0.4.2.ebuild (teeworlds-0.4.2.ebuild,3.17 KB, text/plain)
2008-05-23 18:53 UTC, RGK
Details
teeworlds-0.4.2.ebuild (teeworlds-0.4.2.ebuild,1.95 KB, text/plain)
2008-08-31 07:03 UTC, Mr. Bones. (RETIRED)
Details
teeworlds-0.4.3-bam.patch (teeworlds-0.4.3-bam.patch,6.78 KB, text/plain)
2008-10-29 17:33 UTC, Tomáš Chvátal (RETIRED)
Details
teeworlds-0.4.3.ebuild (teeworlds-0.4.3.ebuild,2.46 KB, text/plain)
2008-10-29 17:37 UTC, Tomáš Chvátal (RETIRED)
Details
teeworlds-0.4.3-bam.patch (teeworlds-0.4.3-bam.patch,6.61 KB, text/plain)
2008-11-07 12:47 UTC, Tomáš Chvátal (RETIRED)
Details
teeworlds-0.4.3.ebuild (teeworlds-0.4.3.ebuild,2.44 KB, text/plain)
2008-11-07 12:49 UTC, Tomáš Chvátal (RETIRED)
Details
patch bugreport (teeworlds-0.4.3-bam.patch-21276.out,13.86 KB, text/plain)
2008-11-15 13:07 UTC, Filippo Turato
Details
teeworlds-0.5.0.ebuild (teeworlds-0.5.0.ebuild,2.10 KB, text/plain)
2009-01-16 23:25 UTC, Piotr Szymaniak
Details
Ebuild for teeworlds-0.5.1 with datadir fix (teeworlds-0.5.1.ebuild,2.10 KB, text/plain)
2009-02-01 23:36 UTC, Bruno 'brubru' Tarquini
Details
diff between teeworlds-0.5.0.ebuild and teeworlds-0.5.1.ebuild (diff-teeworlds-0.5.1.ebuild,726 bytes, patch)
2009-02-01 23:38 UTC, Bruno 'brubru' Tarquini
Details | Diff
fix datadir search (fix_datadir_search.patch,1011 bytes, patch)
2009-02-01 23:40 UTC, Bruno 'brubru' Tarquini
Details | Diff
teeworlds-0.5.1-r2.ebuild (teeworlds-0.5.1-r2.ebuild,2.31 KB, text/plain)
2009-02-04 22:55 UTC, Piotr Szymaniak
Details
teeworlds-0.5.1-r3.ebuild (teeworlds-0.5.1-r3.ebuild,2.45 KB, text/plain)
2009-02-17 17:55 UTC, Sergey Zolen
Details
init script (teeworlds_init,1001 bytes, text/plain)
2009-02-17 17:55 UTC, Sergey Zolen
Details
teeworlds-0.5.1-r4.ebuild (teeworlds-0.5.1-r4.ebuild,2.44 KB, text/plain)
2009-03-12 07:40 UTC, Piotr Szymaniak
Details
Instagib 2.2 patch by Somerunce (instagib-2.2.patch,6.92 KB, patch)
2009-04-14 19:48 UTC, Sergey Zolen
Details | Diff
Ebuild with instagib use flag (teeworlds-0.5.1-r5.ebuild,2.52 KB, text/plain)
2009-04-14 19:52 UTC, Sergey Zolen
Details
teeworlds-0.5.2.ebuild (teeworlds-0.5.2.ebuild,2.52 KB, text/plain)
2009-11-21 17:26 UTC, David Voge
Details
Changed icon extension to .png; gnome can not display .ico icons in menu (teeworlds-0.5.2.ebuild,2.53 KB, text/plain)
2009-12-26 22:27 UTC, Domen Kožar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim A. Novoselov 2008-01-17 05:42:37 UTC
Hi!

Please find attached teewars.tar.gz containing teewars-0.3.3.ebuild and a
TEEWARS license file and add it to repository.

Teewars is a multiplayer 2D shooter (Soldat.pl like developed by cool MacOS man). It is a very cool games/arcade app. You can see website http://www.teewars.com for additional info.

nozx
Comment 1 Maxim A. Novoselov 2008-01-17 05:46:08 UTC
Created attachment 141098 [details]
teewars-0.3.3.ebuild (New Package) and license
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-01-17 08:25:38 UTC
*** Bug 206279 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-01-17 08:26:24 UTC
Comment on attachment 141098 [details]
teewars-0.3.3.ebuild (New Package) and license

*Please* don't attach tarballs.

http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3#doc_chap2
Comment 4 Maxim A. Novoselov 2008-01-17 15:57:37 UTC
Created attachment 141149 [details]
teewars-0.3.3.ebuild (New Package)
Comment 5 Maxim A. Novoselov 2008-01-17 16:01:32 UTC
Created attachment 141150 [details]
TEEWARS license
Comment 6 Stratos Psomadakis (RETIRED) gentoo-dev 2008-01-17 21:27:30 UTC
Created attachment 141185 [details]
Added ~amd64 keyword

added ~amd64 keyword since it compiles and runs under amd64 too...

the ebuild is working fine...
thx...
Comment 7 Tristan Heaven (RETIRED) gentoo-dev 2008-01-19 10:40:39 UTC
Needs the header from /usr/portage/header.txt
DEPEND on app-arch/unzip
'server_only' flag should probably be changed to 'dedicated'
Comment 8 Maxim A. Novoselov 2008-01-19 16:03:29 UTC
Created attachment 141303 [details]
teewars-0.3.3.ebuild (New Package) Update

- Added ~amd64 keyword
- Added the header from /usr/portage/header.txt
- Added app-arch/unzip DEPEND
- 'server_only' flag changed to 'dedicated'
Comment 9 Albert Zeyer 2008-01-21 00:09:43 UTC
Shouldn't it be dedicated_only instead of dedicated? With dedicated disabled, you still have the dedicated server included. I assume that with dedicated enabled, you only have the dedicated server.

The game itself compiles and runs fine here. (x86)
Comment 10 Maxim A. Novoselov 2008-01-22 05:40:35 UTC
Right. Need to rename 'dedicated' use flag to 'dedicated_only'.

I have some questions:
1. How to post modified ebuild? Every time as new attachment?
2. Who and when will post this ebuild to portage?

sry my english
Comment 11 Albert Zeyer 2008-01-22 06:26:52 UTC
Yes, just a new attachment. And remember to set the old ebuild as obsolete (currently you haven't done that).

The ebuild will be in portage when there are enough success reports here (that means that the ebuild itself works good for the defined architectures) and if the game itself also is in an useable state.

Comment 12 Maxim A. Novoselov 2008-01-22 07:28:41 UTC
Created attachment 141558 [details]
teewars-0.3.3.ebuild (New Package)
Comment 13 Piotr Szymaniak 2008-01-29 17:32:28 UTC
Created attachment 142136 [details]
teewars-0.3.3.ebuild

Options to install:
- only server
- server & client
- only client

From source. (;
Comment 14 Piotr Szymaniak 2008-01-29 19:10:29 UTC
Created attachment 142142 [details]
teewars-0.3.3.ebuild

@Maxim
I did some "diff" and barrowed Your sed from src_unpack. Also removed one optimisation that is in bam by default.
Here's my ChangeLog for this package (from roslin overlay):
http://roslin.kicks-ass.net/download/gentoo/overlay/games-action/teewars/ChangeLog

Also I made an ebuild for the binary version... but who cares about that? (;
Comment 15 Mr. Bones. (RETIRED) gentoo-dev 2008-01-29 19:22:04 UTC
Comments:

needs to inherit eutils

serveronly should be replaced by the dedicated use flags - that's what it's for.

remove the quoting on the variable assignments before pkg_setup - they're not needed

needs quoting on the use of SB and S in src_unpack

error checking on the mv commands in src_unpack

needs to call games_pkg_setup in pkg_setup

ditch the commented code in src_install

needs to call games_pkg_postinst in pkg_postinst

needs error checking on the dogamesbin calls
Comment 16 Piotr Szymaniak 2008-01-29 20:23:58 UTC
Created attachment 142146 [details]
teewars-0.3.3.ebuild

With suggested changes from Mr. Bones. (:
Comment 17 Piotr Szymaniak 2008-01-29 20:26:47 UTC
Ooops, forgot to fix depends... It's just
-RDEPEND="!serveronly? (
+RDEPEND="!dedicated? (
Comment 18 Albert Zeyer 2008-01-30 20:28:22 UTC
again: dedicated-only would be better.
Comment 19 Mr. Bones. (RETIRED) gentoo-dev 2008-01-30 21:17:10 UTC
No.  You're missing the entire point of the "dedicated" use flag.  It already means "dedicated only".  Otherwise we generally install the server *and* the client.
Comment 20 Albert Zeyer 2008-01-30 22:09:29 UTC
Are you serious? That is completly inconsistent over USE-flags which normally includes support and never exclude something (exept in the case where the USE-flag clearly says that it disables something). This should be changed/fixed if it really is like you say. A normal user always expect from a USE-flag that it includes something (like a sound-USE-flag wouldn't disable graphic-support).

Also, in the description is written:
dedicated - Adds support for dedicated game servers

With the addition:
(some packages do not provide clients and servers at the same time)

I would understand from that that for these "some packages" it means that with dedicated disabled, one would get the client only and with dedicated activated, one would get the server only. This is also not a good solution (though I don't know any package where it is like that).

Also I checked out the Quake3 ebuild as a comparison. It's exactly like I would expect it: dedicated disabled disabled dedicated support, dedicated enabled enables it = dedicated disabled means client only, dedicated enabled means client + dedicated server

Finally, there are already some other USE-flags ending with "..only" which also do what I would expect and which really fits better for a flag which disables some other things and enables *only* the stated feature.
Comment 21 Pierre Guinoiseau 2008-02-02 17:32:12 UTC
Ebuild from Piotr works fine for me :)
Comment 22 Kyle Hunter 2008-02-13 22:14:58 UTC
0.3.4 is out.
Comment 23 Piotr Szymaniak 2008-02-13 22:17:59 UTC
Created attachment 143454 [details]
games-action/teewars-0.3.4.ebuild

Ooops, sorry. New ebuild was ready minutes after the release. (:
Comment 24 Piotr Szymaniak 2008-02-13 23:13:28 UTC
If someone is interested, there's an ebuild in roslin overlay for the svn version mentioned here: http://www.teewars.com/forum/viewtopic.php?id=569
Comment 25 Marek Kubica 2008-02-17 21:21:51 UTC
I compiled 0.3.4 on amd64 (running amd64, unmasked this specific package) and it runs fine. The game is great, would be cool to have it in the portage tree.
Comment 26 Albert Zeyer 2008-02-21 15:25:25 UTC
Please change the behaviour of the dedicated-use-flag or use another use-flag here (like dedicated-only).

At the moment the dedicated-use-flag behaviour is different than every other normal game and different from what a user would expect.
Comment 27 Dmitriy Bogun 2008-03-21 18:04:58 UTC
I have installed it on x86 platform just now. Everything is fine. Will glad to see it in portage tree.
Comment 28 Marek Kubica 2008-03-23 03:05:50 UTC
Created attachment 146976 [details]
Unclean ebuild for 0.4.0

Preliniary ebuild for teeworlds-0.4.0 (as it is called now). Adapted from teewars-0.3.4.ebuild now does search source files. Is not tested very much, I just tried to compile it. The mod is probably broken and the other complaints aren't addressed yet, probably there are a few new dependencies.

So, well - it works but needs some cleanup before going into the tree.
Comment 29 Piotr Szymaniak 2008-03-23 08:26:16 UTC
Created attachment 146988 [details]
teeworlds-0.4.0.ebuild

Teeworlds can now use OSS for audio, but that's not supported in the ebuild - initial support is added, but commented. If anyone wants to test this support - feel free, and notice here about this.

Package is new, you can find some new issues with it. It builds and runs fine on my two Gentoo x86 boxes. Also, I removed racemod support.
Comment 30 Piotr Szymaniak 2008-03-23 08:47:51 UTC
Created attachment 146989 [details]
teeworlds-0.4.0.ebuild

For every optimisation fan(atic) - this ebuild passes CXX and LDFLAGS to make_unix.sh. (;
Comment 31 Marek Kubica 2008-03-23 13:17:04 UTC
Could you add that

to_patch=$(grep -Rl '"data\/' *)

from my 0.4.0 ebuild? This should be able to catch all occurrences of ``"data/`` so this ebuild is more likely to work with future versions? And your ebuild (and mine) does create "Teewars" entries in the menu. Renaming that and adding a nice icon would be cool.

Teeworlds brings along it's own copy of zlib - I'm not sure it wouldn't be better to use the system zlib. It also seems to depend on X11, GL and GLU (as well als asound for ALSA).
Comment 32 Marek Kubica 2008-03-23 16:02:31 UTC
Created attachment 147018 [details]
ebuild for teeworlds 0.4.1

A new ebuild for 0.4.1 based on Piotrs (thanks!) with automatic data/-patching and fixed names of menu items.
Comment 33 Piotr Szymaniak 2008-03-23 18:03:45 UTC
This part of bam magic can be removed now, good job Marek. (:

*snip*
	# fix bam default optimisation
	cd "${SB}"
#	sed -i \
#		-e "s|-O2|${CXXFLAGS}|" \
#		-e "s|s.linker.flags = \"\"|s.linker.flags = \"${LDFLAGS}\"|" \
#		src/base.bam || die "sed base.bam failed"
*snip*
Comment 34 Denis Pesotsky 2008-03-27 08:54:42 UTC
Someone please rename bug name. Should be "games-arcade/teeworlds (new ebuild)"
Comment 35 Priit Laes (IRC: plaes) 2008-03-30 10:21:35 UTC
Hmm.. I'm having problems with 0.4.1 :(
With following CFLAGS:
CFLAGS="-march=native -ggdb -O2 -pipe"

I get:

>>> Emerging (1 of 1) games-arcade/teeworlds-0.4.1 to /
 * teeworlds-0.4.1-src.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                   [ ok ]
 * bam.zip RMD160 SHA1 SHA256 size ;-) ...                                                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                                            [ ok ]
 * checking auxfile checksums ;-) ...                                                                                           [ ok ]
 * checking miscfile checksums ;-) ...                                                                                          [ ok ]
 * checking teeworlds-0.4.1-src.tar.gz ;-) ...                                                                                  [ ok ]
 * checking bam.zip ;-) ...                                                                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking teeworlds-0.4.1-src.tar.gz to /var/tmp/portage/games-arcade/teeworlds-0.4.1/work
>>> Unpacking bam.zip to /var/tmp/portage/games-arcade/teeworlds-0.4.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/games-arcade/teeworlds-0.4.1/work/teeworlds-0.4.1-src ...
src/lua/src/lapi.c:1: error: bad value (native) for -march= switch
src/lua/src/lcode.c:1: error: bad value (native) for -march= switch
src/lua/src/ldebug.c:1: error: bad value (native) for -march= switch
src/lua/src/ldo.c:1: error: bad value (native) for -march= switch
src/lua/src/ldump.c:1: error: bad value (native) for -march= switch
src/lua/src/lfunc.c:1: error: bad value (native) for -march= switch
....

And cannot it use system Lua?
Comment 36 Priit Laes (IRC: plaes) 2008-03-30 10:29:49 UTC
OK, managed to solve the -march problem by just removing it from CFLAGS.

There are also other problems:

It seems to compile its own zlib, portaudio, glfw, wavpack and pnglite (last one not in portage, though).
Comment 37 Piotr Szymaniak 2008-04-05 16:12:38 UTC
0.4.2 available, 0.4.1 after name change should do the trick. (:
Comment 38 RGK 2008-05-23 18:53:02 UTC
Created attachment 154085 [details]
teeworlds-0.4.2.ebuild

The teeworlds ebuild worked great for me.
I just updated the version and description.
Comment 39 Pascal Lim 2008-06-17 06:09:10 UTC
I'm on x86_64 and it's lagging bad.  Cursor movements skippy.  There's no reason why it should be that slow because the windows version goes really fine on same pc.  Anyone else experiencing that?
Comment 40 Marek Kubica 2008-06-17 08:17:21 UTC
(In reply to comment #39)
> I'm on x86_64 and it's lagging bad.  Cursor movements skippy.  There's no
> reason why it should be that slow because the windows version goes really fine
> on same pc.  Anyone else experiencing that?

I was on x86_64 too and it was lagging bad after kernel updates when I forgot to recompile the fglrx graphics driver. Are you sure you have a driver which allows hardware acceleration?
Comment 41 Pascal Lim 2008-06-17 20:08:55 UTC
(In reply to comment #40)
> 
> I was on x86_64 too and it was lagging bad after kernel updates when I forgot
> to recompile the fglrx graphics driver. Are you sure you have a driver which
> allows hardware acceleration?
> 

Awww, it was just that! *sigh
Now it work fine, no issues at all on AMD64 (gcc4.3.1 -march="amdfam10 -02 -pipe")
Comment 42 Pascal Lim 2008-06-20 06:11:21 UTC
Is it worth mentioning that there's no icon for teeworlds in the menu entry? 
Comment 43 Marek Kubica 2008-06-20 08:59:57 UTC
(In reply to comment #42)
> Is it worth mentioning that there's no icon for teeworlds in the menu entry? 

I have tried adding an icon in my ebuild before, but failed. No idea why it did not work; maybe I was using the wrong commands.
Comment 44 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2008-08-04 11:12:46 UTC
IMO 'server' & 'dedicated' shouldn't be exclusive. '+dedicated -server' looks rather strange… I think it'd be better to ignore 'server' when 'dedicated' is set.
Comment 45 Mr. Bones. (RETIRED) gentoo-dev 2008-08-29 17:13:28 UTC
There are a number of bundled libraries included in the build process.  The source needs to be patched to use the system libraries before going into portage.
Looks like it builds its own copy of lua as well.
Comment 46 Mr. Bones. (RETIRED) gentoo-dev 2008-08-31 07:03:07 UTC
Created attachment 164157 [details]
teeworlds-0.4.2.ebuild
Comment 47 Luke-Jr 2008-09-11 23:10:39 UTC
Note the license file attached here is not current. The new one appears to be free.
Comment 48 Cristi Magherusan 2008-09-16 14:46:25 UTC
Hello,

I bumped the version of the mr_bones' ebuild to 0.4.3 and added it to my layman oss-overlay (yeah, maybe we should rename it since it's not OSS-centric). The only thing you have to do is to add it to layman and run emerge.

Cristi
Comment 49 Tomáš Chvátal (RETIRED) gentoo-dev 2008-10-29 17:33:05 UTC
Created attachment 170238 [details]
teeworlds-0.4.3-bam.patch

Patch making teeworlds obey system libraries instead of bundle ones.
Comment 50 Tomáš Chvátal (RETIRED) gentoo-dev 2008-10-29 17:37:18 UTC
Created attachment 170240 [details]
teeworlds-0.4.3.ebuild

Ebuild using patched file and links to system libs. Thisebuild is ancestor for mr_bones one.

Note: bam is hard dep on lua 5.0 i tried to port it for 5.1 but i dont like its code too much and i lost in it so for now is bam using its own bundled lua. I would not see a big problem in it since we use bam only to create install enviroment for teeworld and dont put it in the tree.

Note2: if anyone could contact maintainer about this patch and ask him if he could be that kind and at least parts of it include to his build system/sources it would be great.
Comment 51 Tomáš Chvátal (RETIRED) gentoo-dev 2008-10-29 17:53:39 UTC
Why I allways mix up ancestor and sucessor.
"This ebuild is sucessor" should i wrote.
Comment 52 Nikolaj Šujskij 2008-11-07 09:18:25 UTC
> Created an attachment (id=170240) [edit]
> teeworlds-0.4.3.ebuild
> Ebuild using patched file and links to system libs. Thisebuild is ancestor for
> mr_bones one.

 Build fails for me, both on x86 and amd64 archs. 0.4.3 from renamed 0.4.2 ebuild builds and runs OK, so I treat your ebuild as 0.4.3-r1

Here's build.log tail:
>---------------------------------<
gcc -march=native -O2 -pipe -fomit-frame-pointer -O2 -c /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c -o /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/objs/ec_snd.o -I/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src -I/usr/include 
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:235: error: expected ';', ',' or ')' before '*' token
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c: In function 'snd_init':
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:245: error: 'PaStreamParameters' undeclared (first use in this function)
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:245: error: (Each undeclared identifier is reported only once
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:245: error: for each function it appears in.)
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:245: error: expected ';' before 'params'
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:267: error: 'params' undeclared (first use in this function)
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:275: error: 'PaDeviceInfo' has no member named 'defaultLowOutputLatency'
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:285: error: 'pacallback' undeclared (first use in this function)
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:286: warning: passing argument 5 of 'Pa_OpenStream' makes pointer from integer without a cast
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:286: error: too few arguments to function 'Pa_OpenStream'
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c: In function 'snd_load_wv':
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:409: warning: passing argument 1 of 'WavpackOpenFileInput' from incompatible pointer type
bam: compile_c returned error number 256
bam: error during build
 * 
 * ERROR: games-arcade/teeworlds-0.4.3-r1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2341:  Called die
 * The specific snippet of code:
 * ../bam/src/bam -v release || die "bam failed";
 * The die message:
 * bam failed
>---------------------------------<

# emerge --info
Portage 2.2_rc13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.7-r2, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-glibc2.2.5
Timestamp of tree: Fri, 07 Nov 2008 04:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles/ ftp://ftp.corbina.net/pub/Linux/gentoo ftp://trumpetti.atm.tut.fi/gentoo/"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru sv"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://192.168.25.112/gentoo-portage"
USE="3dnow X acl alsa amd64 bindist bzip2 cdaudio cli cracklib cups dbus dri fastcgi flac fortran gdbm gif glitz gphoto2 gpm hal iconv imap imlib ipv6 isdnlog jpeg mad midi mmx mng mp3 mudflap multilib musicbrainz ncurses nls nptl nptlonly ogg openexr opengl openmp pam pcre pdf png pop postgres pppd python qt qt3support qt4 readline reflection session smtp spl sqlite3 sse sse2 ssl subversion svg sysfs tcpd tiff truetype unicode vorbis xft xinerama xorg xscreensaver zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru sv" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
>---------------------------------<
Would be glad to help (-:E
Comment 53 Tomáš Chvátal (RETIRED) gentoo-dev 2008-11-07 12:37:07 UTC
(In reply to comment #52)
> > Created an attachment (id=170240) [edit]
> > teeworlds-0.4.3.ebuild
> > Ebuild using patched file and links to system libs. Thisebuild is ancestor for
> > mr_bones one.
> 
>  Build fails for me, both on x86 and amd64 archs. 0.4.3 from renamed 0.4.2
> ebuild builds and runs OK, so I treat your ebuild as 0.4.3-r1
> 
> Here's build.log tail:
> >---------------------------------<
> gcc -march=native -O2 -pipe -fomit-frame-pointer -O2 -c
> /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c
> -o
> /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/objs/ec_snd.o
> -I/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src
> -I/usr/include 
> /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:235:
> error: expected ';', ',' or ')' before '*' token
> /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:
> In function 'snd_init':
> /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:245:
> error: 'PaStreamParameters' undeclared (first use in this function)
> /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:245:
> error: (Each undeclared identifier is reported only once
> /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:245:
> error: for each function it appears in.)
> /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:245:
> error: expected ';' before 'params'
> /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:267:
> error: 'params' undeclared (first use in this function)
> /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:275:
> error: 'PaDeviceInfo' has no member named 'defaultLowOutputLatency'
> /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:285:
> error: 'pacallback' undeclared (first use in this function)
> /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:286:
> warning: passing argument 5 of 'Pa_OpenStream' makes pointer from integer
> without a cast
> /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:286:
> error: too few arguments to function 'Pa_OpenStream'
> /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:
> In function 'snd_load_wv':
> /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_snd.c:409:
> warning: passing argument 1 of 'WavpackOpenFileInput' from incompatible pointer
> type
> bam: compile_c returned error number 256
> bam: error during build
>  * 
>  * ERROR: games-arcade/teeworlds-0.4.3-r1 failed.
>  * Call stack:
>  * ebuild.sh, line   49:  Called src_compile
>  * environment, line 2341:  Called die
>  * The specific snippet of code:
>  * ../bam/src/bam -v release || die "bam failed";
>  * The die message:
>  * bam failed

It seem sthat it is old portaudio "old" i mean stable we have in gentoo so it si 18.1

I am currently modifying ebuild so it works with sound, i missed that one so i will post here something wich wont depend on portaudio.
Comment 54 Tomáš Chvátal (RETIRED) gentoo-dev 2008-11-07 12:47:44 UTC
Created attachment 170982 [details]
teeworlds-0.4.3-bam.patch

Updated patch a bit.
Now sound works.
Comment 55 Tomáš Chvátal (RETIRED) gentoo-dev 2008-11-07 12:49:49 UTC
Created attachment 170983 [details]
teeworlds-0.4.3.ebuild

Cleaned deps. Use internal wavpack :(
Comment 56 Nikolaj Šujskij 2008-11-11 07:49:03 UTC
> Cleaned deps. Use internal wavpack :(

 Still fails to be build, but with other message now
________________________________________
 ...
gcc -march=native -O2 -pipe -fomit-frame-pointer -O2 -c /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_gfx.c -o /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/objs/ec_gfx.o -I/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src -I/usr/include 
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_gfx.c: В функции ‘gfx_init’:
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_gfx.c:154: ошибка: ‘GLFW_FSAA_SAMPLES’ не описан (первое использование в этой функции)
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_gfx.c:154: ошибка: (Сообщение о неописанном идентификаторе выдается один раз
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_gfx.c:154: ошибка: для каждой функции, в которой он используется.)
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_gfx.c:162: ошибка: ‘GLFW_WINDOW_NO_RESIZE’ не описан (первое использование в этой функции)
bam: compile_c returned error number 256
bam: error during build
 * 
 * ERROR: games-arcade/teeworlds-0.4.3-r1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2342:  Called die
 * The specific snippet of code:
 * ../bam/src/bam -v release || die "bam failed";
 * The die message:
 * bam failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'
____________________________________

 Again, ready to provide any help you need (and I'm capable of) (-:E
Comment 57 Tomáš Chvátal (RETIRED) gentoo-dev 2008-11-11 09:00:11 UTC
Hum, problem is i am too lazy to translate russian debug messages. So please make the output in english. :]
Comment 58 Nikolaj Šujskij 2008-11-11 15:37:52 UTC
(In reply to comment #57)
> Hum, problem is i am too lazy to translate russian debug messages. So please
> make the output in english. :]
> 

$&*^#! Sorry, this time I've forgot about LC_ALL (-:E
I could post full build log and ebuild environment (those provided by Portage) to some kind of pastebin or smth, if you need
_____________
gcc -march=native -O2 -pipe -fomit-frame-pointer -O2 -c /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_gfx.c -o /var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/objs/ec_gfx.o -I/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src -I/usr/include 
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_gfx.c: In function 'gfx_init':
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_gfx.c:154: error: 'GLFW_FSAA_SAMPLES' undeclared (first use in this function)
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_gfx.c:154: error: (Each undeclared identifier is reported only once
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_gfx.c:154: error: for each function it appears in.)
/var/tmp/portage/games-arcade/teeworlds-0.4.3-r1/work/teeworlds-0.4.3-src/src/engine/client/ec_gfx.c:162: error: 'GLFW_WINDOW_NO_RESIZE' undeclared (first use in this function)
bam: compile_c returned error number 256
bam: error during build
 * 
 * ERROR: games-arcade/teeworlds-0.4.3-r1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2341:  Called die
 * The specific snippet of code:
 * ../bam/src/bam -v release || die "bam failed";
 * The die message:
 * bam failed
_____________
Comment 59 Tomáš Chvátal (RETIRED) gentoo-dev 2008-11-12 12:02:18 UTC
Ok ok, maybe deps needs more updating... Please try to update glfw to 2.6 version.
Comment 60 Nikolaj Šujskij 2008-11-13 10:43:50 UTC
(In reply to comment #59)
> Ok ok, maybe deps needs more updating... Please try to update glfw to 2.6
> version.
 Yep, compiles and works fine now. And with sound (-:E
Thank you!
Comment 61 Filippo Turato 2008-11-15 13:04:16 UTC
A problem occour...

>>> Unpacking source...
>>> Unpacking teeworlds-0.4.3-src.tar.gz to /var/tmp/portage/games-arcade/teeworlds-0.4.3/work
>>> Unpacking bam.zip to /var/tmp/portage/games-arcade/teeworlds-0.4.3/work
 * Applying teeworlds-0.4.3-bam.patch ...

 * Failed Patch: teeworlds-0.4.3-bam.patch !
 *  ( /usr/local/portage/games-arcade/teeworlds/files/teeworlds-0.4.3-bam.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/games-arcade/teeworlds-0.4.3/temp/teeworlds-0.4.3-bam.patch-20771.out

 *
 * ERROR: games-arcade/teeworlds-0.4.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2400:  Called epatch 'src_unpack'
 *             environment, line 1188:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: teeworlds-0.4.3-bam.patch!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-arcade/teeworlds-0.4.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-arcade/teeworlds-0.4.3/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'

Here my emerge --info
Portage 2.1.4.5 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-tuxonice-r6 x86_64)
=================================================================
System uname: 2.6.25-tuxonice-r6 x86_64 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
Timestamp of tree: Fri, 14 Nov 2008 21:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/home/portage/distfiles/"
FEATURES="ccache distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.unina.it/pub/linux/distributions/gentoo"
LINGUAS="it"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 amr ao apache2 arts aspell audacious audiofile bash-completion berkdb bluetooth bzip2 cairo cdda cddb cdinstall cdio cdparanoia cdr cli cracklib crypt cscope cups curl curlwrappers cxx db2 dbus dbx dell dga directfb djvu dri dts dv dvb dvd dvdr dvdread dvi eds emacs emboss encode esd exif expat fam festival ffmpeg firefox flac flash fortran ftp gdbm gif gimp glut gmp gphoto2 gpm grub gstreamer gtk hal iconv icq imagemagick imap imlib ipv6 jabber jack java javascript joystick jpeg jpeg2k kde kerberos lame laptop lcms ldap libedit libnotify libsamplerate libwww lm_sensors mad matroska md5sum midi mikmod mime mmx mng mozilla mp3 mpeg mplayer msn mudflap musepack musicbrainz mysql ncurses netboot netcdf nls nntp nocd nptl nptlonly nsplugin odbc ogg openal opengl openmp oss pae pam pcmcia pcre pdf perl plotutils png portaudio posix ppds pppd python qt3 qt3support qt4 quicktime raw readline reflection ruby samba sasl scanner sdl seamonkey session smp sndfile spell spl srt sse sse2 ssl ssse3 startup-notification svg symlink sysvipc tcl tcpd tetex theora threads tiff tk tokenizer truetype unicode usb v4l v4l2 vcd vhosts videos vorbis wddx wifi wxwindows x264 xine xinetd xml xorg xosd xpm xv xvid zlib zoran" ALSA_CARDS="hda-intel atiixp atiixp-modem" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="i810 vesa vga fbdev v4l i915 intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 62 Filippo Turato 2008-11-15 13:07:54 UTC
Created attachment 171804 [details]
patch bugreport

patch outfile
Comment 63 Filippo Turato 2008-11-15 13:09:32 UTC
A problem occour...

>>> Unpacking source...
>>> Unpacking teeworlds-0.4.3-src.tar.gz to /var/tmp/portage/games-arcade/teeworlds-0.4.3/work
>>> Unpacking bam.zip to /var/tmp/portage/games-arcade/teeworlds-0.4.3/work
 * Applying teeworlds-0.4.3-bam.patch ...

 * Failed Patch: teeworlds-0.4.3-bam.patch !
 *  ( /usr/local/portage/games-arcade/teeworlds/files/teeworlds-0.4.3-bam.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/games-arcade/teeworlds-0.4.3/temp/teeworlds-0.4.3-bam.patch-20771.out

 *
 * ERROR: games-arcade/teeworlds-0.4.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2400:  Called epatch 'src_unpack'
 *             environment, line 1188:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: teeworlds-0.4.3-bam.patch!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-arcade/teeworlds-0.4.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-arcade/teeworlds-0.4.3/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'

Here my emerge --info
Portage 2.1.4.5 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-tuxonice-r6 x86_64)
=================================================================
System uname: 2.6.25-tuxonice-r6 x86_64 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
Timestamp of tree: Fri, 14 Nov 2008 21:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/home/portage/distfiles/"
FEATURES="ccache distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.unina.it/pub/linux/distributions/gentoo"
LINGUAS="it"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 amr ao apache2 arts aspell audacious audiofile bash-completion berkdb bluetooth bzip2 cairo cdda cddb cdinstall cdio cdparanoia cdr cli cracklib crypt cscope cups curl curlwrappers cxx db2 dbus dbx dell dga directfb djvu dri dts dv dvb dvd dvdr dvdread dvi eds emacs emboss encode esd exif expat fam festival ffmpeg firefox flac flash fortran ftp gdbm gif gimp glut gmp gphoto2 gpm grub gstreamer gtk hal iconv icq imagemagick imap imlib ipv6 jabber jack java javascript joystick jpeg jpeg2k kde kerberos lame laptop lcms ldap libedit libnotify libsamplerate libwww lm_sensors mad matroska md5sum midi mikmod mime mmx mng mozilla mp3 mpeg mplayer msn mudflap musepack musicbrainz mysql ncurses netboot netcdf nls nntp nocd nptl nptlonly nsplugin odbc ogg openal opengl openmp oss pae pam pcmcia pcre pdf perl plotutils png portaudio posix ppds pppd python qt3 qt3support qt4 quicktime raw readline reflection ruby samba sasl scanner sdl seamonkey session smp sndfile spell spl srt sse sse2 ssl ssse3 startup-notification svg symlink sysvipc tcl tcpd tetex theora threads tiff tk tokenizer truetype unicode usb v4l v4l2 vcd vhosts videos vorbis wddx wifi wxwindows x264 xine xinetd xml xorg xosd xpm xv xvid zlib zoran" ALSA_CARDS="hda-intel atiixp atiixp-modem" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="i810 vesa vga fbdev v4l i915 intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 64 Stephen Bridges 2008-12-29 22:51:00 UTC
The 0.4.3 build compiles for me running ~amd64.  The sound was a bit gargly during playback but I've noticed that on the binary builds occasionally, so could be my system.
Comment 65 Anton Romanov 2009-01-14 06:53:47 UTC
Teeworlds 0.5.0 released
Comment 66 Piotr Szymaniak 2009-01-16 23:25:13 UTC
Created attachment 178738 [details]
teeworlds-0.5.0.ebuild

Version bump. I know it's ugly, but it seems to work now and it is a *musthave* for every Teeworlds fan out there. (;
Comment 67 Nikolaj Šujskij 2009-01-22 14:34:24 UTC
(In reply to comment #66)

Thanks for ebuild, but @amd64 TW beeps annoyingly and segfaults after connecting to server

[49787ce6][chat]: *** krigstask entered and joined the game
*** stack smashing detected ***: ./teeworlds terminated
zsh: segmentation fault  teeworlds

But works fine as a server (amd64 too)
Seems like an upstream bug to me.

> Created an attachment (id=178738) [edit]
> teeworlds-0.5.0.ebuild
> 
> Version bump. I know it's ugly, but it seems to work now and it is a *musthave*
> for every Teeworlds fan out there. (;
Comment 68 Piotr Szymaniak 2009-01-22 14:51:10 UTC
(In reply to comment #67)
> Thanks for ebuild, but @amd64 TW beeps annoyingly and segfaults after
> connecting to server

You can check binary from the homepage to confirm this?
Comment 69 Nikolaj Šujskij 2009-01-24 22:24:27 UTC
> You can check binary from the homepage to confirm this?

 Still didn't try official binary on that very box, but on home one Teeworlds 0.5.0 installed with this ebuild works perfectly fine. So it's probably my local problem, sorry for panicking, I'll dig in myself further.
Comment 70 Nikolaj Šujskij 2009-01-26 12:59:41 UTC
> You can check binary from the homepage to confirm this?
 
The same thing with official binary build. Definitely something with my system, not sure what about though.

Meanwhile 0.5.1 released, simple version bump worked.
Comment 71 Piotr Szymaniak 2009-01-26 22:47:33 UTC
(In reply to comment #70)
> Meanwhile 0.5.1 released, simple version bump worked.

Yeah, looks like you can change 0.5.0 ebuild to 0.5.1, digest and it should work.

If anyone can fix the datadir issue feel free to help. ;)
Comment 72 Bruno 'brubru' Tarquini 2009-02-01 23:36:17 UTC
Created attachment 180627 [details]
Ebuild for teeworlds-0.5.1 with datadir fix

Ebuild for 0.5.1 bump, with:

- datadir search fixed (patch below)
- wrapper removed and binaries move forme /usr/share/games to /usr/games/bin (no more binaries in /usr/share)

For icon issue in .desktop file, teeworlds only provide a .ico file and freedesktop only accept png, svg and xpm. Maybe some desktop support .ico
Comment 73 Bruno 'brubru' Tarquini 2009-02-01 23:38:04 UTC
Created attachment 180629 [details, diff]
diff between teeworlds-0.5.0.ebuild and teeworlds-0.5.1.ebuild
Comment 74 Bruno 'brubru' Tarquini 2009-02-01 23:40:29 UTC
Created attachment 180630 [details, diff]
fix datadir search

fix the test for datadir locations, add gentoo's policies (/usr/share/games/...) to the list and carefuly test PWD for datadir
Comment 75 Mikhail 2009-02-04 15:41:32 UTC
Hi!
I'm installed teeworlds 0.5.1 without errors.
But when I run teeworlds Application->Games->teeworlds(without icon), I see only ligtly screen. My Gentoo is amd64 version.
$ emerge --info
Portage 2.1.6.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-x86_64-Mobile_AMD_Athlon-tm-_64_Processor_4000+-with-glibc2.2.5
Timestamp of tree: Wed, 04 Feb 2009 13:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ "
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow Izo X aac aalib acl acpi alsa amd64 apm audiofile bash-completion berkdb bluetooth branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt css cups dbus djvu dri dvd dvdr dvdread eds emboss encode esd evo exif ffmpeg firefox flac fortran ftp gdbm gif gmp gnome gnutls gphoto2 gpm graphviz gstreamer gtk hal iconv ieee1394 imagemagick imlib isdnlog jack java javascript jpeg jpeg2k ldap libnotify lm_sensors logitech-mouse mad matroska midi mikmod mmx mp3 mpeg mplayer mudflap multilib musepack ncurses nls nptl nptlonly ogg opengl openmp pam pcmcia pcre pdf perl png ppds pppd python qt3support quicktime raw readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode usb vim-syntax vorbis wavpack wifi xml xorg xulrunner xv zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 76 Piotr Szymaniak 2009-02-04 22:55:36 UTC
Created attachment 180984 [details]
teeworlds-0.5.1-r2.ebuild

Uses Bruno patch, added debug USE flag and working optimizations.
Comment 77 Mikhail 2009-02-05 18:59:37 UTC
new ebuilt isn't work(I tryed with debug USE flag).
This is my screen:
[URL=http://ipicture.ru/Gallery/Viewfull/12838392.html][IMG]http://pic.ipicture.ru/uploads/090205/thumbs/4e46DYvR0V.jpg[/IMG][/URL]
Thanks.
Comment 78 Nikolaj Šujskij 2009-02-09 11:36:56 UTC
> new ebuilt isn't work(I tryed with debug USE flag).
 
Works fine for me (USE="-debug -dedicated")
Comment 79 Bruno 'brubru' Tarquini 2009-02-09 23:41:06 UTC
patch for datadir fix is upstream (upcoming 0.6.0):
http://www.teeworlds.com/trac/teeworlds/changeset/1941

teeworlds-0.5.1-r2.ebuild works fine for me (with and without USE flags)
Comment 80 Piotr Szymaniak 2009-02-10 08:46:45 UTC
Can anyone confirm it's working on amd64? Mikhail has some issue with that.
Comment 81 Nikolaj Šujskij 2009-02-14 17:39:32 UTC
(In reply to comment #80)
> Can anyone confirm it's working on amd64? Mikhail has some issue with that.
> 

Works perfectly fine for me
Comment 82 Sergey Zolen 2009-02-17 17:55:17 UTC
Created attachment 182349 [details]
teeworlds-0.5.1-r3.ebuild

I added to previous ebuild creating user teeworlds and init script.
Comment 83 Sergey Zolen 2009-02-17 17:55:39 UTC
Created attachment 182351 [details]
init script
Comment 84 Nikolaj Šujskij 2009-02-24 07:56:11 UTC
Since those ebuilds are not in any overlay (correct me if I'm wrong), I've added them to "My various stuff" svn repo. If you want to keep track without wgettin'n'digestin' ebuilds, just

% cd /usr/local/portage/games-arcade
% svn co http://krigstasks-samling.googlecode.com/svn/trunk/teeworlds_ebuilds teeworlds

I'll do my best to keep it updated, feedback is appreciated.
Comment 85 Piotr Szymaniak 2009-02-24 08:08:03 UTC
(In reply to comment #84)
> Since those ebuilds are not in any overlay (correct me if I'm wrong)

They are in roslin overlay since teewars-0.3.3. (:
Comment 86 Nikolaj Šujskij 2009-02-24 14:13:26 UTC
> They are in roslin overlay since teewars-0.3.3. (:

Another wheel reinvention then, sorry (-:E
I should practice reading. Or searching pages at least.
Comment 87 Piotr Szymaniak 2009-03-12 07:40:32 UTC
Created attachment 184778 [details]
teeworlds-0.5.1-r4.ebuild

Removed alsa from libsdl use-depends. Seems to work fine without it, and solves some problems for oss users.
Comment 88 Renato Alves 2009-03-23 15:44:11 UTC
I see that the ico is composed of 3 sets of icons at 3 different resolutions.
Would it be possible to turn the default /usr/share/pixmaps/teeworlds.ico into xpm or png, or is this something to be dealt with upstream?
Comment 89 Sergey Zolen 2009-04-14 19:48:54 UTC
Created attachment 188334 [details, diff]
Instagib 2.2 patch by Somerunce

Working with 0.51 release
Comment 90 Sergey Zolen 2009-04-14 19:52:11 UTC
Created attachment 188336 [details]
Ebuild with instagib use flag
Comment 91 John Brezerk 2009-07-22 17:38:01 UTC
(In reply to comment #11)
> The ebuild will be in portage when there are enough success reports here (that
> means that the ebuild itself works good for the defined architectures) and if
> the game itself also is in an useable state.

teeworlds-0.5.1-r5.ebuild Works fine on x86 after adding files/fix_datadir_search.patch file. (Maybe it might be downloaded by ebuild itself?)

Comment 92 Michael Weber (RETIRED) gentoo-dev 2009-07-27 10:12:23 UTC
(In reply to comment #91)
> teeworlds-0.5.1-r5.ebuild Works fine on x86 after adding
> files/fix_datadir_search.patch file. (Maybe it might be downloaded by ebuild
> itself?)

No, the content of files is exprected to be downloaded with the portage tree or overlay. It's just flat attachment structure of the bug tracker which leads to all this manual wget -O ... and ebuild manifest work.
Comment 93 Evgeniy a.k.a Scolzyashii Semenov 2009-08-06 19:59:53 UTC
(In reply to comment #55)
> Created an attachment (id=170983) [edit]
> teeworlds-0.4.3.ebuild
> 
> Cleaned deps. Use internal wavpack :(
> 

teeworlds install, but no sound.
	
For installation had to edit ebuild. Link to bam.zip dead. Bam.zip taken from FreeBSD ports
Comment 94 Anatoly 2009-09-09 19:59:59 UTC
I have teeworlds successfully installed with teeworlds-0.5.1-r5.ebuild (and instagib-2.2.patch, fix_datadir_search.patch). The game itself works fine, but has distorted sound.
Comment 95 Anatoly 2009-09-16 13:54:27 UTC
(In reply to comment #94)
> I have teeworlds successfully installed with teeworlds-0.5.1-r5.ebuild (and
> instagib-2.2.patch, fix_datadir_search.patch). The game itself works fine, but
> has distorted sound.
> 

And having pulseaudio installed sound is working as well.
Comment 96 Chris Hall 2009-11-21 15:12:00 UTC
0.5.2 released on 10-26-09...
Comment 97 David Voge 2009-11-21 17:26:32 UTC
Created attachment 210802 [details]
teeworlds-0.5.2.ebuild
Comment 98 Domen Kožar 2009-12-26 22:27:09 UTC
Created attachment 214238 [details]
Changed icon extension to .png; gnome can not display .ico icons in menu
Comment 99 Domen Kožar 2009-12-26 22:27:49 UTC
What does need to be done to get this one stable?
Comment 100 Sebastian Pipping gentoo-dev 2010-01-03 01:23:10 UTC
An ebuild for bam 0.2.0 is now in the sping overlay:
http://git.goodpoint.de/?p=overlay-sping.git;a=tree;f=dev-util/bam

If somebody patched/upgraded the teeworlds code to work with wavpack 4.60.1 that would increase the chances for main tree in my eyes.  The bundled version of wavpack version seems to be 4.40: the prototype of WavpackOpenFileInput (maybe more) changed in the meantime.  Anybody?

I'm not sure about how to handle the pnglite dependency, yet.
Also, teeworlds 0.5.2 freezes on exit for me.
Comment 101 Domen Kožar 2010-01-03 02:33:07 UTC
(In reply to comment #100)
> An ebuild for bam 0.2.0 is now in the sping overlay:
> http://git.goodpoint.de/?p=overlay-sping.git;a=tree;f=dev-util/bam
> 
> If somebody patched/upgraded the teeworlds code to work with wavpack 4.60.1
> that would increase the chances for main tree in my eyes.  The bundled version
> of wavpack version seems to be 4.40: the prototype of WavpackOpenFileInput
> (maybe more) changed in the meantime.  Anybody?
> 
> I'm not sure about how to handle the pnglite dependency, yet.
> Also, teeworlds 0.5.2 freezes on exit for me.
> 

This is an audio bug, please take a look at https://bugs.launchpad.net/ubuntu/+source/libsdl1.2/+bug/203158
Comment 102 Sebastian Pipping gentoo-dev 2010-02-07 14:48:20 UTC
I stumbled upon Debian's patches for Teeworlds.  They're over here:
http://svn.debian.org/viewsvn/pkg-games/packages/trunk/teeworlds/debian/patches/
Comment 103 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2010-03-24 19:17:50 UTC
I'm working on this bug. I've just added dev-utils/bam to the tree and I am working on pnglite ebuild then treeworlds will be in the tree.

Can someone explain me what instagib patch is fixing ? It looks much more like a new feature to me. In this case, it should be send upsteam but I don't think it should be in the tree.
Comment 104 Piotr Szymaniak 2010-03-24 21:09:56 UTC
(In reply to comment #103)
> Can someone explain me what instagib patch is fixing ? It looks much more like
> a new feature to me. In this case, it should be send upsteam but I don't think
> it should be in the tree.

Indeed, it is a new feature. I bet upstream knows about this mod.

Also: Would be great to see Teeworlds in portage! (:
Comment 105 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2010-03-25 18:01:10 UTC
teeworlds-0.5.2 is now in the tree.
instagib mod hasn't be included because we prefer to wait for a merge from upstream.
In addition, the initd script hasn't been added too because it will need some work which will have delayed the addition of the ebuild. If you want an init script, please do not hesitate to open a new bug.

Thank to all of you for your work on this bug !
Comment 106 Sergey Ilinykh 2010-03-29 04:12:59 UTC
please add ~amd64 keyword
Comment 107 Marek Sapota 2010-03-29 12:41:45 UTC
(In reply to comment #106)
> please add ~amd64 keyword
> 

There is a separate bug report for that https://bugs.gentoo.org/show_bug.cgi?id=311593.