summaryrefslogtreecommitdiff
path: root/notes/frameworks
diff options
context:
space:
mode:
authoradamhrv <adam@ahprojects.com>2019-02-09 14:05:12 +0100
committeradamhrv <adam@ahprojects.com>2019-02-09 14:05:12 +0100
commit74eb3c7a3e5481d8a2811136521419f91ae77486 (patch)
treee709bf668ad11e551405f27f98797cda0301d8f8 /notes/frameworks
parent31305e9d9de9b7624cb9b2dfb462a3e68c120798 (diff)
add cairo install notes
Diffstat (limited to 'notes/frameworks')
-rw-r--r--notes/frameworks/cairo.md17
1 files changed, 17 insertions, 0 deletions
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