# specify where to find bitmap packages (See INSTALL file.)
EXTLIB_INC=-I/usr/include/freetype2
-EXTLIB_LIB=-ljpeg -lpng -lfreetype -lz
+EXTLIB_LIB=-ljpeg -lpng -lfontconfig -lfreetype -lz
###################################################
# Typically, nothing below should be changed. #
# location of tk.h
TK_INCDIR=$(TKDIR)/include
+VERSION=2.3
+VERSION=2.3
+VERSION=2.3
+VERSION=2.3
+VERSION=2.3
+VERSION=2.3
+VERSION=2.3
#define ENABLE_CODEGENS 1
/* Define if you don't want on-demand plugin loading */
-/* #define DISABLE_LTDL 1 */
+#define DISABLE_LTDL 1
/* Set if you want the new gvrender codegens */
-#define ENABLE_GVRENDER 0
+#define ENABLE_GVRENDER 1
/* Define if you want the gd renderers (png, gif, etc ) */
#define GD_RENDER 1
DEFINES = -DHAVE_CONFIG_H -DGVLIBDIR=$(LIBDIR)
HDRS = gvc.h gvcint.h gvplugin_render.h \
- gvplugin_layout.h gvplugin_text.h gvplugin.h
+ gvplugin_layout.h gvplugin_textlayout.h gvplugin.h
OBJS = gvrender.o gvlayout.o gvcontext.o gvjobs.o \
- gvplugin.o gvconfig.o gvevent.o gvtext.o
+ gvplugin.o gvconfig.o gvevent.o gvtextlayout.o
libgvc.a : $(OBJS)
$(RM) libgvc.a
#include "macros.h"
#include "gvc.h"
-static char *libdir = GVLIBDIR;
-
#ifndef DISABLE_CODEGENS
extern void config_codegen_builtins(GVC_t *gvc);
#endif
+#ifndef DISABLE_LTDL
+static char *libdir = GVLIBDIR;
+#endif
+
/*
A config for gvrender is a text file containing a
list of plugin librariess and their capabilities using a tcl-like
return t;
}
+#ifndef DISABLE_LTDL
static int gvconfig_plugin_install_from_config(GVC_t * gvc, char *s)
{
- char *path, *packagename, *api, *type, *dir, *t;
+ char *path, *packagename, *api, *type;
api_t gv_api;
int quality, rc;
int nest = 0;
}
return 1;
}
+#endif
static void gvconfig_plugin_install_from_library(GVC_t * gvc, char *path, gvplugin_library_t *library)
{
extern gvplugin_library_t *builtins[];
#endif
+#ifndef DISABLE_LTDL
static void config_rescan(GVC_t *gvc, char *config_path)
{
FILE *f = NULL;
if (f)
fclose(f);
}
+#endif
/*
gvconfig - parse a config file and install the identified plugins