Changeset 2586

Show
Ignore:
Timestamp:
08/08/07 11:30:33
Author:
pvanhoof
Message:

Added some specific docs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/docs/building.txt

    r2454 r2586  
    131131------------- 
    132132CFLAGS="-DDEBUG -DDBC -D_GNU_SOURCE -O0 -Wall -g -ggdb" PKG_CONFIG_PATH=/opt/asyncworker/lib/pkgconfig \ 
    133         ./autogen.sh --prefix=/opt/tinymail --enable-asyncworker --enable-tests --enable-unit-tests && make && sudo make install 
     133        ./autogen.sh --prefix=/opt/tinymail --enable-asyncworker --enable-tests --enable-unit-tests && \ 
     134         make && sudo make install 
    134135 
    135136Other commonly used CFLAGS 
    136137-------------------------- 
    137 CFLAGS="-DDEBUG -DDBC -O0 -g -ggdb" 
     138export CFLAGS="-DDEBUG -DDBC -O0 -g -ggdb" 
    138139 
    139140Typical for development 
    140141----------------------- 
    141 CFLAGS="-DDEBUG -DDBC -O0 -Wstrict-prototypes -Wall -g -ggdb" ./autogen.sh --prefix=/opt/tinymail --with-platform=maemo --with-ssl=openssl && make && make install 
     142CFLAGS="-DDEBUG -DDBC -O0 -Wstrict-prototypes -Wall -g -ggdb" ./autogen.sh --prefix=/opt/tinymail \ 
     143        --with-platform=maemo --with-ssl=openssl && make && make install 
    142144 
    143145You typically compile E-mail clients this way now: 
     
    154156 
    155157 
     158-- Building Modest -- 
     159# 
     160## Outside scratchbox 
     161# 
     162cd /scratchbox/users/$USER/home/$USER 
     163mkdir repos 
     164cd repos 
     165svn co https://svn.tinymail.org/svn/tinymail/trunk tinymail 
     166svn co https://garage.maemo.org/svn/modest/maemo-providers-data maemo-providers-data    
     167svn co https://garage.maemo.org/svn/modest/libwpeditor-plus/trunk libwpeditor-plus  
     168svn co https://garage.maemo.org/svn/modest/modest/trunk modest 
     169/scratchbox/login 
     170 
     171# 
     172## Inside scratchbox 
     173# 
     174cd $HOME/repos/tinymail 
     175CFLAGS="-DDEBUG -DDBC -O0 -g -ggdb" ./autogen.sh --with-ssl=openssl --prefix=/opt/tinymail \ 
     176        --with-platform=maemo 
     177make && make install 
     178 
     179cd $HOME/repos/maemo-providers-data 
     180./autogen.sh && ./configure --prefix=/opt/modest 
     181make && make install 
     182 
     183cd $HOME/libwpeditor-plus 
     184./autogen.sh && ./configure --prefix=/opt/modest 
     185make && make install 
     186 
     187cd $HOME/repos/modest 
     188PKG_CONFIG_PATH=/opt/tinymail/lib/pkgconfig:/opt/modest/lib/pkgconfig ./autogen.sh \ 
     189        --prefix=/opt/modest --with-platform=maemo 
     190make && make install 
     191 
     192# 
     193## Deploying to your N800 
     194## 
     195cd /opt 
     196sb~$ tar zcvf tny-mdst.tar.gz tinymail/ modest/ 
     197sb~$ mv tny-mdst.tar.gz /tmp 
     198host~$ scp /tmp/tny-mdst.tar.gz root@yourdevice: 
     199yourdevice~# cd /opt 
     200yourdevice/opt# tar zxvf /root/tny-mdst.tar.gz 
     201yourdevice~$ run-standalone.sh /opt/modest/bin/modest showui 
     202 
     203Installing a debugger on a N800 
     204------------------------------- 
     205Read this documentation: 
     206http://tinymail.org/trac/tinymail/wiki/RecentGdbN800 
     207 
     208 
     209