← Back to team overview

kicad-developers team mailing list archive

Re: Mac OSX build, with scripting, codename "wife"

 


On Mar 11, 2013, at 12:35 AM, Miguel Angel Ajo Pelayo <miguelangel@xxxxxxx> wrote:

> Awesome!!, thanks for testing Martijn, :-)
> 
>     I think I used cmake from homebrew: 
> 
> MacBook-Air-de-Miguel:src ajo$ which cmake
> /Users/ajo/.rvm/bin/cmake
> MacBook-Air-de-Miguel:src ajo$ ls -la `which cmake`
> lrwxr-xr-x  1 ajo  staff  47  2 mar 00:24 /Users/ajo/.rvm/bin/cmake -> ../../.homebrew/Cellar/cmake/2.8.10.2/bin/cmake

At my machine using cmake from home-brew threw an error (sorry, did not catch it).

> 
>      So we should document how to install brew, and cmake + wget + bzr + swig
> 
- XCode (from app store) and Command Line Tools for Xcode from (http://connect.apple.com)
- Homebrew (http://mxcl.github.com/homebrew/)
- wget, bzr and swig via homebrew: brew install wget bzr swig
- cmake (http://www.cmake.org/cmake/resources/software.html)

Easy as 1-2-3 ...

> 
> 
> Miguel Angel Ajo
> http://www.nbee.es
> +34911407752
> skype: ajoajoajo
> 
> On 11/03/2013, at 01:29, Martijn Kuipers <martijn.kuipers@xxxxxxxxx> wrote:
> 
>> Congratulations Miguel!
>> 
>> I just completed a build on a pristine Macbook Air.
>> 
>> Some (minor) comments:
>> You need "wget", "bzr" and "swig". I installed all of these with homebrew without any problems. And you need cmake (not from homebrew, but cmake has native OSX version).
>> 
>> Other prerequisites:
>> XCode and Xcode command line tools (obviously), which you can get from Apple.
>> 
>> Then be patient and just watch the screens scroll by, but the result is really nice :-)
>> The entire directory needs about 2.5GB, The zipped Kicad is almost 100 MB, which is around 350MB unpacked.
>> 
>> Um abraço,
>> Martijn
>> 
>> 
>> On Mar 10, 2013, at 6:56 PM, Miguel Angel Ajo Pelayo <miguelangel@xxxxxxx> wrote:
>> 
>>>>> I was always hoping to see the libraries ("DLLs") to go into /Library/Kicad, so we can keep the memory footprint down of the separate Kicad components. But it is not a trivial task, so it seems.
>>>>> I am not following what you want to do. Is it like:
>>>>> /Applications/kicad/kicad.app <- the app with the libs
>>>>> /Applications/kicad/libraries <- footprints, components, etc.
>>>>> /Applications/kicad/scripts <- python user scripts
>>>>> /Applications/kicad/doc <- documentation and demos
>>>>> ?
>>>>> 
>>>> 
>>>> Look to the patches/loader.sh on github, at this moment, all the libraries *.dylib and files go inside kicad.app/Frameworks/ and the other apps use them from there (../../../kicad.app/Frameworks) , wx and python-site mainly. 
>>>> 
>>>> Also there are the demos+modules+etc in kicad.app/Resources/ or something like that  that's what I was planning to pull out of kicad.app again and yet leave it findable for all the apps.
>>>> 
>>> 
>>> 
>>> https://github.com/mangelajo/KicadOSXBuilder/commit/c41f116620182d56c07aee75cd751fe1ba922f7f
>>> This is the change, I also re-uploaded 
>>> kicad-scripting-osx-3992.zip
>>> 
>>> :-)
>>> I think it's better like this, people can go into the data directory and change/fetch whatever they like :)
>>> 
>>> 
>>>> 
>>>> 
>>>>> Kind regards,
>>>>> Martijn
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Miguel Angel Ajo
>>>>>> http://www.nbee.es
>>>>>> +34911407752
>>>>>> skype: ajoajoajo
>>>>>> 
>>>>>> On 10/03/2013, at 11:18, Martijn Kuipers <martijn.kuipers@xxxxxxxxx> wrote:
>>>>>> 
>>>>>>> Hi Miguel,
>>>>>>> 
>>>>>>> Downloading as we speak. On the github page you call it a universal OSX binary, but that would mean it supports both PowerPC and Intel based MACS, whereas is this email announcement you call it i386 +x64 build.
>>>>>>> 
>>>>>>> I'm looking forward in compiling it myself, just to see if your solution is "portable". 
>>>>>>> 
>>>>>>> Thanks also to your wife ;-)
>>>>>>> 
>>>>>>> /Martijn
>>>>>>> 
>>>>>>> 
>>>>>>> On Mar 10, 2013, at 2:19 AM, Miguel Angel Ajo Pelayo <miguelangel@xxxxxxx> wrote:
>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Hi, 
>>>>>>>> 
>>>>>>>> I've been working on the release of Kicad with scripting for MacOSX, also tried to package it all together with 
>>>>>>>> all kicad libs, and the templates.
>>>>>>>> 
>>>>>>>> It's supposed to be a i386 + x64 binary build, with scripting support.
>>>>>>>> 
>>>>>>>> kicad-scripting-osx-latest.zip
>>>>>>>> 
>>>>>>>> 
>>>>>>>> It has all the new kicad templates system and libraries inside kicad.app, and it's supposed to be accessible from all the other apps.
>>>>>>>> 
>>>>>>>> I'm not sure if it will only work in 10.8, or may be 10.5-10.8, (it has a dependency to system's python2.7).
>>>>>>>> 
>>>>>>>> If there is any adventurous out there, please try, and tell me how does it work (or doesn't).
>>>>>>>> 
>>>>>>>> 
>>>>>>>> PS:
>>>>>>>> 
>>>>>>>>    The codename for the release is "wife", as my wife has been taking care all saturday of our little "Margarita", so she's a time donor to kicad now too ;)
>>>>>>>> 
>>>>>>>> My build & packaging script is temporarily here, for just in case anyone wants to compile himself.. 
>>>>>>>> https://github.com/mangelajo/KicadOSXBuilder
>>>>>>>> 
>>>>>>>> Cheers!! ;)
>>>>>>>> 
>>>>>>>> Miguel Angel Ajo
>>>>>>>> http://www.nbee.es
>>>>>>>> +34911407752
>>>>>>>> skype: ajoajoajo
>>>>>>>> 
>>>>>>>> Miguel Angel Ajo
>>>>>>>> http://www.nbee.es
>>>>>>>> +34911407752
>>>>>>>> skype: ajoajoajo
>>>>>>>> 
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 
> 


References