Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410043 - version bump: games-fps/doomsday-1.9.8
Summary: version bump: games-fps/doomsday-1.9.8
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal enhancement with 2 votes (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-28 18:14 UTC by Rafał Mużyło
Modified: 2013-02-06 17:12 UTC (History)
3 users (show)

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


Attachments
a working, but still invalid ebuild (doomsday-1.9.8.ebuild,2.67 KB, text/plain)
2012-05-29 07:35 UTC, Rafał Mużyło
Details
linking patch for the ebuild (doomsday-1.9.8-openal-link.patch,4.00 KB, patch)
2012-05-29 07:39 UTC, Rafał Mużyło
Details | Diff
New ebuild (doomsday-1.9.8.ebuild,3.63 KB, text/plain)
2012-05-29 14:10 UTC, Maxim Koltsov (RETIRED)
Details
Fixed ebuild (doomsday-1.9.8.ebuild,3.61 KB, text/plain)
2012-05-29 16:22 UTC, Maxim Koltsov (RETIRED)
Details
patch failure (doomsday-1.9.8-2to3.patch.out,5.74 KB, text/plain)
2012-05-31 01:02 UTC, Fab
Details
doomsday-9999.ebuild (doomsday-9999.ebuild,3.87 KB, text/plain)
2013-02-06 17:11 UTC, Julian Ospald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2012-03-28 18:14:57 UTC
29.02.2012 1.9.7 was released.
14.03.2012 1.9.7-1 was released.
Tarballs are on Sourceforge.
The build system was changed from old mess to new mess.

It uses qmake, which is an interesting choice, given that its upstream is in process of developing a completely different build system, which is supposed to obsolete qmake (something was already released, but in a WIP state, IIRC).
Comment 1 No Name 2012-05-03 20:13:21 UTC
Yeah, would be awesome if it yould be in portage or an ebuild here!

This release is the final release after 7 years!

it is more stable and support more games as the old ebild in portage.

I have tested to rename the old ebuild or leave patches... but all doesnt work...

maybe one person would be so kind and create an updated ebuild for us and the people who want this?

best regards
chris
Comment 2 No Name 2012-05-04 10:51:07 UTC
If I want to test my selfmade ebuild for this new version i got following error:

" * Messages for package games-fps/doomsday-1.9.7.1:

 * Unable to locate CMakeLists.txt under:
 * "/var/tmp/portage/games-fps/doomsday-1.9.7.1/work/doomsday-1.9.7-1/doomsday/CMakeLists.txt"
 * Consider not inheriting the cmake eclass.
 * ERROR: games-fps/doomsday-1.9.7.1 failed (configure phase):
 *   FATAL: Unable to find CMakeLists.txt "

dont know where the error is. the cmake-utils is included...
Comment 3 No Name 2012-05-24 20:40:09 UTC
any progress here?
Comment 4 Julian Ospald 2012-05-24 20:45:48 UTC
is bug
https://bugs.gentoo.org/show_bug.cgi?id=352271

still affecting amd64?
Comment 5 Julian Ospald 2012-05-24 20:53:14 UTC
seems upstream switched to qmake
Comment 6 No Name 2012-05-28 19:46:10 UTC
and any progress here?

"The stable version 1.9.8 (build 500) is now available.

In 1.9.8 we have refactored some of the core components of the engine. We are no longer relying on the rather limited SDL framework for operating system services. Instead, we are now using Qt and C++. This should bear important long-term benefits as we now have a lot of functionality at our disposal in a platform-independent manner. We have also refactored the map data structures with higher-precision coordinates and improved the BSP builder in preparation for the future. 

See the release notes for more information about what has changed since 1.9.7-1. Also note the Upgrading instructions if you have a previous version installed.
When you encounter bugs please use the SF.net Bug Tracker.
Downloads and other links are available on the dengine.net front page.
- Deng Team"

i think that this one will be a lot more stable as the one in portage now!
Comment 7 Rafał Mużyło 2012-05-29 07:35:20 UTC
Created attachment 313489 [details]
a working, but still invalid ebuild

> We are no longer relying on the rather limited SDL framework...
For some odd reason, this just reminds me of KDE anti-autotools FUD.

Attached ebuild gave me a working doomsday, but I consider this ebuild sub-par.

Among other, openal isn't working properly yet.

...well, technically, upstream doesn't support openal on Linux, but do I really care ?
Comment 8 Rafał Mużyło 2012-05-29 07:39:39 UTC
Created attachment 313491 [details, diff]
linking patch for the ebuild

This patch lets doomsday *use* openal plugin, but it's not working yet, cause it gets sort of stuck on alBufferData.

Also, a minor thing about the ebuild - it installs snowberry, which is kinda useless, cause it would need wxpython.
Comment 9 Maxim Koltsov (RETIRED) gentoo-dev 2012-05-29 14:10:42 UTC
Created attachment 313533 [details]
New ebuild

Hi,
I've made new version of doomsday ebuild with better wrappers handling and snowberry support. Please test it. If it works for you, I will commit it to the tree.
Comment 10 Rafał Mużyło 2012-05-29 16:01:55 UTC
Comment on attachment 313533 [details]
New ebuild

One thing that's wrong with this ebuild is the sdl dep.
Now libsdl is used only for joysticks and for audio via sdl-mixer (that is unless you'd go via fmod route, which you'd better *not*).

Also, jdoom64 is about Nintendo64, not amd64.
'-file' needs to be '-iwad' too.
Comment 11 Maxim Koltsov (RETIRED) gentoo-dev 2012-05-29 16:22:47 UTC
Created attachment 313543 [details]
Fixed ebuild

Ok, here is new ebuild with fixed deps and wrapper-generation.
Please test it, especially all shortcuts. I'm not sure whether i did it right.
Also, doomsday seems to ignore -iwad setting and uses only -game setting. How can this be fixed?
Comment 12 Rafał Mużyło 2012-05-29 16:54:01 UTC
If you're talking about game selection dialog, it's a new feature (either of 1.9.7 or 1.9.8). In my tests '-file'->'-iwad' were needed to mark the games as accessible in that dialog.
I think, that to skip it, you'd need '-noautoselect' - see http://dengine.net/dew/index.php?title=Command_line_options_reference.
Comment 13 Maxim Koltsov (RETIRED) gentoo-dev 2012-05-29 17:00:52 UTC
-noautoselect does not seem to help.
Well, is ebuild ready for commiting?
Comment 14 Maxim Koltsov (RETIRED) gentoo-dev 2012-05-30 10:22:14 UTC
Well, i commited new ebuild to the tree. Please test it and i will close bug.
Comment 15 No Name 2012-05-30 19:30:27 UTC
Hello,

i have emerged the new ebuild but if i want to run it, i get a segfault + error because it dont find "Library_New: Error opening "/usr/games/lib/libdsfmod.so" (/usr/games/lib/libdsfmod.so: cannot open shared object file: No such file or directory)."

I tested it with some files but always the same.

best regards
chris

PS: what is snowberry and how i can run it?
Comment 16 Rafał Mużyło 2012-05-30 22:56:55 UTC
@comment 15: that error shouldn't matter - add a complete description of what you were doing.
Comment 17 Fab 2012-05-31 01:02:07 UTC
Created attachment 313651 [details]
patch failure

Hi. I tried to emerge it on x86 with :
> # USE="-doom" emerge -uav1 doomsday::gentoo

> Failed Patch: doomsday-1.9.8-2to3.patch !

Patch output is attached. Thanks.
Comment 18 Maxim Koltsov (RETIRED) gentoo-dev 2012-05-31 04:31:29 UTC
(In reply to comment #17)
> Created attachment 313651 [details]
> patch failure
> 
> Hi. I tried to emerge it on x86 with :
> > # USE="-doom" emerge -uav1 doomsday::gentoo
> 
> > Failed Patch: doomsday-1.9.8-2to3.patch !
> 
> Patch output is attached. Thanks.

I fixed that, sorry. I failed to notice that CVS expands $Date$ in patch thus making it bad.
Comment 19 Andrew Oleynik 2012-05-31 07:20:38 UTC
I'm not sure, but may be it makes sense to add also appropriate USE-flags for doom2, tnt, plutonia and hexdd (add-on for hexen, was unplayable in previous releases due to crash).

Also, is there a way not to install not-needed game plugins (e. g. if somebody doesn't want to play Raven games, he installs just jdoom and not jheretic and jhexen)?
Comment 20 No Name 2012-06-01 18:23:51 UTC
Hello,

i did nothing spezial and i rebooted today for a new test with a other iwad but the same error, also with wiped config...

"jdoom -height 1024 -width 1280 -file /home/chris/doom.wad 
Dir::ChangeWorkDir: Succeeded: /home/chris//.doomsday/runtime/
Library_New: Error opening "/usr/games/lib/libdsfmod.so" (/usr/games/lib/libdsfmod.so: cannot open shared object file: No such file or directory).
Executable: Doomsday Engine 1.9.8 (Stable 32-bit) Jun  1 2012 20:15:26.
Sys_InitWindowManager: Using Qt window management.
Initializing plugins...
  libjdoom64
  libjhexen
  libjheretic
  libjdoom
  libdpdehread
  libdpwadmapconverter
applyWindowGeometry: I_InitJoystick: A4Tech USB Full Speed
Starting LegacyCore event loop...
Canvas: Gained focus.
OpenGL information:
  Vendor: X.Org
  Renderer: Gallium 0.4 on AMD RV670
  Version: 2.1 Mesa 8.0.3
  Available Compressed Texture Formats: 7
  Available Texture Units: 8
  Maximum Texture Anisotropy: 16
  Maximum Texture Size: 8192
  Line Width Granularity: 0.1
  Line Width Range: 1.0...8192.0
  Extensions:
    GL_ARB_multisample             GL_EXT_abgr                   
    GL_EXT_bgra                    GL_EXT_blend_color            
    GL_EXT_blend_minmax            GL_EXT_blend_subtract         
    GL_EXT_copy_texture            GL_EXT_polygon_offset         
    GL_EXT_subtexture              GL_EXT_texture_object         
    GL_EXT_vertex_array            GL_EXT_compiled_vertex_array  
    GL_EXT_texture                 GL_EXT_texture3D              
    GL_IBM_rasterpos_clip          GL_ARB_point_parameters       
    GL_EXT_draw_range_elements     GL_EXT_packed_pixels          
    GL_EXT_point_parameters        GL_EXT_rescale_normal         
    GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp     
    GL_SGIS_generate_mipmap        GL_SGIS_texture_border_clamp  
    GL_SGIS_texture_edge_clamp     GL_SGIS_texture_lod           
    GL_ARB_framebuffer_sRGB        GL_ARB_multitexture           
    GL_EXT_framebuffer_sRGB        GL_IBM_multimode_draw_arrays  
    GL_IBM_texture_mirrored_repeat GL_ARB_texture_cube_map       
    GL_ARB_texture_env_add         GL_ARB_transpose_matrix       
    GL_EXT_blend_func_separate     GL_EXT_fog_coord              
    GL_EXT_multi_draw_arrays       GL_EXT_secondary_color        
    GL_EXT_texture_env_add         GL_EXT_texture_filter_anisotro
    GL_EXT_texture_lod_bias        GL_INGR_blend_func_separate   
    GL_NV_blend_square             GL_NV_light_max_exponent      
    GL_NV_texgen_reflection        GL_NV_texture_env_combine4    
    GL_S3_s3tc                     GL_SUN_multi_draw_arrays      
    GL_ARB_texture_border_clamp    GL_ARB_texture_compression    
    GL_EXT_framebuffer_object      GL_EXT_texture_compression_s3t
    GL_EXT_texture_env_combine     GL_EXT_texture_env_dot3       
    GL_MESA_window_pos             GL_NV_packed_depth_stencil    
    GL_NV_texture_rectangle        GL_ARB_depth_texture          
    GL_ARB_occlusion_query         GL_ARB_shadow                 
    GL_ARB_texture_env_combine     GL_ARB_texture_env_crossbar   
    GL_ARB_texture_env_dot3        GL_ARB_texture_mirrored_repeat
    GL_ARB_window_pos              GL_EXT_stencil_two_side       
    GL_EXT_texture_cube_map        GL_NV_depth_clamp             
    GL_NV_fog_distance             GL_APPLE_packed_pixels        
    GL_APPLE_vertex_array_object   GL_ARB_draw_buffers           
    GL_ARB_fragment_program        GL_ARB_fragment_shader        
    GL_ARB_shader_objects          GL_ARB_vertex_program         
    GL_ARB_vertex_shader           GL_ATI_draw_buffers           
    GL_ATI_texture_env_combine3    GL_ATI_texture_float          
    GL_EXT_shadow_funcs            GL_EXT_stencil_wrap           
    GL_MESA_pack_invert            GL_NV_primitive_restart       
    GL_ARB_depth_clamp             GL_ARB_fragment_program_shadow
    GL_ARB_half_float_pixel        GL_ARB_occlusion_query2       
    GL_ARB_point_sprite            GL_ARB_shading_language_100   
    GL_ARB_sync                    GL_ARB_texture_non_power_of_tw
    GL_ARB_vertex_buffer_object    GL_ATI_blend_equation_separate
    GL_EXT_blend_equation_separate GL_OES_read_format            
    GL_ARB_color_buffer_float      GL_ARB_pixel_buffer_object    
    GL_ARB_texture_compression_rgt GL_ARB_texture_float          
    GL_ARB_texture_rectangle       GL_ATI_texture_compression_3dc
    GL_EXT_packed_float            GL_EXT_pixel_buffer_object    
    GL_EXT_texture_compression_dxt GL_EXT_texture_compression_rgt
    GL_EXT_texture_mirror_clamp    GL_EXT_texture_rectangle      
    GL_EXT_texture_sRGB            GL_EXT_texture_shared_exponent
    GL_ARB_framebuffer_object      GL_EXT_framebuffer_blit       
    GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil   
    GL_ARB_vertex_array_object     GL_ATI_separate_stencil       
    GL_ATI_texture_mirror_once     GL_EXT_draw_buffers2          
    GL_EXT_gpu_program_parameters  GL_EXT_texture_array          
    GL_EXT_texture_compression_lat GL_EXT_texture_sRGB_decode    
    GL_EXT_timer_query             GL_OES_EGL_image              
    GL_MESA_texture_array          GL_ARB_copy_buffer            
    GL_ARB_depth_buffer_float      GL_ARB_half_float_vertex      
    GL_ARB_instanced_arrays        GL_ARB_map_buffer_range       
    GL_ARB_texture_rg              GL_ARB_texture_swizzle        
    GL_ARB_vertex_array_bgra       GL_EXT_separate_shader_objects
    GL_EXT_texture_swizzle         GL_EXT_vertex_array_bgra      
    GL_NV_conditional_render       GL_AMD_draw_buffers_blend     
    GL_AMD_shader_stencil_export   GL_ARB_ES2_compatibility      
    GL_ARB_draw_buffers_blend      GL_ARB_draw_elements_base_vert
    GL_ARB_explicit_attrib_locatio GL_ARB_fragment_coord_conventi
    GL_ARB_provoking_vertex        GL_ARB_sampler_objects        
    GL_ARB_seamless_cube_map       GL_ARB_shader_stencil_export  
    GL_ARB_shader_texture_lod      GL_ARB_texture_rgb10_a2ui     
    GL_ARB_vertex_type_2_10_10_10_ GL_EXT_provoking_vertex       
    GL_EXT_texture_snorm           GL_MESA_texture_signed_rgba   
    GL_NV_texture_barrier          GL_ARB_robustness             
    GL_ARB_texture_storage        
Initializing Render subsystem...
Setting up platform state...
Warning: loadAudioDriver: Loading of "libdsfmod.so" failed.
Warning: Failed initializing audio driver "FMOD Ex"
Initializing Resource subsystem...
Initializing Binding subsystem...
Initializing InFine subsystem...
Initializing UI subsystem...
Loading game resources...
  IWAD identification: 00d12fbc
Speicherzugriffsfehler(segfault)"

here my emerge --info:

"Portage 2.1.10.49 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.4.0-gentoo i686)
=================================================================
System uname: Linux-3.4.0-gentoo-i686-AMD_Athlon-tm-_64_FX-60_Dual_Core_Processor-with-gentoo-2.1
Timestamp of tree: Fri, 01 Jun 2012 17:45:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.8, 2.7.3-r1, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo x11 wirelay maggu2810-overlay java-overlay ikelos gamerlay-stable gnustep sunrise roslin yarik-overlay paddymac dottout chris
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=opteron -msse3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=opteron -msse3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://de-mirror.org/gentoo/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/wirelay /var/lib/layman/maggu2810-overlay /var/lib/layman/java-overlay /var/lib/layman/ikelos /var/lib/layman/gamerlay /var/lib/layman/gnustep /var/lib/layman/sunrise /var/lib/layman/roslin /var/lib/layman/yarik-overlay /var/lib/layman/paddymac /var/lib/layman/dottout /usr/local/portage/overlay"
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="/ 3dnow 3dnowext X acc acl acpi alsa audacious berkdb bzip2 cairo cdr cli consolekit cracklib crypt cups curl cxx dbus dri dvd fbcondecor ffmpeg fglrx floppy fortran gdbm gif gimp glx gpm gtk hddtemp iconv id3tag imlib jpeg libsamplerate lm_sensors mmx mmxext modules mp3 mpi mudflap ncurses nls nptl nsplugin openal opengl openmp owncloud pam pcre pixbuf png policykit pppd projectm psyco r600 readline scanner sdl session spamassassin sse sse2 ssl tcpd tor tordns truetype udev unicode usb v4l2 video vorbis wifi win32codecs x86 xcomposite xft xorg xulrunner xv zip zlib" ALSA_CARDS="ctxfi" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa radeon r600 r300" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON"

any ideas? the old doomsday was startable... but this one not...

best regards
chris
Comment 21 Rafał Mużyło 2012-06-01 18:53:49 UTC
First try something like this:
jdoom -height 1024 -width 1280 -iwad /home/chris/doom.wad
(I presume '/home/chris/doom.wad' is the IWAD)
Comment 22 No Name 2012-06-01 18:55:55 UTC
and what is about the savegames???

i cant see any of my old save games... is it possible to load old games which were saved which a older version?
Comment 23 No Name 2012-06-01 18:57:08 UTC
Ok, i got hexen working and heretic and after i clean the auto folder which was full of the addons for high quality textures, doom is loading again like hexen...

but now i cant see my old savegames.
Comment 24 No Name 2012-06-01 19:34:45 UTC
Ok i got it and the solution was:

The config path changed... now your stuff like savegames are in a subfolder of ~.doomsday/ with the name "runtime" here you can copy all your savegames. its now a global folder for ALL games and not only for the doom-based and heretic-based games...

how i got this info:

saved a new game and i was able to load it. also there is a file created... i searched and found the runtime folder where this file was :D

But now i am very confused with all this -file, -iwad, -game settings,,, i will explore this.
Comment 25 Rafał Mużyło 2012-06-01 20:11:29 UTC
@comment 24: I'd like to remind you, that bugzilla is *not* a support forum.
Comment 26 Julian Ospald 2013-02-06 17:11:44 UTC
Created attachment 338124 [details]
doomsday-9999.ebuild

for those impatient people here is a working live ebuild
Comment 27 Julian Ospald 2013-02-06 17:12:07 UTC
oops, wrong bug