Wednesday, September 10, 2008

Kicad SVN builds for OSX

I've managed to cobble together some universal builds of kicad for mac osx. These a based on wxMac2.8 so the graphics is still very screwy. I might try a wxCocoa build some time in the future.

The script which is on a cron job to run every day is below.


#!/bin/sh

#Make a nightly build of kicad

#update from svn
cd /Volumes/Scratch/kicad-sources
svn up
new_version=`svn info | grep Revision | cut -f 2 -d\ `
old_version=`cat /temp/install/version.txt`
if [ $new_version -gt $old_version ]
then

#build it
cd build/release
cmake ../../ -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config -DwxWidgets_ROOT_DIR=/Volumes/Scratch/wxMac-2.8.8/include -DCMAKE_INSTALL_PREFIX=/temp/install -DBoost_INCLUDE_DIR=/Volumes/Scratch/kicad-sources -DCMAKE_OSX_ARCHITECTURES="ppc -arch i386" -DCPP_FLAGS="-arch i386 -arch ppc"

make clean
if make
then
make install

#bundle
cd /temp/
tar -czf kicad_osx_v`cat install/version.txt`.tgz install

#upload
curl -T kicad_osx_v`cat install/version.txt`.tgz ftp://user:password@ftp.brokentoaster.com/

echo $new_version > /temp/install/version.txt
fi
else
echo "Kicad is uptodate :) "
fi


You can find the builds at http://www.brokentoaster.com/kicad/. No guarantees on usefulness.

Saturday, September 06, 2008

ButerflyMP3 PCBs and Kits?

Have begun looking at getting some PCBs produced and kits together for sale over the website. Haven't worked out quantity and costs yet but I'm aiming for around $8 USD for a PCB and around $25 USD for a Kit (components only).

If you are interested in either option  then email me at 

buy_pcbs at brokentoaster dot com

The prices are really only ballpark speculation at this point as they depend heavily on quantity.