diff options
author | grant <grant@pkgsrc.org> | 2004-05-15 11:16:45 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-05-15 11:16:45 +0000 |
commit | 8cbf7f5f7f1126a779e10c9203a51c43fa5f3646 (patch) | |
tree | 7fda8f459ec5815ed685a4fa08ba4d071763d7d6 /graphics/ploticus/patches | |
parent | 35b9708a565325152e92461cc594b6bb6c2d9936 (diff) | |
download | pkgsrc-8cbf7f5f7f1126a779e10c9203a51c43fa5f3646.tar.gz |
Updated ploticus to 2.21.
Version 2.21 - Released 12 May '04
A new option for producing dynamic web-based graphs - QUISP (quick
server pages). One nice thing you can do with this is create a CGI
form along with the graph, so users can control various graph
parameters... here's a live demo example of this.
Major changes since 2.20 are lengthy and can be found at:
http://ploticus.sourceforge.net/doc/news_old.html
Diffstat (limited to 'graphics/ploticus/patches')
-rw-r--r-- | graphics/ploticus/patches/patch-aa | 67 |
1 files changed, 26 insertions, 41 deletions
diff --git a/graphics/ploticus/patches/patch-aa b/graphics/ploticus/patches/patch-aa index e5c10e34b3d..f62774167d6 100644 --- a/graphics/ploticus/patches/patch-aa +++ b/graphics/ploticus/patches/patch-aa @@ -1,9 +1,9 @@ -$NetBSD: patch-aa,v 1.5 2002/12/16 23:02:33 grant Exp $ +$NetBSD: patch-aa,v 1.6 2004/05/15 11:16:45 grant Exp $ ---- Makefile.orig Thu Dec 12 00:24:51 2002 +--- Makefile.orig 2004-05-13 04:49:26.000000000 +1000 +++ Makefile -@@ -12,7 +12,7 @@ - ######## Covered by GPL; see the file ./Copyright for details. +@@ -26,7 +26,7 @@ + # defaults.. -CC = gcc @@ -11,36 +11,21 @@ $NetBSD: patch-aa,v 1.5 2002/12/16 23:02:33 grant Exp $ PLATFORM = UNIX RMCOM = rm -f XOBJ = x11.o interact.o -@@ -25,12 +25,12 @@ PLPNG = plpng - ######## Choose one of the following. All others should be commented out. - - #### For Solaris 2.x uncomment the following.. --XLIBS = -L/usr/openwin/lib -lX11 --XINCLUDEDIR = -I/usr/openwin/include -+#XLIBS = -L/usr/openwin/lib -lX11 -+#XINCLUDEDIR = -I/usr/openwin/include - - #### For Linux and FreeBSD uncomment the following.. --# XLIBS = -L/usr/X11R6/lib -lX11 --# XINCLUDEDIR = -I/usr/X11R6/include -+XLIBS = -L${X11BASE}/lib -lX11 -+XINCLUDEDIR = -I${X11BASE}/include - #### For FreeBSD uncomment the following and find GD16H or GD18H below and set to -I/usr/local/include - # ADDLIBS = -L/usr/local/lib +@@ -42,8 +42,8 @@ EXE = pl + ############################################################# -@@ -79,7 +79,7 @@ XINCLUDEDIR = -I/usr/openwin/include - ######## Choose ONE of the following. All others should be commented out. + #### For Linux uncomment the following.. ####################### +-XLIBS = -L/usr/X11R6/lib -lX11 +-INCLUDEDIRS = -I/usr/X11R6/include ++#XLIBS = -L/usr/X11R6/lib -lX11 ++#INCLUDEDIRS = -I/usr/X11R6/include - #### For pseudo-GIF (only) uncomment the following.. (no libs required) --ploticus: pl -+#ploticus: pl - #### For PNG (only) uncomment the following.. (you must have libpng and zlib) - # ploticus: plpng -@@ -104,11 +104,11 @@ ploticus: pl - #### For JPEG, WBMP, PNG, with FreeType2, using your copy of GD 1.84 or higher, - #### uncomment the following.. (you must have gd 1.84+, libpng, zlib, libjpeg, libfreetype) - #### (set environment var GDFONTPATH to directory containing .ttf files) + #### For Solaris 2.x uncomment the following.. ################# +@@ -157,11 +157,11 @@ ZFLAG = -DWZ + #### For JPEG, WBMP, PNG, and FreeType2, using your copy of GD 1.84+, ###### + #### uncomment the following.. (gd 1.84+, libpng, zlib, libjpeg, libfreetype ###### + #### are all required). Set GDFONTPATH to directory containing .ttf files ###### -# ploticus: plgd18 -# GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype -# GD18H = @@ -52,26 +37,26 @@ $NetBSD: patch-aa,v 1.5 2002/12/16 23:02:33 grant Exp $ +GDFREETYPE = -DGDFREETYPE +ZFLAG = -DWZ - #### To disable all GD image support (no GIF, PNG, JPEG, etc) uncomment the following.. - # ploticus: plnogd -@@ -126,7 +126,7 @@ ploticus: pl - #### To set a hard-coded directory for prefabs files, uncomment & edit the following.. + + #### To disable all GD image support uncomment the following.. ###################### +@@ -183,6 +183,7 @@ BIN = /usr/local/bin #### If done, users won't be required to have PLOTICUS_PREFABS environment variable defined. #### This option not available for win32 --# PREFABS_DIR = "/usr/lib/ploticus" + # PREFABS_DIR = "/usr/lib/ploticus" +PREFABS_DIR = "${PREFIX}/share/ploticus" + #### For LOCALE support (non-roman alphabets & collation), uncomment the following.. - # LOCALEOBJ = localef.o -@@ -163,9 +163,9 @@ GD16 = grgd16.o devstuff16.o gd16.o gd_i +@@ -249,9 +250,10 @@ GD16 = grgd16.o devstuff16.o gd16.o gd_i GD = gdfontg.o gdfontl.o gdfontmb.o gdfonts.o gdfontt.o -LIBS = $(XLIBS) -lm $(ADDLIBS) -+LIBS = ${LDFLAGS} $(XLIBS) -lm $(ADDLIBS) ++# LIBS = $(XLIBS) -lm $(ADDLIBS) ++LIBS = $(LDFLAGS) $(XLIBS) -lm $(ADDLIBS) -CFLAGS = -DPLOTICUS -D$(PLATFORM) -DTDH_NOREC $(ZFLAG) $(FLAGS) $(LOCALE_FLAG) \ +CFLAGS+= -DPLOTICUS -D$(PLATFORM) -DTDH_NOREC $(ZFLAG) $(FLAGS) $(LOCALE_FLAG) \ - $(NOGDFLAG) $(NOXFLAG) $(XINCLUDEDIR) $(NORLIMFLAG) -DPREFABS_DIR=\"$(PREFABS_DIR)\" + $(NOGDFLAG) $(NOXFLAG) $(NOPSFLAG) $(NOSVGFLAG) $(NOSWFFLAG) $(INCLUDEDIRS) \ + $(MINGH) $(NORLIMFLAG) -DPREFABS_DIR=\"$(PREFABS_DIR)\" - OBJ = proc_annotate.o proc_areadef.o proc_axis.o proc_bars.o proc_rect.o proc_breakaxis.o \ |