Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98322 - New ebuild request for Warsow
Summary: New ebuild request for Warsow
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://www.warsow.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-08 02:01 UTC by Kåre Baastrup
Modified: 2008-02-10 21:35 UTC (History)
11 users (show)

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


Attachments
warsow-0.07.ebuild (warsow-0.07.ebuild,1.91 KB, text/plain)
2005-10-24 11:32 UTC, Wojciech Myrda
Details
warsow-0.07.ebuild (warsow-0.07.ebuild.txt,976 bytes, text/plain)
2005-10-24 11:41 UTC, Wojciech Myrda
Details
warsow-bin-0.072_alpha.ebuild (warsow-bin-0.072_alpha.ebuild,1.31 KB, text/plain)
2006-02-19 14:32 UTC, Paul Bredbury
Details
warsow-bin-0.1.ebuild (warsow-bin-0.1.ebuild,1.45 KB, text/plain)
2006-05-26 21:40 UTC, Paul Bredbury
Details
warsow-0.11.ebuild (warsow-0.11.ebuild,2.29 KB, text/plain)
2006-05-30 23:28 UTC, Paul Bredbury
Details
warsow-0.11.ebuild (warsow-0.11.ebuild,2.57 KB, text/plain)
2006-05-31 00:02 UTC, Paul Bredbury
Details
warsow-0.11.ebuild (warsow-0.11.ebuild,3.27 KB, text/plain)
2006-05-31 09:27 UTC, Paul Bredbury
Details
warsow-0.11.ebuild (warsow-0.11.ebuild,3.27 KB, text/plain)
2006-05-31 09:31 UTC, Paul Bredbury
Details
warsow-0.11.ebuild (warsow-0.11.ebuild,3.12 KB, text/plain)
2006-05-31 10:57 UTC, Paul Bredbury
Details
warsow-0.11.ebuild (warsow-0.11.ebuild,2.90 KB, text/plain)
2006-06-02 07:06 UTC, Paul Bredbury
Details
warsow-0.12.ebuild (warsow-0.12.ebuild,2.48 KB, text/plain)
2006-06-13 13:22 UTC, Johannes Athmer
Details
warsow-0.12.ebuild (warsow-0.12.ebuild,2.49 KB, text/plain)
2006-06-13 16:10 UTC, Johannes Athmer
Details
warsow-0.12.ebuild (warsow-0.12.ebuild,3.04 KB, text/plain)
2006-06-14 03:01 UTC, Paul Bredbury
Details
warsow-0.12.ebuild (warsow-0.12.ebuild,3.08 KB, text/plain)
2006-06-14 05:25 UTC, Paul Bredbury
Details
warsow-0.12.ebuild (warsow-0.12.ebuild,3.22 KB, text/plain)
2006-07-05 04:28 UTC, Paul Bredbury
Details
warsow-0.12.ebuild (warsow-0.12.ebuild,3.53 KB, text/plain)
2006-07-06 03:37 UTC, Paul Bredbury
Details
warsow-0.12.ebuild (warsow-0.12.ebuild,3.56 KB, text/plain)
2006-07-17 04:11 UTC, Paul Bredbury
Details
warsow-0.2.ebuild (warsow-0.2.ebuild,3.54 KB, text/plain)
2006-09-15 23:35 UTC, Paul Bredbury
Details
warsow-0.20.ebuild (warsow-0.20.ebuild,4.41 KB, text/plain)
2006-09-16 04:45 UTC, Johannes Athmer
Details
warsow-0.20.ebuild (warsow-0.20.ebuild,4.41 KB, text/plain)
2006-09-16 05:52 UTC, Johannes Athmer
Details
warsow-0.21.ebuild (warsow-0.21.ebuild,4.26 KB, text/plain)
2006-11-05 02:33 UTC, Philipp Leonhardt
Details
warsow-0.21.ebuild (warsow-0.21.ebuild,3.81 KB, text/plain)
2006-11-05 07:49 UTC, Paul Bredbury
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kåre Baastrup 2005-07-08 02:01:21 UTC
Standalone game for Windows and Linux under GPL
3D Engine based on Qfusion (a modification of Quake 2's ID Software famous 3D
under GPL engine)
eSport oriented FPS
Fast-paced gameplay focused on trix (trick jumps) and art of move
Complete Power-up System including Weak and Strong fire mode for each weapon
Cartoonish graphics with celshading-like_but_not_Manga style, mixing dark
flashy and dirty textures, matching with action full of fun and speed
References : Quakeworld, Quake3 CPMA, Jet Set Radio, Speedball.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Kåre Baastrup 2005-08-17 09:02:14 UTC
Version bumped to 0.061a

