25 February 2009

libchamplain progress in Febuary

After this (IMHO) successful presentation at FOSDEM, people spontaneously offered their help.  Many more showed their interest into the ideas or to use it.  Let’s see what is developing from that.

For the new readers, libchamplain is a Clutter based map displaying widget.  It intends to be a light embeddable map widget for all applications with nice eye candy.  For instance, the current API concentrates on how to draw markers and display maps rather than parsing raw GPX data.

Some days before FOSDEM, work started on libchamplain 0.3.  This version will be the development version leading to libchamplain 0.4 (kind of using the same numbering schema than Clutter).  Along with all the promised features (routes, custom map sources and being bindings friendly), this version will have a better code base.  It is already much cleaner than the 0.2 series, and yet a lot of work is left to be done.  I had written a MVC version of the code and I am slowly merging this work (from the MVC branch) back into master.  Also, one of the biggest change is that libchamplain and libchamplain-gtk are now under the same git tree.  Packagers will hate us a little now, but it should provide simpler to maintain in the future.  All bindings will also be under the same tree, in the bindings directory.

There is a new demo portraying an animated marker. See demos/animated-marker.c.

Anders Mørk-Pedersen has been around before FOSDEM working on managed bindings for libchamplain.  With Stéphane Delcroix special touch, they got them running.  They are merged, and I think, ready to be tested.  Now, I am not telling you yet what those bindings are going to be used for…  ;-)

Denk Padje offered his help working on the python bindings.  While we got somethings to generate, neither of us are python specialist.  We could use some help.  The branch is bindings-python.  Once the bindings are running, examples will be written.

Libchamplain could certainly profit from Google’s Summer of Code.  Ideas such as having map drawn locally from raw map data and supporting more map sources and map projections (at least one that doesn’t make Greenland the size of South America) will probably be added to Gnome’s pool of ideas.

Now that we have a mailing list, I think a proper web site should come next.  I would also like the project to have a neat logo.  But nothing too fancy as it is a library after all.  May be someone could come up with something like likes of Geoclue’s logo, but may be as a puzzle piece (clearly indicating that it is a library).  Also, I like the Tango colors ;-)

That’s it for Febuary.

De retour de Stockholm

Je suis allé à Stockholm en fin de semaine, où Gabriel m’a rejoint.  J’ai pris le bateau vendredi à 16h30, pour arriver samedi à 9h50.  C’est une longue croisière, mais ça passe vite car on dort beaucoup et il y a quand même beaucoup d’activités à bord.  J’ai pu résister au casino, à la piste de danse et au sauna. J’ai passé le plus clair de mon temps à lire le guide pour la Scandinavie que j’ai reçu à Noël pour préparer la fin de semaine.

À Stockholm, Gabriel nous attendait sur le quai.  On a fait un tour rapide du vieux Stockholm (Gamla Stan) et on est allé à l’hôtel déposer les sacs.  Ensuite, on s’est dirigé vers le parc thématique Skensa.  Sur la même île, il y avait le fameux musée du bateau Vasa.  C’est un bateau dont j’ai entendu parlé dans mes cours d’ingénierie, puisque le bateau a coulé quelques minutes après sa mise à l’eau, c’est une erreur à ne pas refaire!  Le bateau est très bien préservé, il a été entièrement plastifié après avoir été retiré de l’eau vers 1958.

Pour souper, on est retourné dans Gamla Stan où on a trouvé un restaurant avec spécialités suédoises.  Moi je voulais absoluement manger des boulettes.  C’était aussi un bar à scotch.  C’était en fait le seul endroit au monde où on peut boire un scotch Glenfiddich de 15 ans, directement du tonneau!  Laissez-moi vous dire qu’il est assez fort!  Je l’ai coupé avec pas mal d’eau.

Dimanche, on s’est levé trop tôt pour visiter le vieux quartier car la majorité des choses ouvraient à midi.  Alors on s’est rabattu sur le musée Nobel qui s’est avéré être très intéressant après tout.  Après cela, on est allé visiter une église, avant d’aller voir le changement de garde devant le palais.  La journée était déjà terminée, il fallait regagner le bateau pour Helsinki.

Sur le bateau, on est allé voir 2 films pour passer le temps.  Sur l’heure du souper, il s’est mit à venter beaucoup et le bateau brassait pas mal.  Ça m’a prit plus d’une journée pour arrêter de sentir ce mouvement lorsque je m’assoyais à table!

Je garde un très beau souvenir de Stockholm, dommage que je sois ici et non là-bas!

Les photos sont sur flickr, et elles sont presque toutes géotaggées.

11 February 2009

Marc’s work now in Qt 4.5

Marc spent weeks implementing NPAPI plugins support in QtWebKit, now that Qt 4.5 is available as a release candidate, you can now enjoy the work he did for Collabora. Be sure to read his post, it’s more interesting hehe.

Update: it turns out I forgot to mention that Rodney Dawes has worked on NPAPI plugins for WebKitGtk+ for months, but Marc completed the work, and ported it to Qt too.  Therefore, Rodney also deserves congratulations!

8 February 2009

Bringing geolocation into Gnome

This week-end, I presented a talk at FOSDEM about how “Bringing geolocation into GNOME”.  While giving some background definitions and ideas for geolocation, it mostly covered what are technologies currently available to achieve these goals.

I have the impression that the talk was well received, it certainly boosted my interest into spending long nights infront of the screen pushing libchamplain forward much more!

Bringing geolocation into GNOME

All of the demonstrated code is already available.  For EOG plugin, see the EOG-plugins svn repo, a release should be available in the Gnome 2.28 timeframe.  For the Empathy Geolocation, it is available in my empathy repo, and the telepathy parts already have been released.  This feature should be merged first thing in the 2.27 development cycle, allowing a smooth testing period before 2.28.  As for Emerillion, it was the first public mention of this promizing application.  It shall be announced in a close future.

To make this presentation, I used clutter-toys/opt, a clutter based presentation tools.  The slides are defined in a xml file.  I enhanced it to support embedded maps.  So if you add the following xml code, you’ll have an interactive map of Brussels, with very usefull places marked, right into your slide! Grab the branch into my clutter-toys repo.

<map width="600" height="500" zoom-level="13" latitude="50.84" longitude="4.37">
      <marker latitude="50.842966" longitude="4.35153">Porte Noire</marker>
      <marker latitude="50.845127" longitude="4.349878">Mannequin Pis</marker>
      <marker latitude="50.848548" longitude="4.353633">Délirium Café</marker>
      <marker latitude="50.821391" longitude="4.39393">Université Libre</marker>
</map>