On Sat, Sep 17, 2005 at 12:57:31PM +0200, Sebastien Bacher wrote:
> Le mercredi 14 septembre 2005 à 20:38 +0200, Yann Dirson a écrit :
> > On Wed, Sep 14, 2005 at 02:25:08PM +0200, Sebastien Bacher wrote:
> > > Does a "import gtk._gtk" work? If not what does it say?
> > 
> > Bingo.  That module import fails when DISPLAY is not set or invalid,
> > which means the configure test for gnome.canvas in gcompris will fail
> > on buildd's.
> > 
> > Now is there another way than "import" to check that gnome.canvas is
> > available and works to some extent, or is it really a bug in gtk._gtk ?
> 
> Use xvfb (you can use diacanvas2 as example). I'm closing the bug since
> it's not really one.

The package should build-depend on xvfb just for this ?
It looks like a bit overkill...

And at the very least, "import gnome.canvas" should display a more
informational message.  It is a bit strange that the information is
lost between the "import gtk._gtk" and the raise of the final
exception...

-- 
Yann Dirson    <[EMAIL PROTECTED]> |
Debian-related: <[EMAIL PROTECTED]> |   Support Debian GNU/Linux:
                                    |  Freedom, Power, Stability, Gratis
     http://ydirson.free.fr/        | Check <http://www.debian.org/>

Reply via email to