Mudanças entre as edições de "Mac OS X"

De Stoq Wiki
Ir para: navegação, pesquisa
Linha 15: Linha 15:
 
port install py26-numpy fftw-3 py26-nose py26-py
 
port install py26-numpy fftw-3 py26-nose py26-py
 
port install py26-psycopg2
 
port install py26-psycopg2
 +
port install py26-pyobjc
  
 
# cairo
 
# cairo

Edição das 23h21min de 21 de fevereiro de 2012

Tentative instructions for building Stoq on Mac OS X,


# python
port install python26
port select --set python python26

# python libs
port install py26-zopeinterface
port install py26-dateutil
port install py26-twisted
port install py26-pil
port install py26-mako py26-xwlt
port install py26-numpy fftw-3 py26-nose py26-py
port install py26-psycopg2
port install py26-pyobjc

# cairo
port install cairo +no_x11 -x11 +quartz
port -s install py26-cairo +no_x11 -x11 +quartz

# gtk
port install pango +no_x11 -x11 +quartz
port install gtk2 +no_x11 -x11 +quartz
port -s install py26-gtk +no_x11 -x11 +quartz

# rsvg
port install libart_lgpl libcroco libgsf gconf dbus-glib dbus orbit2 libidl policykit eggdbus gnome-vfs desktop-file-utils popt gnome-mime-mime-data libbonobo
port -s install librsvg

# webkit
port install enchant aspell texinfo hunspell icu libsoup glib-networking curl-ca-bundle gnutls libgcrypt libgpg-error libtasn1 lzo2 libproxy cmake libidn libgnome-keyring gnome-keyring
port -s install webkit-gtk +no_x11 -x11 +quartz +no_video
port -s install py26-webkitgtk +no_x11 -x11 +quartz +no_video

/opt/local/bin/gdk-pixbuf-query-loaders > /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache

port install postgresql90-server
mkdir -p /opt/local/var/db/postgresql90/defaultdb
chown postgres:postgres /opt/local/var/db/postgresql90/defaultdb
sudo -u postgres /opt/local/lib/postgresql90/bin/initdb -D /opt/local/var/db/postgresql90/defaultdb
sudo -u postgres /opt/local/lib/postgresql90/bin/postgres -D /opt/local/var/db/postgresql90/defaultdb

FIXME: osx shm mem
FIXME: create stoq db user
FIXME: create stoq db