Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci In directory sc8-pr-cvs17:/tmp/cvs-serv25402
Added Files: octplot.info octplot.patch Log Message: New package. --- NEW FILE: octplot.patch --- diff -Naur octplot-0.4.0/src/figure.cpp octplot-0.4.0.patched/src/figure.cpp --- octplot-0.4.0/src/figure.cpp 2007-04-12 13:50:07.000000000 -0400 +++ octplot-0.4.0.patched/src/figure.cpp 2007-09-27 20:09:10.000000000 -0400 @@ -16,8 +16,8 @@ // #include <iostream> -#include "Fl/Fl.H" -#include "Fl/fl_draw.H" +#include "FL/Fl.H" +#include "FL/fl_draw.H" #include "axes.h" #include "property.h" --- NEW FILE: octplot.info --- Info2: << Package: octplot%type_pkg[-aqua] Version: 0.4.0 Revision: 1 Maintainer: Alexander Hansen <[EMAIL PROTECTED]> Description: Handle graphics package for Octave License: GPL # Build parameters Type: -aqua (-aqua -x11) Source: mirror:sourceforge:%{ni}/%{ni}-%v.tar.gz Source-MD5: 1ea6fa85b620e6af252ee64407c87285 PatchScript: << #!/bin/bash -ev perl -pi -e 's|Fl/|FL/|g' src/*.cpp perl -pi -e 's|GL/|OpenGL/|g' src/patch.cpp << Depends: << octave (>=2.9.14-1), freetype219-shlibs, (%type_pkg[-aqua] = -x11) fltk-x11-shlibs, (%type_pkg[-aqua] = -aqua) fltk-aqua-shlibs, ghostscript << BuildDepends: << freetype219, hdf5, fftw3, libncurses5, readline5, (%type_pkg[-aqua] = -x11) fltk-x11, (%type_pkg[-aqua] = -aqua) fltk-aqua << Conflicts: octplot-aqua,octplot-x11 Replaces: octplot-aqua,octplot-x11 ConfigureParams: --with-ft-prefix=%p/lib/freetype219 --disable-dependency-tracking CompileScript: << #!/bin/bash -ev if ["type_pkg[-aqua]" == "-x11" ] then export GL_SWAP_TYPE=COPY fi ./configure %c make << #deb-time stuff InstallScript: << make install DESTDIR=%d install -d %i/share/%n/demos install demos/*.m %i/share/%n/demos << PostInstScript: << #!/bin/bash -ev if [ "%type_pkg[-aqua]" == "-aqua" ] ; then pushd %p/lib/octave fltk-config.aqua --post $(/usr/bin/find * | grep octplot$) popd fi << DocFiles: COPYING AUTHORS ChangeLog NEWS README README.mac DescPackaging: << Includes some demo scripts. Currently relying on implicit Depends via octave. Depends on a particular octave version because it installs in an octave-versioned directory. << DescPort: << Patch out wrongly-cased FL include directory references. Uses system OpenGL framework, even for the -x11 variant (it didn't like X11's for some reason). PostInstScript required for the Aqua variant to work properly. Sets GL_SWAP_TYPE=COPY in the -x11 compile script so that selection of a plot area to zoom works properly. << << ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits