Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103583 - version bump - slashem-0.0.772
Summary: version bump - slashem-0.0.772
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://www.slashem.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-24 07:01 UTC by psyill.net
Modified: 2006-10-05 09:09 UTC (History)
2 users (show)

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


Attachments
Ebuild patch from slashem-0.0.760 to slashem-0.0.771 (slashem-0.0.771.diff,1012 bytes, patch)
2005-08-24 07:04 UTC, psyill.net
Details | Diff
ebuild patch from 0.0.760 to 0.0.772 (slashem-0.0.772.ebuild.patch,626 bytes, patch)
2006-03-15 17:47 UTC, Raymond Lewis Rebbeck
Details | Diff
Fixes the small problem with USE-flags opengl and sdl (slashem-0.0.760-to-0.0.772.diff,1.31 KB, patch)
2006-10-05 01:05 UTC, psyill.net
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description psyill.net 2005-08-24 07:01:23 UTC
An ebuild for SlashEm Vampire stable version 0.0.7E7F1

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 psyill.net 2005-08-24 07:04:00 UTC
Created attachment 66749 [details, diff]
Ebuild patch from slashem-0.0.760 to slashem-0.0.771
Comment 2 Pekka Rousu 2005-08-28 09:11:04 UTC
This patch doesn't work. It depends on changes proposed in bug 84153 and doesn't
apply cleanly even after that bug is fixed as proposed.
Comment 3 Raymond Lewis Rebbeck 2006-03-15 17:47:49 UTC
Created attachment 82253 [details, diff]
ebuild patch from 0.0.760 to 0.0.772
Comment 4 Raymond Lewis Rebbeck 2006-03-15 17:53:58 UTC
The above patch applies cleanly to the current 0.0.760 ebuild in portage. Apart from this patch, the 'files/0.0.7E6' directory needs to be copied over to 'files/0.0.7E7' and 'va_copy.patch' needs to be removed as it does not apply cleanly.

The resulting ebuild seems to work fine and I've had a few brief games since creating the patch.

Also the current 0.0.760 ebuild should be a 0.0.763 ebuild as it does not install the 0.0.7E6 version of slashem, but rather 0.0.7E6F3
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-03 15:41:58 UTC
I can't get it to compile with USE="-gnome -sdl" but it works with USE="-gnome sdl", which leads be to think that something's obviously missing.

gcc -O2 -march=pentium-m -pipe -fomit-frame-pointer -I../include -I/usr/X11R6/include   -c -o version.o version.c
Loading ...
files.o: In function `parse_config_line':
files.c:(.text+0xc92): undefined reference to `Sdlgl_parse_options'
options.o: In function `initoptions':
options.c:(.text+0x7518): undefined reference to `Sdlgl_parse_options'
windows.o:(.rodata+0x10): undefined reference to `sdlgl_hardw_procs'
collect2: ld returned 1 exit status
distcc[14435] ERROR: compile (null) on localhost failed
make[1]: *** [Sysunix] Error 1
make[1]: Leaving directory `/var/tmp/portage/slashem-0.0.772/work/slashem-0.0.7E7F2/src'
make: *** [slashem] Error 2

!!! ERROR: games-roguelike/slashem-0.0.772 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  slashem-0.0.772.ebuild, line 81:   Called die

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

!!! This ebuild is from an overlay: '/usr/local/portage'
Comment 6 Pekka Rousu 2006-10-04 13:50:21 UTC
This is a dependency problem in the ebuild. Slash'EM uses OpenGL only to accelerate SDL and that is why compiling with USE="opengl -sdl" leads to error mentioned above. Ebuild should only consider opengl when sdl is defined too.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-04 15:10:01 UTC
OK.

So USE="sdl -opengl" is valid, but USE="opengl -sdl" is not?
Comment 8 Pekka Rousu 2006-10-05 00:55:17 UTC
That is correct. OpenGL in Slash'EM requires SDL.
Comment 9 psyill.net 2006-10-05 01:05:47 UTC
Created attachment 98821 [details, diff]
Fixes the small problem with USE-flags opengl and sdl
Comment 10 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-05 09:09:17 UTC
Excellent... added (slightly modified) in portage now...