[Ffmpeg-devel] [PATCH] vhook Imlib2 without X

Víctor Paesa wzrlpy
Tue Dec 5 13:04:50 CET 2006


It is possible to compile the imlib2 library without using Xlib
(configure --without-x), but current configure in FFmpeg hardcodes
a dependency on Xlib.h

The attached patch removes that dependency, and leaves up to
"imlib2-config" the decission of which includes or libraries to use.

To configure FFmpeg so that the vhook imlib2 does not depend on Xlib
you'll need to:
a) have compiled your imlib2 library without using Xlib
b) pass --extra-cflags="-DX_DISPLAY_MISSING=1" to FFMpeg's configure

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.imlib2-nox.1.diff
Type: application/octet-stream
Size: 1245 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061205/a140137d/attachment.obj>

More information about the ffmpeg-devel mailing list