SHA256
1
0
forked from pool/gnuplot

Accepting request 898022 from Publishing

- Update to gnuplot 5.4.2
  * NEW in "using" context, $# means "number of columns in current data line"
  * NEW define on program entry:   I = sqrt(-1) = {0.,1.}
  * NEW support input data that uses epidemiological date-week formats
  * NEW optional fillcolor for "set key opaque"
  * NEW provide and document use of a plugin to provide uigamma function
  * CHANGE much improved domain and precision for igamma function
  * CHANGE generate only one key entry per multi-dataset input file Bug #2380
  * CHANGE (Windows): attempt to convert unicode on command line to UTF-8
  * CHANGE clip `with image` to plot boundary in 2D plots
  * CHANGE In gprintf format "%c", add no space for a null prefix Bug #2266
  * CHANGE Make auto-placement of left border less sensitive to plot size Bug #2415
  * FIX time formats %U %W Bug #2390
  * FIX cairo terminals: Do not lose font info during multi-line enhanced text
  * FIX left-justification of titles in splot with user-specified key position
  * FIX cairo terminals (Windows): ignore "text scaling" from user screen settings
  * FIX win: instabilities associated with changing window size Bug #2301 #2304
  * FIX pm: better mousing and font handling
  * FIX qt: prevent zombie gnuplot_qt process Bug #2188
  * FIX clipping of filled polygons that have only 1 or 2 vertices Bug #2400
  * FIX "set tics front" unexpectedly made all grid lines invisible
  * FIX more terminals support requested linewidth for textbox borders
  * FIX indexing of multiple matrix data sets in a single input file
  * FIX do not inject extra '\n' into input stream after 'set term' Bug #2292
- Change offset of patches
  * gnuplot-4.6.0-fonts.diff
  * gnuplot-4.6.0.dif
  * gnuplot-gd.patch

- Update to gnuplot 5.4.2

OBS-URL: https://build.opensuse.org/request/show/898022
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnuplot?expand=0&rev=82
This commit is contained in:
Dominique Leuenberger 2021-06-11 20:30:23 +00:00 committed by Git OBS Bridge
commit 885e8d4e91
9 changed files with 81 additions and 17 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1b55e0db1e9a76724b27cd668d5809ad5603da51c83785664f30497c6cc723af
size 2186518
oid sha256:4385a8b28014ddb21f954ee4f1efac9d73c5c732fdafb280b32438bd371292f1
size 2198826

View File

@ -57,7 +57,7 @@
strncpy(default_font, &buffer[2], sizeof(default_font)-1);
FPRINTF((stderr, "gnuplot_x11: exec_cmd() set default_font to \"%s\"\n", default_font));
break;
@@ -5739,7 +5748,7 @@ XFontStruct *gpXLoadQueryFont (Display *
@@ -5740,7 +5749,7 @@ XFontStruct *gpXLoadQueryFont (Display *
}
#else
if (first_time) {
@ -66,7 +66,7 @@
first_time = FALSE;
}
while (n_miss-- > 0)
@@ -5892,6 +5901,18 @@ char *fontname;
@@ -5893,6 +5902,18 @@ char *fontname;
}
#ifdef USE_X11_MULTIBYTE

View File

