Skip navigation

After catching up a bit with the sleep deficit from the past three days, let me share a few impressions from the spring 2012 Hamburg HackFest. An amazing number of 30+ people gathered over the weekend at the Hamburg Attraktor, socializing, chatting, and working on all kinds of stuff, like

iOS UNO bridges, Calc unit tests, CSV import, Writer border enhancements, gbuild system, pdf export watermarking, UI paper cut fixing, keyboard shortcuts, startup performance, icon themes, UI mockups, adding comments for l10n strings, rtf filter fixes, svg import, gtk3 backend, drawing layer, help content, Unhosted connector, QA processes, bibisect, gerrit, Impress wide screen support, Impress toolpanel configuration, win32 cross-compiling, and chart bugfixing.

Let me also take the opportunity to thank our sponsors and supporters, without whom this event would not have been possible. In no particular order, Attraktor e.V. for hosting us, The Document Foundation donors for providing the funds for travel bursaries, Lanedo and nerdshirt for drinks and tshirts, Italo and Christina for cooking wonderful pasta, my co-organizers Eike and Björn for doing lots of legwork & organization, including provisions for couch surfing – and of course all attendants for sharing their weekend and merry mood with us!

full room at attraktor

Saturday morning, LibreOffice hackers at work

pair programming

Saturday night pair-programming

In total, we got more than 80 commits originating from Hackfest coding to date, I’ll update this post when more pending stuff arrives. Other posts about the hackfest here (updated):

Since The Document Foundation got formally established as a German charitable foundation earlier this year, we were pondering a number of activities to sponsor, that would be in line with our statutory and regulatory obligations. As our statutes advise TDF to further the use of Free Software, among other things, by introducing children and adolescents to FLOSS and LibreOffice in particular, one rather obvious problem with that is a certain language barrier (there’s considerable use of slang in youth culture, alongside a lack of older vocabulary sometimes used in UI), plus an issue with comprehending longer, more complex sentences (which pop up in e.g. tooltip help, or LibreOffice documentation texts).

The corpus of available research around these issues is still rather incomplete (the field is new, and somewhat controversial), but we see a very practical need here. That’s why I plan, possibly already with LibreOffice 3.6, to support a fourth German sub-locale (besides German, German/Swiss, German/Austria) – German/Kiez. That would include initial UI translation, dictionary, and help. A hopefully illustrating example, on why this is useful (my German-speaking audience will notice how different from standard German this dialect is) here:

I will seek to get EU funding for that, if at all possible, especially since via that project, TDF can hopefully also contribute to this new field of linguistic research – e.g. by supporting case studies on how more easily pupils take up UI that’s presented in “their” language, compared to standardized German. Which, in closing, really is one of the many strong selling points for FLOSS – the Freedom to tweak, and translate, to your local user’s needs, whatever you think they are.

We will work on this, and many other things by the way, at the upcoming Hamburg Hackfest on April 14th/15th.

Announced since a week, and incorporated with the stamp of the Friday before, TDF now has finally gotten the legal entity we wished, and worked for so long. It took us about a year from having a plan, to pouring that concept into legalese and a setup that fits the mould of a German Foundation (“Stiftung”) – a process that seems unduly long from the outset, but I can tell you we didn’t sit there twiddling thumbs.

Because what we achieved is unique in Germany, and even beyond, being the first Free Software project managing to obtain the status of those almost-eternal, state-supervised, truly stable trusts that German Foundations are. Normally employed by this solitary millionaire, wanting to put his wealth to charitable purposes after his demise, in setting up a trust with a charitable mission, we found this to be the perfect vault for all the value our community built from, and around, what Oracle left lingering of the project.

But with everything new, people, and especially authorities, need some time to warm up to. TDF was no exception, and our statutes, as well as our patience, was put to repeated, thorough tests. With the result that our statutes got all the loopholes removed, an equivalent of 10 meter fingernails got bitten, and in the end we had our desired entity approved. Including the enduring membership rights we wanted, in the city of our choice – with Berlin being such a wonderful icon of reunion and post-war solidarity.

With the rest of the TDF board, we’re now working on setting up operations in Berlin and transferring assets.

sparkling wine

Thanks so much for your support!

Happy Birthday TDF – and kudos to all who helped making this a reality!

