Recent releases have been pre-built using cross-compilers and this script and are downloadable below.
If you have found these packages useful, give me a shout out on twitter: @adammw
### Keybase proof | |
I hereby claim: | |
* I am jkp on github. | |
* I am jkp (https://keybase.io/jkp) on keybase. | |
* I have a public key whose fingerprint is 20B5 CD0A 8BC4 683D 68D8 6574 82CE E0DE F355 FD3B | |
To claim this, I am signing this object: |
Recent releases have been pre-built using cross-compilers and this script and are downloadable below.
If you have found these packages useful, give me a shout out on twitter: @adammw
#!/usr/bin/env python | |
# | |
# Jamie Kirkpatrick, November 2009. <jkp@kirkconsulting.co.uk> | |
# Released under the BSD license. | |
# | |
""" | |
Experimental code to add asyncronous functionality to WSGI applications | |
running under the Tornado webserver. Uses greenlet to spin micro-threads | |
which can be suspended and resumed within a single thread as required. |
require 'formula' | |
# NOTE: | |
# | |
# Two exciting enhancements in GCC 4.6.0 are currently unavailable. | |
# | |
# Link-time optimization (LTO) is broken due to changes in XCode 3.2.6 and 4.0. | |
# This should be fixed in GCC 4.6.1: | |
# http://lists.macosforge.org/pipermail/macports-dev/2011-March/014278.html | |
# |
#!/bin/bash | |
ninja ${@} | grep -v ^FAILED | |
exit ${PIPESTATUS[0]} |
From 7b510532d23df7f4b3be3f205f640835bb87672a Mon Sep 17 00:00:00 2001 | |
From: Jamie Kirkpatrick <jkp@spotify.com> | |
Date: Tue, 31 Jan 2012 13:00:51 +0100 | |
Subject: [PATCH] Fixed compilation on Lion by forcing LLVM-GCC during | |
compilation | |
--- | |
Library/Formula/lbdb.rb | 4 +++- | |
1 files changed, 3 insertions(+), 1 deletions(-) |
var connect = require('connect'); | |
var http = require('http'); | |
var phantom = require('phantom'); | |
var websocket = require("websocket-server"); | |
var httpServer = connect.createServer(connect.static(__dirname + "/..")); | |
httpServer.listen(8000); | |
var wsServer = websocket.createServer(); | |
wsServer.addListener("connection", function(connection){ |
require 'formula' | |
class Cmake < Formula | |
head 'https://github.com/jkp/CMake.git', :tag => 'b8aa20c2913e91609c424d55fbb3d56cc5cd3dba' | |
homepage 'http://www.cmake.org/' | |
def install | |
# A framework-installed expat will be detected and mess things up. | |
if File.exist? "/Library/Frameworks/expat.framework" | |
opoo "/Library/Frameworks/expat.framework detected" |
From fefdeccb336b4eb96dd5c3351ba2d5d4606bea62 Mon Sep 17 00:00:00 2001 | |
From: Jamie Kirkpatrick <jkp@spotify.com> | |
Date: Sat, 25 Feb 2012 13:32:55 +0100 | |
Subject: [PATCH] Fix compilation errors under cmake | |
--- | |
Library/Formula/qt.rb | 3 ++- | |
1 files changed, 2 insertions(+), 1 deletions(-) | |
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb |
diff --git a/src/gui/kernel/qt_cocoa_helpers_mac_p.h b/src/gui/kernel/qt_cocoa_helpers_mac_p.h | |
index d831e27..fac5054 100644 | |
--- a/src/gui/kernel/qt_cocoa_helpers_mac_p.h | |
+++ b/src/gui/kernel/qt_cocoa_helpers_mac_p.h | |
@@ -215,7 +215,7 @@ inline QString qt_mac_NSStringToQString(const NSString *nsstr) | |
{ return QCFString::toQString(reinterpret_cast<const CFStringRef>(nsstr)); } | |
inline NSString *qt_mac_QStringToNSString(const QString &qstr) | |
-{ return [reinterpret_cast<const NSString *>(QCFString::toCFStringRef(qstr)) autorelease]; } | |
+{ return [const_cast<NSString*>(reinterpret_cast<const NSString *>(QCFString::toCFStringRef(qstr))) autorelease]; } |