Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 299035

Summary: Stabilize games-arcade/rocksndiamonds-3.2.6.1
Product: Gentoo Linux Reporter: Mr. Bones. (RETIRED) <mr_bones_>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: enhancement CC: amd64
Priority: High Keywords: STABLEREQ
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mr. Bones. (RETIRED) gentoo-dev 2009-12-30 21:53:52 UTC
Please mark rocksndiamonds-3.2.6.1.ebuild stable.
Comment 1 Andreas Schürch gentoo-dev 2010-01-13 21:47:28 UTC
The X flag is a bit strange, as it also take libX11 with USE="-X -sdl"! I think that one should get forced to enable X! 
As with -X +sdl it just claims:

sdb / # /usr/games/bin/rocksndiamonds
rocksndiamonds: SDL_InitSubSystem() failed: No available video device
rocksndiamonds: aborting

Oh, and the permission got wrong with sdl:
mad@sdb / $ /usr/games/bin/rocksndiamonds
bash: /usr/games/bin/rocksndiamonds: Permission denied
mad@sdb / $ ls -l /usr/games/bin/rocksndiamonds
lrwxrwxrwx 1 root root 18 Jan 13 23:25 /usr/games/bin/rocksndiamonds -> rocksndiamonds.sdl
mad@sdb / $ ls -l /usr/games/bin/
total 1048
lrwxrwxrwx 1 root root      18 Jan 13 23:25 rocksndiamonds -> rocksndiamonds.sdl
-rwxr-x--- 1 root root 1068872 Jan 13 23:25 rocksndiamonds.sdl

But nevertheless, i like that game, and with +X it passes the tests. :-)
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2010-01-13 21:53:08 UTC
SDL can use several different backend for displaying.  You don't have it working for X but other people might be using a different backend.
Comment 3 Andreas Schürch gentoo-dev 2010-01-13 22:50:12 UTC
Its funny that even media-libs/sdl-terminal catches libX11 as dep...
But even with that package and +sdl -X, it still complains about "No avaiable video device". 

Or what am i doing wrong!? How do i change an sdl backend?
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2010-01-13 22:58:05 UTC
http://www.libsdl.org/cgi/docwiki.cgi/Environment_variables has some good information.
Comment 5 Andreas Schürch gentoo-dev 2010-01-14 07:35:45 UTC
Ah, thanks! :-)
Ok, it works with aalib on a terminal, even if you can't see anything useful.

However... all tests passed on x86! (I haven't got that permission problem a second time...) 
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2010-01-14 12:46:41 UTC
x86 stable, thanks Andreas
Comment 7 Joe Jezak (RETIRED) gentoo-dev 2010-02-10 03:27:10 UTC
Marked ppc stable.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2010-04-08 08:24:27 UTC
dropped amd64 to ~