$(top_builddir)/lib/gvc/libgvc.la \
$(top_builddir)/lib/ingraphs/libingraphs.la \
$(top_builddir)/lib/graph/libgraph.la \
- $(top_builddir)/plugin/cairo/libgvplugin_cairo.la \
- $(top_builddir)/plugin/gd/libgvplugin_gd.la \
$(top_builddir)/plugin/text/libgvplugin_text.la \
- $(top_builddir)/plugin/layout/libgvplugin_layout.la @CAIRO_LIBS@
+ $(top_builddir)/plugin/layout/libgvplugin_layout.la
endif
fi
-dnl -----------------------------------
-dnl INCLUDES and LIBS for cairo
-
-if test "x$enable_gvrender" != "xno"; then
- PKG_CHECK_MODULES(CAIRO, cairo >= 0.1.3,
- [AC_DEFINE_UNQUOTED(HAVE_CAIRO,1,
- [Define if you have the cairo library [EXPERIMENTAL]])],
- [AC_MSG_WARN(Optional cairo library not available [EXPERIMENTAL])])
-else
- CAIRO_CFLAGS=""
- CAIRO_LIBS=""
-fi
-AC_SUBST(CAIRO_CFLAGS)
-AC_SUBST(CAIRO_LIBS)
-
dnl -----------------------------------
dnl INCLUDES and LIBS for libgen (provides basename function)
lib/gvc/Makefile
lib/gvc/libgvc.pc
plugin/Makefile
- plugin/cairo/Makefile
- plugin/gd/Makefile
plugin/text/Makefile
plugin/layout/Makefile
cmd/Makefile
--datadir=%{_datadir} \
--mandir=%{_mandir} \
--with-x \
- --disable-gvrender \
--with-mylibgd \
--disable-dependency-tracking
# need gd-2.0.29 commonly available in rpms before removing --enable-mylibgd
Blank lines are allowed and ignored.
- plugin_library_path {
+ plugin_library_path packagename {
plugin_api {
plugin_type plugin_quality
...
e.g.
- /usr/lib/graphviz/libgvplugin_cairo.so {renderer {x 0 png 10 ps -10}}
- /usr/lib/graphviz/libgvplugin_gdgen.so {renderer {png 0 gif 0 jpg 0}}
+ /usr/lib/graphviz/libgvplugin_cairo.so cairo {renderer {x 0 png 10 ps -10}}
+ /usr/lib/graphviz/libgvplugin_gd.so gd {renderer {png 0 gif 0 jpg 0}}
Internally the config is maintained as lists of plugin_types for each plugin_api.
If multiple plugins of the same type are found then the highest quality wins.
separator(&nest, &s);
while (*s) {
path = token(&nest, &s);
- packagename = token(&nest, &s);
+ if (nest == 0)
+ packagename = token(&nest, &s);
+ else
+ packagename = "x";
do {
api = token(&nest, &s);
gv_api = gvplugin_api(api);