From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: gnuplot update Date: Sun, 24 Jul 2016 19:11:33 +0200 Message-ID: <8760rvarlm.fsf@gnu.org> References: <20160722123352.GA3727@debian-netbook> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRMwK-0003y0-Op for guix-devel@gnu.org; Sun, 24 Jul 2016 13:11:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRMwF-0004TG-MJ for guix-devel@gnu.org; Sun, 24 Jul 2016 13:11:43 -0400 In-Reply-To: <20160722123352.GA3727@debian-netbook> (Efraim Flashner's message of "Fri, 22 Jul 2016 15:33:52 +0300") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Efraim Flashner Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Efraim Flashner 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=E2=80=99s the diff: --=-=-= Content-Type: text/x-patch Content-Disposition: inline $ 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 + + * 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 * 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"; --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Looks innocuous. Please push, thanks! Ludo=E2=80=99. --=-=-=--