Like last year, again a sizeable portion of the LibreOffice community gathered in Brussels, for the habitual FOSDEM meetup with pretty much everyone who matters in Free and Open Source. This year, the typically badly overcrowded booths in the H building’s corridors got moved out to the newly requisitioned K building, among them the LibreOffice booth – the upside was more breathing space, the downside some required outside walk in slushy snow, and no local Coke supply. Still, I think it was a change for the better.

LibreOffice had a DevRoom on Saturday, which was well-attended, and stuffed to the end with talks. And Michael managed to give a record number of three gigs on a single day, plus an interview.

With Cor, Jacqueline and others outfitting the booth, and Kendy again air-shipping our tshirt-supply in from Prague, we once more had a befitting presence, lots of fun, and many interesting talks.

A very big Thank You! to all those wonderful volunteers who helped to make this happen, and for you that couldn’t attend an impression from the booth:

Crowd at the LibreOffice booth

Our booth at FOSDEM

After the disbanding of the Sun/Oracle OpenOffice team, a sizeable fraction of those developers stayed with the meta-project – some for LibreOffice, employed by SUSE, RedHat and Canonical, some for IBM. Which means, the Hamburg metropolitan area remains one of the gravity centers for Free office suite hacking activities.

Quite accordingly, we’ll be having a local LibreOffice Hamburg Hackfest this spring, generously hosted at the Attraktor e.V. hacker space – the date is not yet, but almost fixed (quickly cast your vote if you want to attend).

Plus, we’ve established a recurring LibreOffice home hacking event, with one of us taking turns having the Hamburg crowd over for a day:

LibreOffice Hackers Meet

Home hacking at my place

Looking forward to grow this circle over the time. :-)

With Oracle donating trademark and code to the Apache Foundation, one point frequently made is the one about licensing differences. LibreOffice is under a weak copyleft license, that is, changes to existing core need to be made public (at the time a product ships). In contrast, to-be-Apache OpenOffice would be available under a non-copyleft license, meaning nobody is required to contribute anything back.

It is said that non-copyleft, or permissive, licenses are more popular with corporations, because they allow for much more flexibility in what, and when, to contribute back. Overall, it is conjectured, the projects will still see enough open contributions from corporate participants, because private forks are not cost-effective.

Let’s now have a look at how all that applies to There are a few things to know beforehand. First, the code represents almost 20 years of development, and is, in many places, a sedimentation of bugfixes over bugfixes. Which overall results in highly coupled and fragile code. Secondly, OOo has a mature component framework, API and extension mechanism, that makes it easy for third parties to innovate on top of the existing core.

Given that, it is rather disadvantageous to keep changes to existing core code private, because of high internal maintenance costs (and a very non-linear relation between the size of the private change, and the risk to have it broken quite badly by merging new code from the upstream community). Conversely, it is highly advantageous to add more extension points to the core code, and reduce the internal coupling, since that enables later, independent functionality (that corporations could use to differentiate themselves).

So then, it seems the differences for the ecosystem between weak copyleft vs. permissive, in the case at hand, are negligible – for the former, responsible behaviour is enforced by the license, for the latter, by technical reality. Beyond existing core code, everyone is free to not publish changes either way. Of course, an Apache-licensed would permit taking the project all-proprietary at any given point in time, but such a move is clearly not in the interest of the community, and specifically not in the interest of the Apache Foundation.

Of the remaining differences, the constraints on e.g. the timing of contributing back, are simply too minor to justify the overhead of running two communities in parallel. That’s the main reason I oppose the idea – as a software engineer, I try hard to avoid duplication for no good reason.

So this is about a long-term gripe I have, working (mostly) from a Linux desktop since well over 15 years now – and that is, getting email to work as “it’s supposed to be”. Which is a royal pain in the rear.

Let me elaborate. Before smtp server admins became really anal about spam and were blacklisting dial-up and random IP addresses, you simply used your default sendmail or postfix setup that came with your distro and everything was fine and dandy. Email clients just delegated sending to that MTA subsystem. After that good old time was over, you usually needed a smarthost to authenticate against – if you were lucky, it accepted arbitrary From-addresses, so you could even use it for both work and private mail, or share your box’s setup with your room mate.

When those last loopholes got closed, using a system-wide MTA for outgoing mail on a desktop machine quite apparently became a very, very bad idea (conceptually, and in terms of effort involved to make it work). I guess that was when everybody but die-hard Unixers switched over to all-in-one solutions like Thunderbird, Evolution, or KMail – which came with built-in MTA support. Still, there were corner cases – like mailing out patches from git or quilt, or dishing out signed gpg keys after the last keysigning party, that were, um, kinda hard to make work.

Not surprisingly therefore, the command line utilities used for that, initially nicely adhering to the Unix toolkit approach, soon grew MTA features like a hacker grows a beard. With varying levels of quality, and feature-completeness – and usually – the horror! – with the option (or the requirement), to store mail passwords in cleartext configuration files.

I personally plead guilty of tweaking/enhancing TLS support in caff (CA fire-and-forget – a nice script for signing and mailing gpg keys), because I was using Gmail for my private mail, which required that. Similarly, folks added TLS support to git-send-email, and surely tons of other not-primarily-MTA programs.

The bad news? Well, at least the two examples I gave don’t verify the server’s TLS cert at all, exposing you to trivial man-in-the-middle attacks. Or have you never used those programs in a hotel WLAN, or on a conference?

The next nice feature of a proper MTA, namely queueing mail if there’s temporarily no net, or the remote SMTP server is down, is even harder to achieve for those little tools – usually, people just queue meta-tasks then (like “TODO: re-run caff when I finally get out of this plane / send out patches to Jeff, he needs it by Monday”) – what a sucky state of affairs, in this day and age.

So, how to fix that? Well, don’t replicate MTA features all over the place – use a local, per-user MTA, plus a mail queue, and have all those tools, and your MUA, use that. After playing with sendEmail a bit (and even adding TLS cert fingerprint verification), I re-discovered msmtp, which does one thing extremely well – sending email. Plus, it has built-in support for Gnome Keyring and the Mac OS X Keychain, so you neither have to constantly type your passphrase on the terminal, nor store it plaintext. And it does TLS validation, and also (optionally) fingerprint checking. And it comes with a script to manage a local, per-user mail queue.

Well, I didn’t so much like that script, for all the wrong reasons – mostly, I probably was looking for excuses to tear it down into pieces and hack up my own solution – being two much shorter (and admittedly almost feature-less) variants thereof, and The former just grabs all command line arguments, plus all of stdin, and stuffs it into a maildir-like queue – employing another little gem called safecat. The latter periodically processes all files in the queue, and then calling msmtp using the canned args and standard input. And sleeps when you’re offline.

Have now happily configured all of mutt, caff and git-send-email to just use as their “sendmail” equivalent –


	envelopesender   = Thorsten 
	smtpserver       = /home/me/bin/
	aliasesfile      = /home/me/.mutt/aliases
	aliasfiletype    = mutt


 $CONFIG{'mailer-send'} = [ 'mailer', ' -a gmail -f -- ' ];


 set sendmail=" -a gmail "

There were two rather minor bumps, first was a missing safecat for opensuse – I resuscitated an old spec file from cthiel, and added it to my opensuse buildservice repo. Debian of course has a package. Next was that opensuse’s msmtp did not have gnome keyring support enabled, presumably because it drags in some subset of the gnome stack as requirements. Naturally, on my desktop system, that’s an ignorable concern, so that’s now forked and added to my buildservice repo, too.

Thanks to private and corporate sponsors, and most of all because of so many enthusiastic volunteers, LibreOffice had a presence on this years FOSDEM and the CeBIT 2011 trade fair.

Green people manning the LibreOffice FOSDEM booth

Although both events are almost diametrally different, in both audience and recommended attire, there was a common trait – the interest and support we received for LibreOffice was immense. On FOSDEM, we had a table right between CACert and FSFE, in the entrance area of building H (one of the best places, I gather). Kendy and Bubli had brought boatloads of LibreOffice tshirts and jumpers from Prague, that we collectively lugged to the booth & almost fully sold over the weekend. Lots of people wearing green, suddenly.

hackers at the libreoffice booth

On Sunday, there was a LibreOffice devroom, among many others, with a talk from yours truly about Impress hacking.

This year, I was able to spend two days at CeBIT, joining the booth team of Jacqueline, Karl-Heinz, Roland, Thomas and Ulrich. The booth location was nicely located at a corner, with Linux New Media and Firefox presences vis-a-vis – and was packed with people most of the time (amazingly, Roland was able to recruit new German association members on the spot, and even talked them into helping out at the booth).

