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

De Stoq Wiki
Ir para: navegação, pesquisa
Linha 2: Linha 2:
  
 
<pre>
 
<pre>
 +
 +
# python
 
port install python26
 
port install python26
 
port select --set python python26
 
port select --set python python26
port install cairo +no_x11 -x11 +quartz
 
port install pango +no_x11 -x11 +quartz
 
port install gtk2 +no_x11 -x11 +quartz
 
port install py26-numpy fftw-3 py26-nose py26-py
 
port -s install py26-cairo +no_x11 -x11 +quartz
 
port install py26-gtk +no_x11 -x11 +quartz
 
  
mkdir -p /opt/local/var/db/postgresql90/defaultdb
+
# python libs
chown postgres:postgres /opt/local/var/db/postgresql90/defaultdb
 
sudo su postgres -c '/opt/local/lib/postgresql90/bin/initdb -D /opt/local/var/db/postgresql90/defaultdb'
 
 
port install py26-zopeinterface
 
port install py26-zopeinterface
 
port install py26-dateutil
 
port install py26-dateutil
Linha 19: Linha 13:
 
port install py26-pil
 
port install py26-pil
 
port install py26-mako py26-xwlt
 
port install py26-mako py26-xwlt
 +
port install py26-numpy fftw-3 py26-nose py26-py
 +
port install py26-psycopg2
 +
 +
# 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 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
 
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
 
/opt/local/bin/gdk-pixbuf-query-loaders > /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
port -s install webkit-gtk +no_x11 -x11 +quartz +no_video
+
 
port install py26-webkitgtk +no_x11 -x11 +quartz +no_video
+
port install postgresql90-server
port install py26-psycopg2
+
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: osx shm mem
FIXME: postgres server port install
 
 
FIXME: create stoq db user
 
FIXME: create stoq db user
 
FIXME: create stoq db
 
FIXME: create stoq db
 
</pre>
 
</pre>

Edição das 20h47min 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

# 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