On 10/09/2012 02:35 PM, Jamie Bullock wrote:
On 9 Oct 2012, at 19:26, Hans-Christoph Steiner hans@at.or.at wrote:
I just tried to compile pluginhost~ on my Mint install. I have dssi-dev and ladspa-sdk installed. I just ran "make" and got:
hans@palatschinken pluginhost~ $ make cc -I"/usr/local/include/pd" -I./include -DPD -DVERSION='"1.0"' -DHAVE_SYS_CLOSE_AUDIO -DHAVE_SYS_CLOSE_MIDI -fPIC -Wall -W -g -g -O0 -o "jsearch.o" -c "jsearch.c" jsearch.c: In function ‘LADSPADirectoryPluginSearch’: jsearch.c:40:5: error: unknown type name ‘bool’ jsearch.c:40:20: error: ‘false’ undeclared (first use in this function) jsearch.c:40:20: note: each undeclared identifier is reported only once for each function it appears in jsearch.c:82:27: error: ‘true’ undeclared (first use in this function) make: *** [jsearch.o] Error 1
Thanks for the bug report. Just fixed it in svn revision 16368.
That fixed it. I just updated the Makefile to the latest version from the template. It now allows you to include the extra sources without having to modify the Makefile. It also has better support for building on Mac OS X >= 10.7, since Xcode 4.x doesn't install the PowerPC tools by default.
Also, I noticed that some of the liblo code says it has a CPL license. It seems that code is not compatible with the GPL: https://en.wikipedia.org/wiki/Common_Public_License
The website of liblo says its under the LGPL, which would be compatible. That's something that will need to be clarified before this can be uploaded to Debian.
For the BSD-licensed code, the BSD license does have one requirement: that you include the original license file. You can just append it to the LICENSE.txt file.
I just committed the debian-izing. If you want to try it, do this:
sudo apt-get install debhelper devscripts dpkg-dev cd /path/to/externals/postlude/pluginhost~ make dist mv pluginhost~-1.0.tar.gz ../pd-pluginhost_1.0.orig.tar.gz debuild -uc -us
.hc