[19883] trunk/dports/perl/p5-term-gnuplot
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 4 15:39:38 PDT 2006
Revision: 19883
http://trac.macosforge.org/projects/macports/changeset/19883
Author: vinc17 at macports.org
Date: 2006-10-04 15:39:38 -0700 (Wed, 04 Oct 2006)
Log Message:
-----------
Updated p5-term-gnuplot to version 0.90380905: new patches
for Term-Gnuplot 0.90380905 and documentation patch.
Tested with dumb and x11 terminals on the example in the
Term::Gnuplot man page (with minor modifications).
Modified Paths:
--------------
trunk/dports/perl/p5-term-gnuplot/Portfile
trunk/dports/perl/p5-term-gnuplot/files/patch-gnuterm-Makefile.PL
Added Paths:
-----------
trunk/dports/perl/p5-term-gnuplot/files/patch-doc
Modified: trunk/dports/perl/p5-term-gnuplot/Portfile
===================================================================
--- trunk/dports/perl/p5-term-gnuplot/Portfile 2006-10-04 21:04:10 UTC (rev 19882)
+++ trunk/dports/perl/p5-term-gnuplot/Portfile 2006-10-04 22:39:38 UTC (rev 19883)
@@ -1,19 +1,19 @@
-# $Id: Portfile,v 1.1 2005/12/20 21:07:23 mww Exp $
+# $Id: Portfile 14164 2006-10-04 22:30:59Z lefevre $
PortSystem 1.0
PortGroup perl5 1.0
-perl5.setup Term-Gnuplot 0.5705
+perl5.setup Term-Gnuplot 0.90380905
maintainers vincent-opdarw at vinc17.org
categories-append math
description Low-level graphics using Gnuplot drawing routines
long_description Perl module to do low-level graphics using Gnuplot \
drawing routines.
-checksums md5 2e49e2610e625301df65834cda3a0bc9
+checksums md5 ceccd4e30deb6291ebecce176e715208 \
+ sha1 4d05ffb45d28f949c7ae8fde40bfe7addbeb9f69
platforms darwin
depends_lib-append port:libpng port:gd2 lib:libX11.6:XFree86
configure.env C_INCLUDE_PATH="${prefix}/include" \
LIBRARY_PATH="${prefix}/lib"
-patchfiles patch-gnuterm-Makefile.PL
-
+patchfiles patch-gnuterm-Makefile.PL patch-doc
Added: trunk/dports/perl/p5-term-gnuplot/files/patch-doc
===================================================================
--- trunk/dports/perl/p5-term-gnuplot/files/patch-doc (rev 0)
+++ trunk/dports/perl/p5-term-gnuplot/files/patch-doc 2006-10-04 22:39:38 UTC (rev 19883)
@@ -0,0 +1,11 @@
+--- Gnuplot.pm 2006-05-26 10:31:00.000000000 +0200
++++ Gnuplot.pm 2006-10-05 00:27:39.000000000 +0200
+@@ -13,7 +13,7 @@
+ term_start_plot(); # graphics();
+ $xmax = scaled_xmax();
+ $ymax = scaled_ymax();
+- linewidth(1.0)
++ linewidth(1.0);
+ linetype(LT_BLACK);
+ move(0,0);
+ vector($xmax-1,0);
Property changes on: trunk/dports/perl/p5-term-gnuplot/files/patch-doc
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/dports/perl/p5-term-gnuplot/files/patch-gnuterm-Makefile.PL
===================================================================
--- trunk/dports/perl/p5-term-gnuplot/files/patch-gnuterm-Makefile.PL 2006-10-04 21:04:10 UTC (rev 19882)
+++ trunk/dports/perl/p5-term-gnuplot/files/patch-gnuterm-Makefile.PL 2006-10-04 22:39:38 UTC (rev 19883)
@@ -1,6 +1,6 @@
---- Gnuplot.h 1999-11-05 01:03:48.000000000 +0100
-+++ Gnuplot.h 2005-12-18 14:43:09.000000000 +0100
-@@ -181,7 +181,6 @@
+--- Gnuplot.h 2006-05-26 10:21:38.000000000 +0200
++++ Gnuplot.h 2006-10-04 23:47:31.000000000 +0200
+@@ -210,7 +210,6 @@
double log_base_log_y = 0.0;
double log_base_log_z = 0.0;
double base_z = 0.0;
@@ -8,30 +8,76 @@
void map3d_xy (double x, double y, double z, unsigned int *xt, unsigned int *yt)
{
---- Makefile.PL 2005-11-19 07:18:42.000000000 +0100
-+++ Makefile.PL 2005-12-18 18:42:09.000000000 +0100
-@@ -3,7 +3,7 @@
- # See lib/ExtUtils/MakeMaker.pm for details of how to influence
- # the contents of the Makefile that is written.
+@@ -490,7 +489,7 @@
+ extern struct termentry *term;
--$try_libs = ' -L/usr/openwin/lib -lX11 -lm -lsocket -lvga -llinuxvga -lgd -lpng -lz -ljmgraph -lvesa';
-+$try_libs = ' -L/usr/openwin/lib -L/usr/X11/lib -L/usr/X11R6/lib -lX11 -lm -lsocket -lvga -llinuxvga -lgd -lpng -lz -ljmgraph -lvesa';
+ #ifndef GNUPLOT_NO_CODE_EMIT
+-struct termentry *term;
++struct termentry *term = NULL;
+ #endif /* !GNUPLOT_NO_CODE_EMIT */
+ #define RETVOID
+--- Makefile.PL 2006-05-26 08:29:40.000000000 +0200
++++ Makefile.PL 2006-10-04 21:56:31.000000000 +0200
+@@ -8,7 +8,7 @@
+ if exists $ENV{X11ROOT} and -d "$ENV{X11ROOT}/XFree86/lib" and -d "$ENV{X11ROOT}/XFree86/include";
+
+ $try_libs = $common::x ? "-L$common::x/lib" : '';
+-$try_libs .= ' -L/usr/openwin/lib -lX11 -lm -lsocket -lvga -llinuxvga -lgd -lpng -ljpeg -lfreetype -lz -ljmgraph -lvesa -lpdf';
++$try_libs .= ' -L/usr/openwin/lib -L/usr/X11/lib -L/usr/X11R6/lib -lX11 -lm -lsocket -lvga -llinuxvga -lgd -lpng -ljpeg -lfreetype -lz -ljmgraph -lvesa -lpdf';
+
@ARGV = grep !(/^TRY_LIBS=(.*)$/ and $try_libs = $1), @ARGV;
---- gnuterm/Makefile.PL 2005-05-14 02:15:56.000000000 +0200
-+++ gnuterm/Makefile.PL 2005-12-18 15:20:24.000000000 +0100
-@@ -35,6 +35,7 @@
- $cflags .= ' -DNOCOPY' unless $Config{d_bcopy};
- $cflags .= ' -Dsize_t=unsigned' unless $Config{sizetype} eq 'size_t';
- $cflags .= ' -Dtime_t=long' unless $Config{timetype} eq 'time_t';
+--- gnuterm/Makefile.PL 2006-05-25 01:01:04.000000000 +0200
++++ gnuterm/Makefile.PL 2006-10-04 22:18:10.000000000 +0200
+@@ -12,6 +12,7 @@
+ $cflags .= ' -DMY_Windows' if $^O eq 'MSWin32';
+
+ $cflags .= $common::cflags;
+$cflags .= ' -DHAVE_SLEEP';
- # $cflags .= ' -DGETCWD -DHAVE_STRNICMP -DPIPES -DHAVE_STRERROR -DNOGAMMA' if $^O eq 'os2';
- if ($^O eq 'os2' or $^O eq 'MSWin32') {
+ $try_libs = $common::try_libs;
+
+--- gnuterm/term.c 2002-09-07 01:18:30.000000000 +0200
++++ gnuterm/term.c 2006-10-05 00:20:35.000000000 +0200
+@@ -111,14 +111,14 @@
+
+ /* Externally visible variables */
+ /* the central instance: the current terminal's interface structure */
+-struct termentry *term = NULL; /* unknown */
++/* struct termentry *term = NULL; (defined in Gnuplot.h) */
+
+ /* ... and its options string */
+ char term_options[MAX_LINE_LEN+1] = "";
+
+ /* the 'output' file name and handle */
+ char *outstr = NULL; /* means "STDOUT" */
+-FILE *gpoutfile;
++/* FILE *gpoutfile; (defined in Gnuplot.h) */
+
+ #ifdef PM3D
+ /* Output file where the PostScript output goes to. See term_api.h for more
+@@ -137,7 +137,7 @@
+ TBOOLEAN ignore_enhanced_text = FALSE;
+
+ /* text output encoding, for terminals that support it */
+-enum set_encoding_id encoding;
++/* enum set_encoding_id encoding; (defined in Gnuplot.h) */
+ /* table of encoding names, for output of the setting */
+ const char *encoding_names[] = {
+ "default", "iso_8859_1", "iso_8859_2", "cp437", "cp850", "cp852", NULL };
+@@ -179,6 +179,8 @@
+ /* internal pointsize for do_point */
+ static double term_pointsize=1;
+
++label_struct title;
++
+ /* Internal prototypes: */
+
+ static void term_suspend __PROTO((void));
--- gnuterm/term.h 1999-11-05 00:49:48.000000000 +0100
+++ gnuterm/term.h 2005-12-18 18:26:23.000000000 +0100
-@@ -137,11 +137,6 @@
+@@ -144,11 +144,6 @@
# include "next.trm"
#endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061004/a03b096a/attachment.html
More information about the macports-changes
mailing list