Standard WebOS apps

(start)
(finished)
Line 8: Line 8:
3. You need to unpack at least the ./usr/palm directory for this. Unpack it anywhere you want.
3. You need to unpack at least the ./usr/palm directory for this. Unpack it anywhere you want.
4. Copy the palm directory onto your N900. I had executable MyDocs.
4. Copy the palm directory onto your N900. I had executable MyDocs.
-
5. I moved the files to /home/user/palm (so the applications subfolder is /home/user/palm/applications). I'll assume they're there later
+
5. I moved the files to /home/user/palm (so the applications subfolder is /home/user/palm/applications). I'll assume they're there later.
 +
6.
 +
sudo ln -s /home/user/palm /usr/palm
 +
You may want to do this too:
 +
sudo ln -s /home/user/lib/luna /usr/lib/luna
 +
7. Apply this patch: [http://talk.maemo.org/attachment.php?attachmentid=25527&d=1332340295 link] to /usr/palm/frameworks/mojo/submissions/347/javascript/framework.js
 +
patch framework.js -i framework.js.patch -o framework.js.new
 +
mv framework.js framework.js.old
 +
mv framework.js.new framework.js
 +
 
 +
=========
 +
There are other steps to make the app run, but I won't explain them right now

Revision as of 18:39, 4 April 2012

How to set up the environment

1. Download WebOS Doctor for Pre. (WebOS version 1.4.5) link 2. Now you'll have to go through a lot of unpacking. The WebOS image is in

./resources/WebOS.tar/./

its name is

nova-cust-image-<codename>.rootfs.tar.gz

3. You need to unpack at least the ./usr/palm directory for this. Unpack it anywhere you want. 4. Copy the palm directory onto your N900. I had executable MyDocs. 5. I moved the files to /home/user/palm (so the applications subfolder is /home/user/palm/applications). I'll assume they're there later. 6.

sudo ln -s /home/user/palm /usr/palm

You may want to do this too:

sudo ln -s /home/user/lib/luna /usr/lib/luna

7. Apply this patch: link to /usr/palm/frameworks/mojo/submissions/347/javascript/framework.js

patch framework.js -i framework.js.patch -o framework.js.new
mv framework.js framework.js.old
mv framework.js.new framework.js

=

There are other steps to make the app run, but I won't explain them right now