Skip to content

Instantly share code, notes, and snippets.

View mkroehnert's full-sized avatar

Manfred Kröhnert mkroehnert

View GitHub Profile
@mkroehnert
mkroehnert / README.md
Last active November 6, 2015 19:09
Roassal Dependency Chart similar to Parallel Coordinates Charts
@mkroehnert
mkroehnert / README.md
Last active February 26, 2023 12:43
Homebrew formula for PLIB 1.8.5 (http://plib.sourceforge.net/index.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.
@mkroehnert
mkroehnert / console-output
Last active December 27, 2015 20:29
LightZone build log on Mac OS X 10.6.8 (master branch @ 4e376e416d78ed1616fd1aac432787e2ebb66ca2) `uname -a = Darwin my-hostname 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386` `$HOSTTYPE` is `x86_64`
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.
@mkroehnert
mkroehnert / inlining.patch
Created November 1, 2011 12:17
Fix for Io inlining error on OS X
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
});