summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2005-12-16 05:34:39 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2005-12-16 05:34:39 +0000
commit5c54e5a53dbb83c7b5e65fb6b735c91bdbc02eff (patch)
treef43ed0048a2c571015533c81b1533fc0a669cb96 /sci-libs/pgplot/files
parentAnother crystallography package. This one considers itself a versatile, SHELX... (diff)
downloadhistorical-5c54e5a53dbb83c7b5e65fb6b735c91bdbc02eff.tar.gz
historical-5c54e5a53dbb83c7b5e65fb6b735c91bdbc02eff.tar.bz2
historical-5c54e5a53dbb83c7b5e65fb6b735c91bdbc02eff.zip
A Fortran- or C-callable, device-independent graphics package for making simple scientific graphs.
Package-Manager: portage-2.0.53
Diffstat (limited to 'sci-libs/pgplot/files')
-rw-r--r--sci-libs/pgplot/files/digest-pgplot-5.2.21
-rw-r--r--sci-libs/pgplot/files/pgplot-compile-setup.patch49
-rw-r--r--sci-libs/pgplot/files/pgplot-drivers.patch67
-rw-r--r--sci-libs/pgplot/files/pgplot-makemake.patch35
4 files changed, 152 insertions, 0 deletions
diff --git a/sci-libs/pgplot/files/digest-pgplot-5.2.2 b/sci-libs/pgplot/files/digest-pgplot-5.2.2
new file mode 100644
index 000000000000..db6acf6cdfa4
--- /dev/null
+++ b/sci-libs/pgplot/files/digest-pgplot-5.2.2
@@ -0,0 +1 @@
+MD5 e8a6e8d0d5ef9d1709dfb567724525ae pgplot522.tar.gz 1197397
diff --git a/sci-libs/pgplot/files/pgplot-compile-setup.patch b/sci-libs/pgplot/files/pgplot-compile-setup.patch
new file mode 100644
index 000000000000..d7c281057eef
--- /dev/null
+++ b/sci-libs/pgplot/files/pgplot-compile-setup.patch
@@ -0,0 +1,49 @@
+diff -ur pgplot.orig/sys_linux/g77_gcc.conf pgplot/sys_linux/g77_gcc.conf
+--- pgplot.orig/sys_linux/g77_gcc.conf 1999-07-05 11:10:33.000000000 -0700
++++ pgplot/sys_linux/g77_gcc.conf 2005-12-15 19:59:28.000000000 -0800
+@@ -5,7 +5,7 @@
+ # X2DRIV (/xdisp and /figdisp).
+ # The arguments needed by the C compiler to locate X-window include files.
+
+- XINCL="-I/usr/X11R6/include"
++# XINCL="-I/usr/X11R6/include"
+
+ # Optional: Needed by XMDRIV (/xmotif).
+ # The arguments needed by the C compiler to locate Motif, Xt and
+@@ -40,7 +40,8 @@
+ # The FORTRAN compiler flags to use when compiling the pgplot library.
+ # (NB. makemake prepends -c to $FFLAGC where needed)
+
+- FFLAGC="-u -Wall -fPIC -O"
++ FFLAGOPT="-O"
++ FFLAGC="-u -Wall -fPIC $FFLAGOPT"
+
+ # Mandatory.
+ # The FORTRAN compiler flags to use when compiling fortran demo programs.
+@@ -56,13 +57,14 @@
+
+ # Mandatory.
+ # The C compiler flags to use when compiling the pgplot library.
+-
+- CFLAGC="-Wall -fPIC -DPG_PPU -O"
++
++ CFLAGOPT="-O"
++ CFLAGC="-Wall -fPIC -DPG_PPU $CFLAGOPT"
+
+ # Mandatory.
+ # The C compiler flags to use when compiling C demo programs.
+
+- CFLAGD="-Wall -O"
++ CFLAGD="-Wall $CFLAGOPT"
+
+ # Optional: Only needed if the cpgplot library is to be compiled.
+ # The flags to use when running pgbind to create the C pgplot wrapper
+@@ -74,7 +76,7 @@
+ # The library-specification flags to use when linking normal pgplot
+ # demo programs.
+
+- LIBS="-L/usr/X11R6/lib -lX11"
++ LIBS="-lX11"
+
+ # Optional: Needed by XMDRIV (/xmotif).
+ # The library-specification flags to use when linking motif
diff --git a/sci-libs/pgplot/files/pgplot-drivers.patch b/sci-libs/pgplot/files/pgplot-drivers.patch
new file mode 100644
index 000000000000..18eeebb28f79
--- /dev/null
+++ b/sci-libs/pgplot/files/pgplot-drivers.patch
@@ -0,0 +1,67 @@
+diff -ur pgplot.orig/drivers.list pgplot/drivers.list
+--- pgplot.orig/drivers.list 1999-05-03 22:02:15.000000000 -0700
++++ pgplot/drivers.list 2005-12-15 20:17:23.000000000 -0800
+@@ -16,8 +16,8 @@
+ ! EXDRIV 2 /EXCL Talaris/EXCL printers, portrait
+ ! GCDRIV 0 /GENICOM Genicom 4410 dot-matrix printer, landscape
+ ! Caution: use of GIDRIV may require a license from Unisys:
+-! GIDRIV 1 /GIF GIF-format file, landscape
+-! GIDRIV 2 /VGIF GIF-format file, portrait
++ GIDRIV 1 /GIF GIF-format file, landscape
++ GIDRIV 2 /VGIF GIF-format file, portrait
+ ! GLDRIV 1 /HPGL Hewlett-Packard HP-GL plotters, landscape Std F77
+ ! GLDRIV 2 /VHPGL Hewlett-Packard HP-GL plotters, portrait Std F77
+ ! GODRIV 0 /GOC GOC Sigma T5670 terminal VMS
+@@ -32,19 +32,19 @@
+ ! LSDRIV 2 /VLIPS2 Canon LaserShot printer (portrait)
+ ! LNDRIV 0 /LN03 Dec LN03-PLUS Laser printer (landscape) VMS
+ ! LVDRIV 0 /LVN03 Dec LN03-PLUS Laser printer (portrait) VMS
+-! LXDRIV 0 /LATEX LaTeX picture environment
++ LXDRIV 0 /LATEX LaTeX picture environment
+ ! MFDRIV 0 /FILE PGPLOT graphics metafile
+ ! NEDRIV 0 /NEXT Computers running NeXTstep operating system
+ NUDRIV 0 /NULL Null device (no output) Std F77
+ ! PGDRIV 0 /PGMF PGPLOT metafile (new format, experimental) Std F77
+-! PNDRIV 1 /PNG Portable Network Graphics file C
+-! PNDRIV 2 /TPNG Portable Network Graphics file - transparent background C
++ PNDRIV 1 /PNG Portable Network Graphics file C
++ PNDRIV 2 /TPNG Portable Network Graphics file - transparent background C
+ ! PPDRIV 1 /PPM Portable Pixel Map file, landscape
+ ! PPDRIV 2 /VPPM Portable PIxel Map file, portrait
+-! PSDRIV 1 /PS PostScript printers, monochrome, landscape Std F77
+-! PSDRIV 2 /VPS Postscript printers, monochrome, portrait Std F77
+-! PSDRIV 3 /CPS PostScript printers, color, landscape Std F77
+-! PSDRIV 4 /VCPS PostScript printers, color, portrait Std F77
++ PSDRIV 1 /PS PostScript printers, monochrome, landscape Std F77
++ PSDRIV 2 /VPS Postscript printers, monochrome, portrait Std F77
++ PSDRIV 3 /CPS PostScript printers, color, landscape Std F77
++ PSDRIV 4 /VCPS PostScript printers, color, portrait Std F77
+ ! PXDRIV 0 /PRINTRONI Printronix P300 or P600 dot-matrix printer
+ ! QMDRIV 1 /QMS QUIC devices (QMS and Talaris), landscape Std F77
+ ! QMDRIV 2 /VQMS QUIC devices (QMS and Talaris), portrait Std F77
+@@ -54,7 +54,7 @@
+ ! TTDRIV 2 /GF GraphOn terminal Std F77
+ ! TTDRIV 3 /RETRO RetroGraphics terminal Std F77
+ ! TTDRIV 4 /GTERM GTERM Tektronix terminal emulator Std F77
+-! TTDRIV 5 /XTERM XTERM Tektronix terminal emulator Std F77
++ TTDRIV 5 /XTERM XTERM Tektronix terminal emulator Std F77
+ ! TTDRIV 6 /ZSTEM ZSTEM terminal emulator Std F77
+ ! TTDRIV 7 /V603 Visual 603 terminal Std F77
+ ! TTDRIV 8 /KRM3 Kermit 3 on IBM-PC Std F77
+@@ -64,12 +64,12 @@
+ ! VADRIV 0 /VCANON Canon Laser printer, LBP-8/A2, portrait
+ ! VBDRIV 0 /VBCANON Canon Laser printer (bitmap version), portrait
+ ! VTDRIV 0 /VT125 Dec Regis terminals (VT125 etc.) Std F77
+-! WDDRIV 1 /WD X Window dump file, landscape
+-! WDDRIV 2 /VWD X Window dump file, portrait
++ WDDRIV 1 /WD X Window dump file, landscape
++ WDDRIV 2 /VWD X Window dump file, portrait
+ ! WSDRIV 0 /WS VAX workstations running VWS software VMS
+ ! X2DRIV 0 /XDISP PGDISP or FIGDISP server for X workstations C
+-! XWDRIV 1 /XWINDOW Workstations running X Window System C
+-! XWDRIV 2 /XSERVE Persistent window on X Window System C
++ XWDRIV 1 /XWINDOW Workstations running X Window System C
++ XWDRIV 2 /XSERVE Persistent window on X Window System C
+ ! ZEDRIV 0 /ZETA Zeta 8 Digital Plotter
+ !
+ ! The following drivers can only be used in PGPLOT installations on MS-DOS
diff --git a/sci-libs/pgplot/files/pgplot-makemake.patch b/sci-libs/pgplot/files/pgplot-makemake.patch
new file mode 100644
index 000000000000..440f95d72870
--- /dev/null
+++ b/sci-libs/pgplot/files/pgplot-makemake.patch
@@ -0,0 +1,35 @@
+--- pgplot.orig/makemake 1999-05-04 15:35:43.000000000 -0700
++++ pgplot/makemake 2005-12-15 20:48:42.000000000 -0800
+@@ -666,7 +666,7 @@
+ # the library don't have to list a slew of other implementation-specific
+ # libraries when they link their executables.
+ #
+-SHARED_LIB_LIBS=$SHARED_LIB_LIBS
++SHARED_LIB_LIBS=-lpng
+ #
+ # Ranlib command if required
+ #
+@@ -681,7 +681,7 @@
+ OBSOLETE_ROUTINES=$OBSOLETE_ROUTINES
+ DRIVERS=$DRIV_LIST
+ PGDISP_ROUTINES=$PGDISP_ROUTINES
+-DEMOS=$DEMOS
++#DEMOS=$DEMOS
+ #
+ #-----------------------------------------------------------------------
+ # Target "all" makes everything (except the library of obsolete routines)
+@@ -1025,12 +1025,12 @@
+ grivas.o : $(DRVDIR)/gadef.h
+ grtv00.o : $(DRVDIR)/imdef.h
+ pgxwin.o : $(DRVDIR)/pgxwin.h
+-pndriv.o : ./png.h ./pngconf.h ./zlib.h ./zconf.h
++pndriv.o :
+
+ x2driv.o figdisp_comm.o: $(DRVDIR)/commands.h
+
+
+-cpg: libcpgplot.a cpgplot.h cpgdemo
++cpg: libcpgplot.a cpgplot.h
+ @echo ' '
+ @echo '*** Finished compilation of the C PGPLOT wrapper library ***'
+ @echo ' '