diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-02-10 15:47:26 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-02-10 15:47:26 +0100 |
| commit | 4c2952abd847b04827d2465654c6aec24201b23c (patch) | |
| tree | b5574ffe1a44ca38a27a5f59c429398834c08747 /notes/frameworks/cairo.md | |
| parent | 5858310a0d808b53f4025f0bd001d8e6181cad3a (diff) | |
| parent | 74eb3c7a3e5481d8a2811136521419f91ae77486 (diff) | |
Merge branch 'master' of github.com:adamhrv/megapixels_dev
Diffstat (limited to 'notes/frameworks/cairo.md')
| -rw-r--r-- | notes/frameworks/cairo.md | 17 |
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 |
