ports/72827: [patch] math/gnuplot: provide stacked/clustered histograms

Fernan Aguero fernan at iib.unsam.edu.ar
Mon Oct 18 15:00:47 UTC 2004

>Number:         72827
>Category:       ports
>Synopsis:       [patch] math/gnuplot: provide stacked/clustered histograms
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 18 15:00:44 GMT 2004
>Originator:     Fernan Aguero
>Release:        FreeBSD 4.10-RELEASE i386

FreeBSD pi.iib.unsam.edu.ar 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Wed May 26 12:56:43 ART 2004 fernan at pi.iib.unsam.edu.ar:/usr/obj/usr/src/sys/PI  i386


	I needed to be able to plot clustered, stacked histograms. There
	are patches by Ethan Merritt that make gnuplot able to plot this
	kind of graphs.

	I have modified the FreeBSD gnuplot port so that it is able to
	download and apply the patches. The port has now an additional
	option (WITH_HISTOGRAMS) to select this functionality.

	The patches relevant to this issue (datastrings_4.0 and
	histograms_4.0) have been already applied to the 4.1 development
	tree in CVS so it won't be necessary to patch 4.1 (whenever it is
	released) to have this functionality.

	Not relevant to this update, but, is it possible to include
	readline functionality for FreeBSD-4.x? Perhaps adding something
	.if ${OSVERSION} < 50018
	LIB_DEPENDS+= readline.4:${PORTSDIR}/devel/readline
	What are the reasons for having readline only available for
	OSVERSION > 50018?


--- gnuplot.diff begins here ---
diff -ruN /usr/ports/math/gnuplot/Makefile ./gnuplot/Makefile
--- /usr/ports/math/gnuplot/Makefile	Sat Jul 17 01:11:12 2004
+++ ./gnuplot/Makefile	Mon Oct 18 10:39:12 2004
@@ -7,7 +7,7 @@
 PORTNAME=	gnuplot
 CATEGORIES=	math graphics
@@ -22,7 +22,16 @@
 OPTIONS=	GD	"Enable GD support"	on \
 		PDF	"Enable PDF support"	on \
-		PNG	"Enable PNG support"	on
+		PNG	"Enable PNG support"	on \
+		HISTOGRAMS "Enable stacked histograms" off
+.if defined(WITH_HISTOGRAMS)
+PATCH_SITES=	http://www.bmsc.washington.edu/people/merritt/gnuplot/
+PATCHFILES= 	datastrings_4.0.patch histograms_4.0.patch
+CONFIGURE_ARGS+= --enable-datastrings --enable-histograms
 MAN1=		gnuplot.1 lasergnu.1
 INFO=		gnuplot
diff -ruN /usr/ports/math/gnuplot/distinfo ./gnuplot/distinfo
--- /usr/ports/math/gnuplot/distinfo	Wed Jun 16 09:29:11 2004
+++ ./gnuplot/distinfo	Mon Oct 18 11:06:36 2004
@@ -1,2 +1,6 @@
 MD5 (gnuplot-4.0.0.tar.gz) = 66258443d9f93cc4f46b147dac33e63a
 SIZE (gnuplot-4.0.0.tar.gz) = 2160918
+MD5 (datastrings_4.0.patch) = 7d2c4015f15f96e3a0f8063c2199ab6f
+SIZE (datastrings_4.0.patch) = 77936
+MD5 (histograms_4.0.patch) = ba87f28e4aed68637e7b5160e7151919
+SIZE (histograms_4.0.patch) = 63433
--- gnuplot.diff ends here ---


More information about the freebsd-ports-bugs mailing list