Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv21821/10.7/stable/main/finkinfo/sci

Modified Files:
        gnuplot.info 
Added Files:
        gnuplot-minimal.info 
Log Message:
New upstream gnuplot.
Refactor to allow wx/GTK | wx/Cocoa, Qt/X11 | Qt/Mac terminals.


Index: gnuplot.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci/gnuplot.info,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- gnuplot.info        29 Mar 2012 00:38:49 -0000      1.13
+++ gnuplot.info        4 Nov 2012 05:16:08 -0000       1.14
@@ -1,80 +1,118 @@
 Info2: <<
-Package: gnuplot%type_pkg[-ui]
-Version: 4.6.0
-Revision: 2
-Type: -ui (-nox -nogtk .)
+Package: gnuplot%type_pkg[-wx]%type_pkg[-qt]   
+Version: 4.6.1
+Revision: 1
+Type: v (4.6), -wx (-wxcocoa -wxgtk .), -qt (-qtmac -qtx11 .)
 Maintainer: Alexander Hansen <[email protected]>
-Conflicts: gnuplot, gnuplot-nox, gnuplot-nogtk
-Replaces: gnuplot, gnuplot-nox, gnuplot-nogtk
+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: <<
-       (%type_raw[-ui] != -nox) app-defaults,
+       app-defaults,
        aquaterm,
-       (%type_raw[-ui] = .) atk1-shlibs (>= 1.28.0-1),
-       (%type_raw[-ui] != -nox) cairo-shlibs (>= 1.8.8-3),
+       (%type_raw[-wx] = -wxgtk) atk1-shlibs (>= 1.28.0-1),
+       cairo-shlibs (>= 1.8.8-3),
        emacsen-common,
-       (%type_raw[-ui] != -nox) fontconfig2-shlibs (>= 2.8.0-1),
+       fontconfig2-shlibs (>= 2.8.0-1),
        freetype219-shlibs (>= 2.3.12-1),
-       (%type_raw[-ui] != -nox) gd2-shlibs (>= 2.0.35-11),
-       (%type_raw[-ui] != -nox) glib2-shlibs (>= 2.22.0-1),
-       (%type_raw[-ui] = .) gtk+2-shlibs (>= 2.18.0-1),
+       gd2-shlibs (>= 2.0.35-11),
+       glib2-shlibs (>= 2.22.0-1),
+       (%type_raw[-wx] = -wxgtk) gtk+2-shlibs (>= 2.18.0-1),
        libiconv,
        libjpeg8-shlibs,
-       (%type_raw[-ui] != -nox) libpng15-shlibs,
-       (%type_raw[-ui] = -nox) libpng14-shlibs,
+       libpng15-shlibs,
        lua51-shlibs,
-       (%type_raw[-ui] != -nox) pango1-xft2-ft219-shlibs (>= 1.24.5-4),
+       pango1-xft2-ft219-shlibs (>= 1.24.5-4),
        pdflib6-shlibs,
-       (%type_raw[-ui] != -nox) plotutils,
-       (%type_raw[-ui] != -nox) plotutils-shlibs,
-       (%type_raw[-ui] = .) wxgtk2.8-shlibs,
-       (%type_raw[-ui] != -nox) x11
+       plotutils,
+       plotutils-shlibs,
+       (%type_raw[-wx] = -wxcocoa ) wxcocoa294-shlibs,
+       (%type_raw[-wx] = -wxgtk ) wxgtk2.8-shlibs,
+       x11-shlibs
 <<
 BuildDepends: <<
        aquaterm-dev,
-       (%type_raw[-ui] = .) atk1 (>= 1.28.0-1),
        autoconf2.6,
        automake1.11,
-       (%type_raw[-ui] != -nox) cairo (>= 1.8.8-3),
+       cairo (>= 1.8.8-3),
+       fink (>= 0.32),
        fink-package-precedence,
-       (%type_raw[-ui] != -nox) fontconfig2-dev (>= 2.8.0-1),
+       fontconfig2-dev (>= 2.8.0-1),
        freetype219 (>= 2.3.12-1),
