Re: Stuck on KiCad dependency wxPython

2016-09-30 Thread Danny Milosavljevic
Hi, your patch looks good. But I'd rather not downgrade boost and neither do I want to carry a second boost on my system. > On the build side of things, first of all, the update to boost 1.61.0 > breaks the build of kicad, with a header missing error. I have reverted > the latest changes in boos

Re: Stuck on KiCad dependency wxPython

2016-09-29 Thread Theodoros Foradis
Danny Milosavljevic writes: > Or maybe the attached patch captures the goal of wxwidgets better (which they > IMO don't succeed at). > > I added gtk, opengl etc as native inputs instead of regular inputs because > from the point of view of Python they are not direct inputs. > > wxPython only re

Re: Stuck on KiCad dependency wxPython

2016-09-22 Thread Danny Milosavljevic
Or maybe the attached patch captures the goal of wxwidgets better (which they IMO don't succeed at). I added gtk, opengl etc as native inputs instead of regular inputs because from the point of view of Python they are not direct inputs. wxPython only requires gtk while building the extension be

Re: Stuck on KiCad dependency wxPython

2016-09-22 Thread Danny Milosavljevic
I just checked - the python-build-system doesn't allow passing flags when invoking setup.py . That's the only reason the custom build phase is there... Also, I think we should adapt wxwidgets to add propagated-inputs. Because the wxwidgets header files include opengl and gtk header files, a cli

Re: Stuck on KiCad dependency wxPython

2016-09-22 Thread Danny Milosavljevic
Hi Leo, the part that is failing is Python distutils build_ext. It uses Python*/Lib/distutils/sysconfig.py in order to find out the flags. And that does distutils/sysconfig.py:cpp = cpp + ' ' + os.environ['CPPFLAGS']

Re: Stuck on KiCad dependency wxPython

2016-07-12 Thread Ludovic Courtès
Ricardo Wurmus skribis: > Leo Famulari writes: > >> On Thu, Jul 07, 2016 at 09:31:20AM +0300, Efraim Flashner wrote: >>> /gnu/store/h38zwyj2a64dpai99gavv3anhk303xyp-wxwidgets-3.0.2/include/wx-3.0/wx/wx.h >>> >>> looks like you'll need (string-append "-I" (assoc-ref %build-inputs >>> "wxwidgets"

Re: Stuck on KiCad dependency wxPython

2016-07-08 Thread Ricardo Wurmus
Leo Famulari writes: > On Thu, Jul 07, 2016 at 09:31:20AM +0300, Efraim Flashner wrote: >> /gnu/store/h38zwyj2a64dpai99gavv3anhk303xyp-wxwidgets-3.0.2/include/wx-3.0/wx/wx.h >> >> looks like you'll need (string-append "-I" (assoc-ref %build-inputs >> "wxwidgets") "/include/wx-3.0") as a configu

Re: Stuck on KiCad dependency wxPython

2016-07-07 Thread Leo Famulari
On Thu, Jul 07, 2016 at 09:31:20AM +0300, Efraim Flashner wrote: > /gnu/store/h38zwyj2a64dpai99gavv3anhk303xyp-wxwidgets-3.0.2/include/wx-3.0/wx/wx.h > > looks like you'll need (string-append "-I" (assoc-ref %build-inputs > "wxwidgets") "/include/wx-3.0") as a configure flag Unfortunately, it has

Re: Stuck on KiCad dependency wxPython

2016-07-06 Thread Efraim Flashner
On Wed, Jul 06, 2016 at 08:22:28PM -0400, Leo Famulari wrote: > On Mon, May 23, 2016 at 12:13:19AM -0400, Leo Famulari wrote: > > On Mon, Feb 15, 2016 at 08:40:46AM +0100, Danny Milosavljevic wrote: > > > this patch adds kicad, an electronics design automation tool, to > > > "engineering.scm". > >

Stuck on KiCad dependency wxPython

2016-07-06 Thread Leo Famulari
On Mon, May 23, 2016 at 12:13:19AM -0400, Leo Famulari wrote: > On Mon, Feb 15, 2016 at 08:40:46AM +0100, Danny Milosavljevic wrote: > > this patch adds kicad, an electronics design automation tool, to > > "engineering.scm". > > Cool, I would really like to offer KiCad in Guix. This fell through