Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnuplot for openSUSE:Factory checked 
in at 2024-01-10 21:50:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnuplot (Old)
 and      /work/SRC/openSUSE:Factory/.gnuplot.new.21961 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnuplot"

Wed Jan 10 21:50:53 2024 rev:94 rq:1137694 version:6.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnuplot/gnuplot-doc.changes      2023-10-24 
20:06:51.605258785 +0200
+++ /work/SRC/openSUSE:Factory/.gnuplot.new.21961/gnuplot-doc.changes   
2024-01-10 21:51:01.085398812 +0100
@@ -1,0 +2,54 @@
+Tue Jan  9 09:24:03 UTC 2024 - Dr. Werner Fink <wer...@suse.de>
+
+- Add missing doc/webp_figures.gnu fronm upstream git repo
+
+-------------------------------------------------------------------
+Tue Jan  9 08:36:10 UTC 2024 - Dr. Werner Fink <wer...@suse.de>
+
+- Update to gnuplot 6.0.0
+  * Japanese documentation updated
+    (missing file title-ja.tex, build dependencies for mingw)
+  * Support building against Qt6
+    (./configure falls back to Qt5 if the Qt6 libraries are not found)
+  * New configure option --enable-stable-sort
+    1) Use mergesort rather than qsort if the system provides it.
+    2) If neither mergesort nor glibc stable qsort is available,
+       modify internal gnuplot structures to contain a secondary sort key
+  * Render color gradient in colorbox as a pixel array (cairo, qt terminals)
+  * "reset session" restores initial state of all linetype properties
+  * postscript terminal now handles pixmaps (Bug #2644)
+  * New plot style "with contourfill" handles 2D and 3D contour plots with
+    discrete z-ranges indicated by solid fill colors.
+
+  * FIX do not clobber a datablock if its name is encountered unexpectedly
+  * FIX cairo terminals:  ignore zero-size polygons
+  * FIX svg terminal now correctly tracks pattern-fill color
+  * FIX integer overflow/wraparound when polygon is clipped to plot border
+  * FIX do not mangle variable point properties in polar mode Bug #2650
+
+  * partial support for replotting and mousing multiplots (finally!)
+  * fixes build error for postscript terminal when libgd and cairo are not 
present
+  * strip trailing CR from function blocks read from a dos file   Bug #2653
+  * use 64-bit integers for iteration
+  * "unset pointintervalbox" disables the box rather than setting it to 
default size
+  * keyentry '...' can be used to place a secondary title in the key
+  * fix use of stacked histograms with variable number of data columns
+  - Replotting and mousing multiplots
+    o now working much more comprehensively
+    o revert "set mouse multiplot" as a separate command; it's now always in 
effect
+  - "plot with polygons" now guarantees that the border of each polygon is a 
closed curve
+  - pdf output from the cairo terminals now conforms to %PDF-1.5
+- Refreshed patches
+  * gnuplot-4.4.0-x11ovf.dif
+  * gnuplot-4.6.0-demo.diff
+  * gnuplot-4.6.0-fonts.diff
+  * gnuplot-4.6.0.dif
+  * gnuplot-PIE.patch
+  * gnuplot-QtCore-PIC.dif
+  * gnuplot-wx3.diff
+- Removed patch gnuplot-gd.patch
+- Enable almost all terminals
+- Enable Complex Airy and Bessel functions
+- Enable Support for polar gridded surfaces
+
+-------------------------------------------------------------------
gnuplot.changes: same change

Old:
----
  Gnuplot_5_4.pdf
  gnuplot-5.4.10.tar.gz
  gnuplot-gd.patch

New:
----
  Gnuplot6.pdf
  gnuplot-6.0.0.tar.gz
  webp_figures.gnu

BETA DEBUG BEGIN:
  Old:/work/SRC/openSUSE:Factory/.gnuplot.new.21961/gnuplot-doc.changes-  * 
gnuplot-wx3.diff
/work/SRC/openSUSE:Factory/.gnuplot.new.21961/gnuplot-doc.changes:- Removed 
patch gnuplot-gd.patch
/work/SRC/openSUSE:Factory/.gnuplot.new.21961/gnuplot-doc.changes-- Enable 
almost all terminals
--
/work/SRC/openSUSE:Factory/.gnuplot.new.21961/gnuplot.changes-  * 
gnuplot-wx3.diff
/work/SRC/openSUSE:Factory/.gnuplot.new.21961/gnuplot.changes:- Removed patch 
gnuplot-gd.patch
/work/SRC/openSUSE:Factory/.gnuplot.new.21961/gnuplot.changes-- Enable almost 
all terminals
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnuplot.spec ++++++
--- /var/tmp/diff_new_pack.N1kGRD/_old  2024-01-10 21:51:02.789460694 +0100
+++ /var/tmp/diff_new_pack.N1kGRD/_new  2024-01-10 21:51:02.789460694 +0100
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,7 +28,6 @@
 %global psuffix -%{flavor}
 %endif
 
-%bcond_without  h3d_gridbox
 Name:           gnuplot%{?psuffix}
 BuildRequires:  ImageMagick
 BuildRequires:  automake
@@ -39,6 +38,7 @@
 BuildRequires:  libqt5-linguist-devel
 BuildRequires:  lua-devel
 BuildRequires:  netpbm
+BuildRequires:  openspecfun-devel
 BuildRequires:  pango-devel
 BuildRequires:  plotutils-devel
 BuildRequires:  readline-devel
@@ -64,7 +64,9 @@
 BuildRequires:  texlive-epstopdf
 BuildRequires:  texlive-latex
 BuildRequires:  texlive-latexconfig
+BuildRequires:  texlive-makeindex
 BuildRequires:  texlive-pdftex
+BuildRequires:  texlive-tex
 BuildRequires:  texlive-tex4ht
 BuildRequires:  texlive-texinfo
 BuildRequires:  texlive-ucs
@@ -72,15 +74,18 @@
 BuildRequires:  tex(fancyhdr.sty)
 BuildRequires:  tex(gttn1000.tfm)
 BuildRequires:  tex(hyperref.sty)
+BuildRequires:  tex(imakeidx.sty)
 BuildRequires:  tex(lgrcmr.fd)
+BuildRequires:  tex(nicefrac.sty)
 BuildRequires:  tex(pdftex.def)
 BuildRequires:  tex(subfigure.sty)
 BuildRequires:  tex(textgreek.sty)
+BuildRequires:  tex(upquote.sty)
 %endif
 URL:            https://www.gnuplot.info/
-Version:        5.4.10
+Version:        6.0.0
 Release:        0
-%global         underscore 5_4
+%global         underscore 6
 %if "%{flavor}" == ""
 Summary:        Function Plotting Utility and more
 License:        GPL-2.0-or-later AND SUSE-Gnuplot
@@ -91,9 +96,10 @@
 Group:          Documentation/Other
 %endif
 Source0:        
https://downloads.sourceforge.net/project/gnuplot/gnuplot/%{version}/gnuplot-%{version}.tar.gz
-Source1:        
https://downloads.sourceforge.net/project/gnuplot/gnuplot/%{version}/Gnuplot_%{underscore}.pdf
+Source1:        
https://downloads.sourceforge.net/project/gnuplot/gnuplot/%{version}/Gnuplot%{underscore}.pdf
 Source2:        gnuplot-fr.doc.bz2
 Source3:        README.whynot
+Source4:        webp_figures.gnu
 # https://mirrors.ctan.org/macros/latex209/contrib/picins/picins.sty
 # That's a build requirement, not provided by Tex Live
 Source5:        picins.sty
@@ -105,11 +111,10 @@
 Patch4:         gnuplot-4.6.0-demo.diff
 Patch5:         gnuplot-wx3.diff
 Patch6:         gnuplot-QtCore-PIC.dif
-Patch7:         gnuplot-gd.patch
-Patch8:         gnuplot-PIE.patch
+Patch7:         gnuplot-PIE.patch
 %define _x11lib     %{_libdir}
 %define _x11data    %{_datadir}/X11
-%define _libx11     %{_exec_prefix}/lib/X11
+%define _x11inc     %{_includedir}/X11
 %define _appdef     %{_x11data}/app-defaults
 %define _gnplttex   tex/latex/gnuplot
 %if "%{flavor}" == "doc"
@@ -134,14 +139,13 @@
 bunzip2 -dc %{_sourcedir}/gnuplot-fr.doc.bz2 > docs/gnuplot-fr.doc
 test $? -eq 0 || exit 1
 cp %{_sourcedir}/picins.sty docs
-%patch2 -p0 -b .font
-%patch4 -p0 -b .demo
-%patch0 -p1 -b .0
-%patch1 -p0 -b .x11ovf
-%patch5 -p1 -b .w3x
-%patch6 -p0 -b .pic
-%patch7 -p1 -b .gd
-%patch8 -p1 -b .pie
+%patch -P2 -p0 -b .font
+%patch -P4 -p0 -b .demo
+%patch -P0 -p1 -b .0
+%patch -P1 -p0 -b .x11ovf
+%patch -P5 -p1 -b .w3x
+%patch -P6 -p0 -b .pic
+%patch -P7 -p1 -b .pie
 
 %build
 autoreconf -fi
@@ -160,8 +164,16 @@
 %endif
 %endif
 
+%if "%{flavor}" == ""
+    mkdir bin
+    ln -sf /bin/true bin/dvips
+    ln -sf /bin/true bin/emacs
+    ln -sf /bin/true bin/kpsewhich
+    ln -sf /bin/true bin/texhash
+    PATH=${PATH}:${PWD}/bin
+%endif
+
     %configure \
-       --enable-stats          \
        --with-x                \
        --x-includes=%{_x11inc} \
        --x-libraries=%{_x11lib}\
@@ -179,17 +191,19 @@
        --with-gpic             \
        --with-mif              \
        --enable-x11-mbfonts    \
-%if ! %{with h3d_gridbox}
-       --enable-h3d-quadtree   \
-       --disable-h3d-gridbox   \
-%else
-       --disable-h3d-quadtree  \
-       --enable-h3d-gridbox    \
-%endif
-       --enable-backwards-compatibility\
-       --with-gd=%{_usr}               \
-       --without-row-help      \
+       --enable-stats          \
+       --enable-stable-sort    \
+       --enable-polar-grid     \
+       --enable-watchpoints    \
+       --enable-function-blocks \
+       --enable-backward-compatibility \
+       --with-gd=yes           \
        --with-caca             \
+       --with-tgif             \
+       --with-metafont         \
+       --with-metapost         \
+       --with-regis            \
+        --with-amos=%{_libdir}  \
        --with-qt=qt5
 
 %if "%{flavor}" == ""
@@ -199,9 +213,10 @@
 %if "%{flavor}" == "doc"
   mv src/Makefile{,_INACESSIBLE}
   pushd docs/
-       mkdir -p htmldocs
-       cp toc_entr.sty htmldocs/
-       make GNUPLOT_EXE=%{_bindir}/gnuplot srcdir=. clean html pdf
+       cp -p %{S:4} webp_figures.gnu
+       make GNUPLOT_EXE=%{_bindir}/gnuplot srcdir=. clean
+       make GNUPLOT_EXE=%{_bindir}/gnuplot srcdir=. allterm.h allterm-ja.h
+       make GNUPLOT_EXE=%{_bindir}/gnuplot srcdir=. html pdf
        make srcdir=. gnuplot.texi
        patch -p0 < %{S:6}
        make srcdir=. info
@@ -223,7 +238,7 @@
 %if "%{flavor}" == ""
     make DESTDIR=%{buildroot} appdefaultdir=%{_appdef} install
     mkdir -p %{buildroot}/%{_mandir}/ja/man1
-    install -m 0644 man/gnuplot-ja_JP.UTF-8 
%{buildroot}/%{_mandir}/ja/man1/gnuplot.1
+    install -m 0644 man/ja/man1/gnuplot.1 
%{buildroot}/%{_mandir}/ja/man1/gnuplot.1
 %endif
 
 %if "%{flavor}" == "doc"
@@ -241,7 +256,7 @@
     rm  -vf tutorial/eg7.pdf
     rm -rvf demo/html
     install -m 0444 docs/*.info*      %{buildroot}/%{_infodir}/
-    install -m 0444 docs/htmldocs/*   %{buildroot}/%{_docdir}/gnuplot/doc/html
+    install -m 0444 docs/html/*       %{buildroot}/%{_docdir}/gnuplot/doc/html
     install -m 0444 docs/psdoc/*.pdf  %{buildroot}/%{_docdir}/gnuplot/doc/
     install -m 0444 docs/psdoc/*.ps   %{buildroot}/%{_docdir}/gnuplot/doc/
     install -m 0444 docs/psdoc/*.gpi  %{buildroot}/%{_docdir}/gnuplot/doc/

++++++ Gnuplot_5_4.pdf -> Gnuplot6.pdf ++++++
(binary differes)

++++++ gnuplot-4.4.0-x11ovf.dif ++++++
--- /var/tmp/diff_new_pack.N1kGRD/_old  2024-01-10 21:51:02.841462582 +0100
+++ /var/tmp/diff_new_pack.N1kGRD/_new  2024-01-10 21:51:02.845462728 +0100
@@ -4,7 +4,7 @@
 
 --- src/gplt_x11.c
 +++ src/gplt_x11.c     2020-07-17 07:29:52.061621215 +0000
-@@ -954,6 +954,8 @@ mainloop()
+@@ -955,6 +955,8 @@ mainloop()
      nfds = cn + 1;
  
      while (1) {
@@ -13,7 +13,7 @@
        XFlush(dpy);            /* see above */
  
        FD_ZERO(&tset);
-@@ -991,7 +993,11 @@ mainloop()
+@@ -992,7 +994,11 @@ mainloop()
                process_event(&xe);
            }
        }
