The initial version was provided by Alexandre Bergel on the Moose mailinglist here:
https://www.list.inf.unibe.ch/pipermail/moose-dev/2015-May/023447.html
The initial version was provided by Alexandre Bergel on the Moose mailinglist here:
https://www.list.inf.unibe.ch/pipermail/moose-dev/2015-May/023447.html
Install PLIB on OS X with this formula via the package manager Homebrew.
Relevant patches were taken from the MacPorts repository: https://trac.macports.org/browser/trunk/dports/devel/plib/files
sl and pw library have been disable since they do not build on newer OS X versions without Carbon.
Install with:
curl https://gist.githubusercontent.com/mkroehnert/effb45389e14fc28c286/raw/a01373009be2423ee4445041b6cd0a29953971f7/plib.rb -o /usr/local/Library/Formula/plib.rb
| Buildfile: /Users/MK/Projects/LightZone/lightcrafts/build.xml | |
| javac: | |
| [exec] ln -fs "../lib/script-api.jar" "script-api.jar" | |
| [exec] ln -fs "../lib/substance-lite.jar" "substance-lite.jar" | |
| [mkdir] Created dir: /Users/MK/Projects/LightZone/lightcrafts/extbuild | |
| [javac] Compiling 846 source files to /Users/MK/Projects/LightZone/lightcrafts/extbuild | |
| [javac] Note: Some input files use or override a deprecated API. | |
| [javac] Note: Recompile with -Xlint:deprecation for details. | |
| [javac] Note: Some input files use unchecked or unsafe operations. |
| Buildfile: /Users/MK/Projects/LightZone/lightcrafts/build.xml | |
| javac: | |
| [exec] ln -fs "../lib/script-api.jar" "script-api.jar" | |
| [exec] ln -fs "../lib/substance-lite.jar" "substance-lite.jar" | |
| [mkdir] Created dir: /Users/MK/Projects/LightZone/lightcrafts/extbuild | |
| [javac] Compiling 846 source files to /Users/MK/Projects/LightZone/lightcrafts/extbuild | |
| [javac] Note: Some input files use or override a deprecated API. | |
| [javac] Note: Recompile with -Xlint:deprecation for details. | |
| [javac] Note: Some input files use unchecked or unsafe operations. |
| diff --git a/libs/basekit/source/Common_inline.h b/libs/basekit/source/Common_inline.h | |
| index 0f3680e..45b228f 100755 | |
| --- a/libs/basekit/source/Common_inline.h | |
| +++ b/libs/basekit/source/Common_inline.h | |
| @@ -52,16 +52,17 @@ Kudos to Daniel A. Koepke | |
| #if defined(__APPLE__) | |
| - #define NS_INLINE static __inline__ __attribute__((always_inline)) | |
| + //#define NS_INLINE static __inline__ __attribute__((always_inline)) |
| From 42e1a441b84340249a9793581825acce2167fda0 Mon Sep 17 00:00:00 2001 | |
| From: mkroehnert <mkroehnert@users.sourceforge.net> | |
| Date: Fri, 17 Sep 2010 19:45:29 +0200 | |
| Subject: [PATCH] [subversion] fix building of perl/swig bindings on OS X 10.5.8 | |
| --- | |
| Library/Formula/subversion.rb | 8 +++++++- | |
| 1 files changed, 7 insertions(+), 1 deletions(-) | |
| diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb |
| var http = require('http'); | |
| var sys = require('sys'); | |
| var server = http.createServer(function(request, response) { | |
| function createResponse(responseCode, responseMessage) { | |
| responseMessage = responseMessage || ''; | |
| response.writeHead(responseCode, { | |
| 'Content-Type': 'text/plain', | |
| 'Content-Length': responseMessage.length | |
| }); |