unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Efraim Flashner <efraim@flashner.co.il>
Cc: guix-devel@gnu.org
Subject: Re: gnuplot update
Date: Sun, 24 Jul 2016 19:11:33 +0200	[thread overview]
Message-ID: <8760rvarlm.fsf@gnu.org> (raw)
In-Reply-To: <20160722123352.GA3727@debian-netbook> (Efraim Flashner's message of "Fri, 22 Jul 2016 15:33:52 +0300")

[-- Attachment #1: Type: text/plain, Size: 641 bytes --]

Efraim Flashner <efraim@flashner.co.il> skribis:

> Hydra discovered that gnuplot's release tarball didn't match, and it
> turns out that there was an in-place update to the release tarball. The
> diff of the two tarballs is attached.
>
> Attached is a patch to update to the new 5.0.4 release.
>
>
> Old tarball:
> https://flashner.co.il/~efraim/gnuplot-5.0.4-old.tar.gz
> 08vpmhl85l48xcccx8jrkamalih2d6z9ppqpsppwii9y2l1p3297
>
> New tarball: (also at Sourceforge)
> https://flashner.co.il/~efraim/gnuplot-5.0.4-new.tar.gz
> 07n3w12dkcxjnhsvsliaqnkhajhi818v6q8mkpmpbplbf92vh70m

For future reference, here’s the diff:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 2422 bytes --]

$ diff -ur gnuplot-5.0.4{.old,}
diff -ur gnuplot-5.0.4.old/ChangeLog gnuplot-5.0.4/ChangeLog
--- gnuplot-5.0.4.old/ChangeLog	2016-07-20 05:22:29.000000000 +0200
+++ gnuplot-5.0.4/ChangeLog	2016-07-21 17:45:11.000000000 +0200
@@ -1,3 +1,10 @@
+2016-07-21  Ethan A Merritt  <merritt@u.washington.edu>
+
+	* src/term_api.h:  Define TERM_POLYGON_PIXELS.
+	* src/graphics.c (plot_image_or_update_axes):  If this flag is set,
+	implement "plot ... with image pixels" using term->filled_polygon()
+	rather than term->fillbox().
+
 2016-07-19  Jun Takimoto <takimoto-j@kba.biglobe.ne.jp>
 
 	* term/aquaterm.trm:  The AQUA_boxfill() routine scales very badly 
Binary files gnuplot-5.0.4.old/docs/gnuplot.pdf and gnuplot-5.0.4/docs/gnuplot.pdf differ
diff -ur gnuplot-5.0.4.old/src/graphics.c gnuplot-5.0.4/src/graphics.c
--- gnuplot-5.0.4.old/src/graphics.c	2016-07-06 06:43:36.000000000 +0200
+++ gnuplot-5.0.4/src/graphics.c	2016-07-21 17:43:44.000000000 +0200
@@ -4835,7 +4835,8 @@
 				corners[0].style = FS_TRANSPARENT_SOLID + (alpha<<4);
 			}
 
-			if (rectangular_image && term->fillbox) {
+			if (rectangular_image && term->fillbox
+			&&  !(term->flags & TERM_POLYGON_PIXELS)) {
 			    /* Some terminals (canvas) can do filled rectangles */
 			    /* more efficiently than filled polygons. */
 			    (*term->fillbox)( corners[0].style,
diff -ur gnuplot-5.0.4.old/src/term_api.h gnuplot-5.0.4/src/term_api.h
--- gnuplot-5.0.4.old/src/term_api.h	2016-01-19 00:51:59.000000000 +0100
+++ gnuplot-5.0.4/src/term_api.h	2016-07-21 17:39:07.000000000 +0200
@@ -261,6 +261,7 @@
 #define TERM_IS_LATEX        (1<<13)	/* text uses TeX markup            */
 #define TERM_EXTENDED_COLOR  (1<<14)	/* uses EXTENDED_COLOR_SPECS       */
 #define TERM_NULL_SET_COLOR  (1<<15)	/* no support for RGB color        */
+#define TERM_POLYGON_PIXELS  (1<<16)	/* filledpolygon rather than fillbox */
 
 /* The terminal interface structure --- heart of the terminal layer.
  *
diff -ur gnuplot-5.0.4.old/src/version.c gnuplot-5.0.4/src/version.c
--- gnuplot-5.0.4.old/src/version.c	2016-07-20 05:23:21.000000000 +0200
+++ gnuplot-5.0.4/src/version.c	2016-07-21 17:50:12.000000000 +0200
@@ -44,7 +44,7 @@
 #ifdef DEVELOPMENT_VERSION
 #include "timestamp.h"
 #else
-const char gnuplot_date[] = "2016-07-19 ";
+const char gnuplot_date[] = "2016-07-21 ";
 #endif
 const char gnuplot_copyright[] = "Copyright (C) 1986-1993, 1998, 2004, 2007-2016";

[-- Attachment #3: Type: text/plain, Size: 54 bytes --]


Looks innocuous.  Please push, thanks!

Ludo’.

      parent reply	other threads:[~2016-07-24 17:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-22 12:33 gnuplot update Efraim Flashner
2016-07-22 12:43 ` Efraim Flashner
2016-07-24 17:11 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760rvarlm.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).