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