Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci
In directory 
sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv32732/10.4/stable/main/finkinfo/sci

Added Files:
        gnuplot-4.6.0.info 
Log Message:
Actually _add_ gnuplot-4.6.0 back, at least for now.


--- NEW FILE: gnuplot-4.6.0.info ---
Info2: <<
Package: gnuplot%type_pkg[-wx]%type_pkg[-qt]    
Version: 4.6.0
Revision: 1
Type: v (4.6), -wx (-wxcocoa -wxgtk .), -qt (-qtmac -qtx11 .)
Maintainer: Alexander Hansen <alexkhan...@users.sourceforge.net>
Homepage:  http://www.gnuplot.info/
License: Restrictive/Distributable

Conflicts: <<
        %{Ni}, 
        %{Ni}-nox, 
        %{Ni}-nogtk,
        %{Ni}-wxcocoa,
        %{Ni}-wxcocoa-qtmac,
        %{Ni}-wxcocoa-qtx11,
        %{Ni}-wxmac,
        %{Ni}-wxmac-qtmac,
        %{Ni}-wxmac-qtx11,
        %{Ni}-qtmac,
        %{Ni}-qtx11,
        %{Ni}-minimal
<<
Replaces: <<
        %{Ni}, 
        %{Ni}-nox, 
        %{Ni}-nogtk,
        %{Ni}-wxcocoa,
        %{Ni}-wxcocoa-qtmac,
        %{Ni}-wxcocoa-qtx11,
        %{Ni}-wxmac,
        %{Ni}-wxmac-qtmac,
        %{Ni}-wxmac-qtx11,
        %{Ni}-qtmac,
        %{Ni}-qtx11,
        %{Ni}-minimal
<<
Provides: gnuplot-bin
Depends: <<
        app-defaults,
        aquaterm,
        (%type_raw[-wx] = -wxgtk) atk1-shlibs (>= 1.28.0-1),
        cairo-shlibs (>= 1.8.8-3),
        emacsen-common,
        fontconfig2-shlibs (>= 2.8.0-1),
        freetype219-shlibs (>= 2.3.12-1),
        gd2-shlibs (>= 2.0.35-11),
        glib2-shlibs (>= 2.22.0-1),
        (%type_raw[-wx] = -wxgtk) gtk+2-shlibs (>= 2.18.0-1),
        libjpeg8-shlibs,
        libpng15-shlibs,
        lua51-shlibs,
        pango1-xft2-ft219-shlibs (>= 1.24.5-4),
        pdflib6-shlibs,
        (%type_raw[-qt] = -qtmac) qt4-base-mac-qtcore-shlibs,
        (%type_raw[-qt] = -qtmac) qt4-base-mac-qtgui-shlibs,
        (%type_raw[-qt] = -qtmac) qt4-base-mac-qtnetwork-shlibs,
        (%type_raw[-qt] = -qtmac) qt4-base-mac-qtsvg-shlibs,    
        (%type_raw[-qt] = -qtx11) qt4-base-x11-qtcore-shlibs,
        (%type_raw[-qt] = -qtx11) qt4-base-x11-qtgui-shlibs,
        (%type_raw[-qt] = -qtx11) qt4-base-x11-qtnetwork-shlibs,
        (%type_raw[-qt] = -qtx11) qt4-base-x11-qtsvg-shlibs,    
        (%type_raw[-wx] = -wxcocoa) wxcocoa294-shlibs,
        (%type_raw[-wx] = -wxgtk) wxgtk2.8-shlibs,
        x11-shlibs
<<
BuildDepends: <<
        aquaterm-dev,
        autoconf2.6,
        automake1.11,
        cairo (>= 1.8.8-3),
        fink (>= 0.32),
        fink-package-precedence,
        fontconfig2-dev (>= 2.8.0-1),
        freetype219 (>= 2.3.12-1),
        gd2 (>= 2.0.35-11),
        glib2-dev (>= 2.22.0-1),
        glitz,
        libiconv-dev,
        libjpeg8,
        libpng15,
        lua51-dev,
        pango1-xft2-ft219-dev (>= 1.24.5-4),
        pdflib6,
        pkgconfig (>= 0.23-1),
        plotutils-dev,
        x11-dev,
        (%type_raw[-wx] = -wxgtk) atk1 (>= 1.28.0-1),
        (%type_raw[-wx] = -wxgtk) gtk+2-dev (>= 2.18.0-1),
        (%type_raw[-wx] = -wxcocoa ) wxcocoa294,
        (%type_raw[-wx] = -wxgtk) wxgtk2.8,
        (%type_raw[-qt] = -qtmac) qt4-base-mac, 
        (%type_raw[-qt] = -qtx11) qt4-base-x11  
