Skip to content

Instantly share code, notes, and snippets.

- mac-extractor.patch
If cmake is available, simply follow instructions in README.linux file instead of using the Xcode project file.
- old-configure.patch
Patch was created by the command: git diff f3a5a93e{,^} configure.ac
desc "Parse picasa photo feed."
task :parse do
require 'dm-core'
require 'open-uri'
require 'nokogiri'
config = File.open(Pathname(Sinatra::Application.root)/"config/picasa.yml") { |file| YAML.load(file) }
picasa = Picasa.new
picasa.login(config['credentials']['email'], config['credentials']['password'])
require 'rubygems'
require 'rake'
require 'sinatra'
require 'dm-core'
require 'dm-migrations'
require 'open-uri'
require 'nokogiri'
require Pathname(Sinatra::Application.root)/"lib"/"picasa"
require Pathname(Sinatra::Application.root)/"models"/"photo"
We couldn’t find that file to show.
--- mmx.h 2004/12/21 05:08:03 1.3
+++ mmx.h 2006/03/07 05:54:48 1.4
@@ -272,15 +272,15 @@
fprintf(stderr, #op "_m2r(" #mem "=0x%08x%08x, ", \
mmx_trace.d[1], mmx_trace.d[0]); \
__asm__ __volatile__ ("movq %%" #reg ", %0" \
- : "=X" (mmx_trace) \
+ : "=m" (mmx_trace) \
: /* nothing */ ); \
fprintf(stderr, #reg "=0x%08x%08x) => ", \
diff --git a/configure.in b/configure.in
index 585b038..30f4c27 100644
--- a/configure.in
+++ b/configure.in
@@ -74,28 +74,19 @@ dnl Support libfftw2 and vSDP and MKL (intel)
dnl FFTW for FFTW v2. FFTW3 for FFTW v3. VDSP for vDSP. MKL for MKL
dnl TODO: PREANSI for win32
-if test x$os = xdarwin; then
- AC_MSG_NOTICE([Using vDSP on OS X])
function parse_git_branch {
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
parse_svn_revision() {
local DIRTY REV=$(svn info 2>/dev/null | grep Revision | sed -e 's/Revision: //')
[ "$REV" ] || return
[ "$(svn st)" ] && DIRTY=' *'
echo "(r$REV$DIRTY)"
}
@gmanley
gmanley / vlc_build.sh
Created February 24, 2011 04:09
Mac OSX 10.6 VLC Build Error
[Gray][~/source/vlc] ∴ ./configure \
continue > --build=x86_64-apple-darwin10 \
continue > --disable-debug \
continue > --with-tuning=core2
checking build system type... x86_64-apple-darwin10
checking host system type... x86_64-apple-darwin10
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
....
libvlc configuration
--------------------
load 'deploy' if respond_to?(:namespace)
default_run_options[:pty] = true
load 'config/deploy'
require 'formula'
class Mysql < Formula
homepage 'http://dev.mysql.com/doc/refman/5.5/en/'
url 'http://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-5.5/mysql-5.5.10.tar.gz'
md5 'ee604aff531ff85abeb10cf332c1355a'
depends_on 'cmake' => :build
depends_on 'readline'