-
install macholib from subversion (I used r32): http://bit.ly/dzVUqL
-
install py2app from subversion (I used r89): http://bit.ly/9foWrt
-
apply the patch here (by hand or otherwise): http://gist.github.com/331071
-
Download Qt from here (get the cocoa libraries) and install: http://bit.ly/c5wD42
-
Download sip from here: http://bit.ly/9n6ikh. Configure sip with:
python configure.py --arch=i386 --arch=x86_64 make sudo make install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool NO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
q = qplot(chr_only$target_chromo, chr_only$count, geom="bar") | |
q + opts(axis.text.x=theme_text(angle=-45, hjust=0)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT val, COUNT(val) AS frequency, | |
repeat('.',COUNT(val)) AS histogram | |
FROM data GROUP BY val ORDER BY val; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install MacPorts or make sure it's squared away with: | |
sudo port selfupdate | |
# Install libao | |
sudo port install libao | |
# Install faad2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- src/io/io_dns.c 2009-05-17 16:06:46.000000000 -0700 | |
+++ ../climm-0.7-patched/src/io/io_dns.c 2010-01-31 16:11:18.000000000 -0800 | |
@@ -37,7 +37,7 @@ | |
#include <netinet/in.h> | |
#endif | |
#if HAVE_ARPA_NAMESER_H | |
-#include <arpa/nameser.h> | |
+#include <arpa/nameser_compat.h> | |
#endif | |
#if HAVE_RESOLV_H |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- configure.ac 2009-05-17 16:06:50.000000000 -0700 | |
+++ ../climm-0.7-patched/configure.ac 2010-01-31 15:32:59.000000000 -0800 | |
@@ -97,7 +97,10 @@ | |
if test "x$ac_arg_use_ssl" != "xno"; then | |
ac_use_ssl=no | |
if test "x$ac_arg_use_ssl" != "xopenssl"; then | |
- AM_PATH_LIBGNUTLS(0.8.8, ac_use_ssl=gnutls) | |
+ PKG_CHECK_MODULES(LIBGNUTLS, gnutls > 2, ac_use_ssl=gnutls) | |
+ if test "x$ac_use_ssl" = xno; then | |
+ AM_PATH_LIBGNUTLS(0.8.8, ac_use_ssl=gnutls) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Roll your own python from source: | |
wget http://www.python.org/ftp/python/2.6.5/Python-2.6.5.tgz | |
tar -xzvf Python-2.6.5.tgz && cd Python-2.6.* | |
./configure --enable-framework=/Library/Frameworks --with-universal-archs=intel --enable-universalsdk=/ | |
make | |
sudo make install | |
# Update the symlink for `python` (and check others) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- matplotlib-0.99.3.orig/Makefile 2009-08-22 19:14:55.000000000 -0700 | |
+++ matplotlib-0.99.3.update/Makefile 2010-06-14 09:42:37.000000000 -0700 | |
@@ -29,7 +29,7 @@ | |
_build_osx105: | |
- CFLAGS="-Os -arch i386 -arch ppc" LDFLAGS="-Os -arch i386 -arch ppc" python setup.py build | |
+ CFLAGS="-Os -arch x86_64 -arch i386" LDFLAGS="-Os -arch i386 -arch x86_64" python setup.py build | |
build_osx105: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################################ | |
# see http://stackoverflow.com/questions/1477144/compile-matplotlib-for-python-on-snow-leopard # | |
################################################################################################ | |
PREFIX=/usr/local | |
PYTHON=python | |
ZLIBVERSION=1.2.3 | |
PNGVERSION=1.4.2 | |
FREETYPEVERSION=2.3.12 |