@@ -26,7 +26,7 @@
            unlink(X11_ipcpath);
            record();
            fclose(X11_ipc);
-@@ -1223,8 +1229,8 @@ static int read_input(void);
+@@ -1224,8 +1230,8 @@ static int read_input(void);
  static int
  read_input()
  {

++++++ gnuplot-4.6.0-demo.diff ++++++
--- /var/tmp/diff_new_pack.N1kGRD/_old  2024-01-10 21:51:02.857463163 +0100
+++ /var/tmp/diff_new_pack.N1kGRD/_new  2024-01-10 21:51:02.861463308 +0100
@@ -2,9 +2,9 @@
  demo/fit.dem    |    4 ++++
  demo/poldat.dem |    2 +-
  demo/simple.dem |    3 +--
+ src/loadpath.c  |   21 +++++++++++++++++++++
  src/show.c      |    9 +++++++++
- src/variable.c  |   20 +++++++++++++++++++-
- 5 files changed, 34 insertions(+), 4 deletions(-)
+ 5 files changed, 36 insertions(+), 3 deletions(-)
 
 --- demo/fit.dem
 +++ demo/fit.dem       2020-07-17 07:25:00.022670914 +0000
@@ -69,9 +69,53 @@
  plot [-pi/2:pi] cos(x),-(sin(x) > sin(x+1) ? sin(x) : sin(x+1))
  pause -1 "Hit return to continue"
  
+--- src/loadpath.c
++++ src/loadpath.c     2024-01-08 09:15:14.362384507 +0000
+@@ -31,6 +31,10 @@
+ ]*/
+ 
+ #include <string.h>
++#include <stdio.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++#include <unistd.h>
+ 
+ #include "loadpath.h"
+ #include "alloc.h"
+@@ -72,6 +76,18 @@ init_loadpath()
+     if (!loadpath)
+     {
+       char *envlib = getenv("GNUPLOT_LIB");
++#ifdef GNUPLOT_LIB_DEFAULT
++      char *defenvlib = (char*)0;
++      struct stat st;
++      if ((stat(GNUPLOT_LIB_DEFAULT, &st) == 0) && S_ISDIR(st.st_mode)) {
++              if (envlib) {
++                      if (asprintf(&defenvlib, "%s:%s", envlib, 
GNUPLOT_LIB_DEFAULT) > 0)
++                              envlib = defenvlib;
++              } else
++                      envlib = GNUPLOT_LIB_DEFAULT;
++      }
++#endif /* GNUPLOT_LIB_DEFAULT */
++
+       if (envlib) {
+           int len = strlen(envlib);
+           loadpath = gp_strdup(envlib);
+@@ -81,6 +97,11 @@ init_loadpath()
+           PATHSEP_TO_NUL(loadpath);
+       }
+       /* else: NULL = empty */
++#ifdef GNUPLOT_LIB_DEFAULT
++      if (defenvlib)
++              free(defenvlib);
++#endif /* GNUPLOT_LIB_DEFAULT */
++
+     }
+     /* point to env portion of loadpath */
+     envptr = loadpath;
 --- src/show.c
 +++ src/show.c 2020-07-17 07:25:00.022670914 +0000
