Skip to content

Maevies and butaca-server updated in extras-devel

After almost a month without updates, today I’ve pushed some fixes and improvements to Maevies and butaca-server.

  • Query results are freed once they’re no longer needed
  • The service quits when the user closes the client
  • There’s a proper About window (taken from Joaquim Rocha‘s SeriesFinale)
  • Maemo packages (Maeviesbutaca-server) in extras-devel work fine (previous version for butaca-server lacked the butaca-service file, even if the autobuilder log said it was OK)

The nice news is that Maevies already had users! I haven’t promoted this app neither in talk.maemo.org nor in Identica’s Maemo group, but several Maemo-related blogs and forums were listing it. It’s funny because, as butaca-server’s previous version didn’t work, those users were happy just with python-webkit pointing to Google Movies :) . I hope they enjoy the new features they’ll find.

About Window

Movie Info - The Expendables

Movie Stingers - The Expendables

Tagged ,

GObject Introspection has landed in Grilo!

If you’re using Grilo from git, last patches enabled improved GObject Introspection so you can start using Python with PyGObject to develop your applications.

A Python clone of the grilo-test-ui is provided, and should give you an idea of what can be done with these new bindings: basically enjoy all the power in Grilo without needing to touch C code, and without us having to maintain manually created bindings.

If you’re a JavaScript user, then you need to watch bug #616961. As JavaScript doesn’t support GParamSpecs yet (#626047), you’ll need this patch which replaces GParamSpec annotations with uints. And now, time for unit testing with PyGObject!

Using Grilo bindings from Python console

grilo-test-ui using GObject Introspection bindings

Missing GParamSpec when accessing from JavaScript

Tagged , , , ,

Watch a product in (GNOME’s) Bugzilla

Another quick one: if you want to watch/follow a product in (GNOME’s) bugzilla, it is explained here.

To watch an entire product, lookup the product in this page. This will show the default assignee (often productname-maint@gnome.bugs). Then add it your your watched users list.

An easy one, but as it took me a while to find it, I put it here as a reference.

Tagged , , ,

Guadec Hispana 7: el principio

Aunque se haya acabado ya la 7ª Guadec-Hispana, para mí siempre será el principio: la primera vez que aporté algo (por humilde que haya sido) a una conferencia de Software Libre. Fue una experiencia muy agradable, a pesar de que hablar delante de tanto hacker produzca cierta intimidación ;) . Afortunadamente, la (estupenda) cena del día anterior me sirvió para ir conociendo un poco a la gente, y ver que no mordían: es gente muy maja. Desde luego, es algo totalmente recomendado, tanto si tenéis la oportunidad de presentar algo como si acudís de oyentes.

Todas las charlas quedaron grabadas en vídeo, y la organización se encargó también de recoger las presentaciones, así que no creo que se tarde mucho en publicarlas en la página del evento: son todas muy recomendables. Y, para ir haciendo boca, aquí están las mías: en ellas se habla de Jamp, la aplicación desarrollada en el módulo de Desktop & Mobile del máster. ¡Que las disfrutéis!

View more presentations from Simón Pena.
Tagged ,

JaMp talk at GUADEC-ES

I’ve just finished writing the slides for the JaMp‘s talk at the GUADEC-ES :)

Maybe it’s still a bit longer than it should, but hey!

So, if you want to know those issues we faced with JaMp (GObject signals, D-Bus -from both C and Python sides-, and some notes about the Maemo port) come visit us to the Computer Science Faculty at A Coruña on 23rd July -next Friday- at 13:00. Grab the program here.

Tagged ,

Another (general) status report

Some quick notes (the list of things which would deserve a full blog entry for themselves just keeps growing…)

  • My manager (I don’t like how “boss” sounds) retired last week. Although he visited us a couple of days more to spend some time with us, things will be, at least, different. We’ll surely miss him.
  • I started working with Grilo at Igalia, as the practicum work for the Free Software Master. I’ve been assigned a challenging task: improve the bindings infrastructure. Currently I’m getting familiar with the project, reading the doc and playing with the examples: it looks really interesting!
  • Yesterday I received permissions to upload to extras-devel, so… maevies & butaca-server are available now! Of course, all said warnings about extras-devel still apply. In my case, it’s about memory consumption: the backend doesn’t free the objects exposed via DBus, so you have to kill it to get that done. It’s a small footprint and all that, but it’s not nice and of course not the way I want it: having it uploaded to extras will get me motivated to fix it :) (Sure, there will be other issues as well, and I’ll set up the bugtracker as soon as possible)
  • I’ve started with the slides for the JaMp talk at GUADEC-ES. There’s still time left, but with these things, you never know…
Tagged , , ,

Jamp is going to GUADEC-ES!

The application we’ve been developing at the Desktop & Mobile module in the Master has been accepted for a talk in the GUADEC-ES!

More info on that soon, but you can start by checking the program. Or even better: why don’t you register and visit us?

Tagged ,

From Maevies to Butaca: a change for the better

Maevies was born twice. The first one, around the end of October, had a limited lifespan. The second one, a couple of months ago, was much more promising. As I’ve just told, I’m following the same architectural approach we have for Jamp, the Free Software Master‘s project. I was progressing fairly well, and feeling close to what I’d call a 0.1 release, I wanted to provide Debian packages. I started packaging the backend: another blog entry could be great to explain how I solved the issues I found, but these two commits should be pretty self-explanatory. The first one provides the Debian package infrastructure, so the binary is created. The second one does the necessary magic to get the service file in the appropriate directory. My sources for this were Vagalume project and this DBus tutorial.

However, I didn’t know what to do with the Python part. Ship it together? Separately? How? From what I’ve seen, Python apps often use distutils for distribution and installation: creating a setup.py for the python part of maevies wasn’t hard: with a simple file like this one, all the Python code could be distributed. But I still had to put it in a package… so I decided to stop losing time and do the following:

  • Maevies’ backend and frontend will be separated from now on. That makes building Debian packages really easy, and later, will be better for i18n support.
  • Move from Maemo’s garage to gitorious. In one of the latests IRC meetings, they talked about shutting down the garage and start providing a migration path. The sooner I do it, the better.

Both the split up and the move to gitorious have an additional benefit: the backend, being perfectly suited for any modern GNU / Linux distro, is now separated and in a more visible site, with the project being called Butaca, and the backend butaca-server. Maevies’ UI is what will keep the “Maevies” name, being fully developed in PyGTK, and focusing on Maemo. (A Gnome desktop client should follow soon)

Something really nice about this move is that I’ll preserve the git history. Thanks to this Stack Overflow link, nothing will be lost: it explains how to split  (or detach as they say) a directory, with its history, from the whole project.

Tagged , , , , ,

Eclipse CDT indexer with autotools

Quick note on Eclipse’s CDT indexer: when using it with a C autotools project, it doesn’t index headers and symbols with the AM_SILENT_RULES activated.

m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])

Commenting out the line let’s Eclipse build its index, and then (it looks like) there’s no problem setting it back.

UPDATE: In the project properties, under the C/C++ Build page, unclicking Use default build command and settingthe verbose mode for Make,

make V=1

does the trick, without the need to modify the configure.ac

Tagged , , ,

Status report on maevies

Quick update on maevies status:

  • Movie posters are fetched from Internet
  • Google movies page is shown when ‘now on theaters’ is clicked
  • It is possible to search for stingers and extras after / during the credits on WATC (What’s after the credits)
  • WATC wiki is shown when a WATC result is clicked

Pictures from this update have been uploaded to maevies’ picasa gallery. I’m also working on a debian package: I’ll keep you updated :)

Tagged ,