Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884629 - games-roguelike/dwarf-fortress requires libsdl[X]
Summary: games-roguelike/dwarf-fortress requires libsdl[X]
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-06 22:36 UTC by Erik Mackdanz
Modified: 2022-12-06 22:47 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Mackdanz gentoo-dev 2022-12-06 22:36:36 UTC
without libsdl[X] the package compiles fine.  At runtime there is:

erik@carbon ~ $ dwarf-fortress
Alert Error:
SDL initialization failure: No available video device

SDL initialization failure: No available video device

... this happened with and without USE=gui

Reproducible: Always

Steps to Reproduce:
1.  USE=-X emerge -1 media-libs/libsdl
2. emerge dwarf-fortress
3. run dwarf-fortress
Actual Results:  
SDL initialization failure: No available video device

Expected Results:  
UI launches the game
Comment 1 Ionen Wolkens gentoo-dev 2022-12-06 22:47:34 UTC
It works fine if you have /any/ video output enabled, e.g. libsdl[-X,libcaca] works. X would just be forcing one in particular and this should be left to user choice.

You can also enable the curses-based output that doesn't use libsdl for display but is not default.