Bug 103583 - version bump - slashem-0.0.772
Bug#: 103583 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: psyill.net@gmail.com
Component: Games
URL:  http://www.slashem.org
Summary: version bump - slashem-0.0.772
Keywords:  
Status Whiteboard: 
Opened: 2005-08-24 07:01 0000
Description:   Opened: 2005-08-24 07:01 0000
An ebuild for SlashEm Vampire stable version 0.0.7E7F1

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From psyill.net@gmail.com 2005-08-24 07:04:00 0000 -------
Created an attachment (id=66749) [details]
Ebuild patch from slashem-0.760 to slashem-0.771

------- Comment #2 From Pekka Rousu 2005-08-28 09:11:04 0000 -------
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 From Raymond Lewis Rebbeck 2006-03-15 17:47:49 0000 -------
Created an attachment (id=82253) [details]
ebuild patch from 0.0.760 to 0.0.772

------- Comment #4 From Raymond Lewis Rebbeck 2006-03-15 17:53:58 0000 -------
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 From Chris Gianelloni (RETIRED) 2006-10-03 15:41:58 0000 -------
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 From Pekka Rousu 2006-10-04 13:50:21 0000 -------
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 From Chris Gianelloni (RETIRED) 2006-10-04 15:10:01 0000 -------
OK.

So USE="sdl -opengl" is valid, but USE="opengl -sdl" is not?

------- Comment #8 From Pekka Rousu 2006-10-05 00:55:17 0000 -------
That is correct. OpenGL in Slash'EM requires SDL.

------- Comment #9 From psyill.net@gmail.com 2006-10-05 01:05:47 0000 -------
Created an attachment (id=98821) [details]
Fixes the small problem with USE-flags opengl and sdl

------- Comment #10 From Chris Gianelloni (RETIRED) 2006-10-05 09:09:17 0000 -------
Excellent... added (slightly modified) in portage now...