Difference between revisions of "Compiling ScummVM/WebOS"

Jump to navigation Jump to search
m
Add notice about no longer existing Palm App Catalog
m (Changed instructions for official WebOS SDK/PDK)
m (Add notice about no longer existing Palm App Catalog)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:


Download the latest [https://developer.palm.com/content/resources/develop/sdk_pdk_download.html WebOS SDK] from the [https://developer.palm.com/ Palm Developer Center] and install it. The Ubuntu package is for x86 but it also works on Debian and even on x86_64 as described on the download page. When successfully installed you will end up with a ''/opt/PalmSDK/Current'' and a ''/opt/PalmPDK'' directory and you are able to call programs like ''palm-package'' from the command-line. The SDK needs a Java 6 Runtime Environment so you have to install that, too.
Download the latest [https://developer.palm.com/content/resources/develop/sdk_pdk_download.html WebOS SDK] from the [https://developer.palm.com/ Palm Developer Center] and install it. The Ubuntu package is for x86 but it also works on Debian and even on x86_64 as described on the download page. When successfully installed you will end up with a ''/opt/PalmSDK/Current'' and a ''/opt/PalmPDK'' directory and you are able to call programs like ''palm-package'' from the command-line. The SDK needs a Java 6 Runtime Environment so you have to install that, too.
'''Palm has removed the download pages for the WebOS PDK. The old download page is [https://web.archive.org/web/20130527051214/https://developer.palm.com/content/resources/develop/sdk_pdk_download.html archived here]. The files are also [http://www.ailis.de/~k/permdata/20140715/palm/ archived here]'''.
=== Fixing the WebOS PDK ===
Since [https://github.com/scummvm/scummvm/commit/4d13d44f8a2db8f887e285dbcbd3bb75ccc0ae2e Commit #4d13d44] ScummVM includes some SDL headers which are incorrectly configured in the WebOS PDK. This causes X11 related error messages (WebOS has no X11). To fix this simply edit the file ''/opt/PalmPDK/include/SDL/SDL_config.h'' and remove or comment-out the following line:
<syntaxhighlight type="c">
#define SDL_VIDEO_DRIVER_X11 1
</syntaxhighlight>


=== Environment variables ===
=== Environment variables ===
Line 24: Line 34:


<syntaxhighlight type="bash">
<syntaxhighlight type="bash">
wget http://palm.cdnetworks.net/opensource/3.0.2/zlib-1.2.3.tar.bz2
wget http://downloads.help.palm.com/opensource/3.0.5/zlib-1.2.3.tar.bz2
tar xvfj zlib-1.2.3.tar.bz2
tar xvfj zlib-1.2.3.tar.bz2
wget http://palm.cdnetworks.net/opensource/3.0.2/zlib-1.2.3-patches.tgz
wget http://downloads.help.palm.com/opensource/3.0.5/zlib-1.2.3-patches.tgz
tar xvfz zlib-1.2.3-patches.tgz  -O | patch -d zlib-1.2.3
tar xvfz zlib-1.2.3-patches.tgz  -O | patch -d zlib-1.2.3
cd zlib-1.2.3
cd zlib-1.2.3
Line 147: Line 157:
       --default-dynamic \
       --default-dynamic \
       --enable-release \
       --enable-release \
      --disable-debug\
       --enable-zlib \
       --enable-zlib \
       --enable-tremor \
       --enable-tremor \
Line 171: Line 182:


== Distributing on App Catalog ==
== Distributing on App Catalog ==
'''NOTICE: The Palm App Catalog does not exist anymore. So the information in this section has only historical value.'''


=== Increasing the package version ===
=== Increasing the package version ===
40

edits

Navigation menu