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

Bug 193128

Summary: media-video/ffmpeg - imlib2 support need X flag on imlib2 lib
Product: Gentoo Linux Reporter: Sébastien Vrillaud <kochka>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED NEEDINFO    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sébastien Vrillaud 2007-09-19 23:04:56 UTC
It's seems that ffmpeg need that imlib2 ebuild be compiled with the X flag to got the imlib2 vhook support.
I've tried on several servers with no X installed and got the same issue.
I have just add the X flag on the imlib2 ebuild to got the imlib2 support working in ffmpeg.
So maybe the X flag requierement on imlib2 ebuild must be add when the imlib flag is set on ffmpeg.

Reproducible: Always
Comment 1 Alexis Ballier gentoo-dev 2008-10-14 09:21:46 UTC
what issue? at least here it built fine with imlib2 with use=-X
Comment 2 Brad Plant 2009-06-19 05:31:45 UTC
I stumbled across the same issue compiling ffmpeg for a server with no X installed. If you edit the Makefile and add -DX_DISPLAY_MISSING=1 to VHOOKCFLAGS-$(HAVE_IMLIB2) and set HAVE_IMLIB2 to 1 in config.h, then the imlib2 vhook will compile.

I'm not sure what changes are required to the configure script etc to make this happen automatically.
Comment 3 Riun 2012-01-26 08:18:33 UTC
I've noticed the same issue between w3m and imlib2.
Trying to view images on the framebuffer in w3m. 

w3m +X +imlib2 and imlib2 -X compiles without complaining about the flags and deps, but then fails and complain about missing functions (XCreatePixmap etc.. i can add a emerge.log tonight if necessary) 

w3m +X +imlib2 and imlib2 +X compiles correctly and allows to view images in w3m.
Shouldn't the dependency of w3m be changed from imlib2 to imlib2[X]?