OBS User unknown 2007-01-15 23:15:11 +00:00 committed by Git OBS Bridge
commit c3e7cf8bb6
12 changed files with 948 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

10
README.whynot Normal file
View File

@ -0,0 +1,10 @@
Why GIF/PDF support is not enabled:
===================================
GIF: Support for this terminal has been dropped in favour of the PNG
format for legal reasons; under usual configure conditions, old
scripts that request gif will work but will produce a PNG file
instead.
PDF: Requires libpdf which is a commercial library and therefore not
part of SuSE LINUX.

11
gnuplot-4.0.0-fonts.dif Normal file
View File

@ -0,0 +1,11 @@
--- src/variable.c.orig 2006-08-16 05:33:43.000000000 +0200
+++ src/variable.c 2006-08-16 05:34:54.000000000 +0200
@@ -257,6 +257,8 @@
{ "$`kpsexpand '$TEXMFMAIN'`/fonts/type1!" },
{ "$`kpsexpand '$TEXMFLOCAL'`/fonts/type1!" },
/* Linux paths */
+ { "/usr/share/fonts/Type1" },
+ { "/usr/share/fonts/truetype" },
{ "/usr/X11R6/lib/X11/fonts/Type1" },
{ "/usr/X11R6/lib/X11/fonts/truetype" },
/* HP-UX */

13
gnuplot-4.0.0-x11ovf.dif Normal file
View File

