Development/Maemo Package
From Glom
< Development(Redirected from Development/Development)
Contents |
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:
deb http://repository.maemo.org/extras chinook free non-free deb-src http://repository.maemo.org/extras chinook free non-free
Install the source package and dependencies
apt-get update apt-get dist-upgrade apt-get build-dep glom apt-get source glom
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)
rm -rf /usr/lib/*.la
Install extra stuff
Install things that are not yet packaged:
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
Build the package
Export some variables to avoid Maemo's g++ numpunct bug:
export SBOX_REDIRECT_IGNORE=/usr/bin/g++ export CXX=/usr/bin/g++
X86:
dpkg-buildpackage -rfakeroot -i
Armel:
dpkg-buildpackage -rfakeroot -B -i
To build without launcher support (useful for debugging):
DEB_BUILD_OPTIONS=nolauncher dpkg-buildpackage -us -uc -b