From 74eb3c7a3e5481d8a2811136521419f91ae77486 Mon Sep 17 00:00:00 2001 From: adamhrv Date: Sat, 9 Feb 2019 14:05:12 +0100 Subject: add cairo install notes --- notes/frameworks/cairo.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 notes/frameworks/cairo.md (limited to 'notes') diff --git a/notes/frameworks/cairo.md b/notes/frameworks/cairo.md new file mode 100644 index 00000000..3eeb2159 --- /dev/null +++ b/notes/frameworks/cairo.md @@ -0,0 +1,17 @@ +# Cairo + +WeasyPrint relies on Cairo>1.14.~ but cairo=1.15.* didn't install correctly. Cairo 1.16.0 tested and works as of Feb 9 + +Install cairo on Ubuntu 16.04 for WeasyPrint + +``` +wget https://www.cairographics.org/releases/cairo-1.16.0.tar.xz +tar -xf cairo-1.16.0.tar.xz +cd cairo-1.16.0 +./configure --prefix=$HOME/code/cairo +make +make install +export PKG_CONFIG_PATH=$HOME/code/cairo/lib/pkgconfig +export LD_LIBRARY_PATH=$HOME/code/cairo/lib +# pip install weasyprint +``` \ No newline at end of file -- cgit v1.2.3-70-g09d2