| | 158 | -- Building Modest -- |
|---|
| | 159 | # |
|---|
| | 160 | ## Outside scratchbox |
|---|
| | 161 | # |
|---|
| | 162 | cd /scratchbox/users/$USER/home/$USER |
|---|
| | 163 | mkdir repos |
|---|
| | 164 | cd repos |
|---|
| | 165 | svn co https://svn.tinymail.org/svn/tinymail/trunk tinymail |
|---|
| | 166 | svn co https://garage.maemo.org/svn/modest/maemo-providers-data maemo-providers-data |
|---|
| | 167 | svn co https://garage.maemo.org/svn/modest/libwpeditor-plus/trunk libwpeditor-plus |
|---|
| | 168 | svn co https://garage.maemo.org/svn/modest/modest/trunk modest |
|---|
| | 169 | /scratchbox/login |
|---|
| | 170 | |
|---|
| | 171 | # |
|---|
| | 172 | ## Inside scratchbox |
|---|
| | 173 | # |
|---|
| | 174 | cd $HOME/repos/tinymail |
|---|
| | 175 | CFLAGS="-DDEBUG -DDBC -O0 -g -ggdb" ./autogen.sh --with-ssl=openssl --prefix=/opt/tinymail \ |
|---|
| | 176 | --with-platform=maemo |
|---|
| | 177 | make && make install |
|---|
| | 178 | |
|---|
| | 179 | cd $HOME/repos/maemo-providers-data |
|---|
| | 180 | ./autogen.sh && ./configure --prefix=/opt/modest |
|---|
| | 181 | make && make install |
|---|
| | 182 | |
|---|
| | 183 | cd $HOME/libwpeditor-plus |
|---|
| | 184 | ./autogen.sh && ./configure --prefix=/opt/modest |
|---|
| | 185 | make && make install |
|---|
| | 186 | |
|---|
| | 187 | cd $HOME/repos/modest |
|---|
| | 188 | PKG_CONFIG_PATH=/opt/tinymail/lib/pkgconfig:/opt/modest/lib/pkgconfig ./autogen.sh \ |
|---|
| | 189 | --prefix=/opt/modest --with-platform=maemo |
|---|
| | 190 | make && make install |
|---|
| | 191 | |
|---|
| | 192 | # |
|---|
| | 193 | ## Deploying to your N800 |
|---|
| | 194 | ## |
|---|
| | 195 | cd /opt |
|---|
| | 196 | sb~$ tar zcvf tny-mdst.tar.gz tinymail/ modest/ |
|---|
| | 197 | sb~$ mv tny-mdst.tar.gz /tmp |
|---|
| | 198 | host~$ scp /tmp/tny-mdst.tar.gz root@yourdevice: |
|---|
| | 199 | yourdevice~# cd /opt |
|---|
| | 200 | yourdevice/opt# tar zxvf /root/tny-mdst.tar.gz |
|---|
| | 201 | yourdevice~$ run-standalone.sh /opt/modest/bin/modest showui |
|---|
| | 202 | |
|---|
| | 203 | Installing a debugger on a N800 |
|---|
| | 204 | ------------------------------- |
|---|
| | 205 | Read this documentation: |
|---|
| | 206 | http://tinymail.org/trac/tinymail/wiki/RecentGdbN800 |
|---|
| | 207 | |
|---|
| | 208 | |
|---|
| | 209 | |
|---|