Cairo and winelib Adventures
I had some winelib
adventures a few years ago when I tried to compile FarsiTeX
's Windows editor on Linux. That time I admitted defeat.
This time I decided to use winelib to compile and test cairo's win32 backends on Linux. Just being able to compile that code (and that of other backends) catches silly syntax errors when I have to, say, modify a backend interface that touches all backends. I've had the same need in Pango too. So I started on Friday, with the goal of compiling, and testing the win32 backends using winelib.
It took quite a few hours, and winelib docs are at best four years old and out dated, but I finally managed to kinda find out how the thing works and got cairo's test suite running against winelib. More details here
Kinda feel the victory this time, but would have been a lot happier if the test suite had passed almost all tests, instead of about 60%... Anyway, means more testing for cairo and that can't be bad. I also tried to raise some awareness / get some help on #winehq and #winehackers, but was mostly trolled by someone I'm not going to name.
That's all I was so excited about a few minutes ago...
Labels: cairo, win32, wine, winelib