Difference between revisions of "Compiling ScummVM/Maemo"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Updated and expanded Maemo Build Instructions.)
Line 1: Line 1:
 
= Compiling ScummVM for Maemo =
 
= Compiling ScummVM for Maemo =
  
This page describes how you build Maemo packages from the ScummVM source tree.
+
This page describes how you build Maemo packages from the ScummVM source code tree.
  
 
== Preparation ==
 
== Preparation ==
  
Compiling has to be done on a linux machine running debian/ubuntu.
+
Compilation should be done on a Linux machine running Debian/Ubuntu.<br>
On non-linux machines, a linux virtual machine running debian/ubuntu can be used.
+
For other operating systems, a Linux virtual machine running Debian/Ubuntu can be used instead.
  
== Download and install the maemo-sdk package ==
+
The process is based on [http://maemo-sdk.garage.maemo.org/install-debian.html this document].
  
Add the following line to /etc/apt/sources.list
+
== Download and Install Maemo SDK ==
 +
 
 +
Add the following line to /etc/apt/sources.list:
  
 
  <nowiki>deb http://maemo-sdk.garage.maemo.org/download/host debian-squeeze free</nowiki>
 
  <nowiki>deb http://maemo-sdk.garage.maemo.org/download/host debian-squeeze free</nowiki>
  
== Create symlink from backends/platform/maemo/debian to the root of the scummvm checkout ==
+
Then run the following commands to install the SDK:
 +
apt-get update
 +
apt-get install maemo-sdk
 +
 
 +
Then run the following commands to build/install the tools and compilers:
 +
sudo maemo-sdk install tools <Debian Version>
 +
sudo maemo-sdk install toolchain <Toolchain Version>
 +
sudo maemo-sdk install rootstrap <Rootstrap Version>
 +
 
 +
== Ensure Packaging Files Are Available In Source Tree Root ==
  
 +
This requires a symlink from backends/platform/maemo/debian to the root of the scummvm checkout:
 
  ln -s backends/platform/maemo/debian  
 
  ln -s backends/platform/maemo/debian  
  
Line 22: Line 34:
 
Depending on what you want, choose one of the following. If you're not sure, choose the first one.
 
Depending on what you want, choose one of the following. If you're not sure, choose the first one.
  
=== Build the deb package ===
+
=== Build Package ===
  
 
  sb2 dpkg-buildpackage -b
 
  sb2 dpkg-buildpackage -b
  
=== Compile without building a deb package ===
+
=== Compile (Without Building Package) ===
  
 
  sb2 ./configure --host=maemo
 
  sb2 ./configure --host=maemo
 
  sb2 make
 
  sb2 make

Revision as of 16:15, 18 December 2012

Compiling ScummVM for Maemo

This page describes how you build Maemo packages from the ScummVM source code tree.

Preparation

Compilation should be done on a Linux machine running Debian/Ubuntu.
For other operating systems, a Linux virtual machine running Debian/Ubuntu can be used instead.

The process is based on this document.

Download and Install Maemo SDK

Add the following line to /etc/apt/sources.list:

deb http://maemo-sdk.garage.maemo.org/download/host debian-squeeze free

Then run the following commands to install the SDK:

apt-get update
apt-get install maemo-sdk

Then run the following commands to build/install the tools and compilers:

sudo maemo-sdk install tools <Debian Version>
sudo maemo-sdk install toolchain <Toolchain Version>
sudo maemo-sdk install rootstrap <Rootstrap Version>

Ensure Packaging Files Are Available In Source Tree Root

This requires a symlink from backends/platform/maemo/debian to the root of the scummvm checkout:

ln -s backends/platform/maemo/debian 

Compile

Depending on what you want, choose one of the following. If you're not sure, choose the first one.

Build Package

sb2 dpkg-buildpackage -b

Compile (Without Building Package)

sb2 ./configure --host=maemo
sb2 make