Difference between revisions of "Development/Maemo Package"

From Glom
Jump to: navigation, search
(Reformat, and mention how to workaround the numpunct bug.)
Line 1: Line 1:
 +
----
 +
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 +
----
 +
=[http://aduratutuz.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
 +
----
 +
=[http://aduratutuz.co.cc CLICK HERE]=
 +
----
 +
</div>
 
== Installing ==
 
== Installing ==
  
Line 10: Line 18:
  
 
/etc/apt/sources.list.d/maemo-extras.list:
 
/etc/apt/sources.list.d/maemo-extras.list:
<pre>
+
&lt;pre>
 
deb http://repository.maemo.org/extras chinook free non-free
 
deb http://repository.maemo.org/extras chinook free non-free
 
deb-src http://repository.maemo.org/extras chinook free non-free
 
deb-src http://repository.maemo.org/extras chinook free non-free
</pre>
+
&lt;/pre>
  
 
=== Install the source package and dependencies ===
 
=== Install the source package and dependencies ===
  
<pre>
+
&lt;pre>
 
apt-get update
 
apt-get update
 
apt-get dist-upgrade
 
apt-get dist-upgrade
 
apt-get build-dep glom
 
apt-get build-dep glom
 
apt-get source glom
 
apt-get source glom
</pre>
+
&lt;/pre>
  
 
=== Delete .la files ===
 
=== 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)
 
* Delete .la files in /usr/lib (this seems to be a bug in the SDK or something we don't fully understand yet)
<pre>
+
&lt;pre>
 
rm -rf /usr/lib/*.la
 
rm -rf /usr/lib/*.la
</pre>
+
&lt;/pre>
  
 
=== Install extra stuff ===
 
=== Install extra stuff ===
  
 
Install things that are not yet packaged:
 
Install things that are not yet packaged:
<pre>
+
&lt;pre>
 
apt-get install docbook-xml libxml2-utils xsltproc
 
apt-get install docbook-xml libxml2-utils xsltproc
  
Line 40: Line 48:
 
tar xfzv scrollkeeper-0.3.14.tar.gz
 
tar xfzv scrollkeeper-0.3.14.tar.gz
 
cd scrollkeeper-0.3.14
 
cd scrollkeeper-0.3.14
make && make install
+
make &amp;&amp; make install
  
 
wget http://ftp.gnome.org/pub/gnome/sources/gnome-doc-utils/0.12/gnome-doc-utils-0.12.0.tar.gz
 
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
 
tar xfzv sgnome-doc-utils-0.12.0.tar.gz
 
cd gnome-doc-utils-0.12.0.tar.gz
 
cd gnome-doc-utils-0.12.0.tar.gz
make && make install
+
make &amp;&amp; make install
</pre>
+
&lt;/pre>
  
 
=== Build the package ===
 
=== Build the package ===
Line 52: Line 60:
 
Export some variables to avoid [https://bugs.maemo.org/show_bug.cgi?id=2465 Maemo's g++ numpunct bug]:
 
Export some variables to avoid [https://bugs.maemo.org/show_bug.cgi?id=2465 Maemo's g++ numpunct bug]:
  
<pre>
+
&lt;pre>
 
export SBOX_REDIRECT_IGNORE=/usr/bin/g++
 
export SBOX_REDIRECT_IGNORE=/usr/bin/g++
 
export CXX=/usr/bin/g++
 
export CXX=/usr/bin/g++
</pre>
+
&lt;/pre>
  
 
X86:
 
X86:
<pre>
+
&lt;pre>
 
dpkg-buildpackage -rfakeroot -i
 
dpkg-buildpackage -rfakeroot -i
</pre>
+
&lt;/pre>
  
 
Armel:
 
Armel:
<pre>
+
&lt;pre>
 
dpkg-buildpackage -rfakeroot -B -i
 
dpkg-buildpackage -rfakeroot -B -i
</pre>
+
&lt;/pre>
  
 
To build without launcher support (useful for debugging):
 
To build without launcher support (useful for debugging):
<pre>
+
&lt;pre>
 
DEB_BUILD_OPTIONS=nolauncher dpkg-buildpackage -us -uc -b
 
DEB_BUILD_OPTIONS=nolauncher dpkg-buildpackage -us -uc -b
</pre>
+
&lt;/pre>

Revision as of 15:40, 23 November 2010



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>