From: John Ellson Date: Sun, 4 Dec 2016 22:46:23 +0000 (-0500) Subject: fix pangocairo breakage from last commit X-Git-Tag: untagged-febac5463c9a6f3cfc7b X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=03c2f00d51b0f227697457aa0c54d243dcbafaa9;p=graphviz fix pangocairo breakage from last commit --- diff --git a/ChangeLog b/ChangeLog index 0d1a01f49..b48fdcae5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,10 @@ -November 29, 2016 +December 5, 2016 - Release 2.40.0 - number rounding added to SVG renderer (same as PS and TK rounding) to aid regression testing. - additional regressson test framework, used in Travis CI builds. (Erwin Janssen) + - PHP7 support (requires swig-3.0.11 or later) - Allow user to specify clustering algorithm in gvmap. - Add Sierpinski graph generator to gvgen - Extensive code cleanup (Erwin Janssen) diff --git a/configure.ac b/configure.ac index 99dc92425..881af8d0a 100644 --- a/configure.ac +++ b/configure.ac @@ -2177,20 +2177,16 @@ AC_ARG_WITH(pangocairo, if test "x$with_pangocairo" != "xyes"; then use_pangocairo="No (disabled)" else - if test "x$use_cairo" != "xYes"; then - use_pangocairo="No (missing cairo support)" - else - # require at least the version available on centos5 (fc6 has 1.14.10) - PKG_CHECK_MODULES(PANGOCAIRO, [pangocairo >= 1.14.9],[ - use_pangocairo="Yes" - AC_DEFINE_UNQUOTED(HAVE_PANGOCAIRO,1, - [Define if you have the pangocairo library]) - AC_SUBST([PANGOCAIRO_CFLAGS]) - AC_SUBST([PANGOCAIRO_LIBS]) - ],[ - use_pangocairo="No (pangocairo library not available)" - ]) - fi + # require at least the version available on centos5 (fc6 has 1.14.10) + PKG_CHECK_MODULES(PANGOCAIRO, [pangocairo >= 1.14.9],[ + use_pangocairo="Yes" + AC_DEFINE_UNQUOTED(HAVE_PANGOCAIRO,1, + [Define if you have the pangocairo library]) + AC_SUBST([PANGOCAIRO_CFLAGS]) + AC_SUBST([PANGOCAIRO_LIBS]) + ],[ + use_pangocairo="No (pangocairo library not available)" + ]) fi AM_CONDITIONAL(WITH_PANGOCAIRO, [test "x$use_pangocairo" = "xYes"]) diff --git a/graphviz.spec.in b/graphviz.spec.in index 4d70d0974..5ba14a298 100644 --- a/graphviz.spec.in +++ b/graphviz.spec.in @@ -169,7 +169,7 @@ BuildRequires: golang >= 1.2 gcc-go swig >= 3.0.2 %if %fedora <= 24 %define PHP 1 BuildRequires: php-devel -# disable PHP7 in fc25 until swig supports it +# disable PHP7 in fc25 until swig supports it - requires swig-3.0.11 %endif %endif