]> granicus.if.org Git - graphviz/commitdiff
add new "formatter" plugin api
authorellson <devnull@localhost>
Tue, 21 Aug 2007 20:12:25 +0000 (20:12 +0000)
committerellson <devnull@localhost>
Tue, 21 Aug 2007 20:12:25 +0000 (20:12 +0000)
update plugin api version number
add new formatter for cairo using gdk_pixbuf  - working
add new formatter for cairo using DevIL - partially working
add new formatter for cairo using gd - not working

plugin/devil/sources.cmake [new file with mode: 0644]

diff --git a/plugin/devil/sources.cmake b/plugin/devil/sources.cmake
new file mode 100644 (file)
index 0000000..4e1b08f
--- /dev/null
@@ -0,0 +1,22 @@
+# $Id$ $Revision$
+
+INCLUDE( UsePkgConfig )
+PKGCONFIG( pangocairo PANGOCAIRO_INCLUDE_DIR PANGOCAIRO_LIB_DIR PANGOCAIRO_LINK_FLAGS PANGOCAIRO_CFLAGS )
+ADD_DEFINITIONS(${PANGOCAIRO_CFLAGS})
+PKGCONFIG( devil DEVIL_INCLUDE_DIR DEVIL_LIB_DIR DEVIL_LINK_FLAGS DEVIL_CFLAGS )
+ADD_DEFINITIONS(${DEVIL_CFLAGS})
+
+INCLUDE_DIRECTORIES(
+       ${gvplugin_devil_SRCDIR}
+       ${top_SRCDIR}
+       ${common_SRCDIR}
+       ${graph_SRCDIR}
+       ${cdt_SRCDIR}
+       ${pathplan_SRCDIR}
+       ${gvc_SRCDIR}
+)
+
+SET(gvplugin_devil_SRCS
+       ${gvplugin_devil_SRCDIR}/gvplugin_devil.c
+       ${gvplugin_devil_SRCDIR}/gvrender_devil.c
+)