Hi,

as promised, patch for OS X attached…

Fix scripting paths on OS X. Use 
* <kicad.app>/Contents/SharedSupport/scripting/plugins
  and
* $(KICAD_PATH)/scripting/plugins (for compatibility reasons only, this path is added per default in kicadplugin.i for all platforms)
to load python scripting plugins from.

I checked all of the existing footprint wizards and apart from the “Touch Slider” they seem to work fine - I don’t know if these wizards ever have been used on OS X before. The “Touch Slider” seem to do just nothing (or, I just don’t know how to use it).


Regards,
Bernhard

Attachment: scripting-OSX.patch
Description: Binary data


On 01.10.2015, at 23:26, Adam Wolf <adamw...@feelslikeburning.com> wrote:

It looks like the OS X builder will be back up and running, with the new docs improvements and translation git repo, tonight.

Next is to do some tests with some CMAKE things per Wayne for the slow drawing, and then I'll start tackling the Python stuff.

(One advantage is that you will have mostly hammered this out by the time I get to it :) )

Adam Wolf

On Thu, Oct 1, 2015 at 2:25 PM, Wayne Stambaugh <stambau...@gmail.com> wrote:
I committed your patch in r6236 with the revised plugin path.  Thanks
for the patch.  This should work on both linux and windows.  I'm not
sure if it will work with the kicad-winbuilder or the if the windows
installer will need to be changed.

On 10/1/2015 2:43 PM, Brian Sidebotham wrote:
> Shall I apply the one-liner to get python footprint wizards working on Linux?
>
> On 30 September 2015 at 23:57, Brian Sidebotham
> <brian.sidebot...@gmail.com> wrote:
>> On 30 September 2015 at 21:19, Wayne Stambaugh <stambau...@gmail.com> wrote:
>>> I just committed a fix so at least the python plugins will get installed
>>> in share/kicad/scripting which seems to work properly on msys2/mingw64
>>> builds.  I'll test it on Linux when I get a chance.  I'm going to pass
>>> on the python scripting example folder unless someone can confirm that
>>> all of the example python scripts work correctly.
>>
>> It's broken on Linux too, the script path is broken. I've attached a
>> patch to fix it ( a one liner )
>>
>> There's also a patch which helps when you install locally rather than
>> globally (like me!) so I can have more than one install at a time, but
>> it's tied specifically to a python version so is useless. We can fix
>> all this properly after the stable release. For now the one-liner fix
>> will work for system-wide installs.
>>
>> Best Regards,
>>
>> Brian.

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to