<<
RuntimeDepends: <<
        plotutils,
        x11
<<
Source: mirror:sourceforge:%{Ni}/%{Ni}-%v.tar.gz
Source-MD5: 8e6e92b4596ea0eb75e16a57fc79efec
PatchFile: %{Ni}.patch
PatchFile-MD5: 6066b6bae25263e93f4d56db3d3ee28f
PatchScript:<<
  perl -pi -e 's/\bClass\b/GP_Class/g' `find src -name \*.c -o -name \*.cpp -o 
-name \*.h`
  perl -pi -e 's/(CXXFLAGS.*ObjC)/\1++/' configure.in
  sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
<<

GCC: 4.0
SetLDFLAGS: -Wl,-framework,ApplicationServices
ConfigureParams: <<
 --mandir='${prefix}/share/man' --libexecdir='${prefix}/lib' 
--infodir='${prefix}/share/info' \
--without-tutorial --with-readline=builtin \
 --with-lasergnu --with-texdir=%p/etc/texmf.local/latex/%{Ni} \
 --with-plot=%p \
 --without-kpsexpand --enable-history-file --enable-thin-splines --enable-rgip \
 --x-includes=/usr/X11/include \
 --x-libraries=/usr/X11/lib \
 --with-lispdir='${prefix}/share/emacs/site-lisp/gnuplot-mode' \
 (%type_raw[-wx] = .) --disable-wxwidgets \
 (%type_raw[-qt] != .) --enable-qt \
 --enable-dependency-tracking  
<<
CompileScript: <<
 #!/bin/sh -ev
 export DIST_CONTACT="alexkhan...@users.sourceforge.net"
 export CCACHE_DISABLE=1
 export CPATH=%p/include
 export 
PKG_CONFIG_PATH=%p/lib/glib-2.0/pkgconfig-strict:%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH
 autoreconf
 autoheader
 autoconf
 if [ "%type_raw[-qt]" = "-qtmac" ] ; then
    export PKG_CONFIG_PATH=%p/lib/qt4-mac/lib/pkgconfig:$PKG_CONFIG_PATH
 elif [ "%type_raw[-qt]" = "-qtx11" ] ; then 
    export PKG_CONFIG_PATH=%p/lib/qt4-x11/lib/pkgconfig:$PKG_CONFIG_PATH
 fi
 %{default_script}
 fink-package-precedence .
