Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#45141 closed submission (fixed)

faust2pd @2.9, pd-pure @0.20, pd-faust @0.9: new ports

Reported by: agraef (Albert Graef) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: faust2pd pd-pure pd-faust

Description

Ryan, I finally got around porting these and I need them for the upcoming semester. It would be nice if you could review and commit. For now, this is just the faust2pd Portfile; however, pd-pure and pd-faust will follow soon, I'll add them here as soon as I've tested them.

Note that these ports don't require Pd (which isn't in MacPorts yet) in any way. Of course, in order to make good use of the ports, the user will have to install one of the available binary distributions of Pd, but either of those works fine with the ports provided here, I've checked that on my MB Pro running 10.9.5. Also, I'll put instructions on how to use the ports with Pd on https://bitbucket.org/purelang/pure-lang/wiki/PureOnMacOSX as soon as they are committed.

Thanks, Albert

Attachments (3)

Portfile (1.1 KB) - added by agraef (Albert Graef) 5 years ago.
faust2pd Portfile, corrected
Portfile.2 (1.1 KB) - added by agraef (Albert Graef) 5 years ago.
pd-pure Portfile
Portfile.3 (1.3 KB) - added by agraef (Albert Graef) 5 years ago.
pd-faust Portfile

Download all attachments as: .zip

Change History (12)

Changed 5 years ago by agraef (Albert Graef)

Attachment: Portfile added

faust2pd Portfile, corrected

Changed 5 years ago by agraef (Albert Graef)

Attachment: Portfile.2 added

pd-pure Portfile

Changed 5 years ago by agraef (Albert Graef)

Attachment: Portfile.3 added

pd-faust Portfile

comment:1 Changed 5 years ago by agraef (Albert Graef)

Added the pd-pure and pd-faust Portfiles. Please note that pd-faust requires pure-stldict which isn't available in MacPorts yet. I've submitted a Portfile for this in ticket #45142.

comment:2 Changed 5 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Oops, you weren't supposed to need to set "distname ${name}-${version}"; in r125739 I've fixed the bug in the pure portgroup that made that necessary in this case.

comment:3 Changed 5 years ago by ryandesign (Ryan Schmidt)

Committed faust2pd in r125740.

The README says:

faust2pd is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.

Therefore I've set the license in the portfile to "GPL-3+".

The faust2pd executable did link with the pure-xml library:

$ otool -L /opt/local/bin/faust2pd
/opt/local/bin/faust2pd:
	/opt/local/lib/pure/xml.dylib (compatibility version 0.0.0, current version 0.0.0)
	/opt/local/lib/libpure.8.dylib (compatibility version 8.0.0, current version 8.0.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)

Therefore I added a library dependency on pure-xml.

comment:4 Changed 5 years ago by ryandesign (Ryan Schmidt)

Committed pd-pure in r125742. I removed the libtool dependency because it didn't seem to be used. Let me know if I've overlooked something there.

comment:5 in reply to:  4 Changed 5 years ago by agraef (Albert Graef)

Replying to ryandesign@…:

Committed pd-pure in r125742. I removed the libtool dependency because it didn't seem to be used. Let me know if I've overlooked something there.

You're right, pd-faust shouldn't need it either. Sorry for the glitches in the portfiles. These were the first ones I did, I simply copied them over and edited them.

comment:6 Changed 5 years ago by agraef (Albert Graef)

Reviewing the pd-faust portfile, I think that pd-pure needs to be added under depends_run-append, since the Pure loader is required to run it in Pd.

comment:7 Changed 5 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: assignedclosed

Committed pd-faust in r125759. The README says:

pd-faust is distributed under the GNU LGPL v3+. Please see the included
COPYING and COPYING.LESSER files for details.

This package also includes the faust-stk instruments which are distributed
under an MIT-style license, please check the examples/dsp/README-STK file
and the dsp files for authorship information and licensing details pertaining
to these. The original faust-stk sources can be found in the Faust
distribution, cf. http://faust.grame.fr/.

So I changed the license line to "LGPL-3+ MIT". I also added a patchfile to fix hardcoded references to gcc.

comment:8 Changed 5 years ago by agraef (Albert Graef)

Ah yes. I usually distribute the Pd-related packages under the 3-clause BSDL which matches Pd's license, but this one is special since it incorporates code from Faust which is under the LGPL. Well, I could have done otherwise, since of all of the Faust-related code is my own anyway, but that's the way it is, and that should be properly reflected in the portfile. Thanks for spotting this.

comment:9 Changed 5 years ago by ryandesign (Ryan Schmidt)

I had wrong licenses indicated in many of the pure ports (mostly that I hadn't indicated the "or later" part in the GPL/LGPL licenses) but they should all be correct now.

Note: See TracTickets for help on using tickets.