-@@ -1077,6 +1077,15 @@ show_version(FILE *fp)
+@@ -1140,6 +1140,15 @@ show_version(FILE *fp)
            p                   /* type "help seeking-assistance" */
            );
  
@@ -87,47 +131,4 @@
  
      /* show version long */
      if (almost_equals(c_token, "l$ong")) {
---- src/variable.c
-+++ src/variable.c     2020-07-17 07:25:00.022670914 +0000
-@@ -33,7 +33,10 @@
- /* The Death of Global Variables - part one. */
- 
- #include <string.h>
--
-+#include <stdio.h>
-+#include <sys/types.h>
-+#include <sys/stat.h>
-+#include <unistd.h>
- #include "variable.h"
- 
- #include "alloc.h"
-@@ -94,6 +97,17 @@ loadpath_handler(int action, char *path)
-       if (!loadpath)
-       {
-           char *envlib = getenv("GNUPLOT_LIB");
-+#ifdef GNUPLOT_LIB_DEFAULT
-+          char *defenvlib = (char*)0;
-+          struct stat st;
-+          if ((stat(GNUPLOT_LIB_DEFAULT, &st) == 0) && S_ISDIR(st.st_mode)) {
-+              if (envlib) {
-+                  if (asprintf(&defenvlib, "%s:%s", envlib, 
GNUPLOT_LIB_DEFAULT) > 0)
-+                      envlib = defenvlib;
-+              } else
-+                  envlib = GNUPLOT_LIB_DEFAULT;
-+          }
-+#endif /* GNUPLOT_LIB_DEFAULT */
-           if (envlib) {
-               int len = strlen(envlib);
-               loadpath = gp_strdup(envlib);
-@@ -102,6 +116,10 @@ loadpath_handler(int action, char *path)
-               /* convert all PATHSEPs to \0 */
-               PATHSEP_TO_NUL(loadpath);
-           }                   /* else: NULL = empty */
-+#ifdef GNUPLOT_LIB_DEFAULT
-+          if (defenvlib)
-+              free(defenvlib);
-+#endif /* GNUPLOT_LIB_DEFAULT */
-       }                       /* else: already initialised; int_warn (?) */
-       /* point to env portion of loadpath */
-       envptr = loadpath;
 

++++++ gnuplot-4.6.0-fonts.diff ++++++
--- /var/tmp/diff_new_pack.N1kGRD/_old  2024-01-10 21:51:02.873463744 +0100
+++ /var/tmp/diff_new_pack.N1kGRD/_new  2024-01-10 21:51:02.877463890 +0100
@@ -37,7 +37,7 @@
  #ifdef EXPORT_SELECTION
  # undef EXPORT_SELECTION
  #endif /* EXPORT SELECTION */
-@@ -521,8 +528,8 @@ static char *gpFallbackFont(void);
+@@ -522,8 +529,8 @@ static char *gpFallbackFont(void);
  static int gpXGetFontascent(XFontStruct *cfont);
  
  enum set_encoding_id encoding = S_ENC_DEFAULT; /* EAM - mirrored from core 
code by 'QE' */
@@ -48,7 +48,7 @@
  
  #define Nwidths 10
  static unsigned int widths[Nwidths] = { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
-@@ -2289,6 +2296,8 @@ exec_cmd(plot_struct *plot, char *comman
+@@ -2294,6 +2301,8 @@ exec_cmd(plot_struct *plot, char *comman
                /* Save the request default font */
                c = &(buffer[strlen(buffer)-1]);
                while (*c <= ' ') *c-- = '\0';
@@ -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;
-@@ -5744,7 +5753,7 @@ XFontStruct *gpXLoadQueryFont (Display *
+@@ -5820,7 +5829,7 @@ XFontStruct *gpXLoadQueryFont (Display *
            }
  #else
            if (first_time) {
@@ -66,7 +66,7 @@
                first_time = FALSE;
            }
            while (n_miss-- > 0)
-@@ -5896,6 +5905,18 @@ char *fontname;
+@@ -5972,6 +5981,18 @@ char *fontname;
      }
  
  #ifdef USE_X11_MULTIBYTE

++++++ gnuplot-4.6.0.dif ++++++
--- /var/tmp/diff_new_pack.N1kGRD/_old  2024-01-10 21:51:02.889464326 +0100
+++ /var/tmp/diff_new_pack.N1kGRD/_new  2024-01-10 21:51:02.889464326 +0100
@@ -1,14 +1,26 @@
 ---
- gnuplot-5.4.0/docs/Makefile.am |   12 ++++++++----
- gnuplot-5.4.0/src/gadgets.h    |    2 +-
- gnuplot-5.4.0/src/gplt_x11.c   |    9 ++++++---
- gnuplot-5.4.0/src/plot.c       |   22 +++++++++++++++++++++-
- gnuplot-5.4.0/src/term.h       |    6 +++---
- 5 files changed, 39 insertions(+), 12 deletions(-)
+ gnuplot-6.0.0/configure.ac     |    2 +-
+ gnuplot-6.0.0/docs/Makefile.am |   12 ++++++++----
+ gnuplot-6.0.0/src/gadgets.h    |    2 +-
+ gnuplot-6.0.0/src/gplt_x11.c   |    9 ++++++---
+ gnuplot-6.0.0/src/plot.c       |   16 ++++++++++++++++
+ gnuplot-6.0.0/src/term.h       |    6 +++---
+ 6 files changed, 35 insertions(+), 12 deletions(-)
 
---- gnuplot-5.4.0/docs/Makefile.am
-+++ gnuplot-5.4.0/docs/Makefile.am     2020-07-17 07:25:36.834034450 +0000
-@@ -42,7 +42,7 @@
+--- gnuplot-6.0.0/configure.ac
++++ gnuplot-6.0.0/configure.ac 2024-01-09 08:20:41.748328467 +0000
+@@ -383,7 +383,7 @@ if test "$with_readline" != no; then
+     dnl check for terminal library
+     dnl this is a very cool solution from octave's configure.in
+     gp_tcap=""
+-    for termlib in ncurses curses termcap terminfo termlib; do
++    for termlib in tinfo ncurses curses termcap terminfo termlib; do
+       AC_CHECK_LIB(${termlib}, tputs, [gp_tcap="$gp_tcap -l$termlib"])
+       case "$gp_tcap" in
+         *-l${termlib}*)
+--- gnuplot-6.0.0/docs/Makefile.am
++++ gnuplot-6.0.0/docs/Makefile.am     2024-01-08 10:32:22.372964142 +0000
+@@ -29,7 +29,7 @@
  #
  
  # default is what is needed for interactive gnuplot
@@ -16,17 +28,17 @@
 +gih_DATA = gnuplot.gih gnuplot-fr.gih
  gihdir = @GIHDIR@
  
- noinst_PROGRAMS = checkdoc doc2ipf doc2tex doc2gih doc2rnh doc2hlp    \
-@@ -101,7 +101,7 @@ gnuplot-groff.ps gnuplot.tmp VERSION gnu
- gnuplot.idv gnuplot.xref gnuplot.lg gnuplot.pdf wxhelp_figures                
\
- wxhelp/*.html wxhelp/wgnuplot.hhc wxhelp/wgnuplot.hhk                 \
+ noinst_PROGRAMS = checkdoc doc2ipf doc2tex doc2gih doc2hlp \
+@@ -111,7 +111,7 @@ wxhelp_figures wxhelp/*.html wxhelp/wgnu
  wxhelp/wgnuplot.htc wxhelp/doc2html$(EXEEXT) windows/wgnuplot.htk     \
+ svg_figures html/*.html html/*.svg html/*.hhc html/*.hhk                \
+ webp_figures html/*.webp html/figure_mask.png                           \
 -windows/*.png gnuplot.htb gnuplot.texi gnuplot-eldoc.el $(ELCS)
 +windows/*.png gnuplot.htb gnuplot.texi gnuplot-eldoc.el $(ELCS) gnuplot-fr.gih
  
  DISTFILES = $(DIST_COMMON) $(SOURCES) $(DOCHEADERS) $(EXTRA_DIST)
  
-@@ -262,17 +262,21 @@ gnuplot.hlp: doc2hlp$(EXEEXT) $(srcdir)/
+@@ -271,17 +271,21 @@ gnuplot.hlp: doc2hlp$(EXEEXT) $(srcdir)/
  doc2hlp_SOURCES = doc2hlp.c termdoc.c
  
  ### gnuplot interactive help format
@@ -50,9 +62,9 @@
  
  alldoc2gih_SOURCES = doc2gih.c termdoc.c
  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
-@@ -522,7 +522,7 @@ extern TBOOLEAN    clip_lines2;
+--- gnuplot-6.0.0/src/gadgets.h
++++ gnuplot-6.0.0/src/gadgets.h        2024-01-08 09:16:58.124450437 +0000
+@@ -524,7 +524,7 @@ extern TBOOLEAN    clip_lines2;
  extern TBOOLEAN       clip_points;
  extern TBOOLEAN       clip_radial;
  
@@ -61,9 +73,9 @@
  extern int samples_1;
  extern int samples_2;
  
---- gnuplot-5.4.0/src/gplt_x11.c
-+++ gnuplot-5.4.0/src/gplt_x11.c       2020-07-17 07:25:36.834034450 +0000
-@@ -2513,9 +2513,12 @@ exec_cmd(plot_struct *plot, char *comman
+--- gnuplot-6.0.0/src/gplt_x11.c
++++ gnuplot-6.0.0/src/gplt_x11.c       2024-01-08 09:16:58.124450437 +0000
+@@ -2518,9 +2518,12 @@ exec_cmd(plot_struct *plot, char *comman
        }
      }
      /*   X11_justify_text(mode) - set text justification mode  */
@@ -79,49 +91,9 @@
      else if (*buffer == 'A')
        sscanf(buffer + 1, "%lf", &plot->angle);
  
---- gnuplot-5.4.0/src/plot.c
-+++ gnuplot-5.4.0/src/plot.c   2020-07-17 07:28:52.762646614 +0000
-@@ -206,6 +206,7 @@ static int asked_privi = 0;
- void
- drop_privilege()
- {
-+#ifndef SVGA_IS_SECURE
-     if (!asked_privi) {
-       euid = geteuid();
-       egid = getegid();
-@@ -219,11 +220,13 @@ drop_privilege()
-     if (seteuid(ruid) == -1)
-       (void) fprintf(stderr, "seteuid(%d): %s\n",
-                      (int) ruid, strerror(errno));
-+#endif
- }
- 
- void
- take_privilege()
- {
-+#ifndef SVGA_IS_SECURE
-     if (!asked_privi) {
-       euid = geteuid();
-       egid = getegid();
-@@ -237,6 +240,7 @@ take_privilege()
-     if (seteuid(euid) == -1)
-       (void) fprintf(stderr, "seteuid(%d): %s\n",
-                      (int) euid, strerror(errno));
-+#endif
- }
- 
- #endif /* LINUXVGA */
-@@ -272,8 +276,8 @@ main(int argc_orig, char **argv)
-     argc = argc_orig;
- 
- #ifdef LINUXVGA
--    LINUX_setup();            /* setup VGA before dropping privilege DBT 
4/5/99 */
-     drop_privilege();
-+    LINUX_setup();            /* setup VGA before dropping privilege DBT 
4/5/99 */
- #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 */
-@@ -346,6 +350,22 @@ main(int argc_orig, char **argv)
+--- gnuplot-6.0.0/src/plot.c
++++ gnuplot-6.0.0/src/plot.c   2024-01-08 09:16:58.124450437 +0000
+@@ -296,6 +296,22 @@ main(int argc_orig, char **argv)
      rl_getc_function = getc_wrapper;
  #endif
  
@@ -144,9 +116,9 @@
  #if defined(HAVE_LIBREADLINE) || defined(HAVE_LIBEDITLINE)
      /* T.Walter 1999-06-24: 'rl_readline_name' must be this fix name.
       * It is used to parse a 'gnuplot' specific section in '~/.inputrc'
---- gnuplot-5.4.0/src/term.h
-+++ gnuplot-5.4.0/src/term.h   2020-07-17 07:25:36.838034380 +0000
-@@ -242,9 +242,9 @@
+--- gnuplot-6.0.0/src/term.h
++++ gnuplot-6.0.0/src/term.h   2024-01-08 09:16:58.124450437 +0000
+@@ -233,9 +233,9 @@
  #include "emf.trm"
  
  /* Roland DXY800A plotter */
@@ -158,7 +130,7 @@
  
  /* fig graphics */
  #include "fig.trm"
-@@ -277,7 +277,7 @@
+@@ -268,7 +268,7 @@
  /* #include "imagen.trm" */
  
  /* Kyocera Prescribe printer */

++++++ gnuplot-5.2.0-texi2info.patch ++++++
--- /var/tmp/diff_new_pack.N1kGRD/_old  2024-01-10 21:51:02.905464906 +0100
+++ /var/tmp/diff_new_pack.N1kGRD/_new  2024-01-10 21:51:02.909465052 +0100
@@ -1,6 +1,6 @@
 --- gnuplot.texi
-+++ gnuplot.texi       2020-07-17 09:17:43.019856719 +0000
-@@ -11599,8 +11599,7 @@ but
++++ gnuplot.texi       2024-01-09 09:29:57.128897341 +0000
+@@ -13570,8 +13570,7 @@ but
  @end example
  
  See also
@@ -10,12 +10,14 @@
  
  @node arrow, autoscale, angles, set-show
  @subsection arrow
-@@ -23249,13 +23248,10 @@ Syntax:
+@@ -26079,15 +26078,12 @@ Syntax:
                          @{[no]enhanced@}
  @end example
  
 -@end itemizeif
  @example
+                         @{fillchar @{solid|"<char>"@}@}
+                         @{[no]attributes@}
                          @{mono|ansi|ansi256|ansirgb@}
  @end example
  
@@ -24,15 +26,16 @@
  where <xchars> and <ychars> set the size of the text block. The default is
  79 by 24. The last newline is printed only if `feed` is enabled.
  
-@@ -23293,7 +23289,6 @@ See also e.g. the description at
+@@ -26129,8 +26125,6 @@ See also e.g. the description at
  
@uref{https://en.wikipedia.org/wiki/ANSI_escape_code#Colors,https://en.wikipedia.org/wiki/ANSI_escape_code#Colors
  }
  
 -@end itemizeif
- Example:
+-
+ The `attributes` option enables bold and italic text on terminals or
+ emulators that support the escape sequences
  @example
-       set term dumb mono size 60,15 aspect 1
-@@ -23667,8 +23662,6 @@ Preferred combinations are `medium norma
+@@ -26475,8 +26469,6 @@ Preferred combinations are `medium norma
  
  With each of these drivers, a binary copy is required on a PC to print.
  Do not use `print`---use instead `copy file /b lpt1:`.
@@ -41,7 +44,7 @@
  
  @node excl, fig, epson_180dpi, complete_list_of_terminals
  @subsection excl
-@@ -24370,8 +24363,6 @@ the environmental variable GNUPLOT_LUA_D
+@@ -27170,8 +27162,6 @@ the environmental variable GNUPLOT_LUA_D
  All arguments will be provided to the selected script for further
  evaluation. E.g. 'set term lua tikz help' will cause the script itself
  to print additional help on options and choices for the script.
@@ -50,7 +53,7 @@
  
  @node mf, mp, lua, complete_list_of_terminals
  @subsection mf
-@@ -25124,7 +25115,6 @@ terminals.  It has no options."
+@@ -27932,7 +27922,6 @@ terminals.  It has no options."
  @c ?term km-tek40xx
  @cindex km-tek40xx
  
@@ -58,7 +61,7 @@
  @c ?commands set terminal selanar
  @c ?set terminal selanar
  @c ?set term selanar
-@@ -25132,7 +25122,6 @@ terminals.  It has no options."
+@@ -27940,7 +27929,6 @@ terminals.  It has no options."
  @c ?term selanar
  @cindex selanar
  
@@ -66,15 +69,15 @@
  @c ?commands set terminal sixeltek
  @c ?set terminal sixeltek
  @c ?set term sixeltek
-@@ -25156,7 +25145,6 @@ limits plots to 16 simultaneous colors,
+@@ -27972,7 +27960,6 @@ For use with xterm, xterm must be compil
  
- Note that gnuplot also supports another sixel output terminal, sixelgd,
+ Note that gnuplot also supports another sixel output terminal, `sixelgd`,
  that offers more options and features."
 -@end itemizeif
  @c ?commands set terminal bitgraph
  @c ?set terminal bitgraph
  @c ?set term bitgraph
-@@ -25164,7 +25152,6 @@ that offers more options and features."
+@@ -27980,7 +27967,6 @@ that offers more options and features."
  @c ?term bitgraph
  @cindex bitgraph
  
@@ -82,7 +85,7 @@
  This family of terminal drivers supports a variety of VT-like terminals.
  `tek40xx` supports Tektronix 4010 and others as well as most TEK emulators.
  `vttek` supports VT-like tek40xx terminal emulators.
-@@ -25718,7 +25705,6 @@ anti-aliasing, oversampling and full tra
+@@ -28517,7 +28503,6 @@ anti-aliasing, oversampling and full tra
  deprecated.
  The `GDI backend` which uses the classic GDI API is deprecated and has been
  disabled in this version.
@@ -90,7 +93,7 @@
  
  `GDI+ backend` draws to the screen using the GDI+ Windows API. It supports
  full antialiasing, oversampling, transparency and custom dash patterns.
-@@ -25748,7 +25734,6 @@ of an additional redraw after releasing
+@@ -28547,7 +28532,6 @@ of an additional redraw after releasing
  
  `Line Styles...` allows customization of the line colors and styles.
  
@@ -98,7 +101,7 @@
  `Update wgnuplot.ini` saves the current window locations, window sizes, text
  window font, text window font size, graph window font, graph window font
  size, background color to the initialization file `wgnuplot.ini`.
-@@ -25914,8 +25899,6 @@ This file is located in the user's appli
+@@ -28713,8 +28697,6 @@ This file is located in the user's appli
        Line5=0 0 128 0 4
  @end example
  
@@ -107,7 +110,7 @@
  @c ^ <h3>Text window options</h3> 
  
  These settings apply to the wgnuplot text-window only."
-@@ -25952,7 +25935,6 @@ solid line in color mode, or a dashed li
+@@ -28751,7 +28733,6 @@ solid line in color mode, or a dashed li
  line width is 1 pixel.  If `Linestyle` is negative, it specifies the width of
  a SOLID line in pixels.  Line1 and any linestyle used with the `points` style
  must be SOLID with unit width.
@@ -115,7 +118,7 @@
  
  See `graph-menu`."
  
-@@ -26338,13 +26320,10 @@ later by `set term x11 [no]raise [no]per
+@@ -29137,13 +29118,10 @@ later by `set term x11 [no]raise [no]per
   `-ctrlq   ` closes window on ctrl-q rather than q
  @end example
  

++++++ gnuplot-5.4.10.tar.gz -> gnuplot-6.0.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/gnuplot/gnuplot-5.4.10.tar.gz 
/work/SRC/openSUSE:Factory/.gnuplot.new.21961/gnuplot-6.0.0.tar.gz differ: char 
13, line 1

++++++ gnuplot-PIE.patch ++++++
--- /var/tmp/diff_new_pack.N1kGRD/_old  2024-01-10 21:51:02.933465923 +0100
+++ /var/tmp/diff_new_pack.N1kGRD/_new  2024-01-10 21:51:02.937466069 +0100
@@ -1,16 +1,20 @@
 Index: gnuplot-5.4.1/src/Makefile.am
 ===================================================================
---- gnuplot-5.4.1.orig/src/Makefile.am
-+++ gnuplot-5.4.1/src/Makefile.am
-@@ -61,6 +61,7 @@ util3d.c util3d.h variable.c variable.h
- voxelgrid.c voxelgrid.h vplot.c vplot.h marching_cubes.h xdg.c xdg.h
+---
+ gnuplot-6.0.0/src/Makefile.am |    5 +++++
+ 1 file changed, 5 insertions(+)
+
+--- gnuplot-6.0.0/src/Makefile.am
++++ gnuplot-6.0.0/src/Makefile.am      2024-01-08 15:22:45.413763257 +0000
+@@ -67,6 +67,7 @@ voxelgrid.c voxelgrid.h vplot.c vplot.h
+ watch.c watch.h xdg.c xdg.h
  
- gnuplot_LDADD = $(GD_LIBS) $(TERMLIBS) $(TERMXLIBS) $(WX_LIBS) $(QT_LIBS)
+ gnuplot_LDADD = $(TERMLIBS) $(TERMXLIBS) $(WX_LIBS) $(QT_LIBS)
 +gnuplot_LDFLAGS = -pie
  
  pkglibexec_PROGRAMS = 
  
-@@ -69,6 +70,7 @@ pkglibexec_PROGRAMS += gnuplot_x11
+@@ -75,6 +76,7 @@ pkglibexec_PROGRAMS += gnuplot_x11
  gnuplot_x11_SOURCES = gplt_x11.c gplt_x11.h gpexecute.c gpexecute.h 
mousecmn.h version.c version.h
  XLIBS = @LIBRARIES_FOR_X@
  gnuplot_x11_LDADD = getcolor_x11.o $(XLIBS)
@@ -18,12 +22,28 @@
  endif
  
  getcolor_x11.o: getcolor.c
-@@ -185,6 +187,7 @@ qtterminal/QtGnuplotApplication.cpp qtte
+@@ -102,6 +104,7 @@ $(EXTRA_gnuplot_SOURCES)
+ if BUILD_WXWIDGETS
+ gnuplot_SOURCES += wxterminal/wxt_gui.cpp
+ gnuplot_LDADD += -lX11
++gnuplot_LDFLAGS += -pie
+ endif
+ 
+ if BUILD_GPCAIRO
+@@ -189,6 +192,7 @@ qtterminal/QtGnuplotApplication.cpp qtte
  qtterminal/QtGnuplotScene.cpp qtterminal/QtGnuplotItems.cpp \
  qtterminal/QtGnuplotEvent.cpp
  gnuplot_qt_LDADD = $(QT_LIBS)
 +gnuplot_qt_LDFLAGS = -pie
  
- # embed example (uncomment to build it)
- # 
+ #
+ # embedded Qt widget example program
+@@ -204,6 +208,7 @@ qt_embed_example_SOURCES = qtterminal/qt
+        qtterminal/QtGnuplotScene.cpp qtterminal/QtGnuplotItems.cpp \
+        qtterminal/QtGnuplotInstance.cpp
+ qt_embed_example_LDADD = $(QT_LIBS)
++qt_embed_example_LDFLAGS = -pie
+ 
+ endif # build_qt
+ 
 

++++++ gnuplot-QtCore-PIC.dif ++++++
--- /var/tmp/diff_new_pack.N1kGRD/_old  2024-01-10 21:51:02.949466505 +0100
+++ /var/tmp/diff_new_pack.N1kGRD/_new  2024-01-10 21:51:02.949466505 +0100
@@ -6,7 +6,7 @@
 
 --- src/Makefile.am
 +++ src/Makefile.am    2017-09-27 10:07:07.767840550 +0000
-@@ -168,6 +168,9 @@ clean-local: clean-qt-extra clean-demo
+@@ -172,6 +172,9 @@ clean-local: clean-qt-extra clean-demo
  
  gnuplot_SOURCES += qtterminal/qt_term.cpp
  


++++++ gnuplot-wx3.diff ++++++
--- /var/tmp/diff_new_pack.N1kGRD/_old  2024-01-10 21:51:02.969467231 +0100
+++ /var/tmp/diff_new_pack.N1kGRD/_new  2024-01-10 21:51:02.973467376 +0100
@@ -10,7 +10,7 @@
 
 --- gnuplot-5.2.0/src/Makefile.am
 +++ gnuplot-5.2.0/src/Makefile.am      2017-09-27 10:06:44.716255786 +0000
-@@ -95,6 +95,7 @@ $(EXTRA_gnuplot_SOURCES)
+@@ -101,6 +101,7 @@ $(EXTRA_gnuplot_SOURCES)
  
  if BUILD_WXWIDGETS
  gnuplot_SOURCES += wxterminal/wxt_gui.cpp

++++++ webp_figures.gnu ++++++
#
# generate animations for inclusion with HTML help documents
#
set term webp animate delay 50 size 300,300
set output './html/figure_spinning_d20.webp'

unset border; unset tics; unset key; set view equal xyz
set margins 0,0,0,0
set pm3d border linecolor "black"
do for [ang=1:360:2] {
    set view 60, ang, 1.7
    splot 'icosahedron.dat' with polygons fc "gold"
}
unset output

# This figure is already in the repository as a static illustration
#
# set term pngcairo size 300,300
# set output './html/figure_static_d20.png'
# replot
# unset output

reset

#
# Convex hull used to mask a pm3d surface
# (webp because the svg version is 10x larger)
#
set term webp font "Calisto MT,12" noanimate size 600,400
set output './html/figure_mask.webp'

set view map
set palette rgb 33,13,10
set xrange [-30:25]
set yrange [-30:25]

set dgrid3d 100,100 gauss 5
set pm3d explicit

unset key
unset tics
unset colorbox
unset border

set table $HULL
plot 'mask_pm3d.dat' using 1:2 convexhull with lines title "Convex hull"
unset table

set multiplot layout 1,2 spacing 0.0 margins 0.05,0.95,0.0,0.85
set title "Cluster of points\n defining the mask region"
splot  'mask_pm3d.dat' using 1:2:3 with pm3d, \
       'mask_pm3d.dat' using 1:2:(0) nogrid with points pt 7 ps .5 lc "black"

set pm3d interp 3,3
set title "pm3d surface masked by\nconvex hull of the cluster"
splot  $HULL using 1:2:(0) with mask, \
       'mask_pm3d.dat' using 1:2:3 mask with pm3d

unset multiplot

# same thing as a png image for fallback if browser does not support webp
set term png font "Calisto MT,12" size 600,400
set output './html/figure_mask.png'
set multiplot layout 1,2 spacing 0.0 margins 0.05,0.95,0.0,0.85
set title "Cluster of points\n defining the mask region"
splot  'mask_pm3d.dat' using 1:2:3 with pm3d, \
       'mask_pm3d.dat' using 1:2:(0) nogrid with points pt 7 ps .5 lc "black"
set pm3d interp 3,3
set title "pm3d surface masked by\nconvex hull of the cluster"
splot  $HULL using 1:2:(0) with mask, \
       'mask_pm3d.dat' using 1:2:3 mask with pm3d
unset multiplot

reset

Reply via email to