Re: [PATCH v2 3/3] gnu: Add python2-wxpython.

2016-10-31 Thread Danny Milosavljevic
Hi, because of wxPython/src/helpers.cpp directly accessing a Gtk (gdk) structure (in macro GetXWindow) wxpython also requires gtk as regular input. I've tested it in $ guix environment --pure --ad-hoc python2-wxpython python-2 -- python using: import wxversion wxversion.select("3.0") import w

Re: [PATCH v2 3/3] gnu: Add python2-wxpython.

2016-10-31 Thread Danny Milosavljevic
Hi, wxPython bundles wxwidgets. That's why we cd to "wxPython/wxPython" in order to avoid building it. So wxPython as we build it requires wxwidgets as input. But wxwidgets has multiple backends it supports, among them gtk. It should work to just leave off the gtk dependency on wxPython - sinc

Re: [PATCH v2 3/3] gnu: Add python2-wxpython.

2016-10-30 Thread Hartmut Goebel
Am 30.10.2016 um 02:13 schrieb Leo Famulari: > As for whether or not the packages are required at run-time, I don't > know. wxPython's documentation should explain what the software does and > what libraries it wants to use. > > Hartmut, assuming that wxPython needs these packages at run-time, do y

Re: [PATCH v2 3/3] gnu: Add python2-wxpython.

2016-10-29 Thread Leo Famulari
On Tue, Oct 25, 2016 at 08:13:55PM +0300, Theodoros Foradis wrote: > Leo Famulari writes: > >> +(native-inputs > >> + `(("gtk+" ,gtk+-2) > >> + ("expat" ,expat) > >> + ("libjpeg" ,libjpeg) > >> + ("libpng" ,libpng) > >> + ("libtiff" ,libtiff) > >> + ("libsm" ,l

Re: [PATCH v2 3/3] gnu: Add python2-wxpython.

2016-10-25 Thread Leo Famulari
On Tue, Oct 25, 2016 at 09:05:44PM +0300, Theodoros Foradis wrote: > > Leo Famulari writes: > > > On Tue, Oct 25, 2016 at 07:09:07PM +0300, Theodoros Foradis wrote: > >> * gnu/packages/wxwidgets.scm (python2-wxpython): New variable. > > > >> + #:tests? #f ; tests fail > > > > We should try

Re: [PATCH v2 3/3] gnu: Add python2-wxpython.

2016-10-25 Thread Theodoros Foradis
Leo Famulari writes: > On Tue, Oct 25, 2016 at 07:09:07PM +0300, Theodoros Foradis wrote: >> * gnu/packages/wxwidgets.scm (python2-wxpython): New variable. > >> + #:tests? #f ; tests fail > > We should try to fix this, or at least understand why they are failing. I tried building the packa

Re: [PATCH v2 3/3] gnu: Add python2-wxpython.

2016-10-25 Thread Theodoros Foradis
Leo Famulari writes: > On Tue, Oct 25, 2016 at 07:09:07PM +0300, Theodoros Foradis wrote: >> * gnu/packages/wxwidgets.scm (python2-wxpython): New variable. > >> + #:tests? #f ; tests fail > I'll try to give this one a second look. > We should try to fix this, or at least understand why th

Re: [PATCH v2 3/3] gnu: Add python2-wxpython.

2016-10-25 Thread Leo Famulari
On Tue, Oct 25, 2016 at 07:09:07PM +0300, Theodoros Foradis wrote: > * gnu/packages/wxwidgets.scm (python2-wxpython): New variable. > + #:tests? #f ; tests fail We should try to fix this, or at least understand why they are failing. > +(native-inputs > + `(("gtk+" ,gtk+-2) > +

[PATCH v2 3/3] gnu: Add python2-wxpython.

2016-10-25 Thread Theodoros Foradis
* gnu/packages/wxwidgets.scm (python2-wxpython): New variable. --- gnu/packages/wxwidgets.scm | 84 ++ 1 file changed, 84 insertions(+) diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm index 4efe7a1..0002b73 100644 --- a/gnu/packages