<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Life &#38; hacking &#187; Maemo</title>
	<atom:link href="http://blogs.gnome.org/johannes/category/maemo/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/johannes</link>
	<description>Blog of Johannes Schmid</description>
	<lastBuildDate>Fri, 03 Feb 2012 12:02:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Glom on maemo fremantle</title>
		<link>http://blogs.gnome.org/johannes/2009/09/05/glom-on-maemo-fremantle/</link>
		<comments>http://blogs.gnome.org/johannes/2009/09/05/glom-on-maemo-fremantle/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 11:23:52 +0000</pubDate>
		<dc:creator>jhs</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Openismus]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/johannes/?p=203</guid>
		<description><![CDATA[Glom now bascially starts up on maemo fremantle which means that gtkmm, libgda, libgdamm and pygda are working together now on the maemo platform. Of course lots of bug-fixing and UI work left to make this really cool. Screenshot:]]></description>
			<content:encoded><![CDATA[<p>Glom now bascially starts up on maemo fremantle which means that gtkmm, libgda, libgdamm and pygda are working together now on the maemo platform. Of course lots of bug-fixing and UI work left to make this really cool.</p>
<p>Screenshot:<a href="http://blogs.gnome.org/johannes/files/2009/09/glom-shot1.png"><img class="alignright size-medium wp-image-208" title="glom-shot" src="http://blogs.gnome.org/johannes/files/2009/09/glom-shot1-300x180.png" alt="glom-shot" width="300" height="180" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/johannes/2009/09/05/glom-on-maemo-fremantle/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Scratchbox support for anjuta</title>
		<link>http://blogs.gnome.org/johannes/2007/05/25/scratchbox-support-for-anjuta/</link>
		<comments>http://blogs.gnome.org/johannes/2007/05/25/scratchbox-support-for-anjuta/#comments</comments>
		<pubDate>Fri, 25 May 2007 10:41:57 +0000</pubDate>
		<dc:creator>jhs</dc:creator>
				<category><![CDATA[Anjuta]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Leben]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Openismus]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/johannes/2007/05/25/scratchbox-support-for-anjuta/</guid>
		<description><![CDATA[Today, I added a very simple feature to anjuta which makes it possible to build your project inside a scratchbox environment. It does not take care about execution and debugging yet but that&#8217;s not so important for me at the moment. The last weeks I mostly hacked on drag-and-drop layout support for glom. It is [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I added a very simple feature to anjuta which makes it possible to build your project inside a scratchbox environment. It does not take care about execution and debugging yet but that&#8217;s not so important for me at the moment.</p>
<p>The last weeks I mostly hacked on drag-and-drop layout support for <a href="http://bugzilla.gnome.org/show_bug.cgi?id=358092">glom</a>. It is far from finished at the moment and anyone is free to make suggestions how improve the whole dnd handling.</p>
<p>Today, I heading for the <a href="http://en.wikipedia.org/wiki/DFB-Pokal">German Cup-Final</a> in Berlin tommorow and I hope Nuremberg will win it&#8217;s first title after 39 years (including several years in the second and even one in the third league).</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/johannes/2007/05/25/scratchbox-support-for-anjuta/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Some new packages for maemo bora</title>
		<link>http://blogs.gnome.org/johannes/2007/04/18/some-new-packages-for-maemo-bora/</link>
		<comments>http://blogs.gnome.org/johannes/2007/04/18/some-new-packages-for-maemo-bora/#comments</comments>
		<pubDate>Wed, 18 Apr 2007 21:26:23 +0000</pubDate>
		<dc:creator>jhs</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Openismus]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/johannes/2007/04/18/some-new-packages-for-maemo-bora/</guid>
		<description><![CDATA[There are new packages availible for maemo bora: Update: Packages for glibmm/gtkmm: These packages fix a nasty bug that will cause a crash when using Gtk::TextBuffer so everybody is encouraged to upgrade New: Package for libgda3 which brings the GNOME database power to maemo. Please note that this is not yet the final release of [...]]]></description>
			<content:encoded><![CDATA[<p>There are new packages availible for maemo bora:</p>
<ul>
<li>Update: Packages for glibmm/gtkmm: These packages fix a nasty <a href="http://bugzilla.gnome.org/show_bug.cgi?id=426931">bug</a> that will cause a crash when using Gtk::TextBuffer so everybody is encouraged to upgrade</li>
<li>New: Package for libgda3 which brings the GNOME database power to maemo. Please note that this is not yet the final release of libgda and that the packages may have some rough edges.</li>
</ul>
<p>Both packages are available from the bora-extras repository:<br />
<code><br />
 deb http://repository.maemo.org/extras/ bora free<br />
 deb-src http://repository.maemo.org/extras/ bora free<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/johannes/2007/04/18/some-new-packages-for-maemo-bora/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>More maemo-launcher improvements for 2.10</title>
		<link>http://blogs.gnome.org/johannes/2007/03/23/more-maemo-launcher-improvements-for-210/</link>
		<comments>http://blogs.gnome.org/johannes/2007/03/23/more-maemo-launcher-improvements-for-210/#comments</comments>
		<pubDate>Fri, 23 Mar 2007 16:37:49 +0000</pubDate>
		<dc:creator>jhs</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Openismus]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/johannes/2007/03/23/more-maemo-launcher-improvements-for-210/</guid>
		<description><![CDATA[So, I finally got to hacking on the cairo support for maemo-launcher. Thanks to Behdad and Owen for pointing me in the right direction. My patch adds a method to booster_preinit which draws some demo text (&#8220;Maemo launcher&#8221;) to a image surface using pangocairo. Obviously this is enough to init most of the font stuff [...]]]></description>
			<content:encoded><![CDATA[<p>So, I finally got to hacking on the cairo support for maemo-launcher. Thanks to Behdad and Owen for pointing me in the right direction.</p>
<p>My <a href="https://maemo.org/bugzilla/show_bug.cgi?id=952">patch</a> adds a method to booster_preinit which draws some demo text (&#8220;Maemo launcher&#8221;) to a image surface using pangocairo. Obviously this is enough to init most of the font stuff of pango and thus speeds up the application start-up for my test-case, the hello-world example from the GTK+ tutorial, by 50%. Again, I may be totally wrong with my results of course as times tend to be very small on a normal PC. I would be glad to hear from poeple using embedded devices if this is a real performance gain.</p>
<p><img src="http://www.bogenschneller.de/jsschmid/cairo.png" alt="Start-up time Diagram" /></p>
<blockquote><p>The only problem with the patch currently is that I use &#8220;Sans 10&#8243; as hardcoded value for the font. I have not yet figured out a good way to get the default font without opening a display.</p></blockquote>
<p><strong>Update: Obviously the font is totally irrelevant! I just removed the line and everything was as fast as before which means the upon layout drawing as font initialisation is done!</strong></p>
<p>All this was done for <a href="http://www.openismus.com">Openismus</a> in case anyone did not know!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/johannes/2007/03/23/more-maemo-launcher-improvements-for-210/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>maemo-launcher performance test</title>
		<link>http://blogs.gnome.org/johannes/2007/03/09/maemo-launcher-performance-test/</link>
		<comments>http://blogs.gnome.org/johannes/2007/03/09/maemo-launcher-performance-test/#comments</comments>
		<pubDate>Fri, 09 Mar 2007 14:47:49 +0000</pubDate>
		<dc:creator>jhs</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Openismus]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/johannes/2007/03/09/maemo-launcher-performance-test/</guid>
		<description><![CDATA[Today was the time to get some results on the improvements that can be reached using maemo-launcher. Of course all this tests might be inaccurate and wrong&#8230; At first, I needed a simple example so I took the Hello World! example from the Gtk+ Tutorial. The only code change was to add a GTimer and [...]]]></description>
			<content:encoded><![CDATA[<p>Today was the time to get some results on the improvements that can be reached using maemo-launcher. Of course all this tests might be inaccurate and wrong&#8230;</p>
<p>At first, I needed a simple example so I took the <a href="http://www.gtk.org/tutorial/c39.html#SEC-HELLOWORLD">Hello World!</a> example from the Gtk+ Tutorial. The only code change was to add a GTimer and to print the elapsed time <strong>before</strong> gtk_main() is called. I now made some test runs (not enough for a statistical correct result&#8230;).</p>
<p><strong>Result Gtk:</strong> maemo-launcher speeds up this example by about 25%. That could mean the Gtk initialisation takes about 25% of the start-up time. Of course in bigger applications this value will decrease as they do much more than just to init Gtk and create some widgets.</p>
<p>So, the next step was to test what happens to an application that uses Gtkmm instead of Gtk. Again, I used the simplest example from the tutorial, <a href="http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch03s06.html">Hello World in gtkmm</a> and modified it to install a timer before Gtk::Main::run(). This test did not give me that nice results as the above. The standard deviation was much higher so I assume caching has a much bigger influence here.</p>
<p><strong>Result Gtkmm:</strong> The speed-up reached by the launcher using the gtk booster was about 22% in average but in a range from +54% to -59%. If I used the new gtkmm booster together with the gtk booster I gained 35% more speed and the range was only +65% to -11%.</p>
<p><strong>Overall results:</strong> It seems like maemo-launcher does speed things up a bit. On my laptop this only means some milliseconds but maybe it is more important on embedded platforms. I still wonder why I have such a big standard deviation with the C++ code. You can have a look a the <a href="http://bogenschneller.de/jsschmid/speed.gnumeric">exact results (gnumeric sheet)</a></p>
<p>All this was done using gtk+ 2.10.9, gtkmm 2.10.8 and maemo-launcher from SVN TRUNK. I had to <a href="https://maemo.org/bugzilla/show_bug.cgi?id=952#c6">modify</a> the Gtk booster to work with 2.10 which means that it does only init all the GTypes but avoids all the more advanced hacks that no longer work because many leaks in Gtk have been fixed.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/johannes/2007/03/09/maemo-launcher-performance-test/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>More gtkmm-booster for Maemo</title>
		<link>http://blogs.gnome.org/johannes/2007/03/05/more-gtkmm-booster-for-maemo/</link>
		<comments>http://blogs.gnome.org/johannes/2007/03/05/more-gtkmm-booster-for-maemo/#comments</comments>
		<pubDate>Sun, 04 Mar 2007 22:01:08 +0000</pubDate>
		<dc:creator>jhs</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Openismus]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/johannes/2007/03/05/more-gtkmm-booster-for-maemo/</guid>
		<description><![CDATA[Today, I hacked a bit on maemo-launcher to add support for multiple boosters. It was not very difficult but quite annoying because string handling and lists without Glib are a real mess! The gtkmm-booster seems to work good now and I had no problems to launch the complete maemo-desktop and the maemomm-helloworld example. There are [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I hacked a bit on <a href="https://maemo.org/bugzilla/show_bug.cgi?id=1027">maemo-launcher</a> to add support for multiple boosters. It was not very difficult but quite annoying because string handling and lists without Glib are a real mess!</p>
<p>The <a href="https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/gtkmm-booster/?root=maemomm">gtkmm-booster </a>seems to work good now and I had no problems to launch the complete maemo-desktop and the maemomm-helloworld example. There are some instructions in the README to set up the launcher correctly.</p>
<p>Anyway, I still miss a real-life test-case and good ideas how to measure the performance. My laptop might be about 10 times faster as the N800 so I can&#8217;t &#8220;feel&#8221; any performance changes. I also have no real idea how to get objective results.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/johannes/2007/03/05/more-gtkmm-booster-for-maemo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>maemo gtkmm booster</title>
		<link>http://blogs.gnome.org/johannes/2007/03/01/maemo-gtkmm-booster/</link>
		<comments>http://blogs.gnome.org/johannes/2007/03/01/maemo-gtkmm-booster/#comments</comments>
		<pubDate>Thu, 01 Mar 2007 16:53:38 +0000</pubDate>
		<dc:creator>jhs</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Openismus]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/johannes/2007/03/01/maemo-gtkmm-booster/</guid>
		<description><![CDATA[To speed up application start-up the clever people at Nokia wrote Maemo launcher. It is a quite dirty hack that tries to keep many things in memory and to fork to main() once an application is started. Of course something like this would be nice for gtkmm/maemomm too. maemo-launcher supports different booster modules and thus [...]]]></description>
			<content:encoded><![CDATA[<p>To speed up application start-up the clever people at Nokia wrote <a href="http://maemo.org/lxr/source/maemo-launcher/README.">Maemo launcher</a>. It is a quite dirty hack that tries to keep many things in memory and to fork to main() once an application is started.</p>
<p>Of course something like this would be nice for gtkmm/maemomm too. maemo-launcher supports different booster modules and thus we can add a gtkmm booster modules. I spent most of the day figuring out how all this works and finally finished a very simple booster. The gtkmm booster currently simply calls the methods from the gtk booster (as we need all the stuff from gtk anyway) but in the future it will also do some gtkmm specific stuff.</p>
<p>If you are interested you can have a look at the <a href="https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/gtkmm-booster/?root=maemomm">sources</a> (you will also need the patch from this <a href="https://maemo.org/bugzilla/show_bug.cgi?id=1027">bug</a> against maemo-launcher). It is still broken in many places but at least you should be able to start some apps. Start the launcher using <code>maemo-launcher --daemon --send-app-died --booster gtkmm</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/johannes/2007/03/01/maemo-gtkmm-booster/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MySQL on Maemo</title>
		<link>http://blogs.gnome.org/johannes/2007/02/28/mysql-on-maemo/</link>
		<comments>http://blogs.gnome.org/johannes/2007/02/28/mysql-on-maemo/#comments</comments>
		<pubDate>Wed, 28 Feb 2007 12:47:04 +0000</pubDate>
		<dc:creator>jhs</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Maemo]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/johannes/2007/02/28/mysql-on-maemo/</guid>
		<description><![CDATA[I recently tried to build mysql packages to be able to access the client libs from libgda(mm) on maemo bora. I figured out how to build them on SDK_X86 by cutting down depencies as much as possible but failed to build them on SDK_ARMEL because of this internal compiler error: if arm-linux-gnueabi-g++ -DHAVE_CONFIG_H -DNDEBUG -I. [...]]]></description>
			<content:encoded><![CDATA[<p>I recently tried to build mysql packages to be able to access the client libs from libgda(mm) on maemo bora. I figured out how to build them on SDK_X86 by cutting down depencies as much as possible but failed to build them on SDK_ARMEL because of this internal compiler error:</p>
<p><code><br />
if arm-linux-gnueabi-g++ -DHAVE_CONFIG_H -DNDEBUG   -I. -I. -I../../../../..  -I. -I../../../../../include -I../../../../../ndb/include -I../../../../../ndb/src/kernel/vm -I../../../../../ndb/src/kernel/error -I../../../../../ndb/src/kernel -I../../../../../ndb/include/kernel -I../../../../../ndb/include/transporter -I../../../../../ndb/include/debugger -I../../../../../ndb/include/mgmapi -I../../../../../ndb/include/mgmcommon -I../../../../../ndb/include/ndbapi -I../../../../../ndb/include/util -I../../../../../ndb/include/portlib -I../../../../../ndb/include/logger    -O3 -DDBUG_OFF    -fno-implicit-templates -fno-exceptions -fno-rtti   -MT Cmvmi.o -MD -MP -MF ".deps/Cmvmi.Tpo" -c -o Cmvmi.o Cmvmi.cpp; \<br />
then mv -f ".deps/Cmvmi.Tpo" ".deps/Cmvmi.Po"; else rm -f ".deps/Cmvmi.Tpo"; exit 1; fi<br />
Cmvmi.cpp: In member function `void Cmvmi::execTESTSIG(Signal*)':<br />
Cmvmi.cpp:1463: internal compiler error: in verify_local_live_at_start, at flow.c:546<br />
Please submit a full bug report,<br />
with preprocessed source if appropriate.<br />
Send email to arm-gnu@codesourcery.com for instructions.<br />
</code></p>
<p>It&#8217;s not a major issue as I was able to build PostgreSQL packages and one database is enough in the moment but if someone has an idea what I could do about it I would be glad to hear.</p>
<p>In the meantime a have put up a small howto for installing an <a href="http://www.bogenschneller.de/jsschmid/blog/?page_id=49">SDK for C++ development on the Nokia N800</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/johannes/2007/02/28/mysql-on-maemo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I got it &#8211; my new Nokia N800 just arrived</title>
		<link>http://blogs.gnome.org/johannes/2007/01/26/i-got-it-my-new-nokia-n800-just-arrived/</link>
		<comments>http://blogs.gnome.org/johannes/2007/01/26/i-got-it-my-new-nokia-n800-just-arrived/#comments</comments>
		<pubDate>Fri, 26 Jan 2007 13:34:20 +0000</pubDate>
		<dc:creator>jhs</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Leben]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Openismus]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/johannes/2007/01/26/i-got-it-my-new-nokia-n800-just-arrived/</guid>
		<description><![CDATA[So, I finally hold my new Nokia N800 in my hands. Nokia was so kind to give a discount code to me for the work we did on Maemomm for openismus. Thanks to Nokia and Murray for organizing this discout! So its simply incredible! l switched it on connected the wifi and write my first [...]]]></description>
			<content:encoded><![CDATA[<p>So, I finally hold my new Nokia N800 in my hands. Nokia was so kind to give a discount code to me for the work we did on <a href="http://maemomm.garage.maemo.org/docs/index.html">Maemomm</a> for openismus. Thanks to Nokia and Murray for organizing this discout!</p>
<p>So its simply incredible! l switched it on connected the wifi and write my first N800 blog now.</p>
<p>I should really start to read the manual now but I am just suprised of some things:<br />
- It&#8217;s damn small. Of course I knew the size in cm before I bought it but it should feels much smaller with this 800&#215;600 display.<br />
- The display is very sharp though you need good eyes to be able to read webpages in full-size mode.<br />
- Accidently pushed the button to the right and a webcam moved out<br />
- You can use handwriting to edit text and that works amazing</p>
<p>I will continue playing&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/johannes/2007/01/26/i-got-it-my-new-nokia-n800-just-arrived/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jhs vs. m4 1:1</title>
		<link>http://blogs.gnome.org/johannes/2006/09/14/jhs-vs-m4-11/</link>
		<comments>http://blogs.gnome.org/johannes/2006/09/14/jhs-vs-m4-11/#comments</comments>
		<pubDate>Thu, 14 Sep 2006 16:57:02 +0000</pubDate>
		<dc:creator>jhs</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Openismus]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/johannes/2006/09/14/jhs-vs-m4-11/</guid>
		<description><![CDATA[More or less the whole day I improved the gtkmm patch to be able to build without the Atkmm api which is particular usefull on platforms like Maemo. I had to fight a lot with m4, perl and the bad error messages of the C preprocessor. It only tells you that some #ifdef was not [...]]]></description>
			<content:encoded><![CDATA[<p>More or less the whole day I improved the gtkmm patch to be able to build without the Atkmm api which is particular usefull on platforms like Maemo.</p>
<p>I had to fight a lot with m4, perl and the bad error messages of the C preprocessor. It only tells you that some #ifdef was not closed but it does not really mention where. After I finally also got the conditional building using automake/autoconf working, the updated patch is now in bugzilla.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/johannes/2006/09/14/jhs-vs-m4-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  blogs.gnome.org/johannes/category/maemo/feed/ ) in 1.39500 seconds, on Feb 11th, 2012 at 1:09 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 11th, 2012 at 2:09 am UTC -->