-       (%type_raw[-ui] != -nox) gd2 (>= 2.0.35-11),
-       (%type_raw[-ui] = -nox) gd2-nox (>= 2.0.35-9),
-       (%type_raw[-ui] != -nox) glib2-dev (>= 2.22.0-1),
-       (%type_raw[-ui] != -nox) glitz,
-       (%type_raw[-ui] = .) gtk+2-dev (>= 2.18.0-1),
+       gd2 (>= 2.0.35-11),
+       glib2-dev (>= 2.22.0-1),
+       glitz,
        libiconv-dev,
        libjpeg8,
-       (%type_raw[-ui] != -nox) libpng15,
-       (%type_raw[-ui] = -nox) libpng14,
+       libpng15,
        lua51-dev,
-       (%type_raw[-ui] != -nox) pango1-xft2-ft219-dev (>= 1.24.5-4),
+       pango1-xft2-ft219-dev (>= 1.24.5-4),
        pdflib6,
        pkgconfig (>= 0.23-1),
-       (%type_raw[-ui] != -nox) plotutils-dev,
-       (%type_raw[-ui] = .) wxgtk2.8,
-       (%type_raw[-ui] != -nox) x11-dev
+       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  
 <<
-GCC: 4.0
-Source: mirror:sourceforge:%{ni}/%{ni}-%v.tar.gz
-Source-MD5: 8e6e92b4596ea0eb75e16a57fc79efec
-PatchFile: %{ni}.patch
+RuntimeDepends: <<
+       x11
+<<
+Source: mirror:sourceforge:%{Ni}/%{Ni}-%v.tar.gz
+Source-MD5: 4c9a06461f402482c30cf94e267eb877
+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}
- (%type_raw[-ui] = -nox) --without-x (%type_raw[-ui] != -nox) --with-plot=%p \
- (%type_raw[-ui] != .) --disable-wxwidgets \
- (%type_raw[-ui] = -nox) --without-cairo \
+ --with-lasergnu --with-texdir=%p/etc/texmf.local/latex/%{Ni} \
+ --with-plot=%p \
  --without-kpsexpand --enable-history-file --enable-thin-splines --enable-rgip 
\
- (%type_raw[-ui] != -nox) --x-includes=/usr/X11R6/include \
- (%type_raw[-ui] != -nox) --x-libraries=/usr/X11R6/lib \
+ --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: <<
@@ -86,6 +124,11 @@
  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 .
 <<
@@ -94,14 +137,14 @@
  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}
+ 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
@@ -109,45 +152,45 @@
 
  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%n.el
