Palm/Pre

Aus VivaLV
Zur Navigation springen Zur Suche springen

Selbst entwickelte webOS Software

http://software.vivalv.de/

Installing the 1.3.5 SDK on any Linux

I am assuming that you downloaded the 2 .deb files:

  • palm-sdk_1.3.5-svn234138-sdk117-pho368_i386.deb
  • palm-novacom_1.0.46_i386.deb

And let's say, they are in the directory /deb and we want the sdk to be in /sdk (substitute that for your directories).

  • mkdir /sdk
  • cd /sdk
  • ar x /deb/palm-sdk_1.3.5-svn234138-sdk117-pho368_i386.deb
  • tar -zxvf data.tar.gz
  • rm data.tar.gz
  • rm control.tar.gz
  • rm debian-binary
  • ar x /deb/palm-novacom_1.0.46_i386.deb
  • tar -zxvf data.tar.gz
  • rm data.tar.gz
  • rm control.tar.gz
  • rm debian-binary
  • ln -s /opt/bin/VBoxManage /usr/bin/VBoxManage
  • ln -s/opt/PalmSDK /sdk/opt/PalmSDK

Now for the env variables:

  • export PalmSDK=/sdk/opt/PalmSDK/0.1
  • export PATH=$PATH:$PalmSDK/bin
  • export PATH=$PATH:/sdk/opt/Palm/novacom

You may want to put the exports into your ~/.bashrc

Now you should be able to start the emulator with "palm-emulator".

Before that, you should run "novacomd" in a different shell. Run it as root, if you want to access the real Pre. Normal user is enough for the emulator.

Using palminspector on Gentoo

palminspector is linked against some outdated libs. Adding symlinks for those does not work, they need to be installed.

Add overlay "loongson" with layman.

/etc/portage/package.mask:

>=dev-libs/icu-3.9

Install old icu libs:

emerge =dev-libs/icu-3.8.1-r1

Remove libsoup.* from /opt/PalmSDK/0.1/lib.