← Back to team overview

kicad-developers team mailing list archive

Re: Mac packaging update

 

Soon.  Today?  I'll see if I can set up the scripts to apply the attached patch.

I rebuilt from a clean setup using all the old infrastructure, and I
do not see any new issues, and the output DMGs appear to be the same.
Let me know if there are any objections to this change.

Adam

On Mon, Apr 23, 2018 at 1:11 PM, Wayne Stambaugh <stambaughw@xxxxxxxxx> wrote:
> Hi Adam,
>
> When do you think you will be able to begin providing nightly builds
> with this so users can test it?  It would be nice to have a few weeks of
> testing with Python bundled on macos to shake out any bugs before the
> stable release.
>
> Thanks,
>
> Wayne
>
> On 4/23/2018 10:46 AM, Adam Wolf wrote:
>> Hi folks!
>>
>> Over the weekend, I made a culminating breakthrough on some Python
>> work I've been working on since at least March 2017
>> (https://cmake.org/pipermail/cmake/2017-March/065140.html).  I now
>> have a Python Framework embedded inside KiCad, scripting console and
>> all, which fixes many issues we've had for years.  For instance, I can
>> no longer reproduce the longstanding "Mac KiCad stops working if you
>> have wxmac or wxpython installed".  !!!
>>
>> My changes require *one* change inside KiCad, setting
>> BU_COPY_FULL_FRAMEWORK_CONTENTS to ON (see
>> https://cmake.org/cmake/help/v3.0/module/BundleUtilities.html) so that
>> it copies the complied full custom Python Framework into the bundle.
>>
>> I am going to prepare a patch, and see if the last-generation
>> packaging scripts still work.  I expect they should--I don't actually
>> suspect any change for anyone else, because the Python framework is
>> usually a system framework, and those are filtered out by
>> BundleUtilities.  Doing a clean build from the old scripts to test it
>> will take a good chunk of today.  (I am not 100% sure it won't cause
>> problems for other folks, so I am prepared to set this behind a CMake
>> flag so people can turn it off.)
>>
>> That'll take me a day, and I know we're running into a deadline, so I
>> just wanted to pipeline any necessary discussion :)
>>
>> Adam Wolf
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

Attachment: 0001-Added-BU_COPY_FULL_FRAMEWORK_CONTENTS-ON-to-bundle-t.patch
Description: Binary data


Follow ups

References