Summary: | media-libs/libsdl2-2.0.1-r1 USE=directfb - Consumers show /usr/include/SDL2/SDL_syswm.h:77:22: fatal error: directfb.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | eroen <erikdenstore+gbugs> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugzilla.libsdl.org/show_bug.cgi?id=2427 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
eroen
2014-03-01 16:11:33 UTC
(In reply to eroen from comment #0) > eroen@falcon ~/directfbtest $ cat > main.c <<EOL > > #include <SDL_syswm.h> > > EOL > eroen@falcon ~/directfbtest $ gcc $(sdl2-config --cflags) -c main.c > In file included from main.c:1:0: > /usr/include/SDL2/SDL_syswm.h:77:22: fatal error: directfb.h: No such file > or directory > #include <directfb.h> > ^ > compilation terminated. > > That seems to be a bug in sdl2-config and the pkgconfig file which are both missing "-I/usr/include/directfb" if sdl2 is compiled with directfb support. > Afaict this is supposed to at least compile. I currently run into this issue > while building (not in tree) openmw. I have no issues with > media-libs/libsdl2-2.0.1-r1[-directfb]. There does not seem to be anything > depending on libsdl2[directfb] in the tree, so masking the use flag should > not cause issues. > I dislike masking and this is not a good reason imo. We should rather take this to sdl upstream. > Even Debian disable directfb for libsdl2 since june 2013: > http://anonscm.debian.org/gitweb/?p=pkg-sdl/packages/libsdl2.git;a=blob; > f=debian/rules145 > + * Disable directfb backend for now as it's broken and upstream > + disables it by default. > > See also: > https://forum.openmw.org/viewtopic.php?f=6&t=1644#p17329146 > > I could not care less what debian does. They are randomly hacking their way through the day. if sdl upstream doesn't respond within the next couple of months we will probably drop directfb support from libsdl2 + 05 Apr 2014; Julian Ospald <hasufell@gentoo.org> libsdl2-2.0.1-r1.ebuild, + libsdl2-2.0.2.ebuild: + remove directfb video support |