Lucian Muresan wrote:
> Ok, I'd like to try to do that. I could hardcode some
> display.config('#define THERE_IS_NO_X11')
> in kaa/display/setup.py and use it all over to avoid building against
> X11, and do the same in kaa.xine, but I wanted to do it properly. 

That is fine. We do that all the time, except we use USE_X11 if it is
there :)

> Only I couldn't find a way, as I'm not a python programmer. I tried
> to see how other libraries like imlib2, directfb are detected in
> kaa, but I couldn't use that for X11. 

You can use check_cc, kaa.metadata does this to find libdvdread.

> Please help me with this one, then I think I'll be able to provide a
> patch for the rest, and I also think it would be benefic for Freevo2
> if someone can always check if it builds and is usable even without
> X. 

That would be great. Maybe move the display code from __init__.py into
an extra file like we do for fb. Than you can use import with
try/except to avoid problems with the missing display
variables...wait, you don't need to, it should work without it.


Dischi

-- 
Symbol's function definition is void: signature

Attachment: pgpBwWBklIMQy.pgp
Description: PGP signature

Reply via email to