<<
InstallScript: <<
 #!/bin/sh -ev
 make install DESTDIR=%d
 install %b/src/lasergnu %i/bin/lasergnu
 chmod 755 %i/bin/lasergnu
 mv %i/bin/%{Ni} %i/bin/%{Ni}x
 echo '#!/bin/sh' > %i/bin/%{Ni}
 echo 'export AQUATERM_PATH=%p/Applications/AquaTerm.app' >> %i/bin/%{Ni}
 echo 'case ${DISPLAY-0} in' >> %i/bin/%{Ni}
 echo ' 0) export GNUTERM=aqua ;;'  >> %i/bin/%{Ni}
 echo 'esac'  >> %i/bin/%{Ni}
 echo '%p/bin/%{Ni}x "$@"' >> %i/bin/%{Ni}
 chmod 755 %i/bin/%{Ni}
 mkdir -p %i/share/doc/%n
 cp -R demo %i/share/doc/%n
 mkdir %i/share/doc/%n/psdoc
 cp docs/psdoc/*ps %i/share/doc/%n/psdoc

 rm -f %i/share/emacs/site-lisp/gnuplot-mode/*.elc
 install -m 755 -d                        %i/etc/emacs/site-start.d
 install -m 644 fink/gnuplot-mode-startup %i/etc/emacs/site-start.d/50%{Ni}.el
 install -m 755 -d                        
%i/lib/emacsen-common/packages/{install,remove}
 install -m 755 fink/gnuplot-mode-install 
%i/lib/emacsen-common/packages/install/%{Ni}
 install -m 755 fink/gnuplot-mode-remove  
%i/lib/emacsen-common/packages/remove/%{Ni}

 install -d %i/etc
 install -d %i/etc/app-defaults
 pushd %i/etc/app-defaults
 ln -s ../share/%{Ni}/%type_raw[v]/app-defaults/Gnuplot
 rm -rf %i/lib/X11
 install -d %i/etc/texmf.local
 install -d %i/etc/texmf.local/latex
 install -d %i/etc/texmf.local/latex/%{Ni}
 install %b/share/LaTeX/%{Ni}.cfg %i/etc/texmf.local/latex/%{Ni}
 rm -rf %i/share/texmf-local
<<
ConfFiles: %p/etc/emacs/site-start.d/50%{Ni}.el
RuntimeVars: <<
 GDFONTPATH: /Library/Fonts
 GNUPLOT_DEFAULT_GDFONT: "Arial"
<<
PostInstScript:<<
 if [ `which kpsexpand` ]; then kpsexpand %p/etc/texmf.local/latex/%{Ni}; fi
 if [ `which texhash` ]; then texhash %p/etc/texmf.local/latex/%{Ni}; fi
 if [ "$1" = "configure" ] && [ -x %p/lib/emacsen-common/emacs-package-install ]
 then
         %p/lib/emacsen-common/emacs-package-install %{Ni}
 fi
<<
PreRmScript:<<
 if [ `which kpsexpand` ]; then kpsexpand %p/etc/texmf.local/latex/%{Ni}; fi
 if [ `which texhash` ]; then texhash %p/etc/texmf.local/latex/%{Ni}; fi
 if [ -x %p/lib/emacsen-common/emacs-package-remove ] ; then
         %p/lib/emacsen-common/emacs-package-remove %{Ni}
 fi
<<

DocFiles: BUGS FAQ.pdf README NEWS ChangeLog Copyright
InfoDocs: %{Ni}.info
Description: Command-driven interactive plotting program
DescDetail: <<
Gnuplot is a portable command-line driven interactive data and function 
plotting utility for UNIX, IBM OS/2, MS Windows, DOS, Macintosh, VMS, Atari 
and many other platforms. The software is copyrighted but freely distributed
(i.e., you don't have to pay for it). It was originally intended as to allow
scientists and students to visualize mathematical functions and data. It 
does this job pretty well, but has grown to support many non-interactive 
uses, including web scripting and integration as a plotting engine for third-
party applications like Octave. Gnuplot has been supported and under 
development since 1986.
Gnuplot supports many types of plots in either 2D and 3D. It can draw using 
lines, points, boxes, contours, vector fields, surfaces, and various 
associated text. It also supports various specialized plot types.
Gnuplot supports many different types of output: interactive screen terminals
(with mouse and hotkey functionality), direct output to pen plotters or modern
printers, and output to many file formats (eps, fig, jpeg, LaTeX, metafont, 
pbm, pdf, png, postscript, svg, ...). Gnuplot is easily extensible to include
new output modes. 
<<
DescUsage: <<
The base 'gnuplot' package has many of the available terminal options 
included, but doesn't build the wx terminal as of version 4.6.0-3.  
It is essentially the same as the 'gnuplot-nogtk' package, version 4.6.0-2
and earlier.

If you want the wx terminal, install 'gnuplot-wxcocoa' for an Aqua-based wxt
or 'gnuplot-wxgtk' for one that is GTK-based (X11).

Upstream's default font choice doesn't work on case-sensitive filesystems, 
so we set the GDFONTDIR environment variable to /Library/Fonts, and the
GNUPLOT_DEFAULT_GDFONT environment variable to be "Arial".  If you want 
a different setup, you can set these yourself in your startup files, or in
your invocation of gnuplot, e.g.

env GNUPLOT_DEFAULT_GDFONT="Verdana" gnuplot
<<
DescPackaging: <<
Set DIST_CONTACT to mark Fink maintainer as contact person as per the license.
(that plus our revision tag suffices)

PDF documentation has been moved to a separate package to avoid having to
BuildDepend on texlive.

Remove %i/share/texmf-local to avoid interfering with texlive.

Rather than use the "arial" font by default as upstream would 
have us do (from msttcorefonts), set environment variables to use 
"Arial" from /Library/Fonts.

As of revision 3: refactor package to allow for both X11-based and Cocoa
based wx terminals as well as X11-based and Cocoa-based Qt terminals.

Revision 4: make this version available again due to incompatibility
between gnuplot-4.6.1 and Octave image plots using Aquaterm.
<<
DescPort: <<
Use the builtin "readline" because gnuplot's license isn't GPL2 compatible,
and we can't distribute it if it links to a GNU readline.
If there are any license issues those are upstream's fault!

'gnuplot' is a shell script that sets Fink's environment variables and 
invokes the real gnuplot binary (renamed to gnuplotx).

Install the configuration for epslatex terminal manually in the
PostInstScript because the upstream build system will run
kpsexpand and texhash if those are present and thereby create .debs 
that are different depending on whether or not a TeX distro is installed,
and we don't want to force a dependency.
<<
<<


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to