[PD-dev] autotools updates = building on OS X

Dan Wilcox danomatika at gmail.com
Tue Apr 26 09:38:01 CEST 2016


I’ve been updating the configure.ac and Makefile.am’s and now have pd building on the latest OSX via autotools. Installing works fine and you can run pd as any other *nix commandline app, sans app bundle. Currently, it uses the default Wish icon & name as well as the “Apple” menu, but I’m sure that can be sorted out.

The next step would be to add a make target to build the app bundle so you could do:

./configure
make
make app

I could also put in an option to build the bundle using the current system’s Wish.app or the included cop of Wish.app that comes with Pd.

Two notes so far:

* portaudio *really* needs to have a new backend that ditches the Carbon library as it will probably not build on the next version of OSX. As it is now, you have to essentially disable the deprecation errors to build it at all and a dire warning is printed on runtime. I saw some acknowledgement of the issue on the pa lists, but not much action...

* Gnu Gettext needs to be installed in order to build. I’ll probably make that optional with an override flag.

This kind of update probably requires more testing on various platforms, so I’m not proposing it for the upcoming release but more for a 0.47-# or 0.48.

Another nice option is that I(we) could add a Homebrew <http://brew.sh/> formula so pd would be installable with a simple “brew install puredata” :) (This also makes me want to update libpd to use autotools.)

--------
Dan Wilcox
@danomatika <https://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20160426/f495cd17/attachment.html>


More information about the Pd-dev mailing list