How to compile Tomboy in Mac OS X

I have created a lot of different notes using Tomboy. However there is no version out there to use tomboy in a mac. These are the steps needed to compile it in a Mac OS X machine.

The first thing you need is a working copy of Fink and a X11 server. You can find instructions to install fink in its webpage and you can find the X11 server in your Mac OS X installation disk.

Before starting, you need to install some dependences to compile Tomboy. Just type in your terminal:

$ fink install mono mono-dev
$ fink install gtk+2 gtk+2-dev atk1 atk1-shlibs pango1-xft2 pangoxsl-shlibs
	libgnomeprint2.2 libgnomeprintui-2.2
$ fink install dbus dbus-dev dbus-shlibs
$ fink install gtkspell2-shlibs gtkspell2  gtkspell2-dev

This will take a long time, so relax and have a cup of tea.

There is another dependency that is not included in Fink, DBusSharp. Download ndesk-dbus and ndesk-dbus-glib, and move the files to your source directory. Then compile each one:

$ tar xvfz ndesk-dbus-0.6.0.tar.gz
$ cd ndesk-dbus-0.6.0
$ ./configure --prefix=/Users/pablo/sw/
$ make
$ make install
$ cd ..
$ tar xvfz ndesk-dbus-glib-0.4.1.tar.gz
$ cd ndesk-dbus-glib-0.4.1
$ export PKG_CONFIG_PATH=/Users/pablo/sw/lib/pkgconfig:/sw/lib/pkgconfig
$ ./configure  --prefix=/Users/pablo/sw/
$ make
$ make install

I usually prefer to keep the programs I compile inside my $HOME (/Users/pablo/sw in my case). I you want to put those files in any other place just change the directory in the lines above to the proper one.

Now your system should be ready to install the lastest version of Tomboy. I am using the version 0.12.0, as it is the last one available right now. Download it and move it to your source directory.

$ tar xvfz tomboy-0.12.0.tar.gz
$ cd tomboy-0.12.0

Fink is sometimes a little bit tricky, so it is also necessary to tell pkg-config what version of pango we want to use as the last one is not in the default location.

$ export PKG_CONFIG_PATH=/Users/pablo/sw/lib/pkgconfig:/sw/lib/pkgconfig:
	/sw/lib/pango-ft219/lib/pkgconfig/
$ ./configure  --prefix=/Users/pablo/sw/

The version I am using does not detect msgfmt automatically, so you need to edit the file po/Makefile,

emacs  po/Makefile

look for the line:

GMSGFMT =
and replace it with
GMSGFMT = /sw/bin/msgfmt

At this point it is only necessary to compile tomboy using make:

$ make
$ make install

Now Tomboy is ready to use. Just type tomboy in your terminal.

If you don’t like the default theme (nobody likes it) you can use any other gtk+ theme. For example, install the glossy theme with:

$ fink install gnome-themes-glossy-p-0.0-2

and follow the instructions of http://pdb.finkproject.org/pdb/package.php/gnome-themes-glossy-p.

Personal wikis

I have been using personal wikis for a while. Between all the options available out there I prefer two over all the others.

The first one is Tomboy. Tomboy is a Gnome application written in Mono and it works great. You just need to write things in a window similar to a notepad and you have all links you want to previous notes (or future ones). Is just like a wiki but in your desktop, for personal use. I have like 200 notes on my tomboy. However this is a Linux based application. There’s a Windows version coming, but no native Mac OS X yet. You can compile your own version if you want, but it is a little bit tricky at the moment.

The other one is Tiddlywiki. Tiddlywiki is just a web page, you don’t need to install it and you can carry it with you in a pendrive. I like the idea and it seems to be very powerful. However, I just prefer a proper desktop application (as Tomboy).

If you don’t find these application useful enough you can check for a more complete list in the wikipedia.

Linux Kernel Development

I have published this blog post into OSS Watch team blog.

A couple of months ago, Greg Kroah-Hartman gave a talk at Google Tech Talks with the title: “The Linux Kernel, who is developing it, how they are doing it, and why you should care”. Greg is one of the main Linux developers and he is a maintainer for the USB driver core, sysfs, and debugfs subsystems of the kernel. He also works for Novell in the SUSE Labs division.

During the talk Greg provided some interesting highlights about the real process of the kernel development. The kernel’s source code contains about 9.2 million lines. This has been increasing at a rate of approximately 10% each year since version 2.6.0. On an average day during the last year:

  • 4,300 lines were added,
  • 1,800 lines were removed,
  • 1,500 lines were modified.

This is one of the most impressive software projects ever undertaken, as he said, with 2399 unique contributors in the last year and a half. To manage a project of this size, the community of developers has broken almost every rule of software engineering with more changes per hour and per release than anyone would have thought was possible. The result is extraordinary: Linux is able to support more devices and more processors than any other OS in history.

The clear governance structure within the contributing community allowed this to happen. The structure used inside the development team is highly distributed, similar to a communication network. Instead of using a strict hierarchy, with maintainers for particular pieces of code, in the Linux kernel any contributor could modify any part of the code. If something needs to be fixed, anyone can do it. If a particular developer is on holiday it is not necessary to wait for him to return. All the changes can be routed through any other developer, as happens in a communication network when some of the nodes are unavailable. This is quite different to the normal process inside closed companies.

However, one of the most interesting highlights during his talk was about who is working in the kernel. Roughly 75% of the work is done by people who are paid to do so. This refutes the myth that all OSS projects are supported by volunteer contributions, although an important part of the work is done by volunteers that are not directly paid to do so. Half of the contributors have only contributed one patch, whilst 30 people do nearly a third of the work.

The number of companies sponsoring developers is going up. The numbers presented by Greg indicate that Red Hat is the most active company (with 11.6% of the work), followed by IBM (7.5%), Novell (6.6%), and Intel (4.1%).

The complete talk is available online and Greg maintains more information in his blog. An article with some of the most important numbers from the talk can be found at the Linux Foundation web page.

Original blog post.

Nueva web funcionando con un wiki

Después de unos pocos días de trabajo he cambiando mi web personal a un formato basado en wiki. La anterior versión utilizaba una combinación de ficheros escritos en HTML y piezas escritas en pseudo-HTML que se pegaban juntas para formar la web. Sin embargo, el sistema no era todo lo fácil de mantener que me gustaría.

La nueva web está escrita completamente en formato wiki. Luego utilizo Wiko para compilar (o convertir) los ficheros fuente a formato HTML estático, que es lo que subo al servidor. Esta solución parece mucho más fácil de mantener que la anterior. Espero que así sea.

Nueva bitácora funcionando

Aprovechando el cambio de la página web a un wiki, me he propuesto relanzar mi blog. El anterior lo dejé abandonado porque no tenía mucho que escribir y, sobre todo, porque resultaba difícil de mantener. El conjunto de scripts ad hoc que usaba resultaron demasiado ad hoc.

Quizá no he aprendido mucho desde entonces dado que he vuelto a hacer lo mismo: usar un script ad hoc. Eso sí, espero que ahora las cosas sean un poco más fáciles de controlar que antes.

Jamendo

A través de la web de Luis he descubierto Jamendo (libera tus oídos).

Mientras otros no entienden que el negocio de la música está cambiando, Jamendo recoge todas las ideas sobre promoción de artistas con Creative Commons y las coloca juntas en una misma web. A través de Jamendo puedes escuchar música, descargarla con bittorrent y, lo que es más importante, conocer nuevos artistas. Entre las características más interesantes de Jamendo está la posibilidad de ver información del artista, la lista de sus próximos conciertos e incluso unirse a su grupo de seguidores. Si a esto le sumas un foro y un chat, tenemos una plataforma más que interesante en el mundo de la música en Internet (y esta vez no es iTunes).