From 53eec6fb96646da693e5e8f78047cccf91774dbb Mon Sep 17 00:00:00 2001 From: ellson Date: Thu, 12 Feb 2009 17:47:23 +0000 Subject: [PATCH] - no more username in output. - creator always "graphviz" - pass in lt_preload_symbols from code using libgvc - avoiding problems with --enable-static - clean out various bits of dead code --- cmd/dot/dot_builtins.c | 49 ++++++++++++++++++++++++++++++++++++++++++ cmd/dot/no_builtins.c | 20 +++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 cmd/dot/dot_builtins.c create mode 100644 cmd/dot/no_builtins.c diff --git a/cmd/dot/dot_builtins.c b/cmd/dot/dot_builtins.c new file mode 100644 index 000000000..09e26e790 --- /dev/null +++ b/cmd/dot/dot_builtins.c @@ -0,0 +1,49 @@ +/* $Id$ $Revision$ */ +/* vim:set shiftwidth=4 ts=8: */ + +/********************************************************** +* This software is part of the graphviz package * +* http://www.graphviz.org/ * +* * +* Copyright (c) 1994-2004 AT&T Corp. * +* and is licensed under the * +* Common Public License, Version 1.0 * +* by AT&T Corp. * +* * +* Information and Software Systems Research * +* AT&T Research, Florham Park NJ * +**********************************************************/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "gvplugin.h" + +#if defined(GVDLL) && !defined(ENABLE_LTDL) +#define extern __declspec(dllimport) +#endif + +extern gvplugin_library_t gvplugin_dot_layout_LTX_library; +extern gvplugin_library_t gvplugin_neato_layout_LTX_library; +#ifdef HAVE_LIBGD +extern gvplugin_library_t gvplugin_gd_LTX_library; +#endif +#ifdef HAVE_PANGOCAIRO +extern gvplugin_library_t gvplugin_pango_LTX_library; +#endif +extern gvplugin_library_t gvplugin_core_LTX_library; + + +lt_symlist_t lt_preloaded_symbols[] = { + { "gvplugin_dot_layout_LTX_library", (void*)(&gvplugin_dot_layout_LTX_library) }, + { "gvplugin_neato_layout_LTX_library", (void*)(&gvplugin_neato_layout_LTX_library) }, +#ifdef HAVE_PANGOCAIRO + { "gvplugin_pango_LTX_library", (void*)(&gvplugin_pango_LTX_library) }, +#endif +#ifdef HAVE_LIBGD + { "gvplugin_gd_LTX_library", (void*)(&gvplugin_gd_LTX_library) }, +#endif + { "gvplugin_core_LTX_library", (void*)(&gvplugin_core_LTX_library) }, + { 0, 0 } +}; diff --git a/cmd/dot/no_builtins.c b/cmd/dot/no_builtins.c new file mode 100644 index 000000000..dc62ea9cd --- /dev/null +++ b/cmd/dot/no_builtins.c @@ -0,0 +1,20 @@ +/* $Id$ $Revision$ */ +/* vim:set shiftwidth=4 ts=8: */ + +/********************************************************** +* This software is part of the graphviz package * +* http://www.graphviz.org/ * +* * +* Copyright (c) 1994-2004 AT&T Corp. * +* and is licensed under the * +* Common Public License, Version 1.0 * +* by AT&T Corp. * +* * +* Information and Software Systems Research * +* AT&T Research, Florham Park NJ * +**********************************************************/ + +#include "gvplugin.h" + +lt_symlist_t lt_preloaded_symbols[] = { { 0, 0 } }; + -- 2.40.0