From 7d169010641106d20536b594668f5db884ebe1adcfdf8461f37f722e831bef0a Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 20 May 2010 10:52:17 +0000 Subject: [PATCH 1/7] . OBS-URL: https://build.opensuse.org/package/show/Publishing/gnuplot?expand=0&rev=11 --- gnuplot-4.4.0-demo.dif | 8 ++++---- gnuplot.changes | 10 ++++++++++ gnuplot.spec | 2 +- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/gnuplot-4.4.0-demo.dif b/gnuplot-4.4.0-demo.dif index 69c3fc1..0b67270 100644 --- a/gnuplot-4.4.0-demo.dif +++ b/gnuplot-4.4.0-demo.dif @@ -224,8 +224,8 @@ reset --- src/show.c -+++ src/show.c 2010-05-10 14:04:43.814925577 +0200 -@@ -1054,6 +1054,15 @@ show_version(FILE *fp) ++++ src/show.c 2010-05-19 21:19:16.000000000 +0200 +@@ -1054,6 +1054,15 @@ p /* hit 'h' */ ); @@ -233,8 +233,8 @@ + { + struct stat st; + if ((stat(GNUPLOT_LIB_DEFAULT, &st) == 0) && S_ISDIR(st.st_mode)) { -+ fprintf(fp, "\n%s\tType `load \"all.dem\"` to display a large number of examples.", p); -+ fprintf(fp, "\n%s\tThey are located at %s/*\n\n", p, GNUPLOT_LIB_DEFAULT); ++ fprintf(fp, "%s\n%s\tType `load \"all.dem\"` to display a large number of examples.", p, p); ++ fprintf(fp, "\n%s\tThey are located at %s/*\n%s\n", p, GNUPLOT_LIB_DEFAULT, p); + } + } +#endif diff --git a/gnuplot.changes b/gnuplot.changes index f7a0db1..278859a 100644 --- a/gnuplot.changes +++ b/gnuplot.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed May 19 00:00:00 CEST 2010 - dieter.jurzitza@t-online.de + +- Fix format being written into plt files (add missing #) + +------------------------------------------------------------------- +Thu May 20 12:44:38 CEST 2010 - werner@suse.de + +- Correct macro name in spec file + ------------------------------------------------------------------- Sun May 9 00:00:00 CEST 2010 - dieter.jurzitza@t-online.de diff --git a/gnuplot.spec b/gnuplot.spec index 6af3cb2..ebf8650 100644 --- a/gnuplot.spec +++ b/gnuplot.spec @@ -52,7 +52,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %define _x11lib %{_exec_prefix}/%{_lib} %define _x11data %{_exec_prefix}/lib/X11 %define _libx11 %{_x11data} -%define _x11inc %{_x11_prefix}/include +%define _x11inc %{_exec_prefix}/include %define _appdef %{_x11data}/app-defaults %else %define _x11lib %{_libdir} From 497bd887c10d0f7fd070e1e6484f7729cb777ec5afd9a3b7b987cd42ff9f2006 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 24 May 2010 18:39:26 +0000 Subject: [PATCH 2/7] fix changelog OBS-URL: https://build.opensuse.org/package/show/Publishing/gnuplot?expand=0&rev=12 --- gnuplot.changes | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gnuplot.changes b/gnuplot.changes index 278859a..51e19e5 100644 --- a/gnuplot.changes +++ b/gnuplot.changes @@ -1,13 +1,13 @@ -------------------------------------------------------------------- -Wed May 19 00:00:00 CEST 2010 - dieter.jurzitza@t-online.de - -- Fix format being written into plt files (add missing #) - ------------------------------------------------------------------- Thu May 20 12:44:38 CEST 2010 - werner@suse.de - Correct macro name in spec file +------------------------------------------------------------------- +Wed May 19 00:00:00 CEST 2010 - dieter.jurzitza@t-online.de + +- Fix format being written into plt files (add missing #) + ------------------------------------------------------------------- Sun May 9 00:00:00 CEST 2010 - dieter.jurzitza@t-online.de @@ -200,7 +200,7 @@ Wed May 30 16:12:19 CEST 2007 - werner@suse.de - Correct datadir - The patent of gif is expired ------------------------------------------------------------------- +------------------------------------------------------------------- Fri May 11 16:52:57 CEST 2007 - werner@suse.de - Use setlocale(..,NULL) instead of gentenv() (bug #272915) @@ -513,7 +513,7 @@ Sun Aug 23 10:51:12 MEST 1998 - bs@suse.de - fixed "neededforbuild" ----------------------------------------------------------------------------- +------------------------------------------------------------------- Mon Jul 13 17:32:27 MET DST 1998 - werner@suse.de - New version: 3.5beta6.347 @@ -521,12 +521,12 @@ Mon Jul 13 17:32:27 MET DST 1998 - werner@suse.de * Some enhancements * Some bug fixes ----------------------------------------------------------------------------- +------------------------------------------------------------------- Thu Oct 23 13:59:59 MET DST 1997 - werner@suse.de - New version: 3.5beta6.336 ----------------------------------------------------------------------------- +------------------------------------------------------------------- Mon Feb 3 23:03:09 MET 1997 - werner@suse.de - Update auf Version 3.5-beta-3.6pl319 @@ -534,7 +534,7 @@ Mon Feb 3 23:03:09 MET 1997 - werner@suse.de von Messdaten. - verschoben von ap1 -> xap1 ----------------------------------------------------------------------------- +------------------------------------------------------------------- Wed Nov 13 23:06:41 MET 1996 - werner@suse.de - Neu Erstellen des Paketes: From d390e2136b80a6f64969aa70e417f6af5d0bf98f8be6d9070bb02405bd0a5c30 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Tue, 25 May 2010 12:35:23 +0000 Subject: [PATCH 3/7] Accepting request 40594 from Publishing checked in (request 40594) OBS-URL: https://build.opensuse.org/request/show/40594 OBS-URL: https://build.opensuse.org/package/show/Publishing/gnuplot?expand=0&rev=13 --- gnuplot-4.4.0-demo.dif | 8 ++++---- gnuplot.changes | 20 +++++--------------- gnuplot.spec | 2 +- 3 files changed, 10 insertions(+), 20 deletions(-) diff --git a/gnuplot-4.4.0-demo.dif b/gnuplot-4.4.0-demo.dif index 0b67270..69c3fc1 100644 --- a/gnuplot-4.4.0-demo.dif +++ b/gnuplot-4.4.0-demo.dif @@ -224,8 +224,8 @@ reset --- src/show.c -+++ src/show.c 2010-05-19 21:19:16.000000000 +0200 -@@ -1054,6 +1054,15 @@ ++++ src/show.c 2010-05-10 14:04:43.814925577 +0200 +@@ -1054,6 +1054,15 @@ show_version(FILE *fp) p /* hit 'h' */ ); @@ -233,8 +233,8 @@ + { + struct stat st; + if ((stat(GNUPLOT_LIB_DEFAULT, &st) == 0) && S_ISDIR(st.st_mode)) { -+ fprintf(fp, "%s\n%s\tType `load \"all.dem\"` to display a large number of examples.", p, p); -+ fprintf(fp, "\n%s\tThey are located at %s/*\n%s\n", p, GNUPLOT_LIB_DEFAULT, p); ++ fprintf(fp, "\n%s\tType `load \"all.dem\"` to display a large number of examples.", p); ++ fprintf(fp, "\n%s\tThey are located at %s/*\n\n", p, GNUPLOT_LIB_DEFAULT); + } + } +#endif diff --git a/gnuplot.changes b/gnuplot.changes index 51e19e5..f7a0db1 100644 --- a/gnuplot.changes +++ b/gnuplot.changes @@ -1,13 +1,3 @@ -------------------------------------------------------------------- -Thu May 20 12:44:38 CEST 2010 - werner@suse.de - -- Correct macro name in spec file - -------------------------------------------------------------------- -Wed May 19 00:00:00 CEST 2010 - dieter.jurzitza@t-online.de - -- Fix format being written into plt files (add missing #) - ------------------------------------------------------------------- Sun May 9 00:00:00 CEST 2010 - dieter.jurzitza@t-online.de @@ -200,7 +190,7 @@ Wed May 30 16:12:19 CEST 2007 - werner@suse.de - Correct datadir - The patent of gif is expired -------------------------------------------------------------------- +------------------------------------------------------------------ Fri May 11 16:52:57 CEST 2007 - werner@suse.de - Use setlocale(..,NULL) instead of gentenv() (bug #272915) @@ -513,7 +503,7 @@ Sun Aug 23 10:51:12 MEST 1998 - bs@suse.de - fixed "neededforbuild" -------------------------------------------------------------------- +---------------------------------------------------------------------------- Mon Jul 13 17:32:27 MET DST 1998 - werner@suse.de - New version: 3.5beta6.347 @@ -521,12 +511,12 @@ Mon Jul 13 17:32:27 MET DST 1998 - werner@suse.de * Some enhancements * Some bug fixes -------------------------------------------------------------------- +---------------------------------------------------------------------------- Thu Oct 23 13:59:59 MET DST 1997 - werner@suse.de - New version: 3.5beta6.336 -------------------------------------------------------------------- +---------------------------------------------------------------------------- Mon Feb 3 23:03:09 MET 1997 - werner@suse.de - Update auf Version 3.5-beta-3.6pl319 @@ -534,7 +524,7 @@ Mon Feb 3 23:03:09 MET 1997 - werner@suse.de von Messdaten. - verschoben von ap1 -> xap1 -------------------------------------------------------------------- +---------------------------------------------------------------------------- Wed Nov 13 23:06:41 MET 1996 - werner@suse.de - Neu Erstellen des Paketes: diff --git a/gnuplot.spec b/gnuplot.spec index ebf8650..6af3cb2 100644 --- a/gnuplot.spec +++ b/gnuplot.spec @@ -52,7 +52,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %define _x11lib %{_exec_prefix}/%{_lib} %define _x11data %{_exec_prefix}/lib/X11 %define _libx11 %{_x11data} -%define _x11inc %{_exec_prefix}/include +%define _x11inc %{_x11_prefix}/include %define _appdef %{_x11data}/app-defaults %else %define _x11lib %{_libdir} From bc2bfe32ca91091baf526299a8db71b4fa77bede23a41064f59730428fd2e90e Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 14 Sep 2010 15:16:45 +0000 Subject: [PATCH 4/7] . OBS-URL: https://build.opensuse.org/package/show/Publishing/gnuplot?expand=0&rev=14 --- gnuplot-4.4.0-demo.dif | 8 ++--- gnuplot-4.4.0.tar.bz2 | 3 -- gnuplot-4.4.0.dif => gnuplot-4.4.1.dif | 19 +++++------ gnuplot-4.4.1.tar.bz2 | 3 ++ gnuplot.changes | 46 +++++++++++++++++++++++--- gnuplot.spec | 10 +++--- 6 files changed, 62 insertions(+), 27 deletions(-) delete mode 100644 gnuplot-4.4.0.tar.bz2 rename gnuplot-4.4.0.dif => gnuplot-4.4.1.dif (95%) create mode 100644 gnuplot-4.4.1.tar.bz2 diff --git a/gnuplot-4.4.0-demo.dif b/gnuplot-4.4.0-demo.dif index 69c3fc1..0b67270 100644 --- a/gnuplot-4.4.0-demo.dif +++ b/gnuplot-4.4.0-demo.dif @@ -224,8 +224,8 @@ reset --- src/show.c -+++ src/show.c 2010-05-10 14:04:43.814925577 +0200 -@@ -1054,6 +1054,15 @@ show_version(FILE *fp) ++++ src/show.c 2010-05-19 21:19:16.000000000 +0200 +@@ -1054,6 +1054,15 @@ p /* hit 'h' */ ); @@ -233,8 +233,8 @@ + { + struct stat st; + if ((stat(GNUPLOT_LIB_DEFAULT, &st) == 0) && S_ISDIR(st.st_mode)) { -+ fprintf(fp, "\n%s\tType `load \"all.dem\"` to display a large number of examples.", p); -+ fprintf(fp, "\n%s\tThey are located at %s/*\n\n", p, GNUPLOT_LIB_DEFAULT); ++ fprintf(fp, "%s\n%s\tType `load \"all.dem\"` to display a large number of examples.", p, p); ++ fprintf(fp, "\n%s\tThey are located at %s/*\n%s\n", p, GNUPLOT_LIB_DEFAULT, p); + } + } +#endif diff --git a/gnuplot-4.4.0.tar.bz2 b/gnuplot-4.4.0.tar.bz2 deleted file mode 100644 index ea5b078..0000000 --- a/gnuplot-4.4.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1b2e3e9b84cfe0d24f6de72b460dcb0117cf1e2d89014726be672a9ec3145ad8 -size 2736120 diff --git a/gnuplot-4.4.0.dif b/gnuplot-4.4.1.dif similarity index 95% rename from gnuplot-4.4.0.dif rename to gnuplot-4.4.1.dif index 08c6cb5..a9f938f 100644 --- a/gnuplot-4.4.0.dif +++ b/gnuplot-4.4.1.dif @@ -104,8 +104,8 @@ else if (*buffer == 'A') sscanf(buffer + 1, "%lf", &plot->angle); --- src/plot.c -+++ src/plot.c 2009-05-09 11:32:24.000000000 +0000 -@@ -222,6 +222,7 @@ static int asked_privi = 0; ++++ src/plot.c 2010-09-14 17:08:15.836458107 +0200 +@@ -220,6 +220,7 @@ static int asked_privi = 0; void drop_privilege() { @@ -113,7 +113,7 @@ if (!asked_privi) { euid = geteuid(); egid = getegid(); -@@ -235,11 +236,13 @@ drop_privilege() +@@ -233,11 +234,13 @@ drop_privilege() if (seteuid(ruid) == -1) (void) fprintf(stderr, "seteuid(%d): %s\n", (int) ruid, strerror(errno)); @@ -127,7 +127,7 @@ if (!asked_privi) { euid = geteuid(); egid = getegid(); -@@ -253,6 +256,7 @@ take_privilege() +@@ -251,6 +254,7 @@ take_privilege() if (seteuid(euid) == -1) (void) fprintf(stderr, "seteuid(%d): %s\n", (int) euid, strerror(errno)); @@ -135,7 +135,7 @@ } #endif /* LINUXVGA */ -@@ -278,8 +282,8 @@ main(int argc, char **argv) +@@ -276,8 +280,8 @@ main(int argc, char **argv) int i; #ifdef LINUXVGA @@ -145,23 +145,22 @@ #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 */ -@@ -345,6 +349,23 @@ main(int argc, char **argv) - #if defined(HAVE_LIBEDITLINE) +@@ -344,6 +348,22 @@ main(int argc, char **argv) rl_getc_function = getc_wrapper; #endif -+ + +#ifdef __linux__ + if (!getenv("GNUHELP")) { + const char* msg = setlocale(LC_MESSAGES, NULL); + if (msg) { + char hfile[64]; + struct stat buf; -+ ++ + strcpy (hfile, "/usr/share/gnuplot/4.0/gnuplot-"); + strncat(hfile, msg, 2); + strcat (hfile, ".gih"); + if (stat(hfile, &buf) == 0) -+ setenv("GNUHELP", strdup(hfile), 0); ++ setenv("GNUHELP", strdup(hfile), 0); + } + } +#endif diff --git a/gnuplot-4.4.1.tar.bz2 b/gnuplot-4.4.1.tar.bz2 new file mode 100644 index 0000000..735a0ac --- /dev/null +++ b/gnuplot-4.4.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89894efd3a3ae49ad3b3fc5cb12e1fb387620de810dabe02ad896ca84ab0a187 +size 2739578 diff --git a/gnuplot.changes b/gnuplot.changes index f7a0db1..ff5a9fd 100644 --- a/gnuplot.changes +++ b/gnuplot.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Tue Sep 14 17:00:07 CEST 2010 - werner@suse.de + +- Update to gnuplot 4.4.0 + * NEW Support the "%s" format specifier in strftime() + * NEW Optional 6th data column in candlesticks style to specific box width + * NEW If integer arithmetic i*j or i**j would overflow, return value as a real + * NEW "set style circle radius " + * FIX autoconfiguration of readline support in OSX + * FIX font problems in win terminal + * FIX Protect against runaway recursion by limiting depth of nested functions + * FIX metapost terminal: Fix inheritance of line thickness by text strings + * FIX cairo terminals could segfault on certain enhanced text strings + * FIX pdfcairo output to stdout now works + * FIX font ",size" in non-enhanced mode postscript terminals + * FIX Do a better job of estimating the width of UTF-8 encoded strings + * FIX baseline bug in canvas terminal rotation of enhanced text + * FIX Allow "with labels" to work for binary input data + * FIX update user GPVAL variables after plot in table mode + * CHANGE depth-sorting of pm3d surfaces now applies jointly to all in the plot + * CHANGE 3D impulses are now always drawn from z=0 + * CHANGE Enable HIDDEN_QUADTREE by default + * CHANGE Enable "set fit errorvariables" by default + * CHANGE Regardless of current timefmt, read time from binary files as a binary + * CHANGE do not limit 3D rotation to 0 xap1 ----------------------------------------------------------------------------- +------------------------------------------------------------------- Wed Nov 13 23:06:41 MET 1996 - werner@suse.de - Neu Erstellen des Paketes: diff --git a/gnuplot.spec b/gnuplot.spec index 6af3cb2..215578a 100644 --- a/gnuplot.spec +++ b/gnuplot.spec @@ -1,5 +1,5 @@ # -# spec file for package gnuplot (Version 4.4.0) +# spec file for package gnuplot (Version 4.4.1) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -34,13 +34,13 @@ Url: http://www.gnuplot.info/ License: BSD3c(or similar) Group: Productivity/Graphics/Visualization/Graph AutoReqProv: on -Version: 4.4.0 -Release: 2 +Version: 4.4.1 +Release: 1 Summary: GNUplot a Function Plotting Utility Source0: gnuplot-%{version}.tar.bz2 Source2: gnuplot-fr.doc.bz2 Source3: README.whynot -Patch0: gnuplot-4.4.0.dif +Patch0: gnuplot-4.4.1.dif Patch1: gnuplot-4.4.0-x11ovf.dif Patch2: gnuplot-4.4.0-fonts.dif Patch3: gnuplot-4.4.0-wxt.dif @@ -52,7 +52,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %define _x11lib %{_exec_prefix}/%{_lib} %define _x11data %{_exec_prefix}/lib/X11 %define _libx11 %{_x11data} -%define _x11inc %{_x11_prefix}/include +%define _x11inc %{_exec_prefix}/include %define _appdef %{_x11data}/app-defaults %else %define _x11lib %{_libdir} From bf67bf5954bbf9473043f5db5f713bc6f71171e86c653b5a78dec1c70b0bb264 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 14 Sep 2010 15:22:46 +0000 Subject: [PATCH 5/7] . OBS-URL: https://build.opensuse.org/package/show/Publishing/gnuplot?expand=0&rev=15 --- gnuplot.changes | 5 +++++ gnuplot.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gnuplot.changes b/gnuplot.changes index ff5a9fd..63fed90 100644 --- a/gnuplot.changes +++ b/gnuplot.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 14 17:22:26 CEST 2010 - werner@suse.de + +- Make doc package noarch + ------------------------------------------------------------------- Tue Sep 14 17:00:07 CEST 2010 - werner@suse.de diff --git a/gnuplot.spec b/gnuplot.spec index 215578a..56b2844 100644 --- a/gnuplot.spec +++ b/gnuplot.spec @@ -75,6 +75,9 @@ Group: Productivity/Graphics/Visualization/Graph Requires: %{name} Requires(post): %install_info_prereq Requires(postun): %install_info_prereq +%if 0%{?suse_version} >= 1120 +BuildArch: noarch +%endif %description doc GNUplot documentation files including the man and info pages. GNUplot From 20934586cf86a63ba2badf47385f5262e79461feadb9b266dc42fe81486661e9 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 17 Sep 2010 23:08:12 +0000 Subject: [PATCH 6/7] Accepting request 48141 from Publishing checked in (request 48141) OBS-URL: https://build.opensuse.org/request/show/48141 OBS-URL: https://build.opensuse.org/package/show/Publishing/gnuplot?expand=0&rev=16 --- gnuplot-4.4.1.dif => gnuplot-4.4.0.dif | 19 ++++++++-------- gnuplot-4.4.0.tar.bz2 | 3 +++ gnuplot-4.4.1.tar.bz2 | 3 --- gnuplot.changes | 31 -------------------------- gnuplot.spec | 11 ++++----- 5 files changed, 17 insertions(+), 50 deletions(-) rename gnuplot-4.4.1.dif => gnuplot-4.4.0.dif (95%) create mode 100644 gnuplot-4.4.0.tar.bz2 delete mode 100644 gnuplot-4.4.1.tar.bz2 diff --git a/gnuplot-4.4.1.dif b/gnuplot-4.4.0.dif similarity index 95% rename from gnuplot-4.4.1.dif rename to gnuplot-4.4.0.dif index a9f938f..08c6cb5 100644 --- a/gnuplot-4.4.1.dif +++ b/gnuplot-4.4.0.dif @@ -104,8 +104,8 @@ else if (*buffer == 'A') sscanf(buffer + 1, "%lf", &plot->angle); --- src/plot.c -+++ src/plot.c 2010-09-14 17:08:15.836458107 +0200 -@@ -220,6 +220,7 @@ static int asked_privi = 0; ++++ src/plot.c 2009-05-09 11:32:24.000000000 +0000 +@@ -222,6 +222,7 @@ static int asked_privi = 0; void drop_privilege() { @@ -113,7 +113,7 @@ if (!asked_privi) { euid = geteuid(); egid = getegid(); -@@ -233,11 +234,13 @@ drop_privilege() +@@ -235,11 +236,13 @@ drop_privilege() if (seteuid(ruid) == -1) (void) fprintf(stderr, "seteuid(%d): %s\n", (int) ruid, strerror(errno)); @@ -127,7 +127,7 @@ if (!asked_privi) { euid = geteuid(); egid = getegid(); -@@ -251,6 +254,7 @@ take_privilege() +@@ -253,6 +256,7 @@ take_privilege() if (seteuid(euid) == -1) (void) fprintf(stderr, "seteuid(%d): %s\n", (int) euid, strerror(errno)); @@ -135,7 +135,7 @@ } #endif /* LINUXVGA */ -@@ -276,8 +280,8 @@ main(int argc, char **argv) +@@ -278,8 +282,8 @@ main(int argc, char **argv) int i; #ifdef LINUXVGA @@ -145,22 +145,23 @@ #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 */ -@@ -344,6 +348,22 @@ main(int argc, char **argv) +@@ -345,6 +349,23 @@ main(int argc, char **argv) + #if defined(HAVE_LIBEDITLINE) rl_getc_function = getc_wrapper; #endif - ++ +#ifdef __linux__ + if (!getenv("GNUHELP")) { + const char* msg = setlocale(LC_MESSAGES, NULL); + if (msg) { + char hfile[64]; + struct stat buf; -+ ++ + strcpy (hfile, "/usr/share/gnuplot/4.0/gnuplot-"); + strncat(hfile, msg, 2); + strcat (hfile, ".gih"); + if (stat(hfile, &buf) == 0) -+ setenv("GNUHELP", strdup(hfile), 0); ++ setenv("GNUHELP", strdup(hfile), 0); + } + } +#endif diff --git a/gnuplot-4.4.0.tar.bz2 b/gnuplot-4.4.0.tar.bz2 new file mode 100644 index 0000000..ea5b078 --- /dev/null +++ b/gnuplot-4.4.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b2e3e9b84cfe0d24f6de72b460dcb0117cf1e2d89014726be672a9ec3145ad8 +size 2736120 diff --git a/gnuplot-4.4.1.tar.bz2 b/gnuplot-4.4.1.tar.bz2 deleted file mode 100644 index 735a0ac..0000000 --- a/gnuplot-4.4.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:89894efd3a3ae49ad3b3fc5cb12e1fb387620de810dabe02ad896ca84ab0a187 -size 2739578 diff --git a/gnuplot.changes b/gnuplot.changes index 63fed90..51e19e5 100644 --- a/gnuplot.changes +++ b/gnuplot.changes @@ -1,34 +1,3 @@ -------------------------------------------------------------------- -Tue Sep 14 17:22:26 CEST 2010 - werner@suse.de - -- Make doc package noarch - -------------------------------------------------------------------- -Tue Sep 14 17:00:07 CEST 2010 - werner@suse.de - -- Update to gnuplot 4.4.0 - * NEW Support the "%s" format specifier in strftime() - * NEW Optional 6th data column in candlesticks style to specific box width - * NEW If integer arithmetic i*j or i**j would overflow, return value as a real - * NEW "set style circle radius " - * FIX autoconfiguration of readline support in OSX - * FIX font problems in win terminal - * FIX Protect against runaway recursion by limiting depth of nested functions - * FIX metapost terminal: Fix inheritance of line thickness by text strings - * FIX cairo terminals could segfault on certain enhanced text strings - * FIX pdfcairo output to stdout now works - * FIX font ",size" in non-enhanced mode postscript terminals - * FIX Do a better job of estimating the width of UTF-8 encoded strings - * FIX baseline bug in canvas terminal rotation of enhanced text - * FIX Allow "with labels" to work for binary input data - * FIX update user GPVAL variables after plot in table mode - * CHANGE depth-sorting of pm3d surfaces now applies jointly to all in the plot - * CHANGE 3D impulses are now always drawn from z=0 - * CHANGE Enable HIDDEN_QUADTREE by default - * CHANGE Enable "set fit errorvariables" by default - * CHANGE Regardless of current timefmt, read time from binary files as a binary - * CHANGE do not limit 3D rotation to 0= 1120 -BuildArch: noarch -%endif %description doc GNUplot documentation files including the man and info pages. GNUplot From c493a616aaf943cd467c8cfac890cc7238c46224ba920f60e573d5ef01a54e08 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 17 Sep 2010 23:08:13 +0000 Subject: [PATCH 7/7] Updating link to change in openSUSE:Factory/gnuplot revision 26.0 OBS-URL: https://build.opensuse.org/package/show/Publishing/gnuplot?expand=0&rev=d5609710723ef13e7853de044afb10b2 --- gnuplot-4.4.0.tar.bz2 | 3 --- gnuplot-4.4.0.dif => gnuplot-4.4.1.dif | 19 ++++++++-------- gnuplot-4.4.1.tar.bz2 | 3 +++ gnuplot.changes | 31 ++++++++++++++++++++++++++ gnuplot.spec | 11 +++++---- 5 files changed, 50 insertions(+), 17 deletions(-) delete mode 100644 gnuplot-4.4.0.tar.bz2 rename gnuplot-4.4.0.dif => gnuplot-4.4.1.dif (95%) create mode 100644 gnuplot-4.4.1.tar.bz2 diff --git a/gnuplot-4.4.0.tar.bz2 b/gnuplot-4.4.0.tar.bz2 deleted file mode 100644 index ea5b078..0000000 --- a/gnuplot-4.4.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1b2e3e9b84cfe0d24f6de72b460dcb0117cf1e2d89014726be672a9ec3145ad8 -size 2736120 diff --git a/gnuplot-4.4.0.dif b/gnuplot-4.4.1.dif similarity index 95% rename from gnuplot-4.4.0.dif rename to gnuplot-4.4.1.dif index 08c6cb5..a9f938f 100644 --- a/gnuplot-4.4.0.dif +++ b/gnuplot-4.4.1.dif @@ -104,8 +104,8 @@ else if (*buffer == 'A') sscanf(buffer + 1, "%lf", &plot->angle); --- src/plot.c -+++ src/plot.c 2009-05-09 11:32:24.000000000 +0000 -@@ -222,6 +222,7 @@ static int asked_privi = 0; ++++ src/plot.c 2010-09-14 17:08:15.836458107 +0200 +@@ -220,6 +220,7 @@ static int asked_privi = 0; void drop_privilege() { @@ -113,7 +113,7 @@ if (!asked_privi) { euid = geteuid(); egid = getegid(); -@@ -235,11 +236,13 @@ drop_privilege() +@@ -233,11 +234,13 @@ drop_privilege() if (seteuid(ruid) == -1) (void) fprintf(stderr, "seteuid(%d): %s\n", (int) ruid, strerror(errno)); @@ -127,7 +127,7 @@ if (!asked_privi) { euid = geteuid(); egid = getegid(); -@@ -253,6 +256,7 @@ take_privilege() +@@ -251,6 +254,7 @@ take_privilege() if (seteuid(euid) == -1) (void) fprintf(stderr, "seteuid(%d): %s\n", (int) euid, strerror(errno)); @@ -135,7 +135,7 @@ } #endif /* LINUXVGA */ -@@ -278,8 +282,8 @@ main(int argc, char **argv) +@@ -276,8 +280,8 @@ main(int argc, char **argv) int i; #ifdef LINUXVGA @@ -145,23 +145,22 @@ #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 */ -@@ -345,6 +349,23 @@ main(int argc, char **argv) - #if defined(HAVE_LIBEDITLINE) +@@ -344,6 +348,22 @@ main(int argc, char **argv) rl_getc_function = getc_wrapper; #endif -+ + +#ifdef __linux__ + if (!getenv("GNUHELP")) { + const char* msg = setlocale(LC_MESSAGES, NULL); + if (msg) { + char hfile[64]; + struct stat buf; -+ ++ + strcpy (hfile, "/usr/share/gnuplot/4.0/gnuplot-"); + strncat(hfile, msg, 2); + strcat (hfile, ".gih"); + if (stat(hfile, &buf) == 0) -+ setenv("GNUHELP", strdup(hfile), 0); ++ setenv("GNUHELP", strdup(hfile), 0); + } + } +#endif diff --git a/gnuplot-4.4.1.tar.bz2 b/gnuplot-4.4.1.tar.bz2 new file mode 100644 index 0000000..735a0ac --- /dev/null +++ b/gnuplot-4.4.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89894efd3a3ae49ad3b3fc5cb12e1fb387620de810dabe02ad896ca84ab0a187 +size 2739578 diff --git a/gnuplot.changes b/gnuplot.changes index 51e19e5..63fed90 100644 --- a/gnuplot.changes +++ b/gnuplot.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Tue Sep 14 17:22:26 CEST 2010 - werner@suse.de + +- Make doc package noarch + +------------------------------------------------------------------- +Tue Sep 14 17:00:07 CEST 2010 - werner@suse.de + +- Update to gnuplot 4.4.0 + * NEW Support the "%s" format specifier in strftime() + * NEW Optional 6th data column in candlesticks style to specific box width + * NEW If integer arithmetic i*j or i**j would overflow, return value as a real + * NEW "set style circle radius " + * FIX autoconfiguration of readline support in OSX + * FIX font problems in win terminal + * FIX Protect against runaway recursion by limiting depth of nested functions + * FIX metapost terminal: Fix inheritance of line thickness by text strings + * FIX cairo terminals could segfault on certain enhanced text strings + * FIX pdfcairo output to stdout now works + * FIX font ",size" in non-enhanced mode postscript terminals + * FIX Do a better job of estimating the width of UTF-8 encoded strings + * FIX baseline bug in canvas terminal rotation of enhanced text + * FIX Allow "with labels" to work for binary input data + * FIX update user GPVAL variables after plot in table mode + * CHANGE depth-sorting of pm3d surfaces now applies jointly to all in the plot + * CHANGE 3D impulses are now always drawn from z=0 + * CHANGE Enable HIDDEN_QUADTREE by default + * CHANGE Enable "set fit errorvariables" by default + * CHANGE Regardless of current timefmt, read time from binary files as a binary + * CHANGE do not limit 3D rotation to 0= 1120 +BuildArch: noarch +%endif %description doc GNUplot documentation files including the man and info pages. GNUplot