Linux source, and bin is out too.
Comment 2 Wojciech Myrda 2005-10-24 11:32:58 UTC
Created attachment 71345 [details]
warsow-0.07.ebuild

Hi, I made this ebild in hope that it would be useful for others. Unfortunetly
it is not of any use for me as I cant get the game to start sinse I get the
message about missing stuff (errors at missing shaders). Anyway the ebuild
itself should be just fine and if you got somewhat ne graphics card (Geforce
FX5500 seems not enough) you should give it a try, otherwise it may be a loss
of time...

comand line debug message:

user@home ~ $ warsow
Warsow -- Version 0.07
Unknown command snd_restart
Unknown command in_restart
couldn't exec default.cfg
couldn't exec config.cfg
couldn't exec autoexec.cfg
Server running at 20 pps
Added new master server #0 at 66.169.205.12:27950
Added new master server #1 at 69.59.212.88:27950
Console initialized.

------- sound initialization -------
SDL Audio driver initializing...
Calling SDL_Init(SDL_INIT_AUDIO)...
SDL_Init(SDL_INIT_AUDIO) passed.
SDL audio driver is dsp
Format we requested from SDL audio device:
Format: AUDIO_S16LSB
Freq: 22050
Samples: 512
Channels: 2

Format we actually got:
Format: AUDIO_S16LSB
Freq: 22050
Samples: 512
Channels: 2

Starting SDL audio callback...
SDL audio initialized.
Loaded libvorbisfile.so
sound sampling rate: 22050
------------------------------------

----- R_Init -----
ref_gl version: GL 0.01
Using libGL.so.1 for OpenGL...Display initialization
..XFree86-VidMode Extension Version 2.2
..Failed to get colorbits 24, stencilbits 8
..Failed to get colorbits 24, stencilbits 0
..Get colorbits 16, stencilbits 8
...setting mode 3:
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce FX 5500/AGP/3DNOW!
GL_VERSION: 2.0.0 NVIDIA 76.76
GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_fragment_program
GL_ARB_fragment_program_shadow GL_ARB_fragment_shader
GL_ARB_half_float_pixel GL_ARB_imaging GL_ARB_multisample
GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_point_parameters
GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects
GL_ARB_shading_language_100 GL_ARB_texture_border_clamp
GL_ARB_texture_compression GL_ARB_texture_cube_map
GL_ARB_texture_env_add GL_ARB_texture_env_combine
GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat
GL_ARB_texture_rectangle GL_ARB_transpose_matrix
GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader
GL_ARB_window_pos GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr
GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate
GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array
GL_EXT_Cg_shader GL_EXT_draw_range_elements GL_EXT_fog_coord
GL_EXT_framebuffer_object GL_EXT_multi_draw_arrays GL_EXT_packed_pixels
GL_EXT_paletted_texture GL_EXT_pixel_buffer_object
GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color
GL_EXT_separate_specular_color GL_EXT_shadow_funcs
GL_EXT_shared_texture_palette GL_EXT_stencil_two_side
GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc
GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp
GL_EXT_texture_env_combine GL_EXT_texture_env_dot3
GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod
GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_vertex_array
GL_HP_occlusion_test GL_IBM_rasterpos_clip
GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square
GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence
GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program
GL_NV_fragment_program_option GL_NV_half_float GL_NV_light_max_exponent
GL_NV_multisample_filter_hint GL_NV_occlusion_query
GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite
GL_NV_primitive_restart GL_NV_register_combiners
GL_NV_register_combiners2 GL_NV_texgen_reflection
GL_NV_texture_compression_vtc GL_NV_texture_env_combine4
GL_MAX_TEXTURE_SIZE: 4096
GL_MAX_TEXTURE_UNITS: 4
GL_MAX_CUBE_MAP_TEXTURE_SIZE: 4096
GL_MAX_3D_TEXTURE_SIZE: 512

mode: 3,
CDS: enabled
picmip: 0
texturemode: GL_LINEAR_MIPMAP_NEAREST
swap interval: disabled
compiled vertex array: enabled
multitexture: enabled
texture cube map: enabled
texture3D enabled
texenv add: enabled
texenv combine: enabled
texenv dot3: enabled
NVtexenv combine4: enabled
texture edge clamp: enabled
anisotropic filtering: disabled
compressed textures: disabled
draw range elements: enabled
vertex buffer object: disabled
BGRA byte order: enabled
----- finished R_Init -----
Xlib:  extension XFree86-DGA missing on display :0.0.
Failed to detect XF86DGA Mouse

