Comment 11 for bug 301007

Revision history for this message
Sandro Tosi (morph-debian) wrote : Re: [Bug 301007] Re: python-matplotlib: missing package dependency (python-tk)

2009/5/5 Дмитрий Ледков <email address hidden>:
> 2009/5/5 John Haitas <email address hidden>:
>> I am already working on a patch that moves python-gtk2 etc... to the
>> Suggests line...
>>
>> would that produce the desired results?
>>
>
> Dunno... The idea here is that matplolib GUI has many types depending
> on different backends.
>
> A KDE user _can_ run the qt gui.
> A Gnome user _can_ run the GTK gui.
> etc.
>
> At runtime the _available_ backends should be checked and one should
> be picked which is curently available, ie. installed.
>
> Due to python / apt nature what is avaiable at install time is
> different from what is there at the runtime.
>
> Ideally we should be able to detect that.

And we already talked with upstream authors to implement such functionality.

> I got this idea to use Python-Apt bindings to write a small function
> that will check with apt what's installed and pick the pretties one.
> I'll work on this, should be easy. Hopefully I will have something
> ready (patch, debdiff, PPA) in a few hours.

No, that should be done inside matplotlib: check what's binding is
available, choose the best.

> This will be Debian/Ubuntu solution.

The solution descrive above will enter Debian, not anything else.

Regards,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi