TrustedUser
2,147
edits
m (Text replacement - "</source>" to "</syntaxhighlight>") |
m (Text replacement - "<source lang=" to "<syntaxhighlight lang=") Tags: Mobile edit Mobile web edit |
||
Line 19: | Line 19: | ||
Then run the following commands to install the SDK: | Then run the following commands to install the SDK: | ||
< | <syntaxhighlight lang="bash"> | ||
sudo apt-get update | sudo apt-get update | ||
sudo apt-get install maemo-sdk | sudo apt-get install maemo-sdk | ||
Line 26: | Line 26: | ||
Then run the following commands to build/install the tools and compilers: | Then run the following commands to build/install the tools and compilers: | ||
< | <syntaxhighlight lang="bash"> | ||
maemo-sdk reload catalogue | maemo-sdk reload catalogue | ||
sudo maemo-sdk --mirror "http://archive.debian.org/debian/" install tools lenny-2009-1 | sudo maemo-sdk --mirror "http://archive.debian.org/debian/" install tools lenny-2009-1 | ||
Line 40: | Line 40: | ||
and then install the dependencies: | and then install the dependencies: | ||
< | <syntaxhighlight lang="bash"> | ||
sb2 -eR apt-get update | sb2 -eR apt-get update | ||
sb2 -eR apt-get install libflac-dev libmad0-dev libmpeg2-4-dev libvorbisidec-dev | sb2 -eR apt-get install libflac-dev libmad0-dev libmpeg2-4-dev libvorbisidec-dev | ||
Line 53: | Line 53: | ||
Install it by running: | Install it by running: | ||
< | <syntaxhighlight lang="bash"> | ||
sb2 -eR dpkg -i git_1.6.2-1_armel.deb | sb2 -eR dpkg -i git_1.6.2-1_armel.deb | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 65: | Line 65: | ||
Install them by running: | Install them by running: | ||
< | <syntaxhighlight lang="bash"> | ||
sb2 -eR dpkg -i libfaad*.deb | sb2 -eR dpkg -i libfaad*.deb | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 71: | Line 71: | ||
Delete the libfaad.so from the SDK environment so that it statically links to libfaad.a instead of dynamically linking to libfaad.so (This version of libfaad.so isn't available in maemo-extra and is thus unavailable to maemo-users) | Delete the libfaad.so from the SDK environment so that it statically links to libfaad.a instead of dynamically linking to libfaad.so (This version of libfaad.so isn't available in maemo-extra and is thus unavailable to maemo-users) | ||
< | <syntaxhighlight lang="bash"> | ||
rm ~/.maemo-sdk/rootstraps/armel/diablo4.1.2_armel/usr/lib/libfaad.so* | rm ~/.maemo-sdk/rootstraps/armel/diablo4.1.2_armel/usr/lib/libfaad.so* | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 78: | Line 78: | ||
This requires a symlink from backends/platform/maemo/debian to the root of the scummvm checkout: | This requires a symlink from backends/platform/maemo/debian to the root of the scummvm checkout: | ||
< | <syntaxhighlight lang="bash"> | ||
ln -s backends/platform/maemo/debian | ln -s backends/platform/maemo/debian | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 88: | Line 88: | ||
=== Build Package === | === Build Package === | ||
< | <syntaxhighlight lang="bash"> | ||
sb2 dpkg-buildpackage -b | sb2 dpkg-buildpackage -b | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 94: | Line 94: | ||
=== Compile (Without Building Package) === | === Compile (Without Building Package) === | ||
< | <syntaxhighlight lang="bash"> | ||
sb2 ./configure --host=maemo | sb2 ./configure --host=maemo | ||
sb2 make | sb2 make | ||
</syntaxhighlight> | </syntaxhighlight> |