Debian Codegraph @

install-cairo.sh

raw
1 #!/bin/bash
2 #
3 # Script for splash 2.x that retrieves and installs
4 # both cairo and pixman
5 #
6 # (these are the only dependencies for the giza backend,
7 # are often already present as system libraries but
8 # may need to be installed by the user if not)
9 #
10 # An alternative is to use your inbuilt package manager to install cairo
11 # e.g.
12 # Debian/Ubuntu:
13 # sudo apt-get install libcairo2-dev
14 # Fedora/Red Hat/CentOS:
15 # sudo yum install cairo-devel
16 # OpenSUSE:
17 # zypper install cairo-devel
18 # MacPorts:
19 # sudo port install cairo
20 #
21 installprefix=$PWD/giza;
22 ./install-pkg.sh "http://cairographics.org/releases/pixman-0.40.0.tar.gz" $installprefix
23 ./install-pkg.sh "http://cairographics.org/releases/cairo-1.16.0.tar.xz" $installprefix
24 echo "type \"make\" to compile SPLASH"; echo;