<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.7.6(BH)" -->
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>Planet Maemo: category &quot;feed:f13f02dc517a85b9787157119dd2b122&quot;</title>
        <description>Blog entries from Maemo community</description>
        <link>http://maemo.org/news/planet-maemo/</link>
        <lastBuildDate>Sun, 24 May 2026 11:15:54 +0000</lastBuildDate>
        <generator>FeedCreator 1.7.6(BH)</generator>
        <language>en</language>
        <managingEditor>planet@maemo.org</managingEditor>
        <item>
            <title>Basics of midgard_dbus</title>
            <link>http://blogs.nemein.com/people/piotras/view/1207652141.html</link>
            <description><![CDATA[

<p>midgard_dbus API is <strong>very</strong> simple, but my approach was to make it just simple as possible. Basically we have two major methods of midgard_dbus:</p>

<ul>
<li>constructor, which registers object at path</li>
<li>send, which asynchronously send message to object at given path</li>
</ul>

<p>New initialized object doesn't do anything special. It just waits for any call to him and then emits "notified" signal, which you can connect callback to.</p>

<p>I tested simple code with <a href="http://www.midgard-project.org/documentation/php_midgard_core/">midgard-php</a> and <a href="http://www.midgard-project.org/documentation/python_midgard/">midgard-python</a>.</p>

<p><strong>midgard_python</strong> "service":</p>

<pre><code>import dbus.mainloop.glib
import _midgard as midgard

def mbus_callback(object, arg):
        print "Hi! I am midgard_dbus from midgard-python. I got message:"
        print object.get_message()

mbus = midgard.dbus("/midgard_article")
mbus.connect("notified", mbus_callback, "foo")

mainloop = gobject.MainLoop()
mainloop.run()
</code></pre>

<p><strong>midgard-php</strong> "client":</p>

<pre><code>$message = "Greetings from midgard-php!(" . mgd_version() . ") PHP ver." . phpversion();
midgard_dbus::send("/midgard_article", $message);
</code></pre>

<p>I started php script which immidietialy ended, and on midgard-python service's terminal I got this message:</p>

<pre><code>Hi! I am midgard_dbus from midgard-python. I got message:
Greetings from midgard-php! (2.0alpha0) PHP ver.5.2.5-3
</code></pre>

<p>Probably the code will be soon ported to 1-9 branch, so I will be able to test midgard_dbus in Apache environment. But for now, basic idea looks fine and works fine. We just notify objects at path with particular message, and local proccess does the rest with connected callbacks.</p>
<span class="net_nemein_favourites">1 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=c6afda08055e11ddbc9861550aa30e3b0e3b&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/c6afda08055e11ddbc9861550aa30e3b0e3b/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>2 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=c6afda08055e11ddbc9861550aa30e3b0e3b&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/c6afda08055e11ddbc9861550aa30e3b0e3b/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Tue, 08 Apr 2008 07:55:41 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-c6afda08055e11ddbc9861550aa30e3b0e3b</guid>
        </item>
        <item>
            <title>D-Bus and Midgard</title>
            <link>http://blogs.nemein.com/people/piotras/view/1206708012.html</link>
            <description><![CDATA[

<p><a href="http://www.midgard-project.org">Midgard</a> is decent CMS framework. Not just yet another PHP based CMS. And as every decent piece of code must have many features. I just added initial test cases with <a href="http://www.freedesktop.org/wiki/Software/dbus">D-Bus</a> support. They use <a href="http://www.midgard-project.org/documentation/python_midgard/">midgard-python</a> and dbus modules.</p>

<p>Usage is simple. You start service as one proccess and client as another one.
If all goes fine, client notifies daemon that some object needs to be imported to database, then listener service imports this object to database.
Listener is not aware who sent such data and even not aware what kind of language was used to send notify.</p>

<p>So in theory ( it's not yet API implementation ) application written in PHP and using Midgard 1.9 may may send notification and listener may be daemon writen in python using Midgard 2.0. Even on the same machine.</p>

<p>Check <a href="http://trac.midgard-project.org/browser/trunk/midgard/apis/python/tests/dbus">initial test code</a>!</p>
<span class="net_nemein_favourites">3 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=ae958a90fcca11dca91e77c7a8ce2c122c12&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/ae958a90fcca11dca91e77c7a8ce2c122c12/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>2 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=ae958a90fcca11dca91e77c7a8ce2c122c12&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/ae958a90fcca11dca91e77c7a8ce2c122c12/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Fri, 28 Mar 2008 10:40:12 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-ae958a90fcca11dca91e77c7a8ce2c122c12</guid>
        </item>
        <item>
            <title>midgard-python once again</title>
            <link>http://blogs.nemein.com/people/piotras/view/1205874132.html</link>
            <description><![CDATA[

<p><a href="http://bergie.iki.fi">Bergie</a> just <a href="http://bergie.iki.fi/blog/midcom_3_at_a_glance.html">blogged</a> about initial MidCOM3 architecture. He included nice and very easy example of <a href="http://www.midgard-project.org/documentation/php_midgard_core/">midgard-php</a> API. And while he mentioned some python based solution I decided to add short and working example of <a href="http://www.midgard-project.org/documentation/python_midgard/">midgard-python</a> in action.</p>

<p>All in all, it's good to have, especially now, when Midgard2 is <a href="http://www.midgard-project.org/updates/view/1204025654.html">already an alpha</a> and available also as packages for <a href="http://maemo.org">maemo.org</a> platform.</p>
<span class="net_nemein_favourites">1 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=18361334f53211dc99df1b92d6242d292d29&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/18361334f53211dc99df1b92d6242d292d29/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=18361334f53211dc99df1b92d6242d292d29&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/18361334f53211dc99df1b92d6242d292d29/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Tue, 18 Mar 2008 19:02:12 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-18361334f53211dc99df1b92d6242d292d29</guid>
        </item>
        <item>
            <title>When you think you are drunk</title>
            <link>http://blogs.nemein.com/people/piotras/view/1200136336.html</link>
            <description><![CDATA[

<p>I haven't been writing about new features of Midgard for the last 3 weeks, but it's high time to stop write about new ones and instead write about new upcoming releases ( which I am tuning recently ). So I tested and built release packages wherever I could, including maemo scratchbox. Unfortunatelly I found python-midgard package buggy... so I took a closer look at python, and here's what I found:</p>

<pre><code>ls -l /usr/bin/python*
lrwxrwxrwx  1 root root    9 Feb 11  2007 /usr/bin/python -&gt; python2.4
-rwxr-xr-x  1 root root 3384 Jun 14  2006 /usr/bin/python2.4
-rwxr-xr-x  1 root root  119 Jun 14  2006 /usr/bin/python2.4-pyrexc
</code></pre>

<p>Ok, nothing unusual, right? <code>python</code> command is just a symlink to <code>python2.4</code>. Which is cool of course, isn't it?</p>

<p>But strace wrote weird logs so I decided to check python version:</p>

<pre><code>/usr/bin/python2.4 -V
Python 2.4.2
/usr/bin/python -V
Python 2.3.4
</code></pre>

<p>Please, please tell me why the hell command invoked via symlink returns different version.</p>
<span class="net_nemein_favourites">0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=ff612a82c82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/ff612a82c82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=ff612a82c82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/ff612a82c82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Sat, 12 Jan 2008 09:12:16 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-ff612a82c82d11dc87120f7eb07a03af03af</guid>
        </item>
        <item>
            <title>When you think you are drunk</title>
            <link>http://www.nemein.com/people/piotras/view/1200136336.html</link>
            <description><![CDATA[

<p>I haven't been writing about new features of Midgard for the last 3 weeks, but it's high time to stop write about new ones and instead write about new upcoming releases ( which I am tuning recently ). So I tested and built release packages wherever I could, including maemo scratchbox. Unfortunatelly I found python-midgard package buggy... so I took a closer look at python, and here's what I found:</p>

<pre><code>ls -l /usr/bin/python*
lrwxrwxrwx  1 root root    9 Feb 11  2007 /usr/bin/python -&gt; python2.4
-rwxr-xr-x  1 root root 3384 Jun 14  2006 /usr/bin/python2.4
-rwxr-xr-x  1 root root  119 Jun 14  2006 /usr/bin/python2.4-pyrexc
</code></pre>

<p>Ok, nothing unusual, right? <code>python</code> command is just a symlink to <code>python2.4</code>. Which is cool of course, isn't it?</p>

<p>But strace wrote weird logs so I decided to check python version:</p>

<pre><code>/usr/bin/python2.4 -V
Python 2.4.2
/usr/bin/python -V
Python 2.3.4
</code></pre>

<p>Please, please tell me why the hell command invoked via symlink returns different version.</p>
<span class="net_nemein_favourites">1 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=4642991ac10111dcb7e60305034223e323e3&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/4642991ac10111dcb7e60305034223e323e3/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>2 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=4642991ac10111dcb7e60305034223e323e3&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/4642991ac10111dcb7e60305034223e323e3/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Sat, 12 Jan 2008 09:12:16 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-4642991ac10111dcb7e60305034223e323e3</guid>
        </item>
        <item>
            <title>Beauty and the Beast</title>
            <link>http://blogs.nemein.com/people/piotras/view/1196805359.html</link>
            <description><![CDATA[

<p>I am not sure which one is the beast and which one the beauty. But I think both midgard-python and midgard-core may be both :)</p>

<p><a href="http://python.org/">Python</a> seems to be the second <a href="http://www.midgard-project.org">Midgard's</a> scripting language now. 
Two weeks ago I wrote about initial usable bindings work, and today there's much more:</p>

<ul>
<li>Midgard Query Builder</li>
<li>Midgard Collector</li>
<li>Midgard Object Class 
( pseudo class for MgdSchema classes introspection and reflection )</li>
<li>Midgard Reflection Property</li>
<li>MgdSchema objects' parameters</li>
</ul>

<p>Midgard Replicator is not yet fully implemented for midgard-python because it simply doesn't exist in Midgard2 ( aka trunk ). Reason why it hasn't been moved there is fact that replicator uses language specific SQL queries while Midgard2 itself uses something which you could name "built in" languages support. Whichis nothing more like languages persistant cache in details.</p>

<p>You can take a look at <a href="http://trac.midgard-project.org/browser/trunk/midgard/apis/python/tests">midgard-python test examples</a> and compile module if needed. 
And I think I should start count days to first Midgard2 alpha release, and first python applications for gnome or maemo :)</p>
<span class="net_nemein_favourites">0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=fef04e2ac82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/fef04e2ac82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=fef04e2ac82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/fef04e2ac82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Tue, 04 Dec 2007 19:55:59 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-fef04e2ac82d11dc87120f7eb07a03af03af</guid>
        </item>
        <item>
            <title>Beauty and the Beast</title>
            <link>http://www.nemein.com/people/piotras/view/1196805359.html</link>
            <description><![CDATA[

<p>I am not sure which one is the beast and which one the beauty. But I think both midgard-python and midgard-core may be both :)</p>

<p><a href="http://python.org/">Python</a> seems to be the second <a href="http://www.midgard-project.org">Midgard's</a> scripting language now. 
Two weeks ago I wrote about initial usable bindings work, and today there's much more:</p>

<ul>
<li>Midgard Query Builder</li>
<li>Midgard Collector</li>
<li>Midgard Object Class 
( pseudo class for MgdSchema classes introspection and reflection )</li>
<li>Midgard Reflection Property</li>
<li>MgdSchema objects' parameters</li>
</ul>

<p>Midgard Replicator is not yet fully implemented for midgard-python because it simply doesn't exist in Midgard2 ( aka trunk ). Reason why it hasn't been moved there is fact that replicator uses language specific SQL queries while Midgard2 itself uses something which you could name "built in" languages support. Whichis nothing more like languages persistant cache in details.</p>

<p>You can take a look at <a href="http://trac.midgard-project.org/browser/trunk/midgard/apis/python/tests">midgard-python test examples</a> and compile module if needed. 
And I think I should start count days to first Midgard2 alpha release, and first python applications for gnome or maemo :)</p>
<span class="net_nemein_favourites">1 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=0bc61710a2b811dca84773e0283871cd71cd&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/0bc61710a2b811dca84773e0283871cd71cd/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>1 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=0bc61710a2b811dca84773e0283871cd71cd&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/0bc61710a2b811dca84773e0283871cd71cd/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Tue, 04 Dec 2007 19:55:59 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-0bc61710a2b811dca84773e0283871cd71cd</guid>
        </item>
        <item>
            <title>midgard-php on maemo</title>
            <link>http://blogs.nemein.com/people/piotras/view/1191446789.html</link>
            <description><![CDATA[

<p>It's just today when I thought that phpize is a big issue when I tried to install php5-midgard and midgard-data package on N800. I thought that simplest solution could be the best and just copied all required files ( like phpize, php-config, and few others ) directly to my armel target host.</p>

<p>And now it looks like it's not best solution because php-config should clearly points to extension_dir for example and this is quite weird ( in debian sense ) in php5-fastcgi package. At least this package could provide php-config to save plenty of other's time.</p>

<p>Anyway, at last I finally installed all midgard packages.</p>

<p><img src="http://www.nemein.com/people/piotras/midcom-serveattachmentguid-18113935fcb5ecb79816aadc8432194f/screenshot-2007-10-03-22-16-30.png"></p>

<p>Even tried datagard, but this one fails because of lack of pear:</p>

<p><img src="http://www.nemein.com/people/piotras/midcom-serveattachmentguid-8fde4662a9938704fa07504f8d4f3808/screenshot-2007-10-03-22-16-55.png"></p>

<p>And I wrote simple php script which loads midgard extension via <code>dl</code> and prints midgard version:</p>

<p><img src="http://www.nemein.com/people/piotras/midcom-serveattachmentguid-8e761a2194be71fec4871d4b95b0e8bd/screenshot-2007-10-03-22-39-40.png"></p>
<span class="net_nemein_favourites">0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=fdbf9b6ec82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/fdbf9b6ec82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=fdbf9b6ec82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/fdbf9b6ec82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Wed, 03 Oct 2007 18:26:29 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-fdbf9b6ec82d11dc87120f7eb07a03af03af</guid>
        </item>
        <item>
            <title>midgard-php on maemo</title>
            <link>http://www.nemein.com/people/piotras/view/1191446789.html</link>
            <description><![CDATA[

<p>It's just today when I thought that phpize is a big issue when I tried to install php5-midgard and midgard-data package on N800. I thought that simplest solution could be the best and just copied all required files ( like phpize, php-config, and few others ) directly to my armel target host.</p>

<p>And now it looks like it's not best solution because php-config should clearly points to extension_dir for example and this is quite weird ( in debian sense ) in php5-fastcgi package. At least this package could provide php-config to save plenty of other's time.</p>

<p>Anyway, at last I finally installed all midgard packages.</p>

<p><img src="http://www.nemein.com/people/piotras/midcom-serveattachmentguid-18113935fcb5ecb79816aadc8432194f/screenshot-2007-10-03-22-16-30.png"></p>

<p>Even tried datagard, but this one fails because of lack of pear:</p>

<p><img src="http://www.nemein.com/people/piotras/midcom-serveattachmentguid-8fde4662a9938704fa07504f8d4f3808/screenshot-2007-10-03-22-16-55.png"></p>

<p>And I wrote simple php script which loads midgard extension via <code>dl</code> and prints midgard version:</p>

<p><img src="http://www.nemein.com/people/piotras/midcom-serveattachmentguid-8e761a2194be71fec4871d4b95b0e8bd/screenshot-2007-10-03-22-39-40.png"></p>
<span class="net_nemein_favourites">1 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=719603ee71f711dc95f08b3912287c677c67&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/719603ee71f711dc95f08b3912287c677c67/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>1 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=719603ee71f711dc95f08b3912287c677c67&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/719603ee71f711dc95f08b3912287c677c67/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Wed, 03 Oct 2007 18:26:29 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-719603ee71f711dc95f08b3912287c677c67</guid>
        </item>
        <item>
            <title>&quot;Maemo Application Manager&quot;  I do not like you</title>
            <link>http://blogs.nemein.com/people/piotras/view/1191409228.html</link>
            <description><![CDATA[

<p>Why?</p>

<p>If package's control files has:</p>

<pre><code>Section: libs
</code></pre>

<p>is easy installable via repository, while it's <strong>incompatible</strong> while installed via file file manager with double click. In such case, package has to have:</p>

<pre><code>Section: user/libs
</code></pre>

<p>Does it mean that when I double "click" (doubleknock)  on package file I invoke different Application Manager?</p>
<span class="net_nemein_favourites">0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=fcf4481ac82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/fcf4481ac82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=fcf4481ac82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/fcf4481ac82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Wed, 03 Oct 2007 08:00:28 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-fcf4481ac82d11dc87120f7eb07a03af03af</guid>
        </item>
        <item>
            <title>Building Midgard 1.9 for maemo</title>
            <link>http://blogs.nemein.com/people/piotras/view/1191407245.html</link>
            <description><![CDATA[

<p>I should say trying to build instead of building it for <a href="http://maemo.org">maemo</a>. Though libmidgard10 and libapache2-mod-midgard are already installed on my N800. <a href="http://www.nemein.com/people/piotras/view/1178011811.html">Again</a>, list of dependencies is the key for success.</p>

<p>I changed debian files ( rules and control ), so rules file generates control file  correctly when package is built. For example when I build package for maemo a section is replaced with <code>user/libs' and architecture type with</code>armel<code>instead of</code>i386` which is generated when I build package for x86 architecture</p>

<p>Big issue with packages builds is naming convetion, so it's impossible to create correct debian files ( mostly Depends: section ) for every architecture.
Your package might depends on <code>apache2-mpm-prefork</code>, while someone called it just <code>httpd</code> for maemo. This package also includes header files, so you do not have to install apache2-prefork-dev, and also apr binaries, but weird thing is that it doesn't include apr header files.</p>

<p>Workaround for this is ( easiest I found ):</p>

<pre><code>cp -r /usr/include/apr-1.0 /scratchbox/users/pp/targets/SDK_ARMEL/usr/include/
</code></pre>

<p>As maemo packages are built as debian packages, one could also keep any naming convention so apxs2 could stay apxs2 and apr includes could be defined for apr-1.0, and not for apr-1.</p>

<p>MySQL used everywhere on debian distros with version 5.0 is build with version 4.1 for maemo.</p>

<p>Those are issues, one might and can to resolve quite quickly. But the real problem I found with php5-fastcgi package. To build php extension I need header files ( those I can just copy ) and <code>phpize</code> tool. Lack of latter is an <strong>issue</strong> :)</p>

<p>I need to investigate it more. And for those interested I used these packages:</p>

<ul>
<li>https://garage.maemo.org/projects/mysqldatabase/</li>
<li>https://garage.maemo.org/projects/apache/</li>
</ul>

<p>And debian repository:</p>

<pre><code>deb http://maemo-hackers.org/apt bora main
</code></pre>

<p>BTW, if you need to install php5-fastcgi in your scratchbox, you might to want to change default httpd port. I changed mine from 80 to 8080. Without it I got `Permission denied' when being logged in as fakeroot and "wanted to bind" to port 80.</p>
<span class="net_nemein_favourites">0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=fbcf94f8c82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/fbcf94f8c82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=fbcf94f8c82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/fbcf94f8c82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Wed, 03 Oct 2007 07:27:25 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-fbcf94f8c82d11dc87120f7eb07a03af03af</guid>
        </item>
        <item>
            <title>Building Midgard 1.9 for maemo</title>
            <link>http://www.nemein.com/people/piotras/view/1191407245.html</link>
            <description><![CDATA[

<p>I should say trying to build instead of building it for <a href="http://maemo.org">maemo</a>. Though libmidgard10 and libapache2-mod-midgard are already installed on my N800. <a href="http://www.nemein.com/people/piotras/view/1178011811.html">Again</a>, list of dependencies is the key for success.</p>

<p>I changed debian files ( rules and control ), so rules file generates control file  correctly when package is built. For example when I build package for maemo a section is replaced with <code>user/libs' and architecture type with</code>armel<code>instead of</code>i386` which is generated when I build package for x86 architecture</p>

<p>Big issue with packages builds is naming convetion, so it's impossible to create correct debian files ( mostly Depends: section ) for every architecture.
Your package might depends on <code>apache2-mpm-prefork</code>, while someone called it just <code>httpd</code> for maemo. This package also includes header files, so you do not have to install apache2-prefork-dev, and also apr binaries, but weird thing is that it doesn't include apr header files.</p>

<p>Workaround for this is ( easiest I found ):</p>

<pre><code>cp -r /usr/include/apr-1.0 /scratchbox/users/pp/targets/SDK_ARMEL/usr/include/
</code></pre>

<p>As maemo packages are built as debian packages, one could also keep any naming convention so apxs2 could stay apxs2 and apr includes could be defined for apr-1.0, and not for apr-1.</p>

<p>MySQL used everywhere on debian distros with version 5.0 is build with version 4.1 for maemo.</p>

<p>Those are issues, one might and can to resolve quite quickly. But the real problem I found with php5-fastcgi package. To build php extension I need header files ( those I can just copy ) and <code>phpize</code> tool. Lack of latter is an <strong>issue</strong> :)</p>

<p>I need to investigate it more. And for those interested I used these packages:</p>

<ul>
<li>https://garage.maemo.org/projects/mysqldatabase/</li>
<li>https://garage.maemo.org/projects/apache/</li>
</ul>

<p>And debian repository:</p>

<pre><code>deb http://maemo-hackers.org/apt bora main
</code></pre>

<p>BTW, if you need to install php5-fastcgi in your scratchbox, you might to want to change default httpd port. I changed mine from 80 to 8080. Without it I got `Permission denied' when being logged in as fakeroot and "wanted to bind" to port 80.</p>
<span class="net_nemein_favourites">0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=45344d58719b11dc980e2561ccf45c1e5c1e&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/45344d58719b11dc980e2561ccf45c1e5c1e/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>1 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=45344d58719b11dc980e2561ccf45c1e5c1e&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/45344d58719b11dc980e2561ccf45c1e5c1e/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Wed, 03 Oct 2007 07:27:25 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-45344d58719b11dc980e2561ccf45c1e5c1e</guid>
        </item>
        <item>
            <title>More beauty for Midgard or midgard-python in action</title>
            <link>http://blogs.nemein.com/people/piotras/view/1178275038.html</link>
            <description><![CDATA[

<p>Some day I had read about beauty and a <a href="http://www.python.org">Python</a>. And yesterday I though "Why there's no Python's beauty for <a href="http://www.midgard-project.org">Midgard</a>?" 
Python C API is very well documented so I couldn't wait any longer. I started with  MidgardDBObject, MidgardObject, MidgardConfig and MidgardConnection base classes... and <a href="http://midgard.tigris.org/source/browse/midgard/src/apis/python/">commited</a> initial bindings.</p>

<p>About two months ago <a href="http://www.nemein.com/people/piotras/view/1172610438.html">I wrote about creating</a> Midgard <a href="http://www.midgard-project.org/documentation/unified-configuration/">unified configuration</a> file and SQlite based personal database using PHP bindings.</p>

<p>Today I can do the same with Python.</p>

<pre><code>import gobject
import midgard

config = midgard.config()
config.set_property('dbtype', 'SQLite')
config.set_property('database', 'midgard-test')

if config.save_file("midgard-test", 1):
    print "Configuration file created successfuly!"
</code></pre>

<p>Looks promising :)</p>
<span class="net_nemein_favourites">0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=fb488530c82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/fb488530c82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=fb488530c82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/fb488530c82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Fri, 04 May 2007 07:37:18 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-fb488530c82d11dc87120f7eb07a03af03af</guid>
        </item>
        <item>
            <title>Bread, electricity and Midgard2</title>
            <link>http://blogs.nemein.com/people/piotras/view/1178011811.html</link>
            <description><![CDATA[

<div style="text-align: center">
</div>
<div style="text-align: center">
</div>
<div style="text-align: center">
<a href="http://www.nemein.com/people/piotras/midcom-serveattachmentguid-55e5e4cefd2654c9ccd1f50a24e90d46/00010.jpg" target="_blank"><img src="http://www.nemein.com/people/piotras/midcom-serveattachmentguid-381ae8c6572133a630f303f0fa8cf1b3/00010-thumbnail.jpg" border="0" alt="00010-thumbnail.jpg" title="00010-thumbnail.jpg" /></a>
</div>
<div style="text-align: center">
</div>
<div style="text-align: center">
</div>
<div align="left">
So here it is. <a href="http://www.midgard-project.org">Midgard2</a>  installed and working with <a href="http://www.maemo.org">maemo</a> . It&#39;s midgard-core actually , but one doesn&#39;t need midgard-apache or midgard-php modules on N770 or N800.
</div>
<div align="left">
</div>
<div align="left">
Building midgard-core packages ( midgard-common and libmidgard10 ) has been easy and smooth , however getting it working with libgda arm packages has been very difficult. Simply, debian packages for gda missed few files.
</div>
<div align="left">
</div>
<div align="left">
I started with &quot;editing&quot; <a href="http://www.midgard-project.org/documentation/unified-configuration/">unified configuration file</a> . Well &quot;edit&quot; is a good word here as I have no any text editor installed. But with few tricks I managed to do this. I switched TableCreate to true and ran <em>midgard-schema midgard. </em>Nasty surprise here ... I created database about 15 minutes re running midgard-schema few times after every terminal&#39;s crash. I expect tablet&#39;s CPU and memory is not just enough to do it fast. Memory storage speed might be also huge bottleneck.  Creating tables is  I/O very expensive operation.
</div>
<div align="left">
</div>
<div align="left">
However once database is created, midgard-schema runs &quot;at normal speed&quot; informing you that tables are already created. Now I need some user interface to see SQLite and Midgard in action.
</div>
<div align="left">
Probably I could also use TestUnit configuration option to perform database tests. 
</div>
<div align="left">
</div>
<div align="left">
Few notes from me for <a href="http://www.bogenschneller.de/jsschmid/blog/?p=58">libgda debian maintainer</a> : 
</div>
<div align="left">
<h3><strong>libgda-dev</strong></h3> 
</div>
<div align="left">
libgda-dev.install file should contain such entries:
</div>
<div align="left">
<pre>
/usr/lib/pkgconfig/*.pc
/usr/lib/*.a
/usr/lib/*.la
</pre>
</div>
<h3>
gda-sqlite</h3>
<p>
gda-sqlite.install file should contain:
</p>
<pre>
/usr/share/libgda-3.0/sqlite_specs_*.xml
</pre>
<h3>Other issues </h3>
<p>
I have no idea why all sqlite spec xml files seems to be missed. Normally ( when compiled for i386 architecture ) gda library looks for spec files in <em>lib</em> directory and then in <em>share</em> one. When packages are compiled for armel architecture , gda looks for spec files only in <em>lib</em> directory.<br />
To make libs working correctly I did this trick: 
</p>
<p>
<strong>rules file</strong>
</p>
<p>
cp $(CURDIR)/debian/tmp/usr/share/libgda-3.0/sqlite_specs_*.xml  $(CURDIR)/debian/tmp/usr/lib/libgda-3.0/providers/
</p>
<p>
<strong>gda-sqlite.install file</strong>
</p>
<p>
usr/lib/libgda-3.0/providers/*.xml
</p>
<p>
There are other xml and dtd files which should be correctly copied for debian packages, but there are only warnings thrown without them. 
</p>
<p>
&nbsp;
</p>
<pre>
 
</pre><span class="net_nemein_favourites">0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=fadd1548c82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/fadd1548c82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=fadd1548c82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/fadd1548c82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Tue, 01 May 2007 06:30:11 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-fadd1548c82d11dc87120f7eb07a03af03af</guid>
        </item>
        <item>
            <title>Trying GDA on N770</title>
            <link>http://blogs.nemein.com/people/piotras/view/1177922538.html</link>
            <description><![CDATA[

<p>Last week I found <a href="http://www.bogenschneller.de/jsschmid/blog/?p=58">Johannes Schmid</a> blog entry about new libgda3 packages.
I downloaded package's sources and recompiled it for <a href="http://maemo.org/#date_02022007a">gregale</a> on N770.
Well , I tried to recompile. These libgda3 package have some major issues:</p>

<ul>
<li>Can not use debian files with gda 3.0 </li>
<li>Sections in control files are incorrect </li>
</ul>

<p>The latter case seems to be the most common issue I can found in debian package built for armel architecture. But maybe this is my fault. Anyway , I can not install package from file using AM. It <strong>always</strong> complain "Incompatible package" when package's section is for example <code>lib</code>, while it should be <code>user/lib</code>.</p>

<p>I have no idea how packages can be installed via AM directly from repositories as AM <strong>always</strong> is getting and refreshing packages list and then throws a warning  "Can not refresh packages list".</p>

<p>Anyway , I need libreadline4 to install gda packages ( those ones I had to recompile myself ). Unfortunatelly, it seems that only <a href="http://maemo.org/#date_07012007b">bora</a> supports libreadline4 and I need to build another packages for myself. I hope this one will be the last one. In any other case I am afraid I will have to compile plenty of packages for myself.</p>

<p>My big wishlist ( one wish to be exact ) is to have usable AM on N770.
I have at least 4 or 5 repositories added. AM doesn't complain that repos' locaions are invalid, and I have no idea if those are good or do not trigger conflicts. Well... I should be happy anyway, as I have about 5 applications listed in AM that can be installed. None of these is the one I want.</p>
<span class="net_nemein_favourites">0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=fa4d3252c82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/fa4d3252c82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=fa4d3252c82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/fa4d3252c82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Mon, 30 Apr 2007 05:42:18 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-fa4d3252c82d11dc87120f7eb07a03af03af</guid>
        </item>
        <item>
            <title>Start here</title>
            <link>http://blogs.nemein.com/people/piotras/view/1171276397.html</link>
            <description><![CDATA[

<p>Just two days ago I wrote about being <strong>confused</strong> when I tried to follow <a href="http://www.maemo.org">Maemo</a> documentation. I looked at other websites addressed for end users and developers and noticed that Maemo is not the only one which provides unlogic navigation. Also <a href="http://www.midgard-project.org">Midgard</a> ( the one I write docs for ) project website needs more love.</p>

<p>This would be cool IMO:</p>

<p>"Get started" section with:</p>

<ul>
<li><p>What would you like to do.</p>

<ul>
<li>I have device XXX and I want to install new applications</li>
<li>Where...</li>
<li><p>How ...</p></li>
<li><p>I have device XXX and I want to update OS I have installed</p></li>
<li>Where ...</li>
<li><p>How ...</p></li>
<li><p>I am a developer and I want to write new application</p></li>
<li>How to start ?</li>
<li>What should I install on my device?</li>
<li>When and why do I need SDK on my device ? </li>
</ul></li>
<li><p>Features</p>

<ul>
<li>What is ...</li>
<li>How ...</li>
<li>Why ...</li>
</ul></li>
</ul>

<p>The main point here ( and everywhere ) must be to treat everyone as a user. Even a developer. A developer is only a human and should have a good place where can start. It's not funny anyway when you prepare for hacking but first you must hack docs and notes.</p>

<p>A cool feature for any website with documentation would be possibility to bookmark resources the same way how you can add products to cart in any online shop. Once you like the website you can customize your start page and limit information only to this you are really interested in.</p>

<p>Probably I could contribute and write some simple howtos for maemo. But the real problem is the fact that the more I read docs the more I am confused.
There are plenty of "how to ..." but at the same time there is almost nothing about <em>why</em> and <em>when</em>.</p>

<p>Example. There is quite long and "almost with details" how to create custom rootfs for device doc. But there's nothing about why do I need custom rootfs and why should I use it instead of downloadable and installable, ready to use SDK rootfs. What is more , I couldn't find any info why do I have to install rootfs SDK on my device :)</p>
<span class="net_nemein_favourites">0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=f9c7948ac82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/f9c7948ac82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=f9c7948ac82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/f9c7948ac82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Mon, 12 Feb 2007 08:33:17 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-f9c7948ac82d11dc87120f7eb07a03af03af</guid>
        </item>
        <item>
            <title>maemo.org, website which ....</title>
            <link>http://blogs.nemein.com/people/piotras/view/1171116629.html</link>
            <description><![CDATA[

<p>...sucks a lot.</p>

<p>Consider this real scenario:</p>

<ol>
<li>You want to develope new application for OS2006</li>
<li>You need to update OS2006</li>
<li>You need to update maemo2.1 to maemo2.2</li>
</ol>

<p>Maybe I am stupid , but clever guy do:</p>

<ol>
<li>Open maemo.org</li>
<li>Follow "Maemo 2.2 'gregale' is released" link from frontpage</li>
<li>Follow one of these two links:</li>
</ol>

<ul>
<li>The latest OS 2006 Software Edition is available here.</li>
<li>For more info please see the releases page</li>
</ul>

<ol>
<li>Download latest OS2006 ( you completely hae no idea what to do with this OS )</li>
<li>Follow release page</li>
<li>Follow Maemo 2.2 'gregale' Release</li>
<li>Follow any link in 2.2 release section</li>
<li>Try to figure out what to do.</li>
<li>Count from 1 to 10 to calm down....</li>
<li>Imagine "I feel lucky"</li>
<li>Follow "wiki" link in main navigation</li>
<li>Dada! There's howto for developers!</li>
</ol>

<p>There's 'Developers' link in main navigation. Why thi showto is not linked directly from developers section?</p>

<p>What does 'Wiki' means in main navigation? A Page that uses wiki? A tool? What?
I wonder if I should create 'PHP' link on my website because website uses PHP...</p>

<p>Almost full quote from <a href="http://vabank.filmweb.pl/">Vabank</a>:</p>

<p>Q: Do you always keep money in a bathroom with your dirt panties?
A: Yeah , sure! And I keep my toothpaste in my socks!</p>

<p>A good lesson for me being also a developer and release manager. 
Always use links and titles which describes what is the content they provide. <strong>Never</strong> use links with names which describe what is the tool they use.</p>

<p>I remember I lost quite some time few weeks ago when I wanted to find applications' catalog on maemo.org. Wiki page was the last one I selected.</p>

<p>A similiar scenario can be repeated on <a href="http://gnome.org">http://gnome.org</a> website. This is impossible for end user to find anything. 
In the same time, my wife is trying to find some gnome application.
Obviously, not being gnome developer, she has no idea that <a href="http://gnomefiles.org">http://gnomefiles.org</a> can be found at gnome.org > community > software map.</p>
<span class="net_nemein_favourites">0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=f96efbaec82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/f96efbaec82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=f96efbaec82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/f96efbaec82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Sat, 10 Feb 2007 12:10:29 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-f96efbaec82d11dc87120f7eb07a03af03af</guid>
        </item>
        <item>
            <title>Setting up Maemo scratchbox</title>
            <link>http://blogs.nemein.com/people/piotras/view/1169306408.html</link>
            <description><![CDATA[

<p>It's worth mentioning.
When you try to setup scratchbox for <a href="http://maemo.org/">maemo</a> you probably ended up with googling and looking for this :</p>

<pre><code>Xephyr cannot open host display. Is DISPLAY set?
</code></pre>

<p>I am almost sure that you use gnome, so enable TCP connections in GDM setup.</p>

<p>Unfortunatelly I resolved this weird issue while my user's scratchbox account
started to acting up so obviously I need to reinstall scratchbox.</p>
<span class="net_nemein_favourites">0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=fav&net_nemein_favourites_execute_for=f8ab58a2c82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/fav/midgard_article/f8ab58a2c82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-favorite.png" style="border: none;" alt="Add to favourites" title="Add to favourites" /></a>0 <a href="http://maemo.org/news/?net_nemein_favourites_execute=bury&net_nemein_favourites_execute_for=f8ab58a2c82d11dc87120f7eb07a03af03af&net_nemein_favourites_url=https://maemo.org/news/favorites//json/bury/midgard_article/f8ab58a2c82d11dc87120f7eb07a03af03af/" class="net_nemein_favourites_create"><img src="http://static.maemo.org:81/net.nemein.favourites/not-buried.png" style="border: none;" alt="Bury" title="Bury" /></a></span>]]></description>
            <author>Piotr Pokora &lt;piotrek.pokora@gmail.com&gt;</author>
            <category>feed:f13f02dc517a85b9787157119dd2b122</category>
            <pubDate>Sat, 20 Jan 2007 13:20:08 +0000</pubDate>
            <guid>http://maemo.org/midcom-permalink-f8ab58a2c82d11dc87120f7eb07a03af03af</guid>
        </item>
    </channel>
</rss>
