Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv15424/stable/main/finkinfo/sci
Added Files:
pgplot.info pgplot.patch
Log Message:
sync pgplot to stable to satisfy dep of wip in stable
--- NEW FILE: pgplot.patch ---
--- pgplot/makemake Tue May 4 16:35:43 1999
+++ pgplot/makemake Thu May 9 05:53:33 2002
@@ -68,8 +68,8 @@
# By default the PGPLOT library is initially placed in the current
# The demos should be explicitly linked against this library.
-PGPLOT_LIB="-L\`pwd\` -lpgplot"
-CPGPLOT_LIB="-L\`pwd\` -lcpgplot -lpgplot"
+PGPLOT_LIB="-L`pwd` -lpgplot"
+CPGPLOT_LIB="-L`pwd` -lcpgplot -lpgplot"
# List the default make targets.
@@ -160,6 +160,7 @@
XADRIV="xadriv.o pgxwin.o"
TKDRIV="tkdriv.o pgxwin.o"
RVDRIV="rvdriv.o pgxwin.o"
+AQDRIV="aqdriv.o"
# We need a drivers.list file in the current directory, from which to
# determine the drivers to be compiled.
@@ -221,8 +222,8 @@
# PNDRIV requires extra libraries and include files
if (echo $DRIV_LIST | grep -s pndriv 2>&1 1>/dev/null); then
- PGPLOT_LIB="$PGPLOT_LIB -lpng -lz"
- CPGPLOT_LIB="$CPGPLOT_LIB -lpng -lz"
+ PGPLOT_LIB="$PGPLOT_LIB -L<PREFIX>/lib -lpng -lz"
+ CPGPLOT_LIB="$CPGPLOT_LIB -L<PREFIX>/lib -lpng -lz"
fi
# Create a new grexec.f that calls the above drivers.
@@ -1025,7 +1026,7 @@
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 : <PREFIX>/include/png.h <PREFIX>/include/pngconf.h
/usr/include/zlib.h /usr/include/zconf.h
x2driv.o figdisp_comm.o: $(DRVDIR)/commands.h
--- pgplot/drivers.list Mon May 3 23:02:15 1999
+++ pgplot-new/drivers.list Thu May 9 05:52:49 2002
@@ -37,14 +37,14 @@
! 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
@@ -68,8 +68,8 @@
! 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
@@ -112,3 +112,4 @@
! The following driver is included solely for use by the aips++ team.
!
! RVDRIV 0 /XRV X-window Rivet/Tk programs with pgplot widgets. C
+ AQDRIV 0 /AQT AquaTerm.app MacOSX C
--- pgplot/sys_macosx/g77_gcc_AQT.conf.orig Thu Apr 1 05:19:54 2004
+++ pgplot/sys_macosx/g77_gcc_AQT.conf Thu Apr 1 05:23:14 2004
@@ -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<PREFIX>/include -I/usr/X11R6/include"
# Optional: Needed by XMDRIV (/xmotif).
# The arguments needed by the C compiler to locate Motif, Xt and
@@ -74,7 +74,7 @@
# The library-specification flags to use when linking normal pgplot
# demo programs.
- LIBS="-L/usr/X11R6/lib -lX11 -laquaterm -Wl,-framework -Wl,Foundation"
+ LIBS="-L/usr/X11R6/lib -lX11 -L<PREFIX>/lib -laquaterm -Wl,-framework
-Wl,Foundation"
# Optional: Needed by XMDRIV (/xmotif).
# The library-specification flags to use when linking motif
@@ -103,12 +103,12 @@
# Optional: Needed on systems that support shared libraries.
# The name to give the shared pgplot library.
- SHARED_LIB="libpgplot.dylib"
+# SHARED_LIB="libpgplot.dylib"
# Optional: Needed if SHARED_LIB is set.
# How to create a shared library from a trailing list of object files.
- SHARED_LD="gcc -dynamiclib -single_module -o $SHARED_LIB -install_name
/usr/local/lib/$SHARED_LIB"
+# SHARED_LD="gcc -dynamiclib -single_module -o $SHARED_LIB -install_name
/usr/local/lib/$SHARED_LIB"
# Optional:
# On systems such as Solaris 2.x, that allow specification of the
@@ -117,7 +117,7 @@
# library-specification flags used to specify these libraries to
# $SHARED_LD
- SHARED_LIB_LIBS="$LIBS -lg2c -lSystem"
+# SHARED_LIB_LIBS="$LIBS -lg2c -lSystem"
# Optional:
# Compiler name used on Next systems to compile objective-C files.
--- NEW FILE: pgplot.info ---
Package: pgplot
Version: 5.2.2
Revision: 1
Depends: <<
aquaterm (>= 1.0.0-1002),
aquaterm-shlibs (>= 1.0.0-1002),
gcc44-shlibs,
libpng14-shlibs,
x11
<<
BuildDepends: <<
aquaterm-dev (>= 1.0.0-1002),
fink (>= 0.24.12),
gcc44,
libpng14,
x11-dev
<<
Source: ftp://ftp.astro.caltech.edu/pub/pgplot/%n522.tar.gz
Source-MD5: e8a6e8d0d5ef9d1709dfb567724525ae
SourceDirectory: pgplot
PatchFile: %n.patch
PatchFile-MD5: 321a6c734a3dd54b253c63fdd06605b8
PatchScript: <<
#!/bin/bash -efv
mkdir sys_macosx
cp %p/share/aquaterm/adapters/%N/g77_gcc_AQT.conf sys_macosx
cp %p/share/aquaterm/adapters/%N/aqdriv.m drivers
sed 's|<PREFIX>|%p|g' < %{PatchFile} | patch -p1
perl -pi -e 's|g77|gfortran|g' sys_macosx/g77_gcc_AQT.conf
<<
CompileScript: echo "No compile script"
InstallScript: <<
#!/bin/sh -ev
mkdir -p %i/lib/pgplot
cp drivers.list %i/lib/pgplot
pushd %i/lib/pgplot
%b/makemake %b macosx g77_gcc_AQT
make
make cpg
make clean
popd
<<
RuntimeVars: PGPLOT_DIR: %p/lib/pgplot
License: OSI-Approved
Docfiles: copyright.notice aaaread.me install-unix.txt install.txt
Description: Fortran- or C-callable scientific graphics
DescDetail: <<
The PGPLOT Graphics Subroutine Library is a Fortran- or C-callable,
device-independent graphics package for making simple scientific graphs.
<<
DescPort: Builds only static libs.
DescUsage: <<
PGPLOT_DIR environment variable set by pgplot.csh(.sh) in
%p/etc/profile.d.
When linking, you will probably need all of the following flags:
-L/usr/X11R6/lib -lX11
-Wl,-framework -Wl,Foundation
-lz
-L%p/lib -lpng -laquaterm
-L$PGPLOT_DIR/lib -lpgplot
<<
Homepage: http://www.astro.caltech.edu/~tjp/pgplot/
Maintainer: None <[email protected]>
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs