Blog posts

2005-06-27 – pkg-config 0.18 released

I just released pkg-config 0.18 which fixes some annoying bugs in earlier versions. One is the support for PKG_CONFIG_LIBDIR which was erronously removed. Another change is the removal of some memory leaks. Those are just small bugs which are fixed though. There are a few real changes in there as well:

  • pkg.m4 now has a PKG_CHECK_EXISTS macro to just check whether dependencies are fulfilled or not.
  • PKG_CHECK_MODULES no longer caches. This fixes lots of problems people stumbled into and I’m not sure why caching was added in the first place.

The last and biggest change is the handling of private libraries. Private libraries are any libraries your library or application uses, but which are not exposed in the API. They are needed for static linking, but otherwise should just be taken care of by inter-library dependencies. Examples of private dependencies are Cairo’s use of libpng and a library needing libm. An example of a public dependency is GTK+ exposing the GLib api.

2005-06-07 – How to break lines with the listings package in LaTeX

LaTeX is a really nice typesetting language and it has a nice tool called listings which handles program listings for you. By default, listings doesn’t break lines. Why it doesn’t do that is beyond me, but I’m sure the author has his reasons. It does however have support for breaking lines quite easily. The trick is using something along the lines of:

\lstset{
basicstyle=\small,
showstringspaces=false,
language={},
breaklines=true,
breakatwhitespace=true,
prebreak={\mbox{\hfill$\hookleftarrow$}}}

which renders into

A line of code with a break symbol at the end

2005-06-06 – The sky is falling

Ok, the sky is definitively falling. Or Hell freezing over (which it definitively feels like, walking outside today).

2005-05-26 – Dr. Biella

21:09 -!- biella is now known as dr_biella

Congratulations!

2005-05-20 – Evolution-Backend-TDB 0.2 released.

I’ve finally gotten around to releasing version 0.2 of the tdb backend for evolution-data-server. The main changes are:

  • No longer needs the evolution tree to build, it just needs the library packages
  • Some leak fixes, thanks to Ross Burton

Get it from http://err.no/download/e-d-s/evolution-backend-tdb-0.2.tar.gz

2005-05-18 – LinuxJewellery gone?

A couple of years ago, I stumbled across linuxjewellery, a jewellery store selling small brass BSD daemon statues, Apache feathers and various forms of Debian bracelets, earrings and so on. Apparently, it’s either misconfigured or has been taken down now, since the only thing I can see is an empty directory listing:

Empty directory
listing

I hope this is just a temporary thing and they’ll come back, since even though I never bought something from them, my Debian swirl necklace is inspired from them.

2005-05-12 – New pymarkdown plugin released

Inspired (or provoked or whatever) by Joey Hess’s blog entry about pymarkdown in pyblosxom. I decided to fix it up a bit (I also had an outstanding request for actually putting some usage instruction in there from February or so).

  • Now actually has a license. (GPL)
  • Includes a short summary on how to get it working with pyblosxom (and it should work more or less out of the box.

Not many big changes, but it will make it possible to use by more people than just me.

Get it from http://err.no/pymarkdown or my arch repository (tfheen@err.no–2005/pymarkdown–devo–0).

Update: Blah, I suck. I forgot to actually update the checked-out version. Fixed now.

2005-05-09 – Warbussing (or something like that)

Since I don’t have a decent media player at the moment, I’m using my laptop for listening to music. I’m going to a talk by Cory Doctorow tonight, in Oslo. That means 45 minutes on a plane with a bit less than an hour on a bus in each end. Being bored, I’ve been running iwlist scan periodically. Some fun results I’ve had:

  • ESSID: “privat, hold deg unna” (private, keep out)
  • ESSID: “Johnny”. Who guesses where in Oslo I saw this?

A little less than half the networks seems to be running unencrypted. The biggest number of APs I’ve seen at once was 15. Once I got within the city proper, I don’t think I’ve seen less than four or five at any time.

I hope the number of unencrypted networks keeps high. It would be awesomely cool if we could actually get good, working roaming between the different networks so you could sit on the bus and actually use the networks, not just see them.

Update: Make that 19, not 15. No, 20. It seems iwlist scan runs into a bit of trouble then, truncating the output so it just displays the MAC address of the AP.

2005-05-03 – The power is in the name

When travelling back home yesterday, I was bored on the final leg from Amsterdam to Trondheim so I decided to read the KLM in-flight magazine (whatever it’s called). This month’s issue was about “Online”, basically the Internet. A fairly good issue with a decent amount of mostly-correct historical material as well as interesting outlooks on what’s to come.

In the good tradition of such articles, a wordlist was included. Among the words was the word “bitleg” used to describe what would usually be described as software piracy. The latter word gives connotations to murder and robbery. Bitlegging doesn’t have nearly as negative connotations and describe the issue at hand a lot more calmly and better.

2005-04-23 – TDB backend for evolution-data-server

The first, initial version of the libtdb backend for evolution-data-server is ready. It seems to work fine so far (for me), but is probably buggy. Feedback appreciated.

To use it:

  1. download the tarball

  2. unpack into evolution-data-server/addressbook/backends

  3. adjust evolution-data-server/addressbook/Makefile.am and configure.in appropriately.

  4. rerun auto*

  5. build evolution-data-server. The backend should now be in evolution-data-server/addressbook/backends/tdb/.libs/libebookbackendtdb.so and can either be installed with make install or just copied to /usr/lib/evolution-data-server-1.2/extensions/ (adjust as appropriate)

To actually use the backend, you have to add a new type to the e-d-s backend. This is sillily complex, but I haven’t gotten around to actually fixing evolution yet. This is done by running (relative to your evolution-data-server build tree) ./libedataserver/test-source-list --key=/apps/evolution/addressbook/sources --add-group="TDB" --set-base-uri="tdb:///home/tfheen/.evolution/addressbook/local". Adjust the /home/tfheen` part if you’re not me. You should then be able to add a new address book to the TDB category in Evolution.

Again, feedback is appreciated; this is very much a product of release early, release often so the installation instructions aren’t the best. Yet, at least.