+ 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/%n
- install -m 755 fink/gnuplot-mode-remove  
%i/lib/emacsen-common/packages/remove/%n
+ 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/%n/4.4/app-defaults/Gnuplot
+ 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}
+ 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%n.el
+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 [ `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 %n
+         %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 [ `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 %n
+         %p/lib/emacsen-common/emacs-package-remove %{Ni}
  fi
 <<
 
 DocFiles: BUGS FAQ.pdf README NEWS ChangeLog Copyright
-InfoDocs: %{ni}.info
+InfoDocs: %{Ni}.info
 Description: Command-driven interactive plotting program
 DescDetail: <<
 Gnuplot is a portable command-line driven interactive data and function 
@@ -169,9 +212,13 @@
 new output modes. 
 <<
 DescUsage: <<
-The bare 'gnuplot' package has most of the available options included.
-Use the -nox variant if you don't want X11 support at all.
-Use the -nogtk variant if you want X11 but not the wxWidgets terminal.
+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
@@ -182,56 +229,43 @@
 env GNUPLOT_DEFAULT_GDFONT="Verdana" gnuplot
 <<
 DescPackaging: <<
-PDF documentation has been moved to a separate package to avoid having to
-BuildDepend on tetex.
-Remove an %i/share/texmf-local that interferes with installing tetex-base.
-Now includes lasergnu script as well as manpage.
-As of 4.2.5:  Rather than use the "arial" font by default as upstream would 
-have us do (from msttcorefonts), we'll set environment variables to use 
-"Arial" from /Library/Fonts.
-
-4.2.6-1:
-Apply terminal patch from Derek Bruening <iye AT alum DOT mit DOT edu>
-
-http://www.burningcutlery.com/derek/bargraph/#gnuplot-bug 
+Set DIST_CONTACT to mark Fink maintainer as contact person as per the license.
+(that plus our revision tag suffices)
 
-Thanks to Andreas Schiffler <aschiffler AT ferzkopp DOT net> for pointing
-this out.
+PDF documentation has been moved to a separate package to avoid having to
+BuildDepend on texlive.
 
-4.2.6-2:  Revert patch because it doesn't do multi-plot windows
-properly
+Remove %i/share/texmf-local to avoid interfering with texlive.
 
-4.4.4-3:  Fix emacs mode with startup files from Tomoaki Okayama.
+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.
 
-4.4.4-4:  Used popen() and fclose() without a pclose(), so apply a patch
-from Martin Costabel that fixes that.
+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.
+<<
+DescPort: <<
+Use the builtin "readline" because gnuplot's license isn't GPL2 compatible,
+and we don't can't distribute it if it links to a GNU readline.
+If there are any license issues those are upstream's fault!
 
-4.4.4-5:  Use upstream patch to fix popen()/fclose() issue.
+'gnuplot' is a shell script that sets Fink's environment variables and 
+invokes the real gnuplot binary (renamed to gnuplotx).
 
-4.6.0-1:  popen/fclose() fixed.
+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.
 <<
-DescPort: <<
-Set DIST_CONTACT to mark Fink maintainer as contact person.
-Uses Per Persson's aqua terminal (installed via the aquaterm package).
-gnuplot is a shell script that sets environment variables and invokes
-gnuplot binary (renamed to gnuplotx).
-Install the configuration for epslatex terminal manually, because the 
-upstream build system runs kpsexpand and texhash.
-As of 4.4.0:  switch to --without-kpsexpand because apparently upstream 
actually _checks_
-for that now.  
-As of 4.2.4-8, No longer uses fink's libedit because it seems 
-to disrupt the ability to zoom plots in the X terminals.  
-We'll go with the builtin "readline", so
-if there are any license issues those are upstream's fault!
 
-Before 4.2.4 Revision 8
-Since gnuplot's licence isn't GPL2 compatible, apply patch created by 
-Axel Thimm for The Written Word, Inc., to use libedit instead of readline.
-Since we've thereby modified gnuplot's source, under terms of their license
-we've modified the contact information, versioning as shown internally,
-(Fink's revisoning should count for external vendor-specific versioning)
-and we've stuck a copy of the patch in the .deb .
+Splitoff: <<
+       Package: gnuplot-nogtk
+       Type: bundle
+       Depends: gnuplot (>= 4.6.0-3)
+       RuntimeDepends: fink-obsolete-packages
+       Description: OBSOLETE: use gnuplot-4.6.0-3+ instead
+       DescDetail: <<
+       <<
 <<
-Homepage:  http://www.gnuplot.info/
-License: Restrictive/Distributable
 <<

--- NEW FILE: gnuplot-minimal.info ---
Info2: <<
Package: gnuplot-minimal
Version: 4.6.1
Revision: 1
Type: base (gnuplot), v (4.6)
Maintainer: Alexander Hansen <[email protected]>
Homepage:  http://www.gnuplot.info/
License: Restrictive/Distributable

Conflicts: <<
        %type_raw[base], 
        %type_raw[base]-nogtk,
        %type_raw[base]-nox,
        %type_raw[base]-wxcocoa,
        %type_raw[base]-wxcocoa-qtmac,
        %type_raw[base]-wxcocoa-qtx11,
        %type_raw[base]-wxmac,
        %type_raw[base]-wxmac-qtmac,
        %type_raw[base]-wxmac-qtx11,
        %type_raw[base]-qtmac,
        %type_raw[base]-qtx11
<<
Replaces: <<
        %type_raw[base], 
        %type_raw[base]-nogtk,
        %type_raw[base]-nox,
        %type_raw[base]-wxcocoa,
        %type_raw[base]-wxcocoa-qtmac,
        %type_raw[base]-wxcocoa-qtx11,
        %type_raw[base]-wxmac,
        %type_raw[base]-wxmac-qtmac,
        %type_raw[base]-wxmac-qtx11,
        %type_raw[base]-qtmac,
        %type_raw[base]-qtx11
<<
Provides: gnuplot-bin
Depends: <<
        aquaterm,
        emacsen-common,
        freetype219-shlibs (>= 2.3.12-1),
        libiconv,
        libjpeg8-shlibs,
        libpng14-shlibs,
        lua51-shlibs,
        pdflib6-shlibs
<<
BuildDepends: <<
        aquaterm-dev,
        autoconf2.6,
        automake1.11,
        fink (>= 0.32),
        fink-package-precedence,
        freetype219 (>= 2.3.12-1),
        gd2-nox (>= 2.0.35-9),
        libiconv-dev,
        libjpeg8,
        libpng14,
        lua51-dev,
        pdflib6,
        pkgconfig (>= 0.23-1)
<<

Source: mirror:sourceforge:%type_raw[base]/%type_raw[base]-%v.tar.gz
Source-MD5: 4c9a06461f402482c30cf94e267eb877
PatchFile: gnuplot.patch
PatchFile-MD5: 6066b6bae25263e93f4d56db3d3ee28f
PatchScript:<<
  perl -pi -e 's/\bClass\b/GP_Class/g' `find src -name \*.c -o -name \*.cpp -o 
-name \*.h`
  sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
<<

GCC: 4.0
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/%type_raw[base]
 --without-x  \
 --disable-wxwidgets \
 --without-cairo \
 --without-kpsexpand --enable-history-file --enable-thin-splines --enable-rgip \
 --with-lispdir='${prefix}/share/emacs/site-lisp/gnuplot-mode' \
 --enable-dependency-tracking  
<<
CompileScript: <<
 #!/bin/sh -ev
 export DIST_CONTACT="[email protected]"
 export CCACHE_DISABLE=1
 export CPATH=%p/include
 autoreconf
 autoheader
 autoconf
 %{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/%type_raw[base] %i/bin/%type_raw[base]x
 echo '#!/bin/sh' > %i/bin/%type_raw[base]
 echo 'export AQUATERM_PATH=%p/Applications/AquaTerm.app' >> 
%i/bin/%type_raw[base]
 echo 'case ${DISPLAY-0} in' >> %i/bin/%type_raw[base]
 echo ' 0) export GNUTERM=aqua ;;'  >> %i/bin/%type_raw[base]
 echo 'esac'  >> %i/bin/%type_raw[base]
 echo '%p/bin/%type_raw[base]x "$@"' >> %i/bin/%type_raw[base]
 chmod 755 %i/bin/%type_raw[base]
 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%type_raw[base].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/%type_raw[base]
 install -m 755 fink/gnuplot-mode-remove  
%i/lib/emacsen-common/packages/remove/%type_raw[base]

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

DocFiles: BUGS FAQ.pdf README NEWS ChangeLog Copyright
InfoDocs: %type_raw[base].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: <<
This package builds in a minimalist terminal set, the same as in the previous
(version 4.6.0-2 and earlier) 'gnuplot-nox'.  It has been renamed because now
there are more things to be without than just X.

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 tetex or texlive.

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

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.
<<
DescPort: <<
Use the builtin "readline" because gnuplot's license isn't GPL2 compatible,
and we don't 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.
<<

Splitoff: <<
        Package: gnuplot-nox
        Type: bundle
        Depends: gnuplot-minimal
        RuntimeDepends: fink-obsolete-packages
        Description: OBSOLETE: use gnuplot-minimal instead
        DescDetail: <<
        <<
<<
<<


------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to