diff options
author | Matthew Petroff <[email protected]> | 2016-11-04 15:41:10 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-26 13:47:48 +0200 |
commit | 449f6af7514251c7dda6fdf4ad2d1c6e37d42835 (patch) | |
tree | 66bc7034bfbc0f109741fb8e8761f0ec829a5a56 /configure.ac | |
parent | 5086f1af00443e7d41ee37871601b40f567f6e72 (diff) | |
download | atril-449f6af7514251c7dda6fdf4ad2d1c6e37d42835.tar.bz2 atril-449f6af7514251c7dda6fdf4ad2d1c6e37d42835.tar.xz |
Bump Cairo version to 1.14.0
such that hi-dpi conditionals aren't needed.
origin commit:
https://github.com/linuxmint/xreader/commit/df3cdc6
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/configure.ac b/configure.ac index 2d261744..a523abba 100644 --- a/configure.ac +++ b/configure.ac @@ -82,7 +82,7 @@ AC_SUBST([EV_INTLTOOL_ATRIL_BACKEND_RULE]) GLIB_GSETTINGS dnl Specify required versions of dependencies -CAIRO_REQUIRED=1.10.0 +CAIRO_REQUIRED=1.14.0 GLIB_REQUIRED=2.50.0 GTK_REQUIRED=3.22.0 WEBKIT_REQUIRED=2.4.3 @@ -139,23 +139,6 @@ if test -z "$XMLLINT"; then AC_MSG_ERROR([xmllint not found]) fi -# Although GTK+ 3.10 includes hi-dpi functionality, it does not require a cairo with -# cairo_surface_set_device_scale(), which we also need if we're to support hi-dpi, -# so we need check for that explicity. - -atril_save_LIBS=$LIBS -LIBS="$LIBS $LIBVIEW_LIBS" -AC_CHECK_FUNCS(cairo_surface_set_device_scale) -LIBS=$atril_save_LIBS - -AC_MSG_CHECKING([for hi-dpi support]) -if test "$ac_cv_func_cairo_surface_set_device_scale" = yes ; then - AC_DEFINE([HAVE_HIDPI_SUPPORT], [1], [Define if cairo and GTK+ have necessary functions for hi-dpi]) - AC_MSG_RESULT([yes]) -else - AC_MSG_RESULT([no]) -fi - dnl dnl zlib support dnl |