Crowded libreoffice booth, from (cc-by-nc-sa)

Met with a few press people, and tons of friends and colleagues from the new and the old project. Much encouraged to hear interest from larger and smaller sites to go & try LibreOffice (a handful of successful migrations have already happened), and from a few extra opensource companies planning to start hacking LibreOffice core code.

Managed to miss ICE train back to Hamburg in the evening, due to a friendly “train is 15 minutes late” vanishing literally seconds before the train arrived in the station (much earlier than 15 mins late).

Close-up picture of the LibreOffice CeBIT booth

The second day was maybe even more crowded, and from the talks I had, slightly more end-user-focused. People were generally very receptive to my “everyone can contribute something to LibreOffice” line. One case in point was a computer science prof, asking for a feature and not aware of the fact that he probably has more readily available talent with spare time at his disposal (i.e. students), than most of the LibreOffice project members. Besides that, got offers for more tinderboxes, and a few really high-quality bug reports.

At the end of the second day, the donation jar turns out to be quite full, and so the question comes up “how much is in there?”. Ensuing is a little bet – the closest estimate wins a cheese sandwich, specially-crafted by Jacqueline. Results not yet in.

Many thanks to all involved into making that a success – both events were wonderful debuts!

Prompted by Kohei’s nice howto for extracting part of a git repository’s history into a new repo, I attempted the same for our tinbuild script – but it seemed not really optimal for my case.

Instead, I mis-used git rebase --interactive, to transplant the relevant commits into a new and unrelated branch.

Created an entirely new repo, added some boilerplate, like a readme:

mkdir buildbot; cd buildbot
git init; cat ">useful info<" > README; git add README; git commit -m "added readme"

Add the (unrelated) libreoffice/bootstrap repo, so we can grab commits from there:

git remote add libo git://
git fetch libo; git checkout -b libo libo/master

Find all the commits to our bin/tinbuild script, that we want to transplant:

git log --pretty="format:pick %h" --reverse  bin/tinbuild

Which already yields a suitable format for the interactive rebase, so here we go:

git checkout master
git rebase -i --onto HEAD master libo

The latter one takes all commits from the libo branch, that are not in master, and transplants them on top of HEAD – so you have to delete all suggested picks of course, and replace it with the list generated by the git log from above.

Resulting repo is here, only pushed the resulting master branch of course.

This now almost-past year was a true roller coaster ride for me (and many of my fellows). Not a particularly good excuse, but at least an excuse, for not blogging for such a long time.

The year started out with Oracle announcing the Sun acquisition has closed in January, and a virtual sigh of relief went through the community – as the months before had seen the usual information embargoes, indecisiveness and anxiety that tends to go with corporate mergers.

People had high hopes, that the new owner may be more amenable to change things fundamental to the governance of the project, and thus fix several issues brewing since a long time. Initial talks were encouraging, but it seems there was a cultural mismatch with the new owner, and the opensource communities – information was getting out even more sparsely than before, there was no sharing of feature plans, or release dates – something unthinkable for a project that can only thrive when you share code, and information, in the open. And the bad old habit of exclusionism and carefully maintained control lived on. See an earlier post for one of several cases where almost unequivocal community requests were opposed or ignored by Sun/Oracle.

Quite naturally, that was immensely frustrating for many long-standing community members, so over the course of this year, opposition grew – in several different sub-groups, that later joined forces during the annual conference in Budapest, and ultimately resulted in the launch of The Document Foundation, and LibreOffice project.

I’m delighted to be part of that new endeavour – though it means tons of work, and I see friends, colleagues and comrades spending days and nights on coding, infrastructure, QA, translation, advocacy and what not – it’s still a fun ride, because it feels right.

The only constant in life is change – that’s a given, none the least in software land. And change is what every project undergoes, like the StarOffice code becoming opensourced in 2000 after ten years of closed-source development, and now, after another ten years, that same code base finally getting a truly open governance, under the auspices of The Document Foundation. Because opening up the source code means going only half the way – as people wiser than me have repeatedly pointed out.

Ducunt volentem fata, nolentem trahunt – with that, I wish all my readers a very happy and successful new year, looking forward to meet many of you in person again in 2011! And thanks a million for the incredible work you folks did – I feel honoured indeed to be a part of this.


Get every new post delivered to your Inbox.

Join 297 other followers