@ -0,0 +1,13 @@
--- src/gplt_x11.c
+++ src/gplt_x11.c 2006-01-31 11:09:17.000000000 +0000
@@ -1103,8 +1103,8 @@
static int
read_input()
{
- static int rdbuf_size = 10 * Nbuf;
- static char rdbuf[10 * Nbuf - 1];
+ const int rdbuf_size = 10 * Nbuf;
+ static char rdbuf[rdbuf_size+1];
static int total_chars;
static int rdbuf_offset;
static int buf_offset;

347
gnuplot-4.0.0.dif Normal file
View File

@ -0,0 +1,347 @@
--- .pkgextract
+++ .pkgextract Tue Apr 27 18:48:07 2004
@@ -0,0 +1 @@
+bzcat ../gnuplot-fr.doc.bz2 > docs/gnuplot-fr.doc
--- configure.in
+++ configure.in Tue Apr 27 18:48:07 2004
@@ -209,7 +209,7 @@
[AC_DEFINE(LINUXVGA,1,
[ Define if this is a Linux system with SuperVGA library. ])
LINUXSUID='chown root $(bindir)/gnuplot; chmod u+s $(bindir)/gnuplot'
- TERMLIBS="-lvga $TERMLIBS"],
+ TERMLIBS="/usr/${ARCHLIB:=lib}/libvga.a $TERMLIBS"],
with_linux_vga=no)
fi
--- demo/poldat.dem
+++ demo/poldat.dem Tue Apr 27 18:48:07 2004
@@ -11,7 +11,7 @@
unset polar
set title "Primitive Smith Chart"
unset key
-set xlabel "Impedance or Admittance Coordinates"
+set xlabel "Impedance or Admittance Coordinates" 12,-1
set para
set rrange [-0 : 10]
set trange [-pi : pi]
--- demo/simple.dem
+++ demo/simple.dem Tue Apr 27 18:48:07 2004
@@ -7,12 +7,11 @@
# gnuplot> load 'simple.dem'
#
set key left box
-set samples 50
+set samples 400
plot [-10:10] sin(x),atan(x),cos(atan(x))
pause -1 "Hit return to continue"
set key right nobox
-set samples 100
plot [-pi/2:pi] cos(x),-(sin(x) > sin(x+1) ? sin(x) : sin(x+1))
pause -1 "Hit return to continue"
--- demo/vector.dem
+++ demo/vector.dem Tue Apr 27 18:48:07 2004
@@ -62,7 +62,7 @@
pause -1 "Hit return to continue"
set term push
set term table
-set out "equipo2.dat"
+set out "/tmp/equipo2.dat"
rep
set out
set term pop
@@ -74,7 +74,7 @@
set isosam 31,31
set term push
set term table
-set out "field2xy.dat"
+set out "/tmp/field2xy.dat"
splot vtot(x,y) w l
set out
set term pop
--- docs/Makefile.in
+++ docs/Makefile.in Tue Apr 27 18:53:41 2004
@@ -34,7 +34,7 @@
#
# default is what is needed for interactive gnuplot
-all: gnuplot.gih gnuplot.info
+all: gnuplot.gih gnuplot-fr.gih gnuplot.info
# this tells GNU make not to export variables into the environment
# But other makes dont understand its significance, so it must
@@ -299,12 +299,16 @@
$(LINK) doc2hlp.o termdoc.o $(LIBS)
### gnuplot interactive help format
-gih: gnuplot.gih
+gih: gnuplot.gih gnuplot-fr.gih
gnuplot.gih: doc2gih $(srcdir)/gnuplot.doc
@rm -f alldoc2gih
./doc2gih $(srcdir)/gnuplot.doc gnuplot.gih
+gnuplot-fr.gih: doc2gih $(srcdir)/gnuplot-fr.doc
+ @rm -f alldoc2gih
+ ./doc2gih $(srcdir)/gnuplot-fr.doc gnuplot-fr.gih
+
doc2gih: doc2gih.o termdoc.o
$(LINK) doc2gih.o termdoc.o $(LIBS)
@@ -395,6 +399,7 @@
install-gih: gnuplot.gih
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(GIHDIR)
$(INSTALL_DATA) gnuplot.gih $(DESTDIR)$(GIHDIR)/gnuplot.gih
+ $(INSTALL_DATA) gnuplot-fr.gih $(DESTDIR)$(GIHDIR)/gnuplot-fr.gih
install-info: gnuplot.info
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(infodir)
@@ -412,6 +417,7 @@
uninstall-gih:
rm -f $(DESTDIR)$(GIHDIR)/gnuplot.gih
+ rm -f $(DESTDIR)$(GIHDIR)/gnuplot-fr.gih
uninstall-info:
$(PRE_UNINSTALL)
--- docs/gnuplot-fr.doc
+++ docs/gnuplot-fr.doc Tue Apr 27 18:48:41 2004
@@ -436,8 +436,8 @@
#Home & same as \verb~^A~. \\
#Ctrl Home & same as \verb~^E~. \\
#Esc & same as \verb~^U~. \\
-#Help & `{\bf help}' plus Entrée. \\
-#Ctrl Help & `{\bf help }'. \\
+#Help & `{\bf help}` plus Entrée. \\
+#Ctrl Help & `{\bf help }`. \\
%c l .
%Touche fléchée@Fonction
%_
--- src/command.c
+++ src/command.c Tue Apr 27 18:48:07 2004
@@ -966,14 +966,24 @@
(void) fgets(buf, strlen(buf), stdin);
}
} else if (strcmp(term->name, "atari") == 0) {
- char *line = readline("");
+ char *line;
+#if 0
+ if (term->waitforinput)
+ term->waitforinput();
+#endif
+ line = readline("");
if (line)
free(line);
} else
(void) fgets(buf, strlen(buf), stdin);
#elif defined(ATARI)
if (strcmp(term->name, "atari") == 0) {
- char *line = readline("");
+ char *line;
+#if 0
+ if (term->waitforinput)
+ term->waitforinput();
+#endif
+ line = readline("");
if (line)
free(line);
} else
@@ -2442,6 +2452,13 @@
# endif /* no READLINE */
do {
+# if 0
+# ifdef USE_MOUSE
+ /* wait for input from graphic device, mainly x11 */
+ if (term->waitforinput)
+ term->waitforinput();
+# endif
+# endif
/* grab some input */
# if defined(READLINE) || defined(HAVE_LIBREADLINE)
if (((interactive)
--- src/gplt_x11.c
+++ src/gplt_x11.c Tue Apr 27 18:48:07 2004
@@ -2033,8 +2033,11 @@
}
}
/* X11_justify_text(mode) - set text justification mode */
- else if (*buffer == 'J')
- sscanf(buffer, "J%4d", (int *) &plot->jmode);
+ else if (*buffer == 'J') {
+ int jmode;
+ sscanf(buffer, "J%4d", &jmode);
+ plot->jmode = jmode;
+ }
else if (*buffer == 'A')
sscanf(buffer + 1, "%d", (int *) &plot->angle);
--- src/plot.c
+++ src/plot.c Tue Apr 27 18:51:49 2004
@@ -226,6 +226,7 @@
void
drop_privilege()
{
+#ifndef SVGA_IS_SECURE
if (!asked_privi) {
euid = geteuid();
egid = getegid();
@@ -239,11 +240,13 @@
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();
@@ -257,6 +260,7 @@
if (seteuid(euid) == -1)
(void) fprintf(stderr, "seteuid(%d): %s\n",
(int) euid, strerror(errno));
+#endif
}
#endif /* LINUXVGA */
@@ -283,8 +287,8 @@
{
int i;
#ifdef LINUXVGA
- LINUX_setup(); /* setup VGA before dropping privilege DBT 4/5/99 */
drop_privilege();
+ LINUX_setup();
#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 */
@@ -343,6 +347,24 @@
#ifdef VMS
unsigned int status[2] = { 1, 0 };
+#endif
+
+#ifdef __linux__
+ if (!getenv("GNUHELP")) {
+ char* lang = getenv ("LANG");
+ if (lang) {
+ char hfile[64];
+ struct stat buf;
+
+ if (strlen(lang) > 2)
+ lang[2] = '\0';
+ strcpy(hfile, "/usr/share/gnuplot/4.0/gnuplot-");
+ strcat(hfile, lang);
+ strcat(hfile, ".gih");
+ if (stat(hfile, &buf) == 0)
+ setenv("GNUHELP", strdup(hfile), 0);
+ }
+ }
#endif
#ifdef HAVE_LIBREADLINE
--- src/term.h
+++ src/term.h Tue Apr 27 18:48:07 2004
@@ -299,9 +299,9 @@
#include "emf.trm"
/* Roland DXY800A plotter */
-/* #include "dxy.trm" */
+#include "dxy.trm"
/* QMS/EXCL laserprinter (Talaris 1590 and others) */
-/* #include "excl.trm" */
+#include "excl.trm"
/* fig graphics */
#include "fig.trm"
@@ -337,7 +337,7 @@
#include "imagen.trm"
/* Kyocera Prescribe printer */
-/* #include "kyo.trm" */
+#include "kyo.trm"
/* Frame Maker MIF 3.00 format driver */
#include "mif.trm"
@@ -384,7 +384,7 @@
#include "tkcanvas.trm"
/* Vectrix 384 printer, also Tandy colour */
-/* #include "v384.trm" */
+#include "v384.trm"
/* wire printers */
/* Epson LX-800, Star NL-10, NX-1000 and lots of others */
--- src/time.c
+++ src/time.c Tue Apr 27 18:48:07 2004
@@ -297,11 +297,12 @@
case 's':
#if 0 /* HBB 20040213: comment this out, but keep it around for now */
{
- /* time_t when; */
- int when;
+ time_t when;
+ int iwhen;
struct tm *tmwhen;
- s = read_int(s, 10, &when);
- tmwhen = gmtime((time_t*)&when);
+ s = read_int(s, 10, &iwhen);
+ when = iwhen;
+ tmwhen = gmtime(&when);
tmwhen->tm_year += 1900;
*tm = *tmwhen;
break;
--- term/grass.trm
+++ term/grass.trm Tue Apr 27 18:48:07 2004
@@ -471,7 +471,7 @@
static void
draw_points_fitriangle(x, y)
-nt x, y;
+int x, y;
{
int R_polygon_abs();
--- term/linux.trm
+++ term/linux.trm Tue Apr 27 18:48:07 2004
@@ -80,7 +80,7 @@
TERM_PUBLIC void LINUX_move __PROTO((unsigned int x, unsigned int y));
TERM_PUBLIC void LINUX_vector __PROTO((unsigned int x, unsigned int y));
TERM_PUBLIC int LINUX_text_angle __PROTO((int ang));
-TERM_PUBLIC void LINUX_put_text __PROTO((unsigned int x, unsigned int y, const char *str));
+TERM_PUBLIC void LINUX_put_text __PROTO((unsigned int x, unsigned int y, char *str));
TERM_PUBLIC void LINUX_suspend __PROTO((void));
TERM_PUBLIC void LINUX_resume __PROTO((void));
@@ -298,7 +298,7 @@
TERM_PUBLIC void
LINUX_put_text(x, y, str)
unsigned int x, y;
-const char *str;
+char *str;
{
int i;
switch (linux_angle) {
--- term/png.trm
+++ term/png.trm Tue Apr 27 18:48:07 2004
@@ -97,6 +97,16 @@
#ifdef TERM_BODY
#include "png.h"
+#if PNG_LIBPNG_VER < 89
+typedef png_struct* png_structp;
+typedef png_info* png_infop;
+typedef png_byte* png_bytep;
+typedef png_info** png_infopp;
+#undef PNG_LIBPNG_VER_STRING
+#define PNG_LIBPNG_VER_STRING ("1.0.2")
+#undef PNG_LIBPNG_VER
+#define PNG_LIBPNG_VER 10002
+#endif
/* I'm not sure exactly which is the first version we work with,
* but I know that some older ones don't define all the symbols

3
gnuplot-4.0.0.tar.bz2 Normal file
View File

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

BIN
gnuplot-fr.doc.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

255
gnuplot.changes Normal file
View File

@ -0,0 +1,255 @@
-------------------------------------------------------------------
Wed Aug 16 05:37:39 CEST 2006 - sndirsch@suse.de
- gnuplot-4.0.0-fonts.dif: fixed font paths for X.Org 7
-------------------------------------------------------------------
Tue Jan 31 12:13:21 CET 2006 - werner@suse.de
- Fix stupid buffer overflow in x11 display program (bug #146870)
-------------------------------------------------------------------
Wed Jan 25 21:36:16 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Thu Jul 21 18:30:36 CEST 2005 - werner@suse.de
- Re-use libgd because we get jpeg/png support with truetype font
and gif dummy support which is png output for term gif (#97208)
-------------------------------------------------------------------
Thu Feb 10 02:34:43 CET 2005 - ro@suse.de
- remove dropped tetex subpackages from nfb
-------------------------------------------------------------------
Thu Apr 29 11:17:28 CEST 2004 - werner@suse.de
- Use GNU readline library
- Enable thin splines for 3D
-------------------------------------------------------------------
Tue Apr 27 18:39:09 CEST 2004 - werner@suse.de
- Update to gnuplot 4.0.0
-------------------------------------------------------------------
Tue Apr 20 09:57:36 CEST 2004 - meissner@suse.de
- aliasing fixes.
-------------------------------------------------------------------
Thu Oct 16 15:53:25 CEST 2003 - meissner@suse.de
- Do not build as root.
- Fixed lib64 handling to be more correct, since 32bit systems
can now have /lib64/ too.
-------------------------------------------------------------------
Fri Jun 13 13:29:01 CEST 2003 - coolo@suse.de
- fixing docs installation
-------------------------------------------------------------------
Thu Jun 12 16:41:31 CEST 2003 - coolo@suse.de
- use BuildRoot
-------------------------------------------------------------------
Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de
- fix install_info --delete call and move from preun to postun
-------------------------------------------------------------------
Tue Mar 25 17:05:21 CET 2003 - werner@suse.de
- Make mouse patch work as it should
-------------------------------------------------------------------
Mon Mar 24 19:19:58 CET 2003 - werner@suse.de
- Update to gnuplot 3.7.3
- Port patches (if needed) to 3.7.3
-------------------------------------------------------------------
Fri Feb 28 17:20:29 CET 2003 - werner@suse.de
- Fix bug #23417: use intall-info for info file
-------------------------------------------------------------------
Fri Nov 22 18:14:40 CET 2002 - werner@suse.de
- Fix buffer overflow
- Fix svgalib handling for secure svgalibs
-------------------------------------------------------------------
Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de
- removed bogus self-provides
-------------------------------------------------------------------
Fri Jul 26 21:23:27 CEST 2002 - adrian@suse.de
- fix neededforbuild
-------------------------------------------------------------------
Mon May 6 18:16:37 CEST 2002 - werner@suse.de
- Do some lib64 stuff
-------------------------------------------------------------------
Thu Apr 4 14:44:54 CEST 2002 - ro@suse.de
- more brackets for autoconf
-------------------------------------------------------------------
Sun Feb 10 16:52:05 CET 2002 - ro@suse.de
- tar option for bz2 is now "j"
-------------------------------------------------------------------
Fri Feb 1 00:26:13 CET 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
-------------------------------------------------------------------
Wed Jan 9 12:48:20 CET 2002 - ro@suse.de
- fixed to compile (don't include fcntl when building the help)
-------------------------------------------------------------------
Sat Jan 5 13:16:04 CET 2002 - kukuk@suse.de
- fix neededforbuild (plotutil -> plotutils)
-------------------------------------------------------------------
Tue Dec 18 13:26:01 CET 2001 - werner@suse.de
- Be sure that the waitforinput function is called even if real
readline library is used or none interactive mode is on. Be sure
that the buffered token will be handles even if there is no
activity on stdin and set a time out to be not blocked (#12625)
-------------------------------------------------------------------
Mon Nov 12 09:56:49 CET 2001 - ro@suse.de
- no svgalib
-------------------------------------------------------------------
Tue Jun 12 16:16:05 CEST 2001 - schwab@suse.de
- Fix for new autoconf.
-------------------------------------------------------------------
Tue May 8 22:51:41 CEST 2001 - mfabian@suse.de
- bzip2 sources
-------------------------------------------------------------------
Thu Mar 29 16:56:17 MEST 2001 - garloff@suse.de
- Prevent stupid rounding errors 10*10^23 instead of 10^24
in graphics.c: mant_exp()
-------------------------------------------------------------------
Fri Feb 23 00:10:25 CET 2001 - ro@suse.de
- added readline/readline-devel to neededforbuild (split from bash)
-------------------------------------------------------------------
Sun Dec 3 18:21:11 CET 2000 - schwab@suse.de
- Fix resource leak in X11 terminal driver.
-------------------------------------------------------------------
Wed Jun 21 19:34:58 CEST 2000 - werner@suse.de
- Add French doc (somewhat out of date)
-------------------------------------------------------------------
Wed Jun 7 14:18:22 MEST 2000 - werner@suse.de
- New version 3.7.1 with many bug fixes included
-------------------------------------------------------------------
Tue Jun 6 15:15:35 CEST 2000 - uli@suse.de
- moved docs to /usr/share/doc
-------------------------------------------------------------------
Fri Feb 25 17:56:31 CET 2000 - kukuk@suse.de
- Move /usr/{info,man} -> /usr/share/{info,man}
-------------------------------------------------------------------
Mon Oct 11 23:26:00 CEST 1999 - ro@suse.de
- disabled gdlib support (we have png anyway and gd doesn't support
gif any more)
-------------------------------------------------------------------
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
-------------------------------------------------------------------
Mon May 3 16:35:25 CEST 1999 - werner@suse.de
- Do not use system time because gnuplot interface isn't able
to handle summer time
- Use /tmp/ for temporaray files of demos
-------------------------------------------------------------------
Wed Mar 10 12:27:23 MET 1999 - werner@suse.de
- Fix from one of the authors (HBB) to avoid buffer overflow
-------------------------------------------------------------------
Tue Mar 9 18:19:17 MET 1999 - werner@suse.de
- New patchlevel 0.1 with patch gnuplot.990304 for security
-------------------------------------------------------------------
Tue Mar 2 20:27:11 MET 1999 - werner@suse.de
- New version: 3.7
* add some official fixes
* fix the official fix of fit.c
* add gif and unixplot for output
-------------------------------------------------------------------
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
* Security fix for svga linux driver call
* 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
- Diese Version hat splines und bezier zum Fit für
von Messdaten.
- verschoben von ap1 -> xap1
----------------------------------------------------------------------------
Wed Nov 13 23:06:41 MET 1996 - werner@suse.de
- Neu Erstellen des Paketes:
Mit vollständiger Dokumentation und Beispielen
unter /usr/doc/packages/gnuplot/
- fig und bfig (xfig-Format 2.1)
wird von xfig in xfig-Format 3.2 konvertiert.

258
gnuplot.spec Normal file
View File

@ -0,0 +1,258 @@
#
# spec file for package gnuplot (Version 4.0.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gnuplot
BuildRequires: freetype2-devel gd-devel libjpeg-devel libpng-devel plotutils readline-devel te_ams te_latex xorg-x11-devel
URL: http://www.gnuplot.info/
License: BSD, Other License(s), see package
Group: Productivity/Graphics/Visualization/Graph
Autoreqprov: on
PreReq: %install_info_prereq
Version: 4.0.0
Release: 20
Summary: Function Plotting Utility
Source0: gnuplot-4.0.0.tar.bz2
Source2: gnuplot-fr.doc.bz2
Source3: README.whynot
Patch0: gnuplot-4.0.0.dif
Patch1: gnuplot-4.0.0-x11ovf.dif
Patch2: gnuplot-4.0.0-fonts.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
GNUplot is a command line driven interactive function plotting utility.
GNUplot supports many different types of terminals, plotters, and
printers (including many color devices and pseudodevices like LaTeX)
and can easily be extended to include new devices.
Authors:
--------
Mailingliste <bug-gnuplot@dartmouth.edu>
Mailingliste <info-gnuplot@dartmouth.edu>
Mailingliste <info-gnuplot-beta@dartmouth.edu>
Mailingliste <info-gnuplot-request@dartmouth.edu>
%prep
%setup -q -n gnuplot-%{version}
bunzip2 -dc $RPM_SOURCE_DIR/gnuplot-fr.doc.bz2 > docs/gnuplot-fr.doc
test $? -eq 0 || exit 1
%patch -P 1 -p 0 -b .x11ovf
%patch -P 0 -p 0
%patch -P 2 -p 0
%build
SECSVGA="-DSVGA_IS_SECURE=1"
export CPPFLAGS="-I/usr/X11R6/include -I/usr/include/gd"
export CFLAGS="${RPM_OPT_FLAGS} -pipe ${SECSVGA}"
export LDFLAGS="-L/usr/X11R6/%_lib"
export ARCHLIB=%_lib
for f in docs/makefile*; do
test -e $f || continue
mv $f $f.bak
done
touch configure.in
rm -f config.status config.log config.cache configure aclocal.m4
aclocal -I m4
autoconf
./configure \
--prefix=/usr \
--mandir=%{_mandir} \
--infodir=%{_infodir} \
--libexecdir=/usr/%_lib \
--datadir=/usr/share/gnuplot \
--with-gcc \
--with-x \
--x-includes=/usr/X11R6/include \
--x-libraries=/usr/X11R6/%_lib \
--with-readline=gnu \
--enable-history-file \
--with-linux-vga \
--with-gif=png \
--with-freetype=/usr/%_lib \
--with-zlib \
--with-gd \
--enable-thin-splines \
--with-plot=/usr/%lib
make -f Makefile
pushd docs/
make -f Makefile srcdir=. clean all html pdf gpcard.ps
pushd psdoc/
make -f Makefile srcdir=. clean pdf
popd
popd
pushd tutorial/
make -f Makefile srcdir=. clean pdf
popd
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/%{_infodir}
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/gnuplot/demo
install -m 0444 docs/*.info* $RPM_BUILD_ROOT/%{_infodir}/
install -m 0444 docs/*.pdf $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
install -m 0444 docs/gpcard.ps $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
install -m 0444 docs/*.html $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
install -m 0444 docs/psdoc/*.pdf $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
install -m 0444 docs/psdoc/*.ps $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
install -m 0444 docs/psdoc/*.gpi $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
install -m 0444 docs/psdoc/*.doc $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
install -m 0444 docs/psdoc/README $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
install -m 0444 tutorial/*.pdf $RPM_BUILD_ROOT/%{_docdir}/gnuplot/doc/
install -m 0444 demo/* $RPM_BUILD_ROOT/%{_docdir}/gnuplot/demo/
install -m 0444 README* $RPM_BUILD_ROOT/%{_docdir}/gnuplot/
install -m 0444 Copyright $RPM_BUILD_ROOT/%{_docdir}/gnuplot/
install -m 0444 FAQ TODO VERSION $RPM_BUILD_ROOT/%{_docdir}/gnuplot/
install -m 0444 NEWS VERSION BUGS $RPM_BUILD_ROOT/%{_docdir}/gnuplot/
install -m 0444 %{SOURCE3} $RPM_BUILD_ROOT/%{_docdir}/gnuplot/
rm -f $RPM_BUILD_ROOT/%{_docdir}/gnuplot/demo/Makefile*
%clean
rm -rf $RPM_BUILD_ROOT
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files
%defattr(-,root,root)
%doc %{_docdir}/gnuplot/
/usr/bin/gnuplot
/usr/%{_lib}/gnuplot
%doc %{_infodir}/%{name}.info.gz
%doc %{_mandir}/man1/gnuplot.1.gz
/usr/share/gnuplot
%changelog -n gnuplot
* Wed Aug 16 2006 - sndirsch@suse.de
- gnuplot-4.0.0-fonts.dif: fixed font paths for X.Org 7
* Tue Jan 31 2006 - werner@suse.de
- Fix stupid buffer overflow in x11 display program (bug #146870)
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jul 21 2005 - werner@suse.de
- Re-use libgd because we get jpeg/png support with truetype font
and gif dummy support which is png output for term gif (#97208)
* Thu Feb 10 2005 - ro@suse.de
- remove dropped tetex subpackages from nfb
* Thu Apr 29 2004 - werner@suse.de
- Use GNU readline library
- Enable thin splines for 3D
* Tue Apr 27 2004 - werner@suse.de
- Update to gnuplot 4.0.0
* Tue Apr 20 2004 - meissner@suse.de
- aliasing fixes.
* Thu Oct 16 2003 - meissner@suse.de
- Do not build as root.
- Fixed lib64 handling to be more correct, since 32bit systems
can now have /lib64/ too.
* Fri Jun 13 2003 - coolo@suse.de
- fixing docs installation
* Thu Jun 12 2003 - coolo@suse.de
- use BuildRoot
* Thu Apr 24 2003 - ro@suse.de
- fix install_info --delete call and move from preun to postun
* Tue Mar 25 2003 - werner@suse.de
- Make mouse patch work as it should
* Mon Mar 24 2003 - werner@suse.de
- Update to gnuplot 3.7.3
- Port patches (if needed) to 3.7.3
* Fri Feb 28 2003 - werner@suse.de
- Fix bug #23417: use intall-info for info file
* Fri Nov 22 2002 - werner@suse.de
- Fix buffer overflow
- Fix svgalib handling for secure svgalibs
* Tue Sep 17 2002 - ro@suse.de
- removed bogus self-provides
* Fri Jul 26 2002 - adrian@suse.de
- fix neededforbuild
* Mon May 06 2002 - werner@suse.de
- Do some lib64 stuff
* Thu Apr 04 2002 - ro@suse.de
- more brackets for autoconf
* Sun Feb 10 2002 - ro@suse.de
- tar option for bz2 is now "j"
* Fri Feb 01 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Wed Jan 09 2002 - ro@suse.de
- fixed to compile (don't include fcntl when building the help)
* Sat Jan 05 2002 - kukuk@suse.de
- fix neededforbuild (plotutil -> plotutils)
* Tue Dec 18 2001 - werner@suse.de
- Be sure that the waitforinput function is called even if real
readline library is used or none interactive mode is on. Be sure
that the buffered token will be handles even if there is no
activity on stdin and set a time out to be not blocked (#12625)
* Mon Nov 12 2001 - ro@suse.de
- no svgalib
* Tue Jun 12 2001 - schwab@suse.de
- Fix for new autoconf.
* Tue May 08 2001 - mfabian@suse.de
- bzip2 sources
* Thu Mar 29 2001 - garloff@suse.de
- Prevent stupid rounding errors 10*10^23 instead of 10^24
in graphics.c: mant_exp()
* Fri Feb 23 2001 - ro@suse.de
- added readline/readline-devel to neededforbuild (split from bash)
* Sun Dec 03 2000 - schwab@suse.de
- Fix resource leak in X11 terminal driver.
* Wed Jun 21 2000 - werner@suse.de
- Add French doc (somewhat out of date)
* Wed Jun 07 2000 - werner@suse.de
- New version 3.7.1 with many bug fixes included
* Tue Jun 06 2000 - uli@suse.de
- moved docs to /usr/share/doc
* Fri Feb 25 2000 - kukuk@suse.de
- Move /usr/{info,man} -> /usr/share/{info,man}
* Mon Oct 11 1999 - ro@suse.de
- disabled gdlib support (we have png anyway and gd doesn't support
gif any more)
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Mon May 03 1999 - werner@suse.de
- Do not use system time because gnuplot interface isn't able
to handle summer time
- Use /tmp/ for temporaray files of demos
* Wed Mar 10 1999 - werner@suse.de
- Fix from one of the authors (HBB) to avoid buffer overflow
* Tue Mar 09 1999 - werner@suse.de
- New patchlevel 0.1 with patch gnuplot.990304 for security
* Tue Mar 02 1999 - werner@suse.de
- New version: 3.7
* add some official fixes
* fix the official fix of fit.c
* add gif and unixplot for output
* Sun Aug 23 1998 - bs@suse.de
- fixed "neededforbuild"
* Mon Jul 13 1998 - werner@suse.de
- New version: 3.5beta6.347
* Security fix for svga linux driver call
* Some enhancements
* Some bug fixes
* Thu Oct 23 1997 - werner@suse.de
- New version: 3.5beta6.336
* Mon Feb 03 1997 - werner@suse.de
- Update auf Version 3.5-beta-3.6pl319
- Diese Version hat splines und bezier zum Fit für
von Messdaten.
- verschoben von ap1 -> xap1
* Thu Jan 02 1997 - werner@suse.de
- Neu Erstellen des Paketes:
Mit vollständiger Dokumentation und Beispielen
unter /usr/doc/packages/gnuplot/
- fig und bfig (xfig-Format 2.1)
wird von xfig in xfig-Format 3.2 konvertiert.

24
gnuplot.test Normal file
View File

@ -0,0 +1,24 @@
Testform für GNUPLPOT
=====================
27.04.2004: Version 4.0.0
Maintainer: werner
Vorraussetzungen:
=================
X muss installiert sein.
Starten:
========
gnuplot aufrufen ... Doku lesen.
Ergebinsse:
===========
Plots ... bei falscher Anwendung kann das Programm
abschmieren. Bei richtiger Verwendung der Syntax
von gnuplot ist es allerdings ein mächtiges Programm.

0
ready Normal file
View File