Editing Scratchbox C++
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
First set up the MAEMO 4.1 SDK as described here: | First set up the MAEMO 4.1 SDK as described here: | ||
- | + | http://tablets-dev.nokia.com/4.1/INSTALL.txt | |
- | + | ||
I only use the minimal rootstrap so I can use a proxy for my remaining downloads. | I only use the minimal rootstrap so I can use a proxy for my remaining downloads. | ||
Line 10: | Line 9: | ||
You may want to use a proxy for your .deb downloads, I use apt-cacher: | You may want to use a proxy for your .deb downloads, I use apt-cacher: | ||
- | + | echo 'Acquire::http::Proxy "http://aptcache:3142";' > /etc/apt/apt.conf.d/05Local_proxy | |
Make sure you're up to date and then install the maemo sdk and debug symbols | Make sure you're up to date and then install the maemo sdk and debug symbols | ||
apt-get update | apt-get update | ||
fakeroot apt-get install maemo-sdk-debug | fakeroot apt-get install maemo-sdk-debug | ||
- | |||
If you want the Nokia binaries then leave the scratchbox (or in another window) | If you want the Nokia binaries then leave the scratchbox (or in another window) | ||
- | wget | + | wget http://repository.maemo.org/stable/diablo/maemo-sdk-nokia-binaries_4.1.sh |
chmod +x maemo-sdk-nokia-binaries_4.1.sh | chmod +x maemo-sdk-nokia-binaries_4.1.sh | ||
./maemo-sdk-nokia-binaries_4.1.sh | ./maemo-sdk-nokia-binaries_4.1.sh | ||
Line 24: | Line 22: | ||
Now, back in the scratchbox: | Now, back in the scratchbox: | ||
echo "deb file:/YOUR HOME DIRECTORY/maemo-sdk-nokia-binaries_4.1 diablo explicit" > /etc/apt/sources.list.d/70nokia-closed.list | echo "deb file:/YOUR HOME DIRECTORY/maemo-sdk-nokia-binaries_4.1 diablo explicit" > /etc/apt/sources.list.d/70nokia-closed.list | ||
- | + | echo "deb http://repository.maemo.org/extras diablo free non-free" > /etc/apt/sources.list.d/60diablo-extras.list | |
apt-get update | apt-get update | ||
fakeroot apt-get install maemo-cplusplus-env | fakeroot apt-get install maemo-cplusplus-env | ||
- | |||
If you are doing a debian package and need gettext and friends to support internationalisation then: | If you are doing a debian package and need gettext and friends to support internationalisation then: |
Learn more about Contributing to the wiki.