| Summary: | games-action/teeworlds[dedicated]: server init script won't run | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | rypervenche <contact> |
| Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Necessary configuration "storage.cfg"
New init script |
||
|
Description
rypervenche
2013-07-21 17:22:32 UTC
Same here, I concur. I also have this issue. This issue is still present in version 0.6.2, still making it impossible to run the teeworlds server. suggested fix? Created attachment 358232 [details]
Necessary configuration "storage.cfg"
Must be placed at /usr/share/games/teeworlds/storage.cfg and should probably have the games group.
Created attachment 358234 [details]
New init script
(In reply to Julian Ospald (hasufell) from comment #4) > suggested fix? I have updated the init script and added a storage.cfg file that is necessary for the appropriate variables to be read. The storage.cfg file must be placed in /usr/share/games/teeworlds/ and should probably have at least games as the group ID. This looks to have fixed the issue with starting and stopping the teeworlds server, however I did notice that the /etc/init.d/teeworlds reload doesn't seem to work for me. I'm not sure if that's a problem on my own end or if it wasn't correctly written. I don't know enough about creating init scripts to be able to tell on that one. Thanks! The only reason for this bug is that the "mapres" folder is not installed for USE="dedicated" and hence the checks in storage.cpp will think there is no $DATADIR. Is there a reason we don't install mapres? mapres is not needed, I will patch storage.cpp +*teeworlds-0.6.2-r1 (08 Sep 2013) + + 08 Sep 2013; Julian Ospald <hasufell@gentoo.org> + +files/0.6.2/04-dedicated.patch, +files/0.6.2/05-cc-cflags.patch, + -teeworlds-0.6.2.ebuild, +teeworlds-0.6.2-r1.ebuild: + respect CC/CXX, make build log verbose, fix dedicated useflag wrt #477658 |