Development/Maemo Package

From Glom
< Development
Revision as of 15:40, 23 November 2010 by Isijujemiru (Talk | contribs)

Jump to: navigation, search


This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page


CLICK HERE


Installing

An client-only alpha version of Glom for Maemo is in the maemo-extras repository for Maemo Chinook.

Building

Building the maemo packages is not always straightforward because of some problems with the maemo SDK. This is a step-by-step tutorial after installing the maemo chinook SDK from the scripts provided by Nokia:

Add maemo extras to your repositories

/etc/apt/sources.list.d/maemo-extras.list: <pre> deb http://repository.maemo.org/extras chinook free non-free deb-src http://repository.maemo.org/extras chinook free non-free </pre>

Install the source package and dependencies

<pre> apt-get update apt-get dist-upgrade apt-get build-dep glom apt-get source glom </pre>

Delete .la files

  • Delete .la files in /usr/lib (this seems to be a bug in the SDK or something we don't fully understand yet)

<pre> rm -rf /usr/lib/*.la </pre>

Install extra stuff

Install things that are not yet packaged: <pre> apt-get install docbook-xml libxml2-utils xsltproc

wget http://ftp.gnome.org/pub/gnome/sources/scrollkeeper/0.3/scrollkeeper-0.3.14.tar.gz tar xfzv scrollkeeper-0.3.14.tar.gz cd scrollkeeper-0.3.14 make && make install

wget http://ftp.gnome.org/pub/gnome/sources/gnome-doc-utils/0.12/gnome-doc-utils-0.12.0.tar.gz tar xfzv sgnome-doc-utils-0.12.0.tar.gz cd gnome-doc-utils-0.12.0.tar.gz make && make install </pre>

Build the package

Export some variables to avoid Maemo's g++ numpunct bug:

<pre> export SBOX_REDIRECT_IGNORE=/usr/bin/g++ export CXX=/usr/bin/g++ </pre>

X86: <pre> dpkg-buildpackage -rfakeroot -i </pre>

Armel: <pre> dpkg-buildpackage -rfakeroot -B -i </pre>

To build without launcher support (useful for debugging): <pre> DEB_BUILD_OPTIONS=nolauncher dpkg-buildpackage -us -uc -b </pre>