Tuesday, 2 November 2010

Dear Google,

I've now wasted spent a highly enjoyable day trying to build Skia. Your provided, autotools build system is out of date and doesn't work (and let me assure you, dear third party reader, that this issue isn't the only one), which isn't really surprising since the last time you appear to have updated your build system was in March 2009, and there's a large part of your source that it doesn't cover (e.g. everything outside /src/core/). I don't really have the time (or know autotools), otherwise I'd try fix this.

So, I think to myself, Chromium uses Skia. Surely I can build Skia from a Chromium checkout. And you can!

But don't forget to wave a dead chicken, remember to *also* build and copy libskia_opts.a (not just libskia.a), and figure out how to remove parts of Chromium from also being used/linked in with the third party Skia source.

I'm up to that last part, in case you wondered.

1 comment:

  1. I have kept a rubber chicken near my computer at work (which happens to be my desk at home, now) for quite some years now. I've not had to use it often but for things like bizarre semi-repeatable bugs or inscrutable race conditions, it's been absolutely invaluable.

    (My favourite is still the bug which was holding up a software release. DMA timing was screwed up to the point of being non-functional in a particular HDD controller driver, which I eventually determined from the code indicated that the computer was moving at relativistic speeds, as its definition of a second was significantly different than mine. I was unable to reproduce it on an identical machine, so... that machine went to scrap!)