Hi all, After many months of figuring out the complexities of VCL and cairo, I'm now ready to integrate the work to aquavcl01, as agreed with pjanik.
The port itself contains very little Mac OS X/Quartz specific code, thanks to cairo, which already has been ported to Mac OS X and used by native GTK Mac OS X port and the upcoming Firefox 3 (Gecko 1.9). Before integrating the changes I'm giving you a chance to take a look at the code in issue: http://www.openoffice.org/issues/show_bug.cgi?id=69066 In addition to the last two "iCAIRO-xxx.patch" -files, you'll need up-to-date aquavcl01 and, of course, cairo. Getting the latest cairo release is important, preferably directly from git HEAD: # create git repository: cg-clone git://git.cairographics.org/git/cairo # update cairo git rep cd cairo cg-update # you will need to configure it with: ./autogen.sh --prefix=/opt --enable-atsui --enable-nquartz --enable-quartz --disable-gtk-doc # then build make && make install # To build with OOo: setenv PKG_CONFIG_PATH /opt/lib/pkgconfig # add following flags to OOo configure: # # --enable-cairo --with-system-cairo .... There are no guarantees on how well it works, as I've done only limited testing. As suggested in the issue, compiling canvas/workben/canvasdemo.cxx might work as a demo application. The Impress slide view should use canvas by default and consequently should probably work with cairo canvas, when it exists. Mox P.S. Cairo canvas is already compilable on Mac OS X / X11. (but needs the config_office patch too)
