SHA256
1
0
forked from pool/gnuplot

Update to gnuplot-5.2.7

OBS-URL: https://build.opensuse.org/package/show/Publishing/gnuplot?expand=0&rev=104
This commit is contained in:
Dr. Werner Fink 2019-05-31 07:39:17 +00:00 committed by Git OBS Bridge
parent eed64b586d
commit 61197ddcc1
7 changed files with 59 additions and 17 deletions

View File

@ -4,7 +4,7 @@
--- src/gplt_x11.c
+++ src/gplt_x11.c 2018-05-07 07:13:13.080045710 +0000
@@ -956,6 +956,8 @@ mainloop()
@@ -958,6 +958,8 @@ mainloop()
nfds = cn + 1;
while (1) {
@ -13,7 +13,7 @@
XFlush(dpy); /* see above */
FD_ZERO(&tset);
@@ -993,7 +995,11 @@ mainloop()
@@ -995,7 +997,11 @@ mainloop()
process_event(&xe);
}
}
@ -26,7 +26,7 @@
unlink(X11_ipcpath);
record();
fclose(X11_ipc);
@@ -1225,8 +1231,8 @@ static int read_input __PROTO((void));
@@ -1227,8 +1233,8 @@ static int read_input __PROTO((void));
static int
read_input()
{

View File

@ -38,7 +38,7 @@
#ifdef EXPORT_SELECTION
# undef EXPORT_SELECTION
#endif /* EXPORT SELECTION */
@@ -521,8 +528,8 @@ static char *gpFallbackFont __PROTO((voi
@@ -523,8 +530,8 @@ static char *gpFallbackFont __PROTO((voi
static int gpXGetFontascent __PROTO((XFontStruct *cfont));
enum set_encoding_id encoding = S_ENC_DEFAULT; /* EAM - mirrored from core code by 'QE' */
@ -49,7 +49,7 @@
#define Nwidths 10
static unsigned int widths[Nwidths] = { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
@@ -2287,6 +2294,8 @@ exec_cmd(plot_struct *plot, char *comman
@@ -2289,6 +2296,8 @@ exec_cmd(plot_struct *plot, char *comman
/* Save the request default font */
c = &(buffer[strlen(buffer)-1]);
while (*c <= ' ') *c-- = '\0';
@ -58,7 +58,7 @@
strncpy(default_font, &buffer[2], strlen(&buffer[2])+1);
FPRINTF((stderr, "gnuplot_x11: exec_cmd() set default_font to \"%s\"\n", default_font));
break;
@@ -5770,7 +5779,7 @@ XFontStruct *gpXLoadQueryFont (Display *
@@ -5772,7 +5781,7 @@ XFontStruct *gpXLoadQueryFont (Display *
}
#else
if (first_time) {
@ -67,7 +67,7 @@
first_time = FALSE;
}
while (n_miss-- > 0)
@@ -5925,6 +5934,18 @@ char *fontname;
@@ -5927,6 +5936,18 @@ char *fontname;
}
#ifdef USE_X11_MULTIBYTE

View File

@ -76,7 +76,7 @@
--- gnuplot-5.2.3/src/gplt_x11.c
+++ gnuplot-5.2.3/src/gplt_x11.c 2018-05-07 07:12:26.988911605 +0000
@@ -2522,9 +2522,12 @@ exec_cmd(plot_struct *plot, char *comman
@@ -2524,9 +2524,12 @@ exec_cmd(plot_struct *plot, char *comman
}
}
/* X11_justify_text(mode) - set text justification mode */
@ -94,7 +94,7 @@
--- gnuplot-5.2.3/src/plot.c
+++ gnuplot-5.2.3/src/plot.c 2018-05-07 07:12:26.988911605 +0000
@@ -219,6 +219,7 @@ static int asked_privi = 0;
@@ -216,6 +216,7 @@ static int asked_privi = 0;
void
drop_privilege()
{
@ -102,7 +102,7 @@
if (!asked_privi) {
euid = geteuid();
egid = getegid();
@@ -232,11 +233,13 @@ drop_privilege()
@@ -229,11 +230,13 @@ drop_privilege()
if (seteuid(ruid) == -1)
(void) fprintf(stderr, "seteuid(%d): %s\n",
(int) ruid, strerror(errno));
@ -116,7 +116,7 @@
if (!asked_privi) {
euid = geteuid();
egid = getegid();
@@ -250,6 +253,7 @@ take_privilege()
@@ -247,6 +250,7 @@ take_privilege()
if (seteuid(euid) == -1)
(void) fprintf(stderr, "seteuid(%d): %s\n",
(int) euid, strerror(errno));
@ -124,7 +124,7 @@
}
#endif /* LINUXVGA */
@@ -276,8 +280,8 @@ main(int argc, char **argv)
@@ -273,8 +277,8 @@ main(int argc, char **argv)
int i;
#ifdef LINUXVGA

View File

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

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

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

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Fri May 31 07:29:54 UTC 2019 - Dr. Werner Fink <werner@suse.de>
- Update to gnuplot 5.2.7
* NEW "set pm3d noclipcb" will skip drawing quadrangles with color < cbmin
* NEW pm terminal supports utf8, dashed lines, bold/italic text
* NEW imaginary component of array values is available to "using" in column 3
* NEW gnuplot --slow may help use of qt terminal with slow system font server
* CHANGE splot "with points pt 0" acts like "with dots"
* CHANGE (tikz) improved default interpretation of gnuplot arrowhead style
* CHANGE teach hidden3d to handle double-headed vectors (arrowstyle "heads")
* CHANGE "unset title" or "reset" resets all title properties to default
* CHANGE font names passed to enhanced text processing may be in quotes
* CHANGE cairo terminals accept fractional font sizes
* CHANGE "plot with table" does not output trailing field separator
* CHANGE better centering for clustered histograms
* CHANGE clear STATS_* variables before performing analysis
* CHANGE cairo, libgd, and svg terminals handle LT_NODRAW by not drawing at all
* CHANGE svg terminal clickable icons are in-line data rather than external refs
* CHANGE revise space allocated for ylabel; allow text justification for ylabel
* CHANGE reduce overhead, making it feasible to have 10^6 hypertext labels
* CHANGE heavily revised fig terminal
* FIX "plot with table" unnecessarily limited string column output to 60 chars
* FIX (windows) make sure graph window is shown even if the program is "hidden"
* FIX hidden3d mode was not correctly dealing with arrowstyle backhead
* FIX sprintf in 'using' spec must not clobber numeric locale
* FIX tikz - request for polygon with 0 vertices could hang terminal
* FIX lua/tikz - do not attempt to ftruncate output being piped through stdout
* FIX tkcanvas - do not attempt to ftruncate output being piped through stdout
* FIX handle NaN values in input stream to "stats FOO matrix"
* FIX prevent extra read past the end of a datablock holding matrix data
* FIX pm - issues in box and polygon fill, (wide) lines, enhanced text, images
* FIX dropped character in piped input stream if plot window is manually closed
* FIX extraneous dots and potential segfault from splot with contour labels
* FIX boxplots - color sequence correctly starts with specified linetype
* FIX incomplete initialization led to segfault from "gnuplot -c foo.gp baz"
* FIX Allow "pm3d depthorder base" to handle 3D boxes with logscale z
- Correct relative offsets of the hunks of the patches
* gnuplot-4.4.0-x11ovf.dif
* gnuplot-4.6.0-fonts.diff
* gnuplot-4.6.0.dif
-------------------------------------------------------------------
Thu Jan 3 07:30:48 UTC 2019 - Dr. Werner Fink <werner@suse.de>

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -78,7 +78,7 @@ BuildRequires: wxWidgets-devel
BuildRequires: wxWidgets-devel >= 3
%endif
Url: http://www.gnuplot.info/
Version: 5.2.6
Version: 5.2.7
Release: 0
Summary: Function Plotting Utility and more
License: SUSE-Gnuplot AND GPL-2.0-or-later