@ -52,7 +52,7 @@
alldoc2gih_CPPFLAGS = -DALL_TERM_DOC $(AM_CPPFLAGS)
--- gnuplot-5.4.0/src/gadgets.h
+++ gnuplot-5.4.0/src/gadgets.h 2020-07-17 07:27:48.183763305 +0000
@@ -512,7 +512,7 @@ extern TBOOLEAN clip_lines2;
@@ -514,7 +514,7 @@ extern TBOOLEAN clip_lines2;
extern TBOOLEAN clip_points;
extern TBOOLEAN clip_radial;
@ -63,7 +63,7 @@
--- gnuplot-5.4.0/src/gplt_x11.c
+++ gnuplot-5.4.0/src/gplt_x11.c 2020-07-17 07:25:36.834034450 +0000
@@ -2508,9 +2508,12 @@ exec_cmd(plot_struct *plot, char *comman
@@ -2509,9 +2509,12 @@ exec_cmd(plot_struct *plot, char *comman
}
}
/* X11_justify_text(mode) - set text justification mode */
@ -81,7 +81,7 @@
--- gnuplot-5.4.0/src/plot.c
+++ gnuplot-5.4.0/src/plot.c 2020-07-17 07:28:52.762646614 +0000
@@ -214,6 +214,7 @@ static int asked_privi = 0;
@@ -205,6 +205,7 @@ static int asked_privi = 0;
void
drop_privilege()
{
@ -89,7 +89,7 @@
if (!asked_privi) {
euid = geteuid();
egid = getegid();
@@ -227,11 +228,13 @@ drop_privilege()
@@ -218,11 +219,13 @@ drop_privilege()
if (seteuid(ruid) == -1)
(void) fprintf(stderr, "seteuid(%d): %s\n",
(int) ruid, strerror(errno));
@ -103,7 +103,7 @@
if (!asked_privi) {
euid = geteuid();
egid = getegid();
@@ -245,6 +248,7 @@ take_privilege()
@@ -236,6 +239,7 @@ take_privilege()
if (seteuid(euid) == -1)
(void) fprintf(stderr, "seteuid(%d): %s\n",
(int) euid, strerror(errno));
@ -111,7 +111,7 @@
}
#endif /* LINUXVGA */
@@ -280,8 +284,8 @@ main(int argc_orig, char **argv)
@@ -271,8 +275,8 @@ main(int argc_orig, char **argv)
argc = argc_orig;
#ifdef LINUXVGA
@ -121,7 +121,7 @@
#endif
/* make sure that we really have revoked root access, this might happen if
gnuplot is compiled without vga support but is installed suid by mistake */
@@ -359,6 +363,22 @@ main(int argc_orig, char **argv)
@@ -345,6 +349,22 @@ main(int argc_orig, char **argv)
rl_getc_function = getc_wrapper;
#endif

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b690485567eaeb938c26936e5e0681cf70c856d273cc2c45fabf64d8bc6590e
size 5608076

3
gnuplot-5.4.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e57c75e1318133951d32a83bcdc4aff17fed28722c4e71f2305cfc2ae1cae7ba
size 5640202

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Mon Jun 7 05:53:01 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Update to gnuplot 5.4.2
* NEW in "using" context, $# means "number of columns in current data line"
* NEW define on program entry: I = sqrt(-1) = {0.,1.}
* NEW support input data that uses epidemiological date-week formats
* NEW optional fillcolor for "set key opaque"
* NEW provide and document use of a plugin to provide uigamma function
* CHANGE much improved domain and precision for igamma function
* CHANGE generate only one key entry per multi-dataset input file Bug #2380
* CHANGE (Windows): attempt to convert unicode on command line to UTF-8
* CHANGE clip `with image` to plot boundary in 2D plots
* CHANGE In gprintf format "%c", add no space for a null prefix Bug #2266
* CHANGE Make auto-placement of left border less sensitive to plot size Bug #2415
* FIX time formats %U %W Bug #2390
* FIX cairo terminals: Do not lose font info during multi-line enhanced text
* FIX left-justification of titles in splot with user-specified key position
* FIX cairo terminals (Windows): ignore "text scaling" from user screen settings
* FIX win: instabilities associated with changing window size Bug #2301 #2304
* FIX pm: better mousing and font handling
* FIX qt: prevent zombie gnuplot_qt process Bug #2188
* FIX clipping of filled polygons that have only 1 or 2 vertices Bug #2400
* FIX "set tics front" unexpectedly made all grid lines invisible
* FIX more terminals support requested linewidth for textbox borders
* FIX indexing of multiple matrix data sets in a single input file
* FIX do not inject extra '\n' into input stream after 'set term' Bug #2292
- Change offset of patches
* gnuplot-4.6.0-fonts.diff
* gnuplot-4.6.0.dif
* gnuplot-gd.patch
-------------------------------------------------------------------
Mon Apr 26 17:15:43 UTC 2021 - Dr. Werner Fink <werner@suse.de>

View File

@ -7,7 +7,7 @@ Index: gnuplot-5.2.2/configure.ac
--- gnuplot-5.4.0/configure.ac
+++ gnuplot-5.4.0/configure.ac 2020-07-17 07:31:14.828189953 +0000
@@ -541,63 +541,17 @@ AC_ARG_WITH(gd,dnl
@@ -534,63 +534,17 @@ AC_ARG_WITH(gd,dnl
if test "$with_gd" != no; then
PKG_CHECK_MODULES_NOFAIL(libgd, [gdlib])

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Mon Jun 7 05:53:01 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Update to gnuplot 5.4.2
* NEW in "using" context, $# means "number of columns in current data line"
* NEW define on program entry: I = sqrt(-1) = {0.,1.}
* NEW support input data that uses epidemiological date-week formats
* NEW optional fillcolor for "set key opaque"
* NEW provide and document use of a plugin to provide uigamma function
* CHANGE much improved domain and precision for igamma function
* CHANGE generate only one key entry per multi-dataset input file Bug #2380
* CHANGE (Windows): attempt to convert unicode on command line to UTF-8
* CHANGE clip `with image` to plot boundary in 2D plots
* CHANGE In gprintf format "%c", add no space for a null prefix Bug #2266
* CHANGE Make auto-placement of left border less sensitive to plot size Bug #2415
* FIX time formats %U %W Bug #2390
* FIX cairo terminals: Do not lose font info during multi-line enhanced text
* FIX left-justification of titles in splot with user-specified key position
* FIX cairo terminals (Windows): ignore "text scaling" from user screen settings
* FIX win: instabilities associated with changing window size Bug #2301 #2304
* FIX pm: better mousing and font handling
* FIX qt: prevent zombie gnuplot_qt process Bug #2188
* FIX clipping of filled polygons that have only 1 or 2 vertices Bug #2400
* FIX "set tics front" unexpectedly made all grid lines invisible
* FIX more terminals support requested linewidth for textbox borders
* FIX indexing of multiple matrix data sets in a single input file
* FIX do not inject extra '\n' into input stream after 'set term' Bug #2292
- Change offset of patches
* gnuplot-4.6.0-fonts.diff
* gnuplot-4.6.0.dif
* gnuplot-gd.patch
-------------------------------------------------------------------
Mon Apr 26 17:15:43 UTC 2021 - Dr. Werner Fink <werner@suse.de>

View File

@ -1,5 +1,5 @@
#
# spec file for package gnuplot%{?psuffix}
# spec file
#
# Copyright (c) 2021 SUSE LLC
#
@ -79,7 +79,7 @@ BuildRequires: tex(subfigure.sty)
BuildRequires: tex(textgreek.sty)
%endif
URL: http://www.gnuplot.info/
Version: 5.4.1
Version: 5.4.2
Release: 0
%global underscore 5_4
%if "%{flavor}" == ""