build: provide fallback to be able to build with old cairo releases
commit23c762fe0621854156eb5aaf2fd28b743bb02ba4
authorNicola Fontana <ntd@entidi.it>
Wed, 29 Nov 2017 00:17:46 +0000 (29 01:17 +0100)
committerNicola Fontana <ntd@entidi.it>
Wed, 29 Nov 2017 00:18:09 +0000 (29 01:18 +0100)
tree2040e52504d89f004935188665e11403bcb05750
parente18d17a3e61dc7d7b970e7e38e30d23e5dcc352e
build: provide fallback to be able to build with old cairo releases

cairo_surface_set_device_scale() has been introduced in a relatively
recent cairo release (1.14.0) but this breaks Travic code integration
that has 1.13.1 installed.

Implemented a fallback function (a no-op really) to be able to build and
run the test suite but warns the user the media scaling feature will not
be supported.
configure.ac
src/adg/adg-cairo-fallback.c
src/adg/adg-cairo-fallback.h