Initializing Shaders:
********************
ERROR: Could not find any shaders!
********************
Couldn't write config.cfg.
Closing SDL audio device...
SDL audio device shut down.
Error: Could not find any shaders!
Comment 3 Wojciech Myrda 2005-10-24 11:41:42 UTC
Created attachment 71348 [details]
warsow-0.07.ebuild

From whatever reason just uploaded ebuild seems borked
Comment 4 Wojciech Myrda 2005-10-25 05:37:19 UTC
Hi,
For now to get the game to start using this ebuild its nessesery to do:

export fs_basepath=/opt/warsow/basewsw/ 
and then run warsow. I am not sure yet as just how would that be incorporated in
to the ebuild (maybe wrapper script), but with it I'll wait 'till other problems
are resolved taht I descibed in this thread:

http://www.warsow.net/forums/viewtopic.php?p=1101459076
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-26 10:22:17 UTC
Really, it hsould be patched into the code, probably using sed.  Also, if this
game is from source, it shouldn't install into /opt.
Comment 6 Paul Bredbury 2006-02-19 14:32:27 UTC
Created attachment 80224 [details]
warsow-bin-0.072_alpha.ebuild

Here is a tidied, working ebuild for the binary.
Comment 7 patrick 2006-05-26 13:27:08 UTC
Version 0.1 got released just 5 minutes ago!!!!
Comment 8 Paul Bredbury 2006-05-26 21:40:13 UTC
Created attachment 87614 [details]
warsow-bin-0.1.ebuild

Ebuild for version 0.1.
Comment 9 patrick 2006-05-27 09:23:58 UTC
The sourcecode of Warsow is GPL, why can't we have an ebuild to build from source?
Comment 10 Johannes Athmer 2006-05-27 16:16:50 UTC
You need the warsow_0.1_linux.tar.gz for the game data (also includes the binary client), but could use the source from the SDK http://jal.quakedev.com/warsow_0.1_sdk.zip to compile Warsow. That would also open the possibility to use something like only using&compiling the server ('make ded game' instead of 'make all') when USE="-X11" or so. :)
Comment 11 Johannes Athmer 2006-05-30 15:13:29 UTC
Small update:
There's been a new release of Warsow (v0.11) which fixes some bugs and adds some new features.
Comment 12 Paul Bredbury 2006-05-30 23:28:30 UTC
Created attachment 87941 [details]
warsow-0.11.ebuild

Here is a source ebuild. It will probably work on amd64 also.
Comment 13 Paul Bredbury 2006-05-31 00:02:02 UTC
Created attachment 87942 [details]
warsow-0.11.ebuild

Tidied SRC_URI.
Comment 14 Johannes Athmer 2006-05-31 02:22:59 UTC
I think you did a good job on that ebuild. :)
Is there any chance you could add something like only compiling wsw_server (make ded game) without the client libraries - for example if use -X or +dedicated are set? (I'm not really sure about the best use flag in that case ...)
Dependencies for the server without the client would be reduced to sys-libs/glibc and sys-libs/zlib (possibly net-misc/curl, but I think the server has been changed to compile and work without curl.) in that case, I guess.

And yes, Warsow should also compile and work on amd64 platforms.
Comment 15 Paul Bredbury 2006-05-31 09:27:00 UTC
Created attachment 87993 [details]
warsow-0.11.ebuild

Split into client and server, through USE flags.
Comment 16 Paul Bredbury 2006-05-31 09:31:22 UTC
Created attachment 87994 [details]
warsow-0.11.ebuild

Oops, moved media-libs/jpeg to $UIDEPEND.
Comment 17 Tristan Heaven (RETIRED) gentoo-dev 2006-05-31 09:41:56 UTC
Why RESTRICT=strip?
You don't need to depend on system packages: glibc and zlib
x11-proto are only needed at build time
Comment 18 Paul Bredbury 2006-05-31 10:57:21 UTC
Created attachment 88011 [details]
warsow-0.11.ebuild

Moved xproto deps. Removed RESTRICT line - can't justify it (I see it in some games ebuilds, that's all). Stopped the .so files from being executable, because no-one has given a *reason* for them being executable, and it works regardless.
Comment 19 Tristan Heaven (RETIRED) gentoo-dev 2006-05-31 11:09:29 UTC
> (I see it in some games ebuilds, that's all).

It's just for binaries which have already been stripped by upstream.
Comment 20 Paul Bredbury 2006-06-02 07:06:02 UTC
Created attachment 88183 [details]
warsow-0.11.ebuild

Fixed $DEPEND for proper default when no USE flags are specified. Removed icon, which doesn't show anyway, and was unzipping in src_install().
Comment 21 Johannes Athmer 2006-06-13 13:22:07 UTC
Created attachment 89085 [details]
warsow-0.12.ebuild

Warsow has just been updated to version 0.12.
There are no other mirrors, yet, but the official one is great. :)

It also is not based directly on Quake 2, but on QFusion, which is much more advanced than Q2, even though it's based on that engine.
Comment 22 Johannes Athmer 2006-06-13 16:10:56 UTC
Created attachment 89098 [details]
warsow-0.12.ebuild

Changed to updated Warsow 0.12 build (previous was bugged).

Any idea how to automatize that .i386 part so that it works for x64, too? :)
Comment 23 Paul Bredbury 2006-06-14 03:01:31 UTC
Created attachment 89122 [details]
warsow-0.12.ebuild

Works with version 0.12. Added RESTRICT="strip" line back in, to remove the QA warning on the .so files.
Comment 24 Tristan Heaven (RETIRED) gentoo-dev 2006-06-14 04:52:55 UTC
What does it say? I didn't get a warning.
Comment 25 Paul Bredbury 2006-06-14 05:25:15 UTC
Created attachment 89133 [details]
warsow-0.12.ebuild

Removed "strip" again - I was getting mixed up with the precompiled libraries.

Changed to *ftp*://ftp.club-internet.fr. Removed redundant brackets from UIDEPEND.
Comment 26 Mike McQuaid 2006-06-16 18:41:08 UTC
Confirming that this both compiles and seems to run properly on AMD64.
Comment 27 Johannes Athmer 2006-07-05 04:05:47 UTC
No problems here, really ... do you think there's a chance to get it into portage? :)
Comment 28 Paul Bredbury 2006-07-05 04:28:19 UTC
Created attachment 90953 [details]
warsow-0.12.ebuild

Improved, to get rid of the "rm" in src_install.
Comment 29 Mr. Bones. (RETIRED) gentoo-dev 2006-07-06 00:20:46 UTC
Looks like it installs .so files in /usr/share...  I don't usually think of .so files as shareable.  It'd be nice to see those files installed to /usr/games/lib.
Comment 30 Paul Bredbury 2006-07-06 03:37:20 UTC
Created attachment 91035 [details]
warsow-0.12.ebuild

Patching the source code didn't work, so here's a crafty method using symlinks.
Comment 31 Paul Bredbury 2006-07-17 04:11:25 UTC
Created attachment 91976 [details]
warsow-0.12.ebuild

Added virtual/x11 to UIDEPEND.
Comment 33 Mike McQuaid 2006-09-15 19:08:00 UTC
Bump for 0.2 release.
Doesn't work with a simple clean rename
Comment 34 Paul Bredbury 2006-09-15 23:35:07 UTC
Created attachment 97115 [details]
warsow-0.2.ebuild

Changed $S, that's all.
Comment 35 Johannes Athmer 2006-09-16 04:45:00 UTC
Created attachment 97144 [details]
warsow-0.20.ebuild

This _should_ work ... however, I haven't tested it with a X11 client. Could anyone do that, please?
Additionally, we cannot really deleted basewsw/modules_02.pk3, because it's kinda required for pure mode. Another problem with the new pure mode is that self-compiled binaries cannot play there ... which means that we might need to drop this ebuild and introduce games-fps/warsow-bin instead if we want War
Comment 36 Johannes Athmer 2006-09-16 04:45:00 UTC
Created attachment 97144 [details]
warsow-0.20.ebuild

