graphviz/graphviz-guile.patch
Ismail Dönmez a9efec4330 - Fix compilation with new guile
- Update to version 2.28.0
    - incremented library api version:
        libcdt, libgraph, libcgraph, libgvpr, libgvc
    - Add gvmap, cluster and gvmap.sh
    - Deprecate dotty; prefer gvedit
    - Add patchwork supporting squarified tree maps
    - Add ordering as a node attribute
    - Fix problems with font resolution
    - Fix problems with text placement
    - Fix twopi to set root attribute
    - Make available layouts and formats available via the API
    - Fix error message system so that an application can capture the messages
    - New attributes and features for sfdp
    - gvgen now allows the user to specify graph name and node name template
    - Make overlap=false denote overlap=prism
    - More efficient xdot library
    - HTML-like labels provide ID
    - Fixed bugs: 1480 1980 2044 2087 2088 2089 2091 2093 2094 
        2095 2101 2102 2103 2104 2112 2113 2118 2128 2129 2139 2149 
        2157 2113 2159 2160 2161 2163
    - Add scale attribute to twopi
    - Add <B>,<I>,<U> to html strings
    - migrated to 2005 version of cdt 

- Update to version 2.28.0
    - incremented library api version:
        libcdt, libgraph, libcgraph, libgvpr, libgvc
    - Add gvmap, cluster and gvmap.sh
    - Deprecate dotty; prefer gvedit

OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=28
2011-09-28 19:14:00 +00:00

31 lines
1.2 KiB
Diff

--- graphviz-2.28.0/configure.ac.orig 2011-05-17 20:36:04.898079515 +0200
+++ graphviz-2.28.0/configure.ac 2011-05-17 21:16:08.718160002 +0200
@@ -676,7 +676,7 @@
if test "x$GUILE" = "x"; then
use_guile="No (guile not available)"
else
- GUILE_VERSION=`$GUILE --version | head -1 | cut -d ' ' -f 2`
+ GUILE_VERSION=$($GUILE --version | head -1 | sed -e 's/.* \([[0-9.]*]\)$/\1/')
GUILE_VERSION_MAJOR=`echo $GUILE_VERSION | cut -d '.' -f 1`
GUILE_VERSION_MINOR=`echo $GUILE_VERSION | cut -d '.' -f 2`
if test $GUILE_VERSION_MAJOR -lt 2; then
@@ -691,12 +691,15 @@
if test "x$GUILE" = "x"; then
use_guile="No (guile is too old)"
else
- GUILE_INCLUDES=
- GUILE_LIBS=
+ GUILE_INCLUDES=$(guile-config compile)
+ GUILE_LIBS=$(guile-config link)
+ save_CPPFLAGS="$CPPFLAGS";
+ CPPFLAGS="$CPPFLAGS $GUILE_INCLUDES";
AC_CHECK_HEADER(libguile.h,,[
use_guile="No (guile header missing)"
GUILE=
])
+ CPPFLAGS="$save_CPPFLAGS";
if test "x$GUILE" != "x"; then
use_guile="Yes"
AC_SUBST(GUILE_INCLUDES)