Re: [clutter] Clutter in Freevo

From: Florent <fthiery_at_gmail.com>
Date: Tue, 15 Apr 2008 12:50:18 +0200

Hi

> patching clutter/__init__.py to set the flags on import might do the
> trick:
>
> +try:
> + import dl
> + sys.setdlopenflags(dl.RTLD_LAZY|dl.RTLD_GLOBAL)
> +except ImportError:
> + pass
> +
> # For broken embedded programs which forgot to call Sys_SetArgv
> if not hasattr(sys, 'argv'):
> sys.argv = []
>
> (with the lazy flag should still work).

WELL DONE !

At least, the test files (fbo cloning and shaders) i submitted to the
bugtracker seem to work quite good.

Thanks a lot !

Florent

-- 
To unsubscribe send a mail to clutter+unsubscribe_at_o-hand.com
Received on Tue Apr 15 2008 - 06:50:18 EDT

This archive was generated by hypermail 2.2.0 : Tue Apr 15 2008 - 07:00:46 EDT