Wednesday, May 26, 2010

How to run hello-world-home in FREMANTLE environment

go to : maemoexamples/branches/fremantle-sdk-testing/maemo-examples

then make hello-world-home.so

af-sb-init.sh start

Then ./install_home_applet.sh

Then

mkdir -p ~/.config/hildon-desktop
echo >> ~/.config/hildon-desktop/home.plugins
echo "[hello-world-home.desktop-0]" >> ~/.config/hildon-desktop/home.plugins
echo "X-Desktop-File=/usr/share/applications/hildon-home/hello-world-home.desktop" >> ~/.config/hildon-desktop/home.plugins
echo >> ~/.config/hildon-desktop/home.plugins

You will see the gnu logo in the emulator.

Sunday, May 2, 2010

Dependencies of Fennec on Ubuntu 8.04

In order to compile Fennec 1.05b, you got to install the following packages:

autoconf
autoconf2.13
libdbus-glib-1-dev
libnotify-bin
libnotify-dev
libasound2-dev
libcurl4-gnutls-dev
libidl-dev
libiw-dev
libxt-dev

Command example: "sudo apt-get install autoconf"

Saturday, May 1, 2010

Where to get "mawk" for maemo sdk

put the following line into your /etc/apt/source.list

deb http://repository.maemo.org mistral free non-free,


then use fakeroot apt-get install mawk, you would get it for your build

Maemo SDK : Failed to do apt-get update

If you get this kind of error:

[sbox-FREMANTLE_X86: ~] > apt-get update
Err http://repository.maemo.org fremantle/sdk Release.gpg
Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org fremantle/tools Release.gpg
Temporary failure resolving 'repository.maemo.org'
Reading package lists... Done
W: Failed to fetch
http://repository.maemo.org/dists/fremantle/sdk/Release.gpg Temporary
failure resolving 'repository.maemo.org'

W: Failed to fetch
http://repository.maemo.org/dists/fremantle/tools/Release.gpg Temporary
failure resolving 'repository.maemo.org'

W: Some index files failed to download, they have been ignored, or old
ones used instead.
W: You may want to run apt-get update to correct these problems
[sbox-FREMANTLE_X86: ~] >

Please do the following:
1) inside your scratchbox,
[sbox-FREMANTLE_X86: ~] > nano /etc/resolv.conf

2) outside your scratchbox but in your host PC:
[$] cat /etc/resolv.conf

3) Please copy the content of your host PC's resolv.conf to your scratchbox's one

4) then do the update again, it shall work