1 diff -urN rrdtool-1.0.48.org/configure.ac rrdtool-1.0.48/configure.ac
2 --- rrdtool-1.0.48.org/configure.ac 2004-05-10 21:54:23.926860912 +0200
3 +++ rrdtool-1.0.48/configure.ac 2004-05-10 21:54:50.507819992 +0200
8 -AC_CONFIG_FILES([cgilib-0.4/Makefile \
10 examples/shared-demo.pl \
11 examples/piped-demo.pl \
14 contrib/add_ds/add_ds.pl \
15 contrib/add_ds/batch.pl \
18 - libpng-1.0.9/Makefile \
19 - zlib-1.1.4/Makefile \
22 perl-shared/Makefile.PL \
23 diff -urN rrdtool-1.0.48.org/gd1.3/Makefile.am rrdtool-1.0.48/gd1.3/Makefile.am
24 --- rrdtool-1.0.48.org/gd1.3/Makefile.am 2004-05-10 21:54:23.833875048 +0200
25 +++ rrdtool-1.0.48/gd1.3/Makefile.am 2004-05-10 21:54:50.509819688 +0200
27 noinst_LTLIBRARIES = librrd_gd.la
29 librrd_gd_la_SOURCES = \
30 - gd.c gdfontg.c gdfontl.c gdfontmb.c \
31 - gdfonts.c gdfontt.c gdlucidab10.c gdlucidab12.c \
32 + gdlucidab10.c gdlucidab12.c \
33 gdlucidab14.c gdlucidan10.c gdlucidan12.c gdlucidan14.c \
34 gdlucidan10l2.c gdlucidab12l2.c \
35 - gd.h gdfontmb.h gdlucidab10.h gdlucidan10.h \
36 - gdfontg.h gdfonts.h gdlucidab12.h gdlucidan12.h \
37 - gdfontl.h gdfontt.h gdlucidab14.h gdlucidan14.h \
38 + gdlucidab10.h gdlucidan10.h \
39 + gdlucidab12.h gdlucidan12.h \
40 + gdlucidab14.h gdlucidan14.h \
41 gdlucidan10l2.h gdlucidab12l2.h
43 +librrd_gd_la_LIBADD = -lgd
45 EXTRA_DIST= README.rrdtool demoin.gif gd.dsp gd.dsw index.html readme.txt \
46 webgif.c mtables.c mathmake.c giftogd.c gd.vcproj
47 diff -urN rrdtool-1.0.48.org/Makefile.am rrdtool-1.0.48/Makefile.am
48 --- rrdtool-1.0.48.org/Makefile.am 2004-05-10 21:54:23.926860912 +0200
49 +++ rrdtool-1.0.48/Makefile.am 2004-05-10 21:54:50.511819384 +0200
52 # allow to use shipped code with rrdtool or local OS's version
53 # see configure.in or do a ./configure --help
54 -if USE_INSTALLED_ZLIB
57 -SUBDIRS_1 = zlib-1.1.4
60 -if USE_INSTALLED_LIBPNG
63 -SUBDIRS_2 = libpng-1.0.9
66 # build the following subdirectories
67 -SUBDIRS = cgilib-0.4 gd1.3 $(SUBDIRS_1) $(SUBDIRS_2) \
69 src doc examples contrib tcl
71 # the following files are not mentioned in any other Makefile
72 diff -urN rrdtool-1.0.48.org/perl-shared/Makefile.PL.in rrdtool-1.0.48/perl-shared/Makefile.PL.in
73 --- rrdtool-1.0.48.org/perl-shared/Makefile.PL.in 2004-05-10 21:54:23.814877936 +0200
74 +++ rrdtool-1.0.48/perl-shared/Makefile.PL.in 2004-05-10 21:54:50.512819232 +0200
76 # the contents of the Makefile that is written.
78 # Specify the location of the archive containing PIC compiled object files.
79 -my $librrd = "-L../src/.libs/ @RRD_PRIVATE_LINK@" ;
80 +my $librrd = "-L../src/.libs/ -lrrd" ;
85 'CCFLAGS' => '-DHAVE_CONFIG_H',
86 # where to look for the necessary libraries
87 # Perl will figure out which one is valid
88 - 'depend' => {'RRDs.c' => "@top_srcdir@/src/.libs/librrd_private.a"},
89 'dynamic_lib' => {'OTHERLDFLAGS' => "$librrd -lm"},
90 'realclean' => {FILES => 't/demo?.rrd t/demo?.gif' }
92 diff -urN rrdtool-1.0.48.org/src/Makefile.am rrdtool-1.0.48/src/Makefile.am
93 --- rrdtool-1.0.48.org/src/Makefile.am 2004-05-10 21:54:23.886866992 +0200
94 +++ rrdtool-1.0.48/src/Makefile.am 2004-05-10 21:55:10.680753240 +0200
99 -AM_CPPFLAGS = -I$(CGI_INC_DIR) -I$(GD_INC_DIR) $(PNG_INC) $(ZLIB_INC)
100 +AM_CPPFLAGS = -I$(CGI_INC_DIR) -I$(GD_INC_DIR)
102 #COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(CFLAGS_EXTRA)
103 #LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(CFLAGS_EXTRA)
108 - $(CGI_LIB_DIR)/librrd_cgi.la \
109 - $(GD_LIB_DIR)/librrd_gd.la \
116 lib_LTLIBRARIES = librrd.la
117 noinst_LTLIBRARIES = librrd_private.la
118 diff -urN rrdtool-1.0.48.org/src/rrd_graph.c rrdtool-1.0.48/src/rrd_graph.c
119 --- rrdtool-1.0.48.org/src/rrd_graph.c 2004-05-10 21:54:23.890866384 +0200
120 +++ rrdtool-1.0.48/src/rrd_graph.c 2004-05-10 22:14:26.099102952 +0200
122 #include "rrd_graph.h"
125 -#ifdef LATIN2_ENABLE
126 -#include <gdlucidan10l2.h>
127 -#include <gdlucidab12l2.h>
129 -#include <gdlucidan10.h>
130 -#include <gdlucidab12.h>
132 +#include <gdfonts.h>
133 +#include <gdfontl.h>
135 #include <sys/stat.h>
141 -#ifdef LATIN2_ENABLE
142 -#define SmallFont gdLucidaNormal10l2
143 -#define LargeFont gdLucidaBold12l2
145 -#define SmallFont gdLucidaNormal10
146 -#define LargeFont gdLucidaBold12
148 +#define SmallFont gdFontSmall
149 +#define LargeFont gdFontLarge
152 {0, TMT_SECOND,30, TMT_MINUTE,5, TMT_MINUTE,5, 0,"%H:%M"},
153 diff -urN rrdtool-1.0.48.org/tcl/Makefile.am rrdtool-1.0.48/tcl/Makefile.am
154 --- rrdtool-1.0.48.org/tcl/Makefile.am 2004-05-10 21:54:23.925861064 +0200
155 +++ rrdtool-1.0.48/tcl/Makefile.am 2004-05-10 21:54:50.519818168 +0200
159 $(TCL_LIB_FILE): tclrrd.o
160 - $(TCL_SHLIB_LD) $(LIBDIRS) $< -o $@ @RRD_PRIVATE_LINK@ -lm $(TCL_LIB_SPEC)
161 + $(TCL_SHLIB_LD) $(LIBDIRS) $< -o $@ -lrrd -lm -ltcl
164 $(CC) $(CFLAGS) $(TCL_SHLIB_CFLAGS) $(INCLUDES) $(AM_CPPFLAGS) -c $< -DVERSION=\"$(VERSION)\"