mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 09:58:12 +02:00
README: Update required dependencies
Also adds mention of the skia backend.
This commit is contained in:
parent
d1fa4d44fe
commit
33a54e7c20
1 changed files with 20 additions and 10 deletions
30
README
30
README
|
|
@ -67,29 +67,31 @@ backends. Further, the supported backends can be divided into the
|
|||
"platform" backends which depend on some underlying platform-specific
|
||||
system, (such as the X Window System or some other window system).
|
||||
|
||||
As an example, for a standard Linux build, (with image, png, pdf,
|
||||
PostScript, svg, and xlib surface backends, and the freetype font
|
||||
backend), the following sample commands will install necessary
|
||||
dependencies:
|
||||
As an example, for a standard Linux build similar to what's shipped by
|
||||
your distro, (with image, png, pdf, PostScript, svg, and xlib surface
|
||||
backends, and the freetype font backend), the following sample commands
|
||||
will install necessary dependencies:
|
||||
|
||||
Debian (and similar):
|
||||
|
||||
apt-get install libpng12-dev libz-dev libxrender-dev libfontconfig1-dev
|
||||
apt-get build-dep cairo
|
||||
|
||||
Fedora (and similar):
|
||||
|
||||
yum install libpng-devel zlib-devel libXrender-devel fontconfig-devel
|
||||
|
||||
(Those commands intentionally don't install pixman from a distribution
|
||||
package since if you're manually compiling cairo, then you likely want
|
||||
to grab pixman from the same place at the same time and compile it as
|
||||
well.)
|
||||
Technically you probably don't need pixman from the distribution since
|
||||
if you're manually compiling Cairo you probably want an updated pixman
|
||||
as well. However, if you follow the default settings and install pixman
|
||||
to /usr/local, your Cairo build should properly use it in preference to
|
||||
the system pixman.
|
||||
|
||||
|
||||
Supported, "standard" surface backends
|
||||
------------------------------------
|
||||
image backend (required)
|
||||
------------------------
|
||||
pixman >= 0.20.2 http://cairographics.org/releases
|
||||
pixman >= 0.30.0 http://cairographics.org/releases
|
||||
|
||||
png support (can be left out if desired, but many
|
||||
----------- applications expect it to be present)
|
||||
|
|
@ -179,10 +181,18 @@ Experimental surface backends
|
|||
packages and developer dependencies are available at Netlabs:
|
||||
ftp://ftp.netlabs.org/pub/cairo
|
||||
|
||||
skia backend
|
||||
------------
|
||||
Requires the skia library as of June 2014. Since skia is not
|
||||
API stable, building against newer (or older) versions of skia
|
||||
will probably fail.
|
||||
|
||||
|
||||
Compiling
|
||||
=========
|
||||
See the INSTALL document for build instructions.
|
||||
|
||||
|
||||
History
|
||||
=======
|
||||
Cairo was originally developed by Carl Worth <cworth@cworth.org> and
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue