cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System, win32, image buffers, PostScript, PDF and SVG. Experimental backends include OpenGL (through glitz), Quartz and XCB file output. cairo is designed to produce consistent output on all output media while taking advantage of display hardware acceleration when available (e.g., through the X Render Extension). The cairo API provides operations similar to the drawing operators of PostScript and PDF. Operations in cairo include stroking and filling cubic Bézier splines, transforming and compositing translucent images, and antialiased text rendering. All drawing operations can be transformed by any affine transformation (scale, rotation, shear, etc.).
This package is known to build and work properly using an LFS-6.5 platform.
Download (HTTP): http://cairographics.org/releases/cairo-1.8.8.tar.gz
Download (FTP): ftp://mirror.ovh.net/gentoo-distfiles/distfiles/cairo-1.8.8.tar.gz
Download MD5 sum: d3e1a1035ae563812d4dd44a74fb0dd0
Download size: 6.4 MB
Estimated disk space required: 40 MB (additional 270 MB to run the test suite)
Estimated build time: 0.4 SBU (additional 2.9 SBU to run the test suite)
libpng-1.2.39, pixman-0.15.20, and Fontconfig-2.7.3
glitz, DirectFB, GTK-Doc-1.11, xcb-util-0.3.6, libspectre, and Valgrind
GTK+-2.18.3 (for testing the PDF backend), Poppler-0.12.0 (for testing the PDF backend), and librsvg-2.26.0 (for testing the SVG backend)
Note that the GTK, Poppler and librsvg packages are circular in that using them for test suite coverage requires installing cairo first, then installing the desired package(s), then installing cairo again.
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/cairo
Install cairo by running the following commands:
./configure --prefix=/usr && make
To test the results, issue: make check. Note that as many as 29 of the tests are known to fail for unknown reasons. If you do not have a gs binary in your path, many of the 205 tests will fail. Also, to enhance test coverage, the tests should be run with an available X Window screen (e.g. from a local xterm or equivalent window).
Now, as the root user:
make install
--enable-gtk-doc: Use this parameter if
GTK-Doc is installed and you wish
to rebuild the API documentation.
--enable-xcb=yes: Enable the xcb back
end.
--disable-static: Prevent static
libraries being built and installed.
Last updated on 2009-08-27 12:54:22 +0000