This _should_ work ... however, I haven't tested it with a X11 client. Could anyone do that, please?
Additionally, we cannot really deleted basewsw/modules_02.pk3, because it's kinda required for pure mode. Another problem with the new pure mode is that self-compiled binaries cannot play there ... which means that we might need to drop this ebuild and introduce games-fps/warsow-bin instead if we want War§ow on Gentoo to be compatible with other systems and online servers.
Comment 37 Mike McQuaid 2006-09-16 05:08:40 UTC
(In reply to comment #35)
> Created an attachment (id=97144) [edit]
> warsow-0.20.ebuild
> 
> This _should_ work ... however, I haven't tested it with a X11 client. Could
> anyone do that, please?
Sadly, it doesn't. Did you not try and digest it? It won't even digest for me.
Comment 38 Johannes Athmer 2006-09-16 05:52:16 UTC
Created attachment 97147 [details]
warsow-0.20.ebuild

(In reply to comment #36)
> (In reply to comment #35)
> > Created an attachment (id=97144) [edit]
> > warsow-0.20.ebuild
> > 
> > This _should_ work ... however, I haven't tested it with a X11 client. Could
> > anyone do that, please?
> Sadly, it doesn't. Did you not try and digest it? It won't even digest for me.
> 

I did. And it does digest for me. However, there could be a problem with Windows/DOS linebreaks because I created that file on Win XP.
I hope this one is better ...
Comment 39 Jon 2006-09-25 05:53:37 UTC
warsow-0.20.ebuild (latest) doesn't digest for me either. First I get:

: command not foundgames-fps/warsow/warsow-0.20.ebuild: line 4:

!!! ERROR: games-fps/warsow-0.20 failed.
Call stack:
  ebuild.sh, line 1454:   Called source '/usr/local/portage/games-fps/warsow/warsow-0.20.ebuild'
' warsow-0.20.ebuild, line 5:   Called inherit 'eutils' 'games
  ebuild.sh, line 1189:   Called die

.eclass could not be found by inherit()
!!! If you need support, post the topmost build error, and the call stack if relevant.


aux_get(): (0) Error in games-fps/warsow-0.20 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)


If I comment out the 'inherit' line I also get the following:

: command not foundgames-fps/warsow/warsow-0.20.ebuild: line 4:
: command not foundgames-fps/warsow/warsow-0.20.ebuild: line 6:
: command not foundgames-fps/warsow/warsow-0.20.ebuild: line 14:
: command not foundgames-fps/warsow/warsow-0.20.ebuild: line 29:
: command not foundgames-fps/warsow/warsow-0.20.ebuild: line 34:
: command not foundgames-fps/warsow/warsow-0.20.ebuild: line 60:
: command not foundgames-fps/warsow/warsow-0.20.ebuild: line 65:
'usr/local/portage/games-fps/warsow/warsow-0.20.ebuild: line 66: syntax error near unexpected token `{
'usr/local/portage/games-fps/warsow/warsow-0.20.ebuild: line 66: `src_unpack() {

!!! ERROR: games-fps/warsow-0.20 failed.
Call stack:
  ebuild.sh, line 1454:   Called die

!!! error sourcing ebuild
!!! If you need support, post the topmost build error, and the call stack if relevant.


aux_get(): (0) Error in games-fps/warsow-0.20 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)

Comment 40 Johannes Athmer 2006-09-25 09:28:57 UTC
The 'inherit'-line is absolutely mandatory. Could you please try to use dos2unix on the ebuild? I think the problem is that I uploaded this text file from win32.
Comment 41 Erik 2006-10-18 10:13:24 UTC
Version-bump!

Warsow 0.21 is out. Please update ebuild.

Thanks in advance,

EJS
Comment 42 Philipp Leonhardt 2006-11-05 02:33:43 UTC
Created attachment 101260 [details]
warsow-0.21.ebuild

Here is an ebuild 4 Warsow-0.21
Have fun!!!
Comment 43 Paul Bredbury 2006-11-05 07:49:18 UTC
Created attachment 101276 [details]
warsow-0.21.ebuild

Fixed "openagl" mistake. Tidied the *DEPEND lines. Switched to using BUILD_* in Makefile. "sdl" USE flag triggers the building of the client, but not "openal".

Removed "ik.spinther.com" and "warsow.routed-gaming.co.uk" SDK mirrors, because their SDK files are corrupted.

Renamed wsw_server to ${PN}-ded, so we don't have to play "guess the name of the executable" :)

Hopefully, they will choose 0.30 rather than 0.3, when that version arrives, otherwise they will mess up the versioning for *all* Linux distros, not just Gentoo ;)
Comment 44 Tristan Heaven (RETIRED) gentoo-dev 2006-11-05 16:35:28 UTC
Looks good to me.
Comment 45 Tristan Heaven (RETIRED) gentoo-dev 2006-11-07 00:14:08 UTC
Fixed, thanks.