Tinymail: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 14: Line 14:
= Building a tinymail suitable for OLPC =
= Building a tinymail suitable for OLPC =


svn co https://svn.tinymail.org/svn/camel-lite-builder
svn co https://svn.tinymail.org/svn/tinymail
svn co https://svn.tinymail.org/svn/tinymail
cd camel-lite-builder/trunk
cd tinymail/trunk
./autogen.sh --prefix=/opt/tinymail-olpc --with-platform=olpc --enable-python-bindings
./getcamel.sh
./autogen.sh --prefix=/opt/camel
make && make install
cd ../../tinymail/trunk
PKG_CONFIG_PATH=/opt/camel/lib/pkgconfig ./autogen.sh --prefix=/opt/tinymail-olpc --with-platform=olpc --enable-python-bindings
make && make install
make && make install



Revision as of 21:31, 29 October 2006

Information about tinymail

Documentation about building

Information about camel-lite-builder

Building a tinymail suitable for OLPC

svn co https://svn.tinymail.org/svn/tinymail
cd tinymail/trunk
./autogen.sh --prefix=/opt/tinymail-olpc --with-platform=olpc --enable-python-bindings
make && make install

note: You can also use jhbuild. It's in the build files of sugar

Creating an account

This is for the TnyAccountStore implementation of the libtinymail-olpc platform implementation (Jul 31 2006). You can find it here

mkdir -p $HOME/.tinymail/accounts/
vi $HOME/.tinymail/accounts/01
[tinymail]
type=store
proto=imap
hostname=IMAPSERVER
user=USERNAME
name=OLPC test

Using the Python bindings

cd tests/python-demo/
export PYTHONPATH=/opt/tinymail-olpc/lib/python2.4/site-packages/tinymail-1.0